Function at 0x489330
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
push str.FuncBtn_BtnPict
lea eax, [esi + 0x4c]
call fcn.005080c0
mov eax, dword [esi + 0x4c]
xor edi, edi
cmp eax, edi
jne 0x489353
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], edi
cmp dword [esi + 0x44], edi
jle 0x489383
cmp eax, edi
je 0x489383
cmp word [eax], di
je 0x489383
mov ecx, dword [esi + 0x40]
cmp ecx, edi
jne 0x489376
mov ecx, 0x54ee24
push ecx
push edi
push str.PosiX
push eax
call ebx
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x48938f
mov ecx, 0x54ee24
mov dword [ebp - 8], edi
cmp dword [esi + 0x44], edi
jle 0x4893b9
cmp ecx, edi
je 0x4893b9
cmp word [ecx], di
je 0x4893b9
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4893ac
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4893c5
mov ecx, 0x54ee24
mov dword [ebp - 0xc], edi
cmp dword [esi + 0x44], edi
jle 0x4893ef
cmp ecx, edi
je 0x4893ef
cmp word [ecx], di
je 0x4893ef
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4893e2
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4893fb
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x44], edi
jle 0x489425
cmp ecx, edi
je 0x489425
cmp word [ecx], di
je 0x489425
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x489418
mov eax, 0x54ee24
push eax
push edi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x10], eax
cmp byte [ebp + 0xc], 0
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, 0x57
je 0x4895bb
mov eax, dword [0x577698]
mov dword [ebp - 0x18], edi
cmp eax, edi
je 0x489474
push 0x80
push 0
push 0
push 0
push 0xc881
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x48946a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], edi
jmp 0x48947a
mov dword [0x57768c], ecx
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4894b3
push 0x80
push 0
push 0
push 0
push 0xc882
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4894a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], edi
jmp 0x4894bd
mov dword [0x57768c], 0x57
mov dword [ebp + 0xc], 0
test eax, eax
je 0x4894f6
push 0x80
push 0
push 0
push 0
push 0xc883
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4894ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp + 0xc], edi
jmp 0x489500
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x489534
push 0x80
push ebx
push ebx
push ebx
push 0xc8a2
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x48952b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ebx, edi
jmp 0x48953e
mov dword [0x57768c], 0x57
xor edi, edi
test eax, eax
je 0x48956b
push 0x80
push edi
push edi
push edi
push 0xc8a3
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x489575
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
jmp 0x489575
mov dword [0x57768c], 0x57
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
mov edx, dword [ebp - 0xc]
push ecx
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 0x340]
call fcn.0043b6b0
mov dword [eax + 0x1e4], ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
mov dword [eax + 0x1e8], edi
mov byte [eax + 0x1c6], 1
mov ecx, 0x57
xor edi, edi
cmp byte [ebp + 8], 0
mov eax, dword [0x577698]
je 0x4896d5
cmp eax, edi
je 0x4895f9
push 0x80
push 0
push 0
push 0
push 0xc87e
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4895f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4895ff
mov dword [0x57768c], ecx
xor ecx, ecx
mov dword [ebp + 0xc], edi
test eax, eax
je 0x489632
push 0x80
push ecx
push ecx
push ecx
push 0xc87f
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x489629
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ecx, edi
jmp 0x48963c
mov dword [0x57768c], 0x57
mov dword [ebp + 8], ecx
xor ecx, ecx
test eax, eax
je 0x48966f
push 0x80
push ecx
push ecx
push ecx
push 0xc880
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x489666
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ecx, edi
jmp 0x489679
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], ecx
xor ecx, ecx
test eax, eax
je 0x4896ac
push 0x80
push ecx
push ecx
push ecx
push 0xc892
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4896a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ecx, edi
jmp 0x4896b6
mov dword [0x57768c], 0x57
xor edi, edi
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x4897ed
push 0x80
push edi
push edi
push edi
push 0xc893
jmp 0x4897d7
cmp eax, edi
je 0x489704
push 0x80
push 0
push 0
push 0
push 0xc869
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4896fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x48970a
mov dword [0x57768c], ecx
xor ecx, ecx
mov dword [ebp + 0xc], edi
test eax, eax
je 0x48973d
push 0x80
push ecx
push ecx
push ecx
push 0xc86a
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x489734
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ecx, edi
jmp 0x489747
mov dword [0x57768c], 0x57
mov dword [ebp + 8], ecx
xor ecx, ecx
test eax, eax
je 0x48977a
push 0x80
push ecx
push ecx
push ecx
push 0xc86b
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x489771
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ecx, edi
jmp 0x489784
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], ecx
xor ecx, ecx
test eax, eax
je 0x4897b7
push 0x80
push ecx
push ecx
push ecx
push 0xc89a
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4897ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ecx, edi
jmp 0x4897c1
mov dword [0x57768c], 0x57
xor edi, edi
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x4897ed
push 0x80
push edi
push edi
push edi
push 0xc89b
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4897f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
jmp 0x4897f7
mov dword [0x57768c], 0x57
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x268], ecx
mov dword [esi + 0x26c], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x270], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x274], edx
mov edx, dword [ebp - 8]
mov dword [esi + 0x2bc], ecx
mov ecx, dword [ebp - 0x10]
mov eax, edi
xor edi, edi
mov dword [esi + 0x2c0], edx
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edi
mov dword [esi + 0x2d0], edi
mov dword [esi + 0x2d8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x2c4], edx
mov dword [esi + 0x2d4], edx
mov word [esi + 0x259], 0x101
pop edi
mov dword [esi + 0x278], ecx
mov dword [esi + 0x27c], eax
pop ebx
mov esp, ebp
pop ebp
ret 8