Function at 0x4893e0
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 0x489403
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], edi
cmp dword [esi + 0x44], edi
jle 0x489433
cmp eax, edi
je 0x489433
cmp word [eax], di
je 0x489433
mov ecx, dword [esi + 0x40]
cmp ecx, edi
jne 0x489426
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 0x48943f
mov ecx, 0x54ee24
mov dword [ebp - 8], edi
cmp dword [esi + 0x44], edi
jle 0x489469
cmp ecx, edi
je 0x489469
cmp word [ecx], di
je 0x489469
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x48945c
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 0x489475
mov ecx, 0x54ee24
mov dword [ebp - 0xc], edi
cmp dword [esi + 0x44], edi
jle 0x48949f
cmp ecx, edi
je 0x48949f
cmp word [ecx], di
je 0x48949f
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x489492
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 0x4894ab
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x44], edi
jle 0x4894d5
cmp ecx, edi
je 0x4894d5
cmp word [ecx], di
je 0x4894d5
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4894c8
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 0x48966b
mov eax, dword [0x577698]
mov dword [ebp - 0x18], edi
cmp eax, edi
je 0x489524
push 0x80
push 0
push 0
push 0
push 0xc881
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x48951a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], edi
jmp 0x48952a
mov dword [0x57768c], ecx
mov dword [ebp - 0x14], 0
test eax, eax
je 0x489563
push 0x80
push 0
push 0
push 0
push 0xc882
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x489559
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], edi
jmp 0x48956d
mov dword [0x57768c], 0x57
mov dword [ebp + 0xc], 0
test eax, eax
je 0x4895a6
push 0x80
push 0
push 0
push 0
push 0xc883
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x48959c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp + 0xc], edi
jmp 0x4895b0
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x4895e4
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 0x4895db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ebx, edi
jmp 0x4895ee
mov dword [0x57768c], 0x57
xor edi, edi
test eax, eax
je 0x48961b
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 0x489625
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
jmp 0x489625
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.0043b830
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 0x489785
cmp eax, edi
je 0x4896a9
push 0x80
push 0
push 0
push 0
push 0xc87e
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4896a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4896af
mov dword [0x57768c], ecx
xor ecx, ecx
mov dword [ebp + 0xc], edi
test eax, eax
je 0x4896e2
push 0x80
push ecx
push ecx
push ecx
push 0xc87f
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4896d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ecx, edi
jmp 0x4896ec
mov dword [0x57768c], 0x57
mov dword [ebp + 8], ecx
xor ecx, ecx
test eax, eax
je 0x48971f
push 0x80
push ecx
push ecx
push ecx
push 0xc880
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x489716
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ecx, edi
jmp 0x489729
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], ecx
xor ecx, ecx
test eax, eax
je 0x48975c
push 0x80
push ecx
push ecx
push ecx
push 0xc892
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x489753
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ecx, edi
jmp 0x489766
mov dword [0x57768c], 0x57
xor edi, edi
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x48989d
push 0x80
push edi
push edi
push edi
push 0xc893
jmp 0x489887
cmp eax, edi
je 0x4897b4
push 0x80
push 0
push 0
push 0
push 0xc869
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4897ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4897ba
mov dword [0x57768c], ecx
xor ecx, ecx
mov dword [ebp + 0xc], edi
test eax, eax
je 0x4897ed
push 0x80
push ecx
push ecx
push ecx
push 0xc86a
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4897e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ecx, edi
jmp 0x4897f7
mov dword [0x57768c], 0x57
mov dword [ebp + 8], ecx
xor ecx, ecx
test eax, eax
je 0x48982a
push 0x80
push ecx
push ecx
push ecx
push 0xc86b
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x489821
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ecx, edi
jmp 0x489834
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], ecx
xor ecx, ecx
test eax, eax
je 0x489867
push 0x80
push ecx
push ecx
push ecx
push 0xc89a
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x48985e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ecx, edi
jmp 0x489871
mov dword [0x57768c], 0x57
xor edi, edi
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x48989d
push 0x80
push edi
push edi
push edi
push 0xc89b
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4898a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
jmp 0x4898a7
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