Function at 0x422650
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a94db
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
xor ebp, ebp
mov dword [esp + 0x20], edi
mov esi, edx
cmp eax, ebp
jbe 0x422954
lea eax, [esp + 0x24]
push eax
call fcn.0041ff40
lea ecx, [esp + 0x84]
push ecx
mov dword [esp + 0xc4], ebp
call fcn.0041ff40
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0xc4], 1
call fcn.0041ff40
push 0x10000
mov byte [esp + 0xc4], 2
call fcn.0048811b
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
cmp ebx, ebp
je 0x4228f7
push 0x10000
push ebp
push ebx
call fcn.0048aa40
lea eax, [edi + 4]
add esp, 0xc
cmp byte [eax + 0x26], 0
jne 0x42270d
mov eax, dword [eax + 0x20]
push esi
push 0x7fff
push ebx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov dword [esp + 0x1c], eax
cmp eax, 0x7ffd
jne 0x42278d
push ebx
call fcn.0048aa26
add esp, 4
cmp byte [esp + 0x7e], 0
jne 0x42274e
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x58]
cmp eax, ecx
je 0x42274e
push eax
call fcn.0048a268
add esp, 4
cmp byte [esp + 0xae], 0
jne 0x422773
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0x88]
cmp eax, edx
je 0x422773
push eax
call fcn.0048a268
add esp, 4
cmp byte [esp + 0x4e], 0
jne 0x422954
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x28]
cmp eax, ecx
jmp 0x422949
test eax, eax
jbe 0x42288d
lea ebx, [ebx + ebp*2]
test ebx, ebx
jne 0x4227a1
mov ebx, 0x4b3154
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4227a6
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov dword [esp + 0x24], eax
mov eax, edi
lea esi, [esp + 0x28]
call fcn.004208d0
cmp byte [esp + 0x4e], 0
mov eax, esi
jne 0x4227d4
mov eax, dword [esp + 0x48]
lea edx, [edi + edi]
push edx
add eax, 4
push ebx
push eax
call fcn.0048b710
mov eax, dword [esp + 0x30]
add esp, 0xc
lea ebp, [eax + ebp + 1]
cmp eax, 3
jb 0x42287f
test eax, eax
jbe 0x42287f
cmp byte [esp + 0x4e], 0
lea ecx, [esp + 0x28]
jne 0x42280d
mov ecx, dword [esp + 0x48]
xor esi, esi
nop
cmp word [ecx + esi*2 + 4], 0x3d
je 0x42281f
inc esi
cmp esi, eax
jb 0x422810
jmp 0x42287f
cmp esi, 0xffffffff
je 0x42287f
mov eax, esi
lea ecx, [esp + 0x84]
lea edx, [esp + 0x24]
call fcn.004204a0
mov edx, dword [esp + 0x24]
mov eax, edx
sub eax, esi
lea ecx, [esp + 0x24]
dec eax
push ecx
sub edx, eax
lea ecx, [esp + 0x58]
call fcn.00420500
cmp dword [esp + 0x84], 0
jbe 0x42287f
cmp dword [esp + 0x54], 0
jbe 0x42287f
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x84]
push edx
add edi, 0x30
call fcn.00423110
mov ecx, eax
lea eax, [esp + 0x54]
call fcn.004209f0
mov ebx, dword [esp + 0x18]
cmp ebp, dword [esp + 0x1c]
jb 0x422795
push ebx
call fcn.0048aa26
add esp, 4
cmp byte [esp + 0x7e], 0
jne 0x4228b2
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x58]
cmp eax, ecx
je 0x4228b2
push eax
call fcn.0048a268
add esp, 4
cmp byte [esp + 0xae], 0
jne 0x4228d7
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0x88]
cmp eax, edx
je 0x4228d7
push eax
call fcn.0048a268
add esp, 4
cmp byte [esp + 0x4e], 0
jne 0x4228f3
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x4228f3
push eax
call fcn.0048a268
add esp, 4
mov al, 1
jmp 0x422956
cmp byte [esp + 0x7e], 0
jne 0x422913
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x58]
cmp eax, edx
je 0x422913
push eax
call fcn.0048a268
add esp, 4
cmp byte [esp + 0xae], 0
jne 0x422938
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x88]
cmp eax, ecx
je 0x422938
push eax
call fcn.0048a268
add esp, 4
cmp byte [esp + 0x4e], 0
jne 0x422954
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x28]
cmp eax, edx
je 0x422954
push eax
call fcn.0048a268
add esp, 4
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00488f53
add esp, 0xb0
ret