Function at 0x4cad50
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 0x4cad73
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], ebx
cmp dword [esi + 0x44], ebx
jle 0x4cada3
cmp eax, ebx
je 0x4cada3
cmp word [eax], bx
je 0x4cada3
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x4cad96
mov ecx, 0x54ee24
push ecx
push ebx
push str.PosiX
push eax
call edi
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4cadaf
mov ecx, 0x54ee24
mov dword [ebp - 8], ebx
cmp dword [esi + 0x44], ebx
jle 0x4cadd9
cmp ecx, ebx
je 0x4cadd9
cmp word [ecx], bx
je 0x4cadd9
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4cadcc
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4cade5
mov ecx, 0x54ee24
mov dword [ebp - 0xc], ebx
cmp dword [esi + 0x44], ebx
jle 0x4cae0f
cmp ecx, ebx
je 0x4cae0f
cmp word [ecx], bx
je 0x4cae0f
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4cae02
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4cae1b
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4cae45
cmp ecx, ebx
je 0x4cae45
cmp word [ecx], bx
je 0x4cae45
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4cae38
mov eax, 0x54ee24
push eax
push ebx
push str.Height
push ecx
call edi
mov dword [ebp - 0x10], eax
mov eax, dword [0x577698]
cmp eax, ebx
je 0x4cae7f
push 0x80
push 0
push 0
push 0
push 0xc86f
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4cae76
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ebx, edi
jmp 0x4cae89
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4caec6
push 0x80
push 0
push 0
push 0
push 0xc870
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4caebc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], edi
jmp 0x4caed0
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4caf0d
push 0x80
push 0
push 0
push 0
push 0xc871
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4caf03
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], edi
jmp 0x4caf17
mov dword [0x57768c], 0x57
xor edi, edi
test eax, eax
je 0x4caf49
push 0x80
push edi
push edi
push edi
push 0xc89c
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4caf42
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4caf53
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4caf84
push 0x80
push ecx
push ecx
push ecx
push 0xc89d
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4caf7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, dword [ebp - 0x1c]
jmp 0x4caf8e
mov dword [0x57768c], 0x57
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x270], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x274], edx
mov edx, dword [ebp - 8]
mov dword [esi + 0x268], ebx
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x2bc], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x2c0], edx
mov edx, dword [ebp - 0xc]
xor ebx, ebx
mov dword [esi + 0x2c4], edx
mov dword [esi + 0x2c8], eax
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2d0], ebx
mov dword [esi + 0x2d4], edx
mov dword [esi + 0x2d8], eax
mov word [esi + 0x259], 0x101
mov dword [esi + 0x278], edi
mov dword [esi + 0x27c], ecx
mov eax, dword [0x577698]
xor edi, edi
cmp eax, ebx
je 0x4cb036
push 0x80
push edi
push edi
push edi
push 0xc869
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4cb02f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4cb040
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], ebx
test eax, eax
je 0x4cb079
push 0x80
push 0
push 0
push 0
push 0xc86a
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4cb06f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], ebx
jmp 0x4cb083
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4cb0c0
push 0x80
push 0
push 0
push 0
push 0xc86b
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4cb0b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], ebx
jmp 0x4cb0ca
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x4cb0fc
push 0x80
push ebx
push ebx
push ebx
push 0xc89a
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4cb0f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4cb106
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4cb137
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 0x4cb132
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, dword [ebp - 0x1c]
jmp 0x4cb141
mov dword [0x57768c], 0x57
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x51c], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x520], edx
mov edx, dword [ebp - 8]
mov dword [esi + 0x514], edi
mov dword [esi + 0x518], edi
mov dword [esi + 0x568], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x56c], edx
mov edx, dword [ebp - 0xc]
xor edi, edi
mov dword [esi + 0x570], edx
mov dword [esi + 0x574], eax
mov dword [esi + 0x578], edi
mov dword [esi + 0x57c], edi
mov dword [esi + 0x580], edx
mov dword [esi + 0x584], eax
mov word [esi + 0x505], 0x101
mov dword [esi + 0x524], ebx
mov dword [esi + 0x528], ecx
mov eax, dword [0x577698]
cmp eax, edi
je 0x4cb1e7
push 0x80
push edi
push edi
push edi
push 0xc875
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4cb1e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4cb1f1
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4cb22e
push 0x80
push 0
push 0
push 0
push 0xc876
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4cb224
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], ebx
jmp 0x4cb238
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4cb275
push 0x80
push 0
push 0
push 0
push 0xc877
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4cb26b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], ebx
jmp 0x4cb27f
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x4cb2b1
push 0x80
push ebx
push ebx
push ebx
push 0xc890
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4cb2aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4cb2bb
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4cb2ec
push 0x80
push ecx
push ecx
push ecx
push 0xc891
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4cb2e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, dword [ebp - 0x1c]
jmp 0x4cb2f6
mov dword [0x57768c], 0x57
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x7c8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x7cc], edx
mov edx, dword [ebp - 8]
mov dword [esi + 0x7c0], edi
mov dword [esi + 0x7c4], edi
mov dword [esi + 0x814], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x818], edx
mov edx, dword [ebp - 0xc]
xor edi, edi
mov dword [esi + 0x81c], edx
mov dword [esi + 0x820], eax
mov dword [esi + 0x824], edi
mov dword [esi + 0x828], edi
mov dword [esi + 0x82c], edx
mov dword [esi + 0x830], eax
mov word [esi + 0x7b1], 0x101
mov dword [esi + 0x7d0], ebx
mov dword [esi + 0x7d4], ecx
mov eax, dword [0x577698]
cmp eax, edi
je 0x4cb39c
push 0x80
push edi
push edi
push edi
push 0xc878
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4cb395
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4cb3a6
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4cb3e3
push 0x80
push 0
push 0
push 0
push 0xc879
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4cb3d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], ebx
jmp 0x4cb3ed
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4cb42a
push 0x80
push 0
push 0
push 0
push 0xc87a
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4cb420
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], ebx
jmp 0x4cb434
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x4cb466
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 0x4cb45f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4cb470
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4cb4a1
push 0x80
push ecx
push ecx
push ecx
push 0xc89f
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4cb49c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, dword [ebp - 0x1c]
jmp 0x4cb4ab
mov dword [0x57768c], 0x57
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0xa74], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0xa78], edx
mov edx, dword [ebp - 8]
mov dword [esi + 0xa6c], edi
mov dword [esi + 0xa70], edi
mov dword [esi + 0xac0], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xac4], edx
mov edx, dword [ebp - 0xc]
xor edi, edi
mov dword [esi + 0xac8], edx
mov dword [esi + 0xacc], eax
mov dword [esi + 0xad0], edi
mov dword [esi + 0xad4], edi
mov dword [esi + 0xad8], edx
mov dword [esi + 0xadc], eax
mov word [esi + 0xa5d], 0x101
mov dword [esi + 0xa7c], ebx
mov dword [esi + 0xa80], ecx
mov eax, dword [0x577698]
cmp eax, edi
je 0x4cb551
push 0x80
push edi
push edi
push edi
push 0xc87b
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x4cb54a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4cb55b
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4cb598
push 0x80
push 0
push 0
push 0
push 0xc87c
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4cb58e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], ebx
jmp 0x4cb5a2
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4cb5df
push 0x80
push 0
push 0
push 0
push 0xc87d
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4cb5d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], ebx
jmp 0x4cb5e9
mov dword [0x57768c], 0x57
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x4cb626
push 0x80
push 0
push 0
push 0
push 0xc898
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4cb61c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x1c], ebx
jmp 0x4cb630
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4cb65f
push 0x80
push ecx
push ecx
push ecx
push 0xc899
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4cb65b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, ebx
jmp 0x4cb669
mov dword [0x57768c], 0x57
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0xd20], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0xd24], edx
mov edx, dword [ebp - 8]
mov dword [esi + 0xd18], edi
mov dword [esi + 0xd1c], edi
mov dword [esi + 0xd6c], eax
mov eax, dword [ebp - 0x10]
xor edi, edi
mov dword [esi + 0xd70], edx
mov edx, dword [ebp - 0xc]
mov dword [esi + 0xd78], eax
mov dword [esi + 0xd7c], edi
mov dword [esi + 0xd80], edi
mov dword [esi + 0xd88], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xd74], edx
mov dword [esi + 0xd84], edx
mov word [esi + 0xd09], 0x101
pop edi
mov dword [esi + 0xd28], eax
mov dword [esi + 0xd2c], ecx
pop ebx
mov esp, ebp
pop ebp
ret