Function at 0x4cace0
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 0x4cad03
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], ebx
cmp dword [esi + 0x44], ebx
jle 0x4cad33
cmp eax, ebx
je 0x4cad33
cmp word [eax], bx
je 0x4cad33
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x4cad26
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 0x4cad3f
mov ecx, 0x54ee24
mov dword [ebp - 8], ebx
cmp dword [esi + 0x44], ebx
jle 0x4cad69
cmp ecx, ebx
je 0x4cad69
cmp word [ecx], bx
je 0x4cad69
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4cad5c
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 0x4cad75
mov ecx, 0x54ee24
mov dword [ebp - 0xc], ebx
cmp dword [esi + 0x44], ebx
jle 0x4cad9f
cmp ecx, ebx
je 0x4cad9f
cmp word [ecx], bx
je 0x4cad9f
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4cad92
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 0x4cadab
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4cadd5
cmp ecx, ebx
je 0x4cadd5
cmp word [ecx], bx
je 0x4cadd5
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4cadc8
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 0x4cae0f
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 0x4cae06
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ebx, edi
jmp 0x4cae19
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4cae56
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 0x4cae4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], edi
jmp 0x4cae60
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4cae9d
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 0x4cae93
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], edi
jmp 0x4caea7
mov dword [0x57768c], 0x57
xor edi, edi
test eax, eax
je 0x4caed9
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 0x4caed2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4caee3
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4caf14
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 0x4caf0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, dword [ebp - 0x1c]
jmp 0x4caf1e
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 0x4cafc6
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 0x4cafbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4cafd0
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], ebx
test eax, eax
je 0x4cb009
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 0x4cafff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], ebx
jmp 0x4cb013
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4cb050
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 0x4cb046
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], ebx
jmp 0x4cb05a
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x4cb08c
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 0x4cb085
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4cb096
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4cb0c7
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 0x4cb0c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, dword [ebp - 0x1c]
jmp 0x4cb0d1
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 0x4cb177
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 0x4cb170
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4cb181
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4cb1be
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 0x4cb1b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], ebx
jmp 0x4cb1c8
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4cb205
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 0x4cb1fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], ebx
jmp 0x4cb20f
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x4cb241
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 0x4cb23a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4cb24b
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4cb27c
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 0x4cb277
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, dword [ebp - 0x1c]
jmp 0x4cb286
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 0x4cb32c
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 0x4cb325
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4cb336
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4cb373
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 0x4cb369
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], ebx
jmp 0x4cb37d
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4cb3ba
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 0x4cb3b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], ebx
jmp 0x4cb3c4
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x4cb3f6
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 0x4cb3ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4cb400
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4cb431
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 0x4cb42c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, dword [ebp - 0x1c]
jmp 0x4cb43b
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 0x4cb4e1
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 0x4cb4da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4cb4eb
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4cb528
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 0x4cb51e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], ebx
jmp 0x4cb532
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4cb56f
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 0x4cb565
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], ebx
jmp 0x4cb579
mov dword [0x57768c], 0x57
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x4cb5b6
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 0x4cb5ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x1c], ebx
jmp 0x4cb5c0
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4cb5ef
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 0x4cb5eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, ebx
jmp 0x4cb5f9
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