Function at 0x4a68b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
push str.FuncBtn_BtnPict
lea eax, [esi + 0x4c]
call fcn.005080c0
mov eax, dword [esi + 0x4c]
xor ebx, ebx
cmp eax, ebx
jne 0x4a68d3
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a6903
cmp eax, ebx
je 0x4a6903
cmp word [eax], bx
je 0x4a6903
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x4a68f6
mov ecx, 0x54ee24
push ecx
push ebx
push str.PosiX
push eax
call edi
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4a690f
mov ecx, 0x54ee24
mov dword [ebp - 4], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a6939
cmp ecx, ebx
je 0x4a6939
cmp word [ecx], bx
je 0x4a6939
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4a692c
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4a6945
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a696f
cmp ecx, ebx
je 0x4a696f
cmp word [ecx], bx
je 0x4a696f
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4a6962
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 0x4a697b
mov ecx, 0x54ee24
mov dword [ebp - 0xc], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a69a5
cmp ecx, ebx
je 0x4a69a5
cmp word [ecx], bx
je 0x4a69a5
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4a6998
mov eax, 0x54ee24
push eax
push ebx
push str.Height
push ecx
call edi
mov dword [ebp - 0xc], eax
mov eax, dword [0x577698]
cmp eax, ebx
je 0x4a69df
push 0x80
push 0
push 0
push 0
push 0xc869
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4a69d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ebx, edi
jmp 0x4a69e9
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4a6a26
push 0x80
push 0
push 0
push 0
push 0xc86a
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4a6a1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], edi
jmp 0x4a6a30
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4a6a6d
push 0x80
push 0
push 0
push 0
push 0xc86b
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4a6a63
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], edi
jmp 0x4a6a77
mov dword [0x57768c], 0x57
xor edi, edi
test eax, eax
je 0x4a6aa9
push 0x80
push edi
push edi
push edi
push 0xc89a
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4a6aa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4a6ab3
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4a6ae4
push 0x80
push ecx
push ecx
push ecx
push 0xc89b
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4a6adf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, dword [ebp - 0x1c]
jmp 0x4a6aee
mov dword [0x57768c], 0x57
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x250], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x254], edx
mov edx, dword [ebp - 4]
mov dword [esi + 0x248], ebx
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x29c], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x2a0], edx
mov edx, dword [ebp - 0x10]
xor ebx, ebx
mov dword [esi + 0x2a4], edx
mov dword [esi + 0x2a8], eax
mov dword [esi + 0x2ac], ebx
mov dword [esi + 0x2b0], ebx
mov dword [esi + 0x2b4], edx
mov dword [esi + 0x2b8], eax
mov word [esi + 0x239], 0x101
mov dword [esi + 0x258], edi
mov dword [esi + 0x25c], ecx
mov eax, dword [0x577698]
xor edi, edi
cmp eax, ebx
je 0x4a6b96
push 0x80
push edi
push edi
push edi
push 0xc86c
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4a6b8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4a6ba0
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], ebx
test eax, eax
je 0x4a6bd9
push 0x80
push 0
push 0
push 0
push 0xc86d
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4a6bcf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], ebx
jmp 0x4a6be3
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4a6c20
push 0x80
push 0
push 0
push 0
push 0xc86e
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4a6c16
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], ebx
jmp 0x4a6c2a
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x4a6c5c
push 0x80
push ebx
push ebx
push ebx
push 0xc896
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4a6c55
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4a6c66
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4a6c97
push 0x80
push ecx
push ecx
push ecx
push 0xc897
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4a6c92
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, dword [ebp - 0x1c]
jmp 0x4a6ca1
mov dword [0x57768c], 0x57
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x4fc], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x500], edx
mov edx, dword [ebp - 4]
mov dword [esi + 0x4f4], edi
mov dword [esi + 0x4f8], edi
mov dword [esi + 0x548], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x54c], edx
mov edx, dword [ebp - 0x10]
xor edi, edi
cmp byte [ebp + 8], 0
mov dword [esi + 0x550], edx
mov dword [esi + 0x554], eax
mov dword [esi + 0x558], edi
mov dword [esi + 0x55c], edi
mov dword [esi + 0x560], edx
mov dword [esi + 0x564], eax
mov word [esi + 0x4e5], 0x101
mov dword [esi + 0x504], ebx
mov dword [esi + 0x508], ecx
je 0x4a701b
mov eax, dword [0x577698]
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x4a6d59
push 0x80
push edi
push edi
push edi
push 0xc878
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4a6d4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], edi
jmp 0x4a6d63
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4a6d9c
push 0x80
push 0
push 0
push 0
push 0xc879
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4a6d92
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], edi
jmp 0x4a6da6
mov dword [0x57768c], 0x57
mov dword [ebp + 8], 0
test eax, eax
je 0x4a6ddf
push 0x80
push 0
push 0
push 0
push 0xc87a
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4a6dd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp + 8], edi
jmp 0x4a6de9
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x4a6e1b
push 0x80
push ebx
push ebx
push ebx
push 0xc89e
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4a6e14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4a6e25
mov dword [0x57768c], 0x57
xor edi, edi
test eax, eax
je 0x4a6e52
push 0x80
push edi
push edi
push edi
push 0xc89f
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4a6e5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
jmp 0x4a6e5c
mov dword [0x57768c], 0x57
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
mov edx, dword [ebp - 0x10]
push ecx
push ecx
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0x5cc]
call fcn.0043b830
mov dword [eax + 0x1e4], ebx
mov byte [eax + 0x1c6], 1
mov dword [eax + 0x1e8], edi
mov eax, dword [0x577698]
xor ebx, ebx
test eax, eax
je 0x4a6ecc
push 0x80
push ebx
push ebx
push ebx
push 0xc875
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4a6ec5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4a6ed6
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4a6f13
push 0x80
push 0
push 0
push 0
push 0xc876
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4a6f09
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], edi
jmp 0x4a6f1d
mov dword [0x57768c], 0x57
mov dword [ebp + 8], 0
test eax, eax
je 0x4a6f5a
push 0x80
push 0
push 0
push 0
push 0xc877
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4a6f50
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp + 8], edi
jmp 0x4a6f64
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4a6fa1
push 0x80
push 0
push 0
push 0
push 0xc890
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4a6f97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], edi
jmp 0x4a6fab
mov dword [0x57768c], 0x57
xor edi, edi
test eax, eax
je 0x4a6fd8
push 0x80
push edi
push edi
push edi
push 0xc891
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4a6fe2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
jmp 0x4a6fe2
mov dword [0x57768c], 0x57
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0xc]
push edx
mov edx, dword [ebp - 0x10]
push ebx
lea eax, [esi + 0x878]
push ebx
call fcn.0043b830
mov ecx, dword [ebp - 0x14]
mov byte [eax + 0x1c6], 1
mov dword [eax + 0x1e4], ecx
mov dword [eax + 0x1e8], edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4