Function at 0x472ee0
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 0x5f47f0
push fcn.005569f0
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 0x472f8e
lea eax, [edi + 1]
jmp 0x4732a6
mov eax, dword [esi]
test eax, eax
jne 0x4732a6
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472fa0
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.00554600
mov dword [ebp - 0x18], esp
mov eax, esp
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 0xfffffffe
mov edx, dword [ebp - 0x74]
jmp 0x473026
test eax, eax
je 0x4732a1
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 0x473230
cmp dword [ebp - 0x74], 0
je 0x47306e
mov eax, 0x574
jmp 0x4732a6
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 0x4730ab
mov dword [ebp - 0x4c], eax
mov edx, 1
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x60], eax
jne 0x4730a1
mov edi, 0x1400
mov dword [ebp - 0x54], edi
jmp 0x4730b1
mov ecx, dword [ebp - 0x64]
mov edi, dword [ecx]
mov dword [ebp - 0x54], edi
jmp 0x4730b1
mov edx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
cmp dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x60]
je 0x4730c2
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 0x4730d9
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 0x4730f7
cmp edx, 1
jne 0x4730ee
lea eax, [edi + edi]
mov dword [ecx], eax
xor eax, eax
jmp 0x4732a6
mov dword [ecx], edi
xor eax, eax
jmp 0x4732a6
mov eax, dword [ecx]
cmp eax, edi
jb 0x473136
cmp dword [ebp - 0x4c], 0
je 0x473207
cmp edx, 1
jne 0x4731d1
cmp edi, dword [esi + 0x10]
jbe 0x473146
push dword [esi + 0xc]
call fcn.0055e84d
add esp, 4
push edi
call fcn.005602f1
add esp, 4
mov dword [esi + 0xc], eax
mov ecx, dword [ebp - 0x70]
test eax, eax
jne 0x473140
mov dword [ecx + 0x10], eax
mov eax, 8
jmp 0x4732a6
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 0x473230
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.00473330
test eax, eax
jne 0x4732a6
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 0x4731c6
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 0x4732a6
add eax, eax
mov dword [edi], eax
xor eax, eax
jmp 0x4732a6
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 0x473230
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.00473330
jmp 0x4732a6
sub edx, 1
je 0x473268
sub edx, 3
mov dword [ecx], edi
push dword [esi + 8]
je 0x473238
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 0x4730e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4732a6
push 0x14
lea eax, [ebp - 0x38]
push eax
push 0x5ba2fb
push dword [ebp - 0x68]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x473230
lea eax, [ebp - 0x38]
push eax
call fcn.0056018e
add esp, 4
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
xor eax, eax
jmp 0x4732a6
cmp eax, 2
jb 0x473136
shr eax, 1
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x54], eax
cmp eax, dword [esi + 0x10]
jbe 0x4732d5
push dword [esi + 0xc]
call fcn.0055e84d
add esp, 4
push dword [ebp - 0x6c]
call fcn.005602f1
add esp, 4
mov dword [esi + 0xc], eax
mov ecx, dword [ebp - 0x70]
test eax, eax
jne 0x4732cc
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.00553d2a
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 0x5ba2fb
push dword [ebp - 0x68]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x473230
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 0x4730e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4732a6