Function at 0x4c9e90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53acd8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x3c]
push edi
mov ecx, 0x554c58
call fcn.00470370
mov eax, dword [ebp + 0x10]
push eax
mov esi, ebx
call fcn.004ca260
call fcn.004ca770
call fcn.004cad50
push str.FuncBtn_BtnWnd
lea eax, [ebx + 0x4c]
call fcn.005080c0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4c9ef7
mov eax, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0x14], 0
jle 0x4c9f30
test eax, eax
je 0x4c9f30
cmp word [eax], 0
je 0x4c9f30
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4c9f1a
mov ecx, 0x54ee24
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push 0
push str.PosiX
push eax
call esi
mov dword [ebp - 0x14], eax
jmp 0x4c9f36
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4c9f42
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0x18], 0
jle 0x4c9f73
test ecx, ecx
je 0x4c9f73
cmp word [ecx], 0
je 0x4c9f73
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c9f65
mov eax, 0x54ee24
push eax
push 0
push str.PosiY
push ecx
call esi
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4c9f7f
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0x10], 0
jle 0x4c9fb0
test ecx, ecx
je 0x4c9fb0
cmp word [ecx], 0
je 0x4c9fb0
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c9fa2
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call esi
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4c9fbc
mov ecx, 0x54ee24
xor esi, esi
cmp dword [edi + 8], esi
jle 0x4c9feb
test ecx, ecx
je 0x4c9feb
cmp word [ecx], si
je 0x4c9feb
mov edi, dword [edi + 4]
mov eax, edi
test edi, edi
jne 0x4c9fda
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
push 0x2efb
lea edx, [ebp - 0x24]
mov dword [ebx + 0xdfc], ecx
push edx
mov ecx, 0x5776a0
mov dword [ebx + 0xdf8], edi
mov dword [ebx + 0xe00], esi
call fcn.00471480
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x254], ecx
cmp eax, ecx
jne 0x4ca02d
mov eax, 0x54ee24
mov edx, dword [ebp - 0x10]
push esi
push edx
mov edx, dword [ebp - 0x18]
push edx
push edi
push ecx
push eax
mov eax, dword [ebp + 0xc]
push 0x17cf
push eax
lea ecx, [ebx + 0x94]
mov ebx, dword [ebp + 0x10]
mov eax, 0x10000000
call fcn.0043b8a0
mov ecx, dword [ebp - 0x18]
push 0x2ef9
lea edx, [ebp - 0x30]
lea edi, [esi + ecx]
push edx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00508010
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4ca08f
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x500], ebx
cmp eax, ebx
jne 0x4ca0a4
mov eax, 0x54ee24
mov edx, dword [ebp - 0x10]
push esi
push edx
mov edx, dword [ebp - 0x14]
push edi
push edx
push ebx
mov ebx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push 0x17cb
push eax
add ecx, 0x340
mov eax, 0x10000000
call fcn.0043b8a0
push 0x2f00
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x5776a0
add edi, esi
call fcn.00471480
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00508010
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4ca102
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x7ac], ebx
cmp eax, ebx
jne 0x4ca117
mov eax, 0x54ee24
mov edx, dword [ebp - 0x10]
push esi
push edx
mov edx, dword [ebp - 0x14]
push edi
push edx
push ebx
mov ebx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push 0x17cd
push eax
add ecx, 0x5ec
mov eax, 0x10000000
call fcn.0043b8a0
push 0x2eff
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x5776a0
add edi, esi
call fcn.00471480
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00508010
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4ca175
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xa58], ebx
cmp eax, ebx
jne 0x4ca18a
mov eax, 0x54ee24
mov edx, dword [ebp - 0x10]
push esi
push edx
mov edx, dword [ebp - 0x14]
push edi
push edx
push ebx
mov ebx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push 0x17ce
push eax
add ecx, 0x898
mov eax, 0x10000000
call fcn.0043b8a0
push 0x2ee2
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x5776a0
add edi, esi
call fcn.00471480
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00508010
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4ca1f1
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd04], ebx
cmp eax, ebx
jne 0x4ca206
mov eax, 0x54ee24
mov edx, dword [ebp - 0x10]
push esi
push edx
mov edx, dword [ebp - 0x14]
push edi
push edx
push ebx
mov ebx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push 0x1786
push eax
add ecx, 0xb44
mov eax, 0x10000000
call fcn.0043b8a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4ca245
push eax
call fcn.0051ebab
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc