Function at 0x422cc0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a9b83
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
mov edi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edi
test edi, edi
je 0x422f3e
call fcn.00422bf0
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x1b], 0
call fcn.0041ff40
xor ecx, ecx
mov esi, 0x8000
mov eax, esi
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x6c], 0
neg ecx
or ecx, eax
push ecx
call fcn.0048811b
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x422f22
push 0x10000
push 0
push ebp
call fcn.0048aa40
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
add esp, 0xc
push edi
push esi
push ebp
call ebx
mov dword [esp + 0x20], eax
cmp eax, 0x7ffe
jne 0x422dc3
push ebp
add esi, esi
call fcn.0048aa26
xor ecx, ecx
add esp, 4
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048811b
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x422ef0
lea eax, [esi + esi]
push eax
push 0
push ebp
call fcn.0048aa40
add esp, 0xc
push edi
push esi
push ebp
call ebx
lea ecx, [esi - 2]
mov dword [esp + 0x20], eax
cmp eax, ecx
je 0x422d74
mov dword [esp + 0x18], 0
test eax, eax
jbe 0x422ed0
mov edx, dword [esp + 0x18]
lea ebx, [ebp + edx*2]
test ebx, ebx
jne 0x422de4
mov ebx, 0x4b3154
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422df0
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov dword [esp + 0x2c], eax
mov eax, edi
lea esi, [esp + 0x30]
call fcn.004208d0
cmp byte [esp + 0x56], 0
mov eax, esi
jne 0x422e1e
mov eax, dword [esp + 0x50]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebx
push eax
call fcn.0048b710
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
add esp, 0xc
lea ecx, [edx + eax + 1]
mov dword [esp + 0x18], ecx
test eax, eax
jbe 0x422ebe
push 0x50
call fcn.00489136
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x6c], 1
test eax, eax
je 0x422e77
cmp byte [esp + 0x56], 0
lea ecx, [esp + 0x30]
jne 0x422e69
mov ecx, dword [esp + 0x50]
add ecx, 4
push ecx
push eax
call fcn.004224f0
mov esi, eax
jmp 0x422e79
xor esi, esi
mov byte [esp + 0x6c], 0
test esi, esi
je 0x422ee0
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.00422650
test al, al
je 0x422f1b
cmp dword [esi + 0x4c], 0
jne 0x422eac
push esi
call fcn.004225b0
push esi
call fcn.00488f48
add esp, 4
jmp 0x422ebe
mov edi, dword [esp + 0x1c]
add edi, 0x30
lea ebx, [esp + 0x2c]
call fcn.00423600
mov dword [eax], esi
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x20]
jb 0x422dd3
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, edi
call fcn.00420150
mov byte [esp + 0x17], 1
push ebp
call fcn.0048aa26
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x422ef9
mov eax, dword [esp + 0x1c]
call fcn.00422bf0
cmp byte [esp + 0x56], 0
jne 0x422f15
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x422f15
push eax
call fcn.0048a268
add esp, 4
mov al, byte [esp + 0x17]
jmp 0x422f40
call fcn.00422ca0
jmp 0x422ee0
cmp byte [esp + 0x56], 0
jne 0x422f3e
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x30]
cmp eax, edx
je 0x422f3e
push eax
call fcn.0048a268
add esp, 4
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00488f53
add esp, 0x5c
ret 4