Function at 0x47e380
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2231
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x50d4cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x58], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x1c]
push ecx
call fcn.0047f200
mov esi, eax
add esp, 4
test esi, esi
jne 0x47e444
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], eax
mov byte [edi], al
cmp byte [ebx], al
jne 0x47e412
xor ecx, ecx
jmp 0x47e420
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47e417
sub ecx, edx
push ecx
push ebx
mov ecx, edi
call fcn.00407ba0
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x47e5e5
jmp 0x47e5b7
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x4c]
push eax
call fcn.0047e0d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
push 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0x4df3d0
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
call fcn.00407ba0
mov byte [ebp - 4], 3
cmp esi, 1
mov esi, dword [ebp - 0x1c]
jne 0x47e4e9
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
cmp dword [esi + 0x14], 0x10
jb 0x47e4a4
mov ecx, dword [esi]
jmp 0x47e4a6
mov ecx, esi
push eax
push 0x104
push 0x518fc0
push 0x4df3d0
push ecx
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor ecx, ecx
mov edx, 0x518fc0
test eax, eax
cmove edx, ecx
test edx, edx
cmove edx, ebx
cmp byte [edx], cl
je 0x47e549
mov ecx, edx
lea ebx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47e4e0
jmp 0x47e547
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
lea eax, [esi + 0x18]
cmovae ecx, dword [ebp - 0x4c]
cmp dword [eax + 0x14], 0x10
jb 0x47e4ff
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x47e509
mov edx, dword [esi]
jmp 0x47e50b
mov edx, esi
push ecx
push 0x104
push 0x518fc0
push 0x4df3d0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor ecx, ecx
mov edx, 0x518fc0
test eax, eax
cmove edx, ecx
test edx, edx
cmove edx, ebx
cmp byte [edx], cl
je 0x47e549
mov ecx, edx
lea ebx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47e540
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00407ba0
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.004248a0
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 2
cmp dword [ebp - 0x20], 0x10
jb 0x47e57a
push dword [ebp - 0x34]
call fcn.0048b08b
add esp, 4
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], 0x10
jb 0x47e5a1
push dword [ebp - 0x4c]
call fcn.0048b08b
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
mov byte [ebp - 4], 0
push dword [ebp - 0x54]
lea eax, [ebp - 0x4d]
push eax
push dword [ebp - 0x18]
push esi
call fcn.0041b4f0
push esi
call fcn.0048b08b
add esp, 0x14
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 0xc