Function at 0x4a6840
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 0x4a6863
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a6893
cmp eax, ebx
je 0x4a6893
cmp word [eax], bx
je 0x4a6893
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x4a6886
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 0x4a689f
mov ecx, 0x54ee24
mov dword [ebp - 4], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a68c9
cmp ecx, ebx
je 0x4a68c9
cmp word [ecx], bx
je 0x4a68c9
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4a68bc
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 0x4a68d5
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a68ff
cmp ecx, ebx
je 0x4a68ff
cmp word [ecx], bx
je 0x4a68ff
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4a68f2
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 0x4a690b
mov ecx, 0x54ee24
mov dword [ebp - 0xc], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a6935
cmp ecx, ebx
je 0x4a6935
cmp word [ecx], bx
je 0x4a6935
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4a6928
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 0x4a696f
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 0x4a6966
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ebx, edi
jmp 0x4a6979
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4a69b6
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 0x4a69ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], edi
jmp 0x4a69c0
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4a69fd
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 0x4a69f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], edi
jmp 0x4a6a07
mov dword [0x57768c], 0x57
xor edi, edi
test eax, eax
je 0x4a6a39
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 0x4a6a32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4a6a43
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4a6a74
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 0x4a6a6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, dword [ebp - 0x1c]
jmp 0x4a6a7e
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 0x4a6b26
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 0x4a6b1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4a6b30
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], ebx
test eax, eax
je 0x4a6b69
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 0x4a6b5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], ebx
jmp 0x4a6b73
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4a6bb0
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 0x4a6ba6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], ebx
jmp 0x4a6bba
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x4a6bec
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 0x4a6be5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4a6bf6
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4a6c27
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 0x4a6c22
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, dword [ebp - 0x1c]
jmp 0x4a6c31
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 0x4a6fab
mov eax, dword [0x577698]
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x4a6ce9
push 0x80
push edi
push edi
push edi
push 0xc878
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4a6cdf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], edi
jmp 0x4a6cf3
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4a6d2c
push 0x80
push 0
push 0
push 0
push 0xc879
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4a6d22
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], edi
jmp 0x4a6d36
mov dword [0x57768c], 0x57
mov dword [ebp + 8], 0
test eax, eax
je 0x4a6d6f
push 0x80
push 0
push 0
push 0
push 0xc87a
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4a6d65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp + 8], edi
jmp 0x4a6d79
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x4a6dab
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 0x4a6da4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4a6db5
mov dword [0x57768c], 0x57
xor edi, edi
test eax, eax
je 0x4a6de2
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 0x4a6dec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
jmp 0x4a6dec
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.0043b6b0
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 0x4a6e5c
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 0x4a6e55
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4a6e66
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4a6ea3
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 0x4a6e99
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], edi
jmp 0x4a6ead
mov dword [0x57768c], 0x57
mov dword [ebp + 8], 0
test eax, eax
je 0x4a6eea
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 0x4a6ee0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp + 8], edi
jmp 0x4a6ef4
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4a6f31
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 0x4a6f27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], edi
jmp 0x4a6f3b
mov dword [0x57768c], 0x57
xor edi, edi
test eax, eax
je 0x4a6f68
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 0x4a6f72
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
jmp 0x4a6f72
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.0043b6b0
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