Function at 0x480330
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.004fcf00
mov eax, dword [esi + 0x4c]
xor edi, edi
cmp eax, edi
jne 0x480353
mov eax, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], edi
cmp dword [esi + 0x44], edi
jle 0x480383
cmp eax, edi
je 0x480383
cmp word [eax], di
je 0x480383
mov ecx, dword [esi + 0x40]
cmp ecx, edi
jne 0x480376
mov ecx, 0x538640
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 0x48038f
mov ecx, 0x538640
mov dword [ebp - 8], edi
cmp dword [esi + 0x44], edi
jle 0x4803b9
cmp ecx, edi
je 0x4803b9
cmp word [ecx], di
je 0x4803b9
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4803ac
mov eax, 0x538640
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 0x4803c5
mov ecx, 0x538640
mov dword [ebp - 0xc], edi
cmp dword [esi + 0x44], edi
jle 0x4803ef
cmp ecx, edi
je 0x4803ef
cmp word [ecx], di
je 0x4803ef
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4803e2
mov eax, 0x538640
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 0x4803fb
mov ecx, 0x538640
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x44], edi
jle 0x480425
cmp ecx, edi
je 0x480425
cmp word [ecx], di
je 0x480425
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x480418
mov eax, 0x538640
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 0x4805bb
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x18], edi
cmp eax, edi
je 0x480474
push 0x80
push 0
push 0
push 0
push 0xc881
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x48046a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x18], edi
jmp 0x48047a
mov dword [0x55a3ec], ecx
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4804b3
push 0x80
push 0
push 0
push 0
push 0xc882
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4804a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x14], edi
jmp 0x4804bd
mov dword [0x55a3ec], 0x57
mov dword [ebp + 0xc], 0
test eax, eax
je 0x4804f6
push 0x80
push 0
push 0
push 0
push 0xc883
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4804ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp + 0xc], edi
jmp 0x480500
mov dword [0x55a3ec], 0x57
xor ebx, ebx
test eax, eax
je 0x480534
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 0x48052b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov ebx, edi
jmp 0x48053e
mov dword [0x55a3ec], 0x57
xor edi, edi
test eax, eax
je 0x48056b
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 0x480575
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
jmp 0x480575
mov dword [0x55a3ec], 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.004334b0
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 [0x55a3f8]
je 0x4806d5
cmp eax, edi
je 0x4805f9
push 0x80
push 0
push 0
push 0
push 0xc87e
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4805f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
jmp 0x4805ff
mov dword [0x55a3ec], ecx
xor ecx, ecx
mov dword [ebp + 0xc], edi
test eax, eax
je 0x480632
push 0x80
push ecx
push ecx
push ecx
push 0xc87f
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x480629
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov ecx, edi
jmp 0x48063c
mov dword [0x55a3ec], 0x57
mov dword [ebp + 8], ecx
xor ecx, ecx
test eax, eax
je 0x48066f
push 0x80
push ecx
push ecx
push ecx
push 0xc880
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x480666
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov ecx, edi
jmp 0x480679
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x18], ecx
xor ecx, ecx
test eax, eax
je 0x4806ac
push 0x80
push ecx
push ecx
push ecx
push 0xc892
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4806a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov ecx, edi
jmp 0x4806b6
mov dword [0x55a3ec], 0x57
xor edi, edi
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x4807ed
push 0x80
push edi
push edi
push edi
push 0xc893
jmp 0x4807d7
cmp eax, edi
je 0x480704
push 0x80
push 0
push 0
push 0
push 0xc869
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4806fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
jmp 0x48070a
mov dword [0x55a3ec], ecx
xor ecx, ecx
mov dword [ebp + 0xc], edi
test eax, eax
je 0x48073d
push 0x80
push ecx
push ecx
push ecx
push 0xc86a
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x480734
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov ecx, edi
jmp 0x480747
mov dword [0x55a3ec], 0x57
mov dword [ebp + 8], ecx
xor ecx, ecx
test eax, eax
je 0x48077a
push 0x80
push ecx
push ecx
push ecx
push 0xc86b
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x480771
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov ecx, edi
jmp 0x480784
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x18], ecx
xor ecx, ecx
test eax, eax
je 0x4807b7
push 0x80
push ecx
push ecx
push ecx
push 0xc89a
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4807ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov ecx, edi
jmp 0x4807c1
mov dword [0x55a3ec], 0x57
xor edi, edi
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x4807ed
push 0x80
push edi
push edi
push edi
push 0xc89b
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4807f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
jmp 0x4807f7
mov dword [0x55a3ec], 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