Function at 0x472f70
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 0x5f4830
push fcn.00556a70
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 0x47301e
lea eax, [edi + 1]
jmp 0x473336
mov eax, dword [esi]
test eax, eax
jne 0x473336
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473030
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.00554680
mov dword [ebp - 0x18], esp
mov eax, esp
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 0xfffffffe
mov edx, dword [ebp - 0x74]
jmp 0x4730b6
test eax, eax
je 0x473331
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 0x4732c0
cmp dword [ebp - 0x74], 0
je 0x4730fe
mov eax, 0x574
jmp 0x473336
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 0x47313b
mov dword [ebp - 0x4c], eax
mov edx, 1
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x60], eax
jne 0x473131
mov edi, 0x1400
mov dword [ebp - 0x54], edi
jmp 0x473141
mov ecx, dword [ebp - 0x64]
mov edi, dword [ecx]
mov dword [ebp - 0x54], edi
jmp 0x473141
mov edx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
cmp dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x60]
je 0x473152
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 0x473169
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 0x473187
cmp edx, 1
jne 0x47317e
lea eax, [edi + edi]
mov dword [ecx], eax
xor eax, eax
jmp 0x473336
mov dword [ecx], edi
xor eax, eax
jmp 0x473336
mov eax, dword [ecx]
cmp eax, edi
jb 0x4731c6
cmp dword [ebp - 0x4c], 0
je 0x473297
cmp edx, 1
jne 0x473261
cmp edi, dword [esi + 0x10]
jbe 0x4731d6
push dword [esi + 0xc]
call fcn.0055e8cd
add esp, 4
push edi
call fcn.00560371
add esp, 4
mov dword [esi + 0xc], eax
mov ecx, dword [ebp - 0x70]
test eax, eax
jne 0x4731d0
mov dword [ecx + 0x10], eax
mov eax, 8
jmp 0x473336
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 0x4732c0
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.004733c0
test eax, eax
jne 0x473336
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 0x473256
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 0x473336
add eax, eax
mov dword [edi], eax
xor eax, eax
jmp 0x473336
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 0x4732c0
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.004733c0
jmp 0x473336
sub edx, 1
je 0x4732f8
sub edx, 3
mov dword [ecx], edi
push dword [esi + 8]
je 0x4732c8
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 0x473177
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x473336
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 0x4732c0
lea eax, [ebp - 0x38]
push eax
call fcn.0056020e
add esp, 4
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
xor eax, eax
jmp 0x473336
cmp eax, 2
jb 0x4731c6
shr eax, 1
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x54], eax
cmp eax, dword [esi + 0x10]
jbe 0x473365
push dword [esi + 0xc]
call fcn.0055e8cd
add esp, 4
push dword [ebp - 0x6c]
call fcn.00560371
add esp, 4
mov dword [esi + 0xc], eax
mov ecx, dword [ebp - 0x70]
test eax, eax
jne 0x47335c
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.00553daa
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 0x4732c0
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 0x473177
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x473336