Function at 0x422c9e
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x45b668
call fcn.00431c64
sub esp, 0x20
mov eax, dword [0x476b9c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x38], edi
je 0x422ccb
mov dword [esi + 0x34], eax
mov ebp, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x400
push 0x40
pop ebx
push ebx
call ebp
push 0x1000
push ebx
mov dword [esp + 0x1c], eax
call ebp
push 0x7c00
push ebx
mov dword [esp + 0x30], eax
call ebp
cmp dword [esi + 4], edi
mov dword [esp + 0x24], eax
jne 0x422db3
push edi
push 0x402
push dword [esi + 0xc]
call fcn.00416022
add esp, 0xc
cmp eax, edi
je 0x423042
push dword [esp + 0x14]
push dword [esi + 0xc]
push str.CurrentPath
push str.Config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x10
push 2
lea edi, [esi + 0x38]
push 9
push 0x10
push 0x10
mov ecx, edi
call fcn.004432a8
call fcn.00454a78
call fcn.00454a78
mov eax, dword [eax + 0xc]
mov ebx, dword [sym.imp.USER32.dll_LoadIconA]
push 0xc1
push eax
call ebx
push eax
push 0xffffffffffffffff
push dword [esi + 0x3c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
call fcn.00454a78
call fcn.00454a78
mov eax, dword [eax + 0xc]
push 0xc0
push eax
call ebx
push eax
push 0xffffffffffffffff
push dword [esi + 0x3c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov eax, dword [esi + 0x34]
test edi, edi
je 0x422d97
mov edi, dword [edi + 4]
push edi
push 0
push 0x1109
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.00443275
push 0x40
xor edi, edi
pop ebx
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esp + 0x1c]
call fcn.00431e50
pop ecx
pop ecx
push eax
call fcn.00431e60
pop ecx
pop ecx
push dword [esp + 0x14]
push 0x1000
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.00423ae9
mov eax, dword [esi + 4]
cmp eax, edi
je 0x422e1f
cmp dword [eax + 0xc], edi
je 0x422e61
push eax
mov ecx, esi
call fcn.004231a6
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x34]
push ecx
push edi
push 0x1101
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 4]
mov dword [eax + 0xc], edi
jmp 0x422e61
push 0x18
push ebx
call ebp
mov dword [esi + 4], eax
push 0xa722
lea ecx, [esp + 0x1c]
mov dword [eax], edi
call fcn.00449826
mov eax, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x1c]
mov edi, dword [eax - 8]
call fcn.00449693
add edi, 2
push eax
push edi
push ebx
call ebp
push eax
call fcn.00431e50
pop ecx
xor edi, edi
pop ecx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x10], eax
cmp dword [esi + 0x2c], edi
jne 0x422e7c
push 0x18
push ebx
call ebp
push 0x402
push ebx
mov dword [esi + 0x2c], eax
call ebp
mov ecx, dword [esi + 0x2c]
mov dword [ecx + 0x10], eax
cmp dword [esi + 0x30], edi
jne 0x422e97
push 0x18
push ebx
call ebp
push 0x402
push ebx
mov dword [esi + 0x30], eax
call ebp
mov ecx, dword [esi + 0x30]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
cmp byte [eax], 0
je 0x423027
push 0x10
pop edi
push str.Config
push dword [esp + 0x14]
call fcn.004322b7
pop ecx
test eax, eax
pop ecx
je 0x423009
inc dword [esp + 0x1c]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
add edi, 4
mov dword [eax], ecx
mov ebx, dword [esi + 4]
lea eax, [edi + 8]
lea ecx, [eax - 4]
push ecx
push ebx
push eax
push 0x40
call ebp
push eax
call fcn.00432ab0
add esp, 0xc
mov dword [esi + 4], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x18
push 0x40
call ebp
mov ecx, dword [esi + 4]
push dword [esp + 0x10]
push dword [esp + 0x14]
mov dword [ecx + edi], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + edi]
and dword [eax], 0
call fcn.00431f60
inc eax
pop ecx
inc eax
push eax
push 0x40
call ebp
push eax
call fcn.00431e50
pop ecx
mov ebx, dword [esp + 0x28]
pop ecx
mov ecx, dword [esi + 4]
push dword [esp + 0x14]
mov ecx, dword [ecx + edi]
push 0x7c00
push ebx
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + edi]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
and dword [esp + 0x20], 0
mov eax, ebx
cmp byte [eax], 0
je 0x423009
mov dword [esp + 0x44], 0x10
mov eax, dword [esi + 4]
inc dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
add dword [esp + 0x44], 4
mov eax, dword [eax + edi]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi]
mov eax, dword [esp + 0x44]
add eax, 8
mov dword [esp + 0x2c], ecx
lea edx, [eax - 4]
push edx
push ecx
push eax
push 0x40
call ebp
push eax
call fcn.00432ab0
mov ecx, dword [esi + 4]
add esp, 0xc
push dword [esp + 0x2c]
mov dword [ecx + edi], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x18
push 0x40
call ebp
mov ecx, dword [esi + 4]
push ebx
push ebx
mov edx, dword [ecx + edi]
mov ecx, dword [esp + 0x4c]
mov dword [edx + ecx], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + edi]
mov eax, dword [eax + ecx]
and dword [eax], 0
call fcn.00431f60
inc eax
pop ecx
inc eax
push eax
push 0x40
call ebp
push eax
call fcn.00431e50
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x4c]
push ebx
mov ecx, dword [ecx + edi]
mov ecx, dword [ecx + edx]
mov dword [ecx + 0x10], eax
call fcn.00431f60
lea ebx, [ebx + eax + 1]
add esp, 0xc
cmp byte [ebx], 0
jne 0x422f66
mov ebx, dword [esp + 0x10]
push ebx
call fcn.00431f60
cmp byte [ebx + eax + 1], 0
lea eax, [ebx + eax + 1]
pop ecx
mov dword [esp + 0x10], eax
jne 0x422eab
push dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [esp + 0x28]
call esi
push dword [esp + 0x14]
call esi
push 1
pop edi
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00449263
mov ecx, dword [esp + 0x30]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 4