Function at 0x4a9a20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538198
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
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
lea eax, [esi + 0x4c]
push str.PanelFncBtn_BtnText
mov dword [ebp - 4], ebx
call fcn.005080c0
mov eax, dword [esi + 0x4c]
cmp eax, ebx
jne 0x4a9a6e
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a9a9e
cmp eax, ebx
je 0x4a9a9e
cmp word [eax], bx
je 0x4a9a9e
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x4a9a91
mov ecx, 0x54ee24
push ecx
push ebx
push str.PosiX
push eax
call edi
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4a9aaa
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a9ad4
cmp ecx, ebx
je 0x4a9ad4
cmp word [ecx], bx
je 0x4a9ad4
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4a9ac7
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4a9ae0
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a9b0a
cmp ecx, ebx
je 0x4a9b0a
cmp word [ecx], bx
je 0x4a9b0a
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4a9afd
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4a9b16
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a9b40
cmp ecx, ebx
je 0x4a9b40
cmp word [ecx], bx
je 0x4a9b40
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4a9b33
mov eax, 0x54ee24
push eax
push ebx
push str.Height
push ecx
call edi
mov dword [ebp - 0x1c], eax
push 0x2af8
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
mov edi, eax
cmp eax, ebx
jne 0x4a9b65
mov edi, 0x54ee24
mov ecx, dword [esi + 0x4c]
mov dword [ebp - 0x4c], edi
cmp ecx, ebx
jne 0x4a9b74
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4a9ba1
test ecx, ecx
je 0x4a9ba1
cmp word [ecx], bx
je 0x4a9ba1
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4a9b90
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
cmp byte [ebp + 0xc], 0
je 0x4a9c65
cmp byte [esi + 0xb10], 0
je 0x4a9c65
push 0x80fa
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4a9beb
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4a9bf7
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x114]
mov byte [esi + 0x238], 1
call fcn.005080c0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x100], eax
mov dword [esi + 0xfc], edx
mov edx, dword [ebp - 0x1c]
push edi
lea eax, [esi + 0xec]
push eax
mov dword [esi + 0x104], ecx
mov dword [esi + 0x108], edx
mov dword [esi + 0x110], 0x15
mov dword [esi + 0x10c], 1
call fcn.00473a60
xor al, al
mov byte [esi + 0x120], al
mov byte [esi + 0x128], al
push str.PanelWndBtn_BtnText
lea eax, [esi + 0x4c]
call fcn.005080c0
mov eax, dword [esi + 0x4c]
xor edi, edi
mov ecx, eax
cmp eax, edi
jne 0x4a9c82
mov ecx, 0x54ee24
mov dword [ebp + 0xc], edi
cmp dword [esi + 0x44], edi
jle 0x4a9cb4
cmp ecx, edi
je 0x4a9cb4
cmp word [ecx], di
je 0x4a9cb4
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4a9c9f
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push edi
push str.PosiX
push ecx
call ebx
mov dword [ebp + 0xc], eax
jmp 0x4a9cba
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4a9cc6
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x44], edi
jle 0x4a9cf0
cmp ecx, edi
je 0x4a9cf0
cmp word [ecx], di
je 0x4a9cf0
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4a9ce3
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4a9cfc
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x4a9d26
cmp ecx, edi
je 0x4a9d26
cmp word [ecx], di
je 0x4a9d26
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4a9d19
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4a9d32
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x4a9d5c
cmp ecx, edi
je 0x4a9d5c
cmp word [ecx], di
je 0x4a9d5c
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4a9d4f
mov eax, 0x54ee24
push eax
push edi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4a9d68
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x4a9d93
test ecx, ecx
je 0x4a9d93
cmp word [ecx], di
je 0x4a9d93
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4a9d82
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push 0x791a
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4a9dc6
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4a9dd2
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x3c0]
mov byte [esi + 0x4e4], 1
call fcn.005080c0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0
push 0
mov dword [esi + 0x3ac], eax
mov eax, dword [ebp - 0x4c]
push edi
mov dword [esi + 0x3b0], ecx
mov dword [esi + 0x3a8], edx
mov edx, dword [ebp - 0x18]
push eax
lea ecx, [esi + 0x398]
push ecx
mov dword [esi + 0x3b4], edx
mov dword [esi + 0x3bc], 0x15
mov dword [esi + 0x3b8], 1
call fcn.00473a60
push 0x7919
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x5776a0
mov byte [esi + 0x3cc], 0
mov byte [esi + 0x3d4], 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 0x4a9e85
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 0x4a9e91
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x66c]
mov byte [esi + 0x790], bl
call fcn.005080c0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
push 0
push 0
mov dword [esi + 0x658], ecx
mov ecx, dword [ebp - 0x4c]
push edi
mov dword [esi + 0x65c], edx
mov dword [esi + 0x654], eax
mov eax, dword [ebp - 0x18]
push ecx
lea edx, [esi + 0x644]
mov dword [esi + 0x664], ebx
mov ebx, dword [ebp + 8]
push edx
mov dword [esi + 0x660], eax
mov dword [esi + 0x668], 0x15
call fcn.00473a60
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x34]
mov byte [esi + 0x678], bl
mov byte [esi + 0x680], bl
cmp eax, ebx
je 0x4a9f19
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x4a9f30
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 8