Function at 0x472e90
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5f43e8
push fcn.00556990
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
sub esp, 0x70
mov eax, dword [0x61094c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x70], esi
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x84], ecx
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x60], eax
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x64], edi
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x5c], 0x4752434d
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
test edi, edi
jne 0x472f3e
lea eax, [edi + 1]
jmp 0x473256
mov eax, dword [esi]
test eax, eax
jne 0x473256
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472f50
sub ecx, edx
sar ecx, 1
lea edi, [ecx*4 + 3]
mov dword [ebp - 0x88], edi
mov dword [ebp - 4], 0
mov eax, edi
call fcn.005545a0
mov dword [ebp - 0x18], esp
mov eax, esp
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 0xfffffffe
mov edx, dword [ebp - 0x74]
jmp 0x472fd6
test eax, eax
je 0x473251
mov byte [eax], 0x5f
mov dword [ebp - 0x74], 0
lea ecx, [eax + 1]
mov dword [ebp - 0x68], ecx
lea eax, [ebp - 0x74]
push eax
push 0
lea eax, [edi - 1]
push eax
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x4731e0
cmp dword [ebp - 0x74], 0
je 0x47301e
mov eax, 0x574
jmp 0x473256
push dword [esi + 8]
push 0x24
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x7c]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
test eax, eax
jne 0x47305b
mov dword [ebp - 0x4c], eax
mov edx, 1
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x60], eax
jne 0x473051
mov edi, 0x1400
mov dword [ebp - 0x54], edi
jmp 0x473061
mov ecx, dword [ebp - 0x64]
mov edi, dword [ecx]
mov dword [ebp - 0x54], edi
jmp 0x473061
mov edx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
cmp dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x60]
je 0x473072
mov eax, dword [ebp - 0x78]
mov dword [eax], edx
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x64]
je 0x473089
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x6c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4730a7
cmp edx, 1
jne 0x47309e
lea eax, [edi + edi]
mov dword [ecx], eax
xor eax, eax
jmp 0x473256
mov dword [ecx], edi
xor eax, eax
jmp 0x473256
mov eax, dword [ecx]
cmp eax, edi
jb 0x4730e6
cmp dword [ebp - 0x4c], 0
je 0x4731b7
cmp edx, 1
jne 0x473181
cmp edi, dword [esi + 0x10]
jbe 0x4730f6
push dword [esi + 0xc]
call fcn.0055e7dd
add esp, 4
push edi
call fcn.0056027d
add esp, 4
mov dword [esi + 0xc], eax
mov ecx, dword [ebp - 0x70]
test eax, eax
jne 0x4730f0
mov dword [ecx + 0x10], eax
mov eax, 8
jmp 0x473256
mov dword [ecx + 0x10], edi
mov edi, dword [ebp - 0x54]
push dword [esi + 8]
push edi
push dword [esi + 0xc]
push dword [ebp - 0x68]
push dword [esi + 4]
mov eax, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
call eax
test eax, eax
je 0x4731e0
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push eax
push ecx
push dword [ebp - 0x54]
push eax
call fcn.004732e0
test eax, eax
jne 0x473256
mov edi, dword [ebp - 0x64]
mov eax, dword [edi]
shr eax, 1
push eax
mov ecx, dword [ebp - 0x60]
push ecx
push 0xffffffffffffffff
push dword [esi + 0xc]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x473176
push 0
push 0
push 0xffffffffffffffff
push dword [esi + 0xc]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add eax, eax
mov dword [edi], eax
mov eax, 0xea
jmp 0x473256
add eax, eax
mov dword [edi], eax
xor eax, eax
jmp 0x473256
mov dword [ecx], edi
push dword [esi + 8]
push edi
mov ecx, dword [ebp - 0x60]
push ecx
push dword [ebp - 0x68]
push dword [esi + 4]
mov eax, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
call eax
test eax, eax
je 0x4731e0
mov edi, dword [ebp - 0x64]
push edi
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x60]
push eax
push ecx
push dword [ebp - 0x54]
push eax
call fcn.004732e0
jmp 0x473256
sub edx, 1
je 0x473218
sub edx, 3
mov dword [ecx], edi
push dword [esi + 8]
je 0x4731e8
push edi
mov ecx, dword [ebp - 0x60]
push ecx
push dword [ebp - 0x68]
push dword [esi + 4]
mov eax, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
call eax
test eax, eax
jne 0x473097
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x473256
push 0x14
lea eax, [ebp - 0x38]
push eax
push 0x5ba29b
push dword [ebp - 0x68]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4731e0
lea eax, [ebp - 0x38]
push eax
call fcn.0056011a
add esp, 4
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
xor eax, eax
jmp 0x473256
cmp eax, 2
jb 0x4730e6
shr eax, 1
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x54], eax
cmp eax, dword [esi + 0x10]
jbe 0x473285
push dword [esi + 0xc]
call fcn.0055e7dd
add esp, 4
push dword [ebp - 0x6c]
call fcn.0056027d
add esp, 4
mov dword [esi + 0xc], eax
mov ecx, dword [ebp - 0x70]
test eax, eax
jne 0x47327c
mov dword [ecx + 0x10], eax
mov eax, 0x3e9
lea esp, [ebp - 0x98]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00553cca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
mov eax, dword [ebp - 0x6c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x54]
push dword [esi + 8]
push eax
push dword [esi + 0xc]
push 0x5ba29b
push dword [ebp - 0x68]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4731e0
mov edi, dword [ebp - 0x64]
mov eax, dword [edi]
shr eax, 1
push eax
mov ecx, dword [ebp - 0x60]
push ecx
push 0xffffffffffffffff
push dword [esi + 0xc]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x473097
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x473256