Function at 0x4a2610
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c2c8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [esi + 0x4c]
push str.ThmbSize_Text
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
xor ebx, ebx
cmp eax, ebx
jne 0x4a2652
mov eax, 0x538640
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a2684
cmp eax, ebx
je 0x4a2684
cmp word [eax], bx
je 0x4a2684
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x4a266f
mov ecx, 0x538640
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push ebx
push str.PosiX
push eax
call edi
mov dword [ebp - 0x10], eax
jmp 0x4a268a
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4a2696
mov ecx, 0x538640
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a26c0
cmp ecx, ebx
je 0x4a26c0
cmp word [ecx], bx
je 0x4a26c0
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4a26b3
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4a26cc
mov ecx, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4a26f6
cmp ecx, ebx
je 0x4a26f6
cmp word [ecx], bx
je 0x4a26f6
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4a26e9
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4a2702
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x4a272e
cmp ecx, ebx
je 0x4a272e
cmp word [ecx], bx
je 0x4a272e
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4a271e
mov eax, 0x538640
push eax
push ebx
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push 0x2af8
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jne 0x4a2755
mov dword [ebp - 0x3c], 0x538640
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4a2761
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4a278e
test ecx, ecx
je 0x4a278e
cmp word [ecx], bx
je 0x4a278e
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4a277d
mov eax, 0x538640
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x7535
lea ecx, [ebp - 0x24]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4a27b1
mov eax, 0x538640
push eax
lea eax, [esi + 0x138]
call fcn.004fcf00
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x120], edx
mov edx, dword [ebp - 0x3c]
mov dword [esi + 0x124], eax
push edx
lea eax, [esi + 0x110]
push eax
mov dword [esi + 0x128], ecx
mov dword [esi + 0x12c], edi
mov dword [esi + 0x134], 0x15
mov dword [esi + 0x130], 1
call fcn.0046a1f0
push str.SortMethod_Wnd
lea eax, [esi + 0x4c]
mov byte [esi + 0x144], 0
mov byte [esi + 0x14c], 0
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x4a2831
mov eax, 0x538640
xor edi, edi
cmp dword [esi + 0x44], edi
jle 0x4a285e
test eax, eax
je 0x4a285e
cmp word [eax], di
je 0x4a285e
mov ecx, dword [esi + 0x40]
test ecx, ecx
jne 0x4a284d
mov ecx, 0x538640
push ecx
push 0
push str.PosiX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4a286a
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4a2897
test ecx, ecx
je 0x4a2897
cmp word [ecx], bx
je 0x4a2897
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4a2886
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push str.SortMethod_Text
lea eax, [esi + 0x4c]
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
mov ecx, eax
test eax, eax
jne 0x4a28b2
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x4a28dd
test ecx, ecx
je 0x4a28dd
cmp word [ecx], ax
je 0x4a28dd
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4a28ce
mov eax, 0x538640
push eax
push 0
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add eax, edi
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x4c]
mov ecx, eax
test eax, eax
jne 0x4a28f0
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x4a291b
test ecx, ecx
je 0x4a291b
cmp word [ecx], ax
je 0x4a291b
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4a290c
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add eax, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x4a292c
mov eax, 0x538640
cmp dword [esi + 0x44], 0
mov dword [ebp - 0x18], 0
jle 0x4a2961
test eax, eax
je 0x4a2961
cmp word [eax], 0
je 0x4a2961
mov ecx, dword [esi + 0x40]
test ecx, ecx
jne 0x4a294f
mov ecx, 0x538640
push ecx
push 0
push str.Width
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4a296d
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 0x44], edi
jle 0x4a299a
test ecx, ecx
je 0x4a299a
cmp word [ecx], di
je 0x4a299a
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4a2989
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4a29a6
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4a29d3
test ecx, ecx
je 0x4a29d3
cmp word [ecx], bx
je 0x4a29d3
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4a29c2
mov eax, 0x538640
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x7536
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4a2a11
push eax
call fcn.005134a7
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4a2a1d
mov eax, 0x538640
push eax
lea eax, [esi + 0x9ec]
call fcn.004fcf00
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x9d4], edx
mov edx, dword [ebp - 0x3c]
mov dword [esi + 0x9d8], eax
push edx
lea eax, [esi + 0x9c4]
push eax
mov dword [esi + 0x9dc], ecx
mov dword [esi + 0x9e0], edi
mov dword [esi + 0x9e8], 0x15
mov dword [esi + 0x9e4], 1
call fcn.0046a1f0
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
mov byte [esi + 0x9f8], bl
mov byte [esi + 0xa00], bl
cmp eax, ebx
je 0x4a2aa0
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
cmp eax, ebx
je 0x4a2ab7
push eax
call fcn.005134a7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4