Function at 0x4c9e20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ab78
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, 0x554c48
call fcn.00470260
mov eax, dword [ebp + 0x10]
push eax
mov esi, ebx
call fcn.004ca1f0
call fcn.004ca700
call fcn.004cace0
push str.FuncBtn_BtnWnd
lea eax, [ebx + 0x4c]
call fcn.005080c0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4c9e87
mov eax, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0x14], 0
jle 0x4c9ec0
test eax, eax
je 0x4c9ec0
cmp word [eax], 0
je 0x4c9ec0
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4c9eaa
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 0x4c9ec6
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4c9ed2
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0x18], 0
jle 0x4c9f03
test ecx, ecx
je 0x4c9f03
cmp word [ecx], 0
je 0x4c9f03
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c9ef5
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 0x4c9f0f
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0x10], 0
jle 0x4c9f40
test ecx, ecx
je 0x4c9f40
cmp word [ecx], 0
je 0x4c9f40
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c9f32
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 0x4c9f4c
mov ecx, 0x54ee24
xor esi, esi
cmp dword [edi + 8], esi
jle 0x4c9f7b
test ecx, ecx
je 0x4c9f7b
cmp word [ecx], si
je 0x4c9f7b
mov edi, dword [edi + 4]
mov eax, edi
test edi, edi
jne 0x4c9f6a
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.00471380
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x254], ecx
cmp eax, ecx
jne 0x4c9fbd
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.0043b720
mov ecx, dword [ebp - 0x18]
push 0x2ef9
lea edx, [ebp - 0x30]
lea edi, [esi + ecx]
push edx
mov ecx, 0x5776a0
call fcn.00471380
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 0x4ca01f
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x500], ebx
cmp eax, ebx
jne 0x4ca034
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.0043b720
push 0x2f00
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x5776a0
add edi, esi
call fcn.00471380
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 0x4ca092
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x7ac], ebx
cmp eax, ebx
jne 0x4ca0a7
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.0043b720
push 0x2eff
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x5776a0
add edi, esi
call fcn.00471380
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 0x4ca105
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xa58], ebx
cmp eax, ebx
jne 0x4ca11a
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.0043b720
push 0x2ee2
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x5776a0
add edi, esi
call fcn.00471380
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 0x4ca181
push eax
call fcn.0051eadb
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 0x4ca196
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.0043b720
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4ca1d5
push eax
call fcn.0051eadb
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