Function at 0x4a1c00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52efe8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea edi, [esi + 0x3c]
push edi
mov ecx, 0x53b7a8
mov dword [ebp - 0x28], edi
call fcn.00466b30
mov ebx, dword [ebp + 0x10]
push ebx
call fcn.004a2610
mov eax, dword [ebp + 0x14]
push eax
push ebx
mov ebx, esi
call fcn.004a2ad0
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.004a3260
mov eax, dword [0x55a418]
and eax, 0x3ff
dec eax
cmp eax, 0x59
ja case.0x4a1c71.2
movzx edx, byte [eax + 0x4a25b0]
jmp dword [edx*4 + 0x4a25a8]
mov byte [ebp - 0x18], 1
jmp 0x4a1c82
mov byte [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push ecx
lea eax, [esi + 0x5c]
push edx
mov ecx, 0x40
mov dword [ebp - 0x14], eax
call fcn.005069b0
lea eax, [esi + 0x4c]
push str.ThmbSize_SizeBtnWnd
mov dword [ebp - 0x24], eax
call fcn.004fcf00
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a1cb9
mov eax, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x10], 0
jle 0x4a1cf2
test eax, eax
je 0x4a1cf2
cmp word [eax], 0
je 0x4a1cf2
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4a1cdc
mov ecx, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push 0
push str.PosiX
push eax
call ebx
mov dword [ebp - 0x10], eax
jmp 0x4a1cf8
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4a1d04
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x20], 0
jle 0x4a1d35
test ecx, ecx
je 0x4a1d35
cmp word [ecx], 0
je 0x4a1d35
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a1d27
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x20], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4a1d41
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x18], 0
jle 0x4a1d72
test ecx, ecx
je 0x4a1d72
cmp word [ecx], 0
je 0x4a1d72
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a1d64
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4a1d7e
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x1c], 0
jle 0x4a1db1
test ecx, ecx
je 0x4a1db1
cmp word [ecx], 0
je 0x4a1db1
mov edi, dword [edi + 4]
mov eax, edi
test edi, edi
jne 0x4a1da3
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call ebx
mov dword [ebp - 0x1c], eax
push 0x5209
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x324], 2
test eax, eax
jne 0x4a1de1
mov eax, 0x538640
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
mov edx, dword [ebp - 0x10]
push ecx
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x1807
push eax
lea ecx, [esi + 0x164]
mov eax, 0x10000000
call fcn.00433520
mov edi, dword [ebp - 0x34]
test edi, edi
jne 0x4a1e1c
mov edi, 0x538640
mov ecx, dword [ebp - 0x14]
mov esi, eax
call fcn.00506a20
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
lea esi, [edi + ecx]
push 0x520a
lea edx, [ebp - 0x4c]
push edx
mov ecx, 0x55a400
mov dword [ebp - 0x10], esi
call fcn.00467b90
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4a1e65
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5d0], 2
test eax, eax
jne 0x4a1e7e
mov eax, 0x538640
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp - 0x20]
push edi
push edx
push esi
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x1808
push eax
add ecx, 0x410
mov eax, 0x10000000
call fcn.00433520
mov edi, dword [ebp - 0x34]
test edi, edi
jne 0x4a1eb3
mov edi, 0x538640
mov ecx, dword [ebp - 0x14]
mov esi, eax
call fcn.00506a20
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
push 0x520b
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, 0x55a400
add esi, edi
call fcn.00467b90
mov ebx, 2
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4a1efc
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x87c], ebx
test eax, eax
jne 0x4a1f11
mov eax, 0x538640
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp - 0x20]
push edi
push edx
push esi
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x1809
push eax
add ecx, 0x6bc
mov eax, 0x10000000
call fcn.00433520
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x4a1f46
mov ecx, 0x538640
mov edi, ecx
mov ecx, dword [ebp - 0x14]
mov esi, eax
call fcn.00506a20
mov eax, dword [ebp - 0x24]
push str.SortMethod_Wnd
call fcn.004fcf00
mov edi, dword [ebp - 0x28]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a1f6e
mov eax, 0x538640
xor esi, esi
cmp dword [edi + 8], esi
jle 0x4a1f9f
test eax, eax
je 0x4a1f9f
cmp word [eax], si
je 0x4a1f9f
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4a1f8a
mov ecx, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push 0
push str.PosiX
push eax
call ebx
mov esi, eax
jmp 0x4a1fa5
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4a1fb1
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x20], 0
jle 0x4a1fe2
test ecx, ecx
je 0x4a1fe2
cmp word [ecx], 0
je 0x4a1fe2
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a1fd4
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
push str.SortMethod_ListBox
call fcn.004fcf00
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4a1ffd
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4a2024
test ecx, ecx
je 0x4a2024
cmp word [ecx], ax
je 0x4a2024
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a2019
mov eax, 0x538640
push eax
push 0
push str.PosiX
push ecx
call ebx
add eax, esi
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4a2037
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4a205e
test ecx, ecx
je 0x4a205e
cmp word [ecx], ax
je 0x4a205e
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a2053
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call ebx
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4a2070
mov eax, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x20], 0
jle 0x4a20a1
test eax, eax
je 0x4a20a1
cmp word [eax], 0
je 0x4a20a1
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4a2093
mov ecx, 0x538640
push ecx
push 0
push str.Width
push eax
call ebx
mov dword [ebp - 0x20], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4a20ad
mov ecx, 0x538640
xor ebx, ebx
cmp dword [edi + 8], ebx
jle 0x4a20da
test ecx, ecx
je 0x4a20da
cmp word [ecx], bx
je 0x4a20da
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a20c9
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4a20e6
mov ecx, 0x538640
xor esi, esi
cmp dword [edi + 8], esi
jle 0x4a2113
test ecx, ecx
je 0x4a2113
cmp word [ecx], si
je 0x4a2113
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a2102
mov eax, 0x538640
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push 0x2af8
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4a2136
mov eax, 0x538640
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
push 0
push esi
push ebx
push ecx
mov ecx, dword [ebp - 0x10]
push edx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push 0x1647
push edx
mov edx, dword [ebp + 8]
add edx, 0xa18
push ecx
push edx
mov edx, 0x10000003
call fcn.004253b0
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004a3e50
mov ecx, dword [esi + 0x128]
lea eax, [esi + 0xd4]
test ecx, ecx
jle 0x4a21ab
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x4a21ab
push ecx
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov ebx, edx
mov eax, 0x10000000
mov edx, 0x1986
call fcn.004fdeb0
mov eax, esi
mov ecx, dword [eax + 0x9dc]
add eax, 0x988
test ecx, ecx
jle 0x4a21e6
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x4a21e6
push ecx
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov ebx, edx
mov eax, 0x10000000
mov edx, 0x1987
call fcn.004fdeb0
mov eax, dword [ebp - 0x24]
push str.ThmbSize_Wnd
call fcn.004fcf00
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4a2201
mov ecx, 0x538640
xor ebx, ebx
xor esi, esi
cmp dword [edi + 8], ebx
jle 0x4a222f
cmp ecx, ebx
je 0x4a222f
cmp word [ecx], bx
je 0x4a222f
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x4a221f
mov eax, 0x538640
push eax
push ebx
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jne 0x4a223b
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], ebx
jle 0x4a2265
cmp ecx, ebx
je 0x4a2265
cmp word [ecx], bx
je 0x4a2265
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x4a2257
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add eax, esi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
push str.SortMethod_Wnd
mov eax, esi
call fcn.004fcf00
mov eax, dword [edi + 0x10]
mov ecx, eax
cmp eax, ebx
jne 0x4a2287
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], ebx
jle 0x4a22b1
cmp ecx, ebx
je 0x4a22b1
cmp word [ecx], bx
je 0x4a22b1
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x4a22a3
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add dword [ebp - 0x10], eax
push str.ToolBtn_BtnWnd
mov eax, esi
call fcn.004fcf00
mov eax, dword [edi + 0x10]
cmp eax, ebx
jne 0x4a22cc
mov eax, 0x538640
mov dword [ebp - 0x20], ebx
cmp dword [edi + 8], ebx
jle 0x4a22fe
cmp eax, ebx
je 0x4a22fe
cmp word [eax], bx
je 0x4a22fe
mov ecx, dword [edi + 4]
cmp ecx, ebx
jne 0x4a22e9
mov ecx, 0x538640
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push ebx
push str.PosiY
push eax
call esi
mov dword [ebp - 0x20], eax
jmp 0x4a2304
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jne 0x4a2310
mov ecx, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [edi + 8], ebx
jle 0x4a233a
cmp ecx, ebx
je 0x4a233a
cmp word [ecx], bx
je 0x4a233a
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x4a232d
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call esi
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jne 0x4a2346
mov ecx, 0x538640
mov dword [ebp - 0x24], ebx
cmp dword [edi + 8], ebx
jle 0x4a2370
cmp ecx, ebx
je 0x4a2370
cmp word [ecx], bx
je 0x4a2370
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x4a2363
mov eax, 0x538640
push eax
push ebx
push str.Height
push ecx
call esi
mov dword [ebp - 0x24], eax
cmp byte [ebp + 0x14], bl
je 0x4a24a7
push 0x80eb
lea edx, [ebp - 0x4c]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.004fce50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x4a23ac
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0xc10], ebx
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x4a23c1
mov eax, 0x538640
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
mov edx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x180a
push eax
add ecx, 0xa50
mov eax, 0x10000000
call fcn.00433520
mov edi, dword [ebp - 0x34]
test edi, edi
jne 0x4a23ff
mov edi, 0x538640
mov ecx, dword [ebp - 0x14]
mov esi, eax
call fcn.00506a20
mov esi, dword [ebp - 0x18]
add dword [ebp - 0x10], esi
push 0x80ec
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.004fce50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4a2442
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xebc], 0
test eax, eax
jne 0x4a245b
mov eax, 0x538640
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp - 0x20]
push esi
push edx
mov edx, dword [ebp - 0x10]
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x180b
push eax
add ecx, 0xcfc
mov eax, 0x10000000
call fcn.00433520
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x4a2493
mov ecx, 0x538640
mov edi, ecx
mov ecx, dword [ebp - 0x14]
mov esi, eax
call fcn.00506a20
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x10], ecx
xor ebx, ebx
push 0x810b
lea edx, [ebp - 0x4c]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.004fce50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x4a24e3
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x11c4], ebx
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x4a24f8
mov eax, 0x538640
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
mov edx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x180c
push eax
add ecx, 0x1004
mov eax, 0x10000000
call fcn.00433520
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x4a2536
mov ecx, 0x538640
mov edi, ecx
mov ecx, dword [ebp - 0x14]
mov esi, eax
call fcn.00506a20
mov esi, dword [ebp - 0x10]
add esi, dword [ebp - 0x18]
mov ecx, ebx
mov ebx, dword [ebp + 8]
push ecx
add ebx, 0xfa8
mov eax, esi
call fcn.00502f60
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x4a2579
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x4a2590
push eax
call fcn.005134a7
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10