Function at 0x4ca260
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b280
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.FuncBtn_BtnText
lea eax, [esi + 0x4c]
call fcn.005080c0
mov eax, dword [esi + 0x4c]
xor edi, edi
cmp eax, edi
jne 0x4ca2a2
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x44], edi
jle 0x4ca2d2
cmp eax, edi
je 0x4ca2d2
cmp word [eax], di
je 0x4ca2d2
mov ecx, dword [esi + 0x40]
cmp ecx, edi
jne 0x4ca2c5
mov ecx, 0x54ee24
push ecx
push edi
push str.PosiX
push eax
call ebx
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4ca2de
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x4ca308
cmp ecx, edi
je 0x4ca308
cmp word [ecx], di
je 0x4ca308
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4ca2fb
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4ca314
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x4ca33e
cmp ecx, edi
je 0x4ca33e
cmp word [ecx], di
je 0x4ca33e
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4ca331
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4ca34a
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x4ca374
cmp ecx, edi
je 0x4ca374
cmp word [ecx], di
je 0x4ca374
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4ca367
mov eax, 0x54ee24
push eax
push edi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x1c], eax
push 0x2af8
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
cmp eax, edi
jne 0x4ca39b
mov dword [ebp - 0x34], 0x54ee24
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4ca3a7
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x4ca3cd
cmp ecx, edi
je 0x4ca3cd
cmp word [ecx], di
je 0x4ca3cd
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4ca3c1
mov eax, 0x54ee24
push eax
push edi
push str.FontPoint
push ecx
call ebx
mov edi, eax
push 0x2efb
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4ca3f4
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x134]
mov byte [esi + 0x258], bl
call fcn.005080c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
push 0
push 0
mov dword [esi + 0x120], eax
mov eax, dword [ebp - 0x34]
push edi
mov dword [esi + 0x124], ecx
mov dword [esi + 0x11c], edx
mov edx, dword [ebp - 0x1c]
push eax
lea ecx, [esi + 0x10c]
mov dword [esi + 0x12c], ebx
mov ebx, dword [ebp + 8]
push ecx
mov dword [esi + 0x128], edx
mov dword [esi + 0x130], 0x15
call fcn.00473a60
push 0x2ef9
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x5776a0
mov byte [esi + 0x140], 0
mov byte [esi + 0x148], 0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00508010
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4ca497
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4ca4a3
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x3e0]
mov byte [esi + 0x504], bl
call fcn.005080c0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push 0
push 0
mov dword [esi + 0x3cc], ecx
mov ecx, dword [ebp - 0x34]
push edi
mov dword [esi + 0x3d0], edx
mov dword [esi + 0x3c8], eax
mov eax, dword [ebp - 0x1c]
push ecx
lea edx, [esi + 0x3b8]
mov dword [esi + 0x3d8], ebx
mov ebx, dword [ebp + 8]
push edx
mov dword [esi + 0x3d4], eax
mov dword [esi + 0x3dc], 0x15
call fcn.00473a60
push 0x2f00
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x5776a0
mov byte [esi + 0x3ec], 0
mov byte [esi + 0x3f4], 0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00508010
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4ca546
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4ca552
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x68c]
mov byte [esi + 0x7b0], bl
call fcn.005080c0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push 0
push 0
mov dword [esi + 0x678], edx
mov edx, dword [ebp - 0x34]
push edi
mov dword [esi + 0x67c], eax
mov dword [esi + 0x674], ecx
mov ecx, dword [ebp - 0x1c]
push edx
lea eax, [esi + 0x664]
mov dword [esi + 0x684], ebx
mov ebx, dword [ebp + 8]
push eax
mov dword [esi + 0x680], ecx
mov dword [esi + 0x688], 0x15
call fcn.00473a60
push 0x2eff
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x5776a0
mov byte [esi + 0x698], 0
mov byte [esi + 0x6a0], 0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00508010
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4ca5f5
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4ca601
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x938]
mov byte [esi + 0xa5c], bl
call fcn.005080c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
push 0
push 0
mov dword [esi + 0x924], eax
mov eax, dword [ebp - 0x34]
push edi
mov dword [esi + 0x928], ecx
mov dword [esi + 0x920], edx
mov edx, dword [ebp - 0x1c]
push eax
lea ecx, [esi + 0x910]
mov dword [esi + 0x930], ebx
mov ebx, dword [ebp + 8]
push ecx
mov dword [esi + 0x92c], edx
mov dword [esi + 0x934], 0x15
call fcn.00473a60
push 0x2ee2
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x5776a0
mov byte [esi + 0x944], 0
mov byte [esi + 0x94c], 0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00508010
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4ca6af
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4ca6bb
mov eax, 0x54ee24
push eax
lea eax, [esi + 0xbe4]
mov byte [esi + 0xd08], bl
call fcn.005080c0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push 0
push 0
mov dword [esi + 0xbd0], ecx
mov ecx, dword [ebp - 0x34]
push edi
mov dword [esi + 0xbd4], edx
mov dword [esi + 0xbcc], eax
mov eax, dword [ebp - 0x1c]
push ecx
lea edx, [esi + 0xbbc]
mov dword [esi + 0xbdc], ebx
mov ebx, dword [ebp + 8]
push edx
mov dword [esi + 0xbd8], eax
mov dword [esi + 0xbe0], 0x15
call fcn.00473a60
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
mov byte [esi + 0xbf0], bl
mov byte [esi + 0xbf8], bl
cmp eax, ebx
je 0x4ca743
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x4ca75a
push eax
call fcn.0051ebab
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4