Function at 0x50ec90
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x539ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x54], ecx
mov ecx, dword [ebp + 0x14]
push ebx
push ecx
push eax
mov dword [esi + 0x1cb0], eax
call fcn.0050f700
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edi
push ebx
push edx
push eax
call fcn.00510110
mov ecx, dword [ebp + 0x14]
push edi
push ebx
push ecx
call fcn.00510d00
mov eax, dword [0x5776b8]
and eax, 0x3ff
dec eax
cmp eax, 0x59
ja case.0x50ed1d.2
movzx edx, byte [eax + 0x50f698]
jmp dword [edx*4 + 0x50f690]
mov byte [esp + 0x18], 1
jmp 0x50ed30
mov byte [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push ecx
lea eax, [esi + 0x94]
push edx
mov ecx, 0x40
mov dword [esp + 0x1c], eax
call fcn.00511e30
cmp byte [ebp + 0x14], 0
je 0x50ef66
push 0x80f7
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 1
call fcn.00508010
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50ed92
push eax
call fcn.0051eadb
add esp, 4
cmp dword [esp + 0x20], 0
mov edi, dword [esp + 0x20]
mov dword [esi + 0x27c], 0
jne 0x50edac
mov edi, 0x54ee24
mov edx, dword [esi + 0x1c4]
lea ecx, [esi + 0xbc]
xor eax, eax
test edx, edx
jle 0x50edee
mov esi, dword [ecx + 0x10c]
test esi, esi
jle 0x50edee
mov eax, dword [ecx + 0x100]
push esi
push edx
mov edx, dword [ecx + 0x104]
push edx
mov edx, dword [ebp + 0xc]
push eax
push 0
push edi
push 0x1811
push edx
mov eax, 0x10000000
call fcn.0043b720
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x50edfb
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511ea0
push 0x80f8
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 2
call fcn.00508010
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50ee3e
push eax
call fcn.0051eadb
add esp, 4
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x528], eax
mov edi, ebx
cmp ebx, eax
jne 0x50ee58
mov edi, 0x54ee24
mov edx, dword [ecx + 0x470]
add ecx, 0x368
cmp edx, eax
jle 0x50ee9c
mov esi, dword [ecx + 0x10c]
test esi, esi
jle 0x50ee9c
mov eax, dword [ecx + 0x100]
mov ebx, dword [ebp + 0x10]
push esi
push edx
mov edx, dword [ecx + 0x104]
push edx
mov edx, dword [ebp + 0xc]
push eax
push 0
push edi
push 0x1812
push edx
xor eax, eax
call fcn.0043b720
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50eea7
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511ea0
push 0x80f2
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 3
call fcn.00508010
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50eeea
push eax
call fcn.0051eadb
add esp, 4
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x7d4], eax
mov esi, ebx
cmp ebx, eax
jne 0x50ef04
mov esi, 0x54ee24
mov edx, dword [ecx + 0x71c]
add ecx, 0x614
cmp edx, eax
jle 0x50ef4b
mov edi, dword [ecx + 0x10c]
test edi, edi
jle 0x50ef4b
mov eax, dword [ecx + 0x100]
mov ebx, dword [ebp + 0x10]
push edi
push edx
mov edx, dword [ecx + 0x104]
push edx
mov edx, dword [ebp + 0xc]
push eax
push 0
push esi
push 0x17f7
push edx
mov eax, 0x10000000
call fcn.0043b720
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50ef56
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511ea0
mov esi, dword [ebp + 8]
jmp 0x50ef70
cmp byte [ebp + 0x18], 0
je 0x50f023
push 0x80f1
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 4
call fcn.00508010
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50efa8
push eax
call fcn.0051eadb
add esp, 4
mov ebx, dword [esp + 0x20]
mov dword [esi + 0xa80], 0
mov edi, ebx
test ebx, ebx
jne 0x50efc1
mov edi, 0x54ee24
mov edx, dword [esi + 0x9c8]
lea ecx, [esi + 0x8c0]
xor eax, eax
test edx, edx
jle 0x50f00a
mov esi, dword [ecx + 0x10c]
test esi, esi
jle 0x50f00a
mov eax, dword [ecx + 0x100]
mov ebx, dword [ebp + 0x10]
push esi
push edx
mov edx, dword [ecx + 0x104]
push edx
mov edx, dword [ebp + 0xc]
push eax
push 0
push edi
push 0x17f8
push edx
mov eax, 0x10000000
call fcn.0043b720
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50f015
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511ea0
mov esi, dword [ebp + 8]
push 0x80f6
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 5
call fcn.00508010
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50f05b
push eax
call fcn.0051eadb
add esp, 4
cmp dword [esp + 0x20], 0
mov edi, dword [esp + 0x20]
mov dword [esi + 0xd2c], 0
jne 0x50f075
mov edi, 0x54ee24
mov edx, dword [esi + 0xc74]
lea ecx, [esi + 0xb6c]
xor eax, eax
test edx, edx
jle 0x50f0ba
mov esi, dword [ecx + 0x10c]
test esi, esi
jle 0x50f0ba
mov eax, dword [ecx + 0x100]
mov ebx, dword [ebp + 0x10]
push esi
push edx
mov edx, dword [ecx + 0x104]
push edx
mov edx, dword [ebp + 0xc]
push eax
push 0
push edi
push 0x1815
push edx
mov eax, 0x10000000
call fcn.0043b720
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x50f0c7
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511ea0
push 0x80f4
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 6
call fcn.00508010
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50f10a
push eax
call fcn.0051eadb
add esp, 4
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0xfd8], eax
mov edi, ebx
cmp ebx, eax
jne 0x50f124
mov edi, 0x54ee24
mov edx, dword [ecx + 0xf20]
add ecx, 0xe18
cmp edx, eax
jle 0x50f16b
mov esi, dword [ecx + 0x10c]
test esi, esi
jle 0x50f16b
mov eax, dword [ecx + 0x100]
mov ebx, dword [ebp + 0x10]
push esi
push edx
mov edx, dword [ecx + 0x104]
push edx
mov edx, dword [ebp + 0xc]
push eax
push 0
push edi
push 0x1813
push edx
mov eax, 0x10000000
call fcn.0043b720
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50f176
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511ea0
push 0x80f5
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 7
call fcn.00508010
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50f1b9
push eax
call fcn.0051eadb
add esp, 4
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x1284], eax
mov esi, ebx
cmp ebx, eax
jne 0x50f1d3
mov esi, 0x54ee24
mov edx, dword [ecx + 0x11cc]
add ecx, 0x10c4
cmp edx, eax
jle 0x50f21a
mov edi, dword [ecx + 0x10c]
test edi, edi
jle 0x50f21a
mov eax, dword [ecx + 0x100]
mov ebx, dword [ebp + 0x10]
push edi
push edx
mov edx, dword [ecx + 0x104]
push edx
mov edx, dword [ebp + 0xc]
push eax
push 0
push esi
push 0x1814
push edx
mov eax, 0x10000000
call fcn.0043b720
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50f225
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511ea0
cmp byte [ebp + 0x1c], 0
je 0x50f398
push 0x520e
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 8
call fcn.00508010
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50f272
push eax
call fcn.0051eadb
add esp, 4
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x1530], eax
mov edi, ebx
cmp ebx, eax
jne 0x50f28c
mov edi, 0x54ee24
mov edx, dword [ecx + 0x1478]
add ecx, 0x1370
cmp edx, eax
jle 0x50f2d3
mov esi, dword [ecx + 0x10c]
test esi, esi
jle 0x50f2d3
mov eax, dword [ecx + 0x100]
mov ebx, dword [ebp + 0x10]
push esi
push edx
mov edx, dword [ecx + 0x104]
push edx
mov edx, dword [ebp + 0xc]
push eax
push 0
push edi
push 0x1816
push edx
mov eax, 0x10000000
call fcn.0043b720
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50f2de
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511ea0
push 0x520f
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 9
call fcn.00508010
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50f321
push eax
call fcn.0051eadb
add esp, 4
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x17dc], eax
mov esi, ebx
cmp ebx, eax
jne 0x50f33b
mov esi, 0x54ee24
mov edx, dword [ecx + 0x1724]
add ecx, 0x161c
cmp edx, eax
jle 0x50f382
mov edi, dword [ecx + 0x10c]
test edi, edi
jle 0x50f382
mov eax, dword [ecx + 0x100]
mov ebx, dword [ebp + 0x10]
push edi
push edx
mov edx, dword [ecx + 0x104]
push edx
mov edx, dword [ebp + 0xc]
push eax
push 0
push esi
push 0x1817
push edx
mov eax, 0x10000000
call fcn.0043b720
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50f38d
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511ea0
cmp byte [ebp + 0x18], 0
je 0x50f65f
push 0x80fd
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 0xa
call fcn.00508010
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, esi
je 0x50f3e8
push eax
call fcn.0051eadb
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x1a88], eax
mov edi, ebx
cmp ebx, eax
jne 0x50f402
mov edi, 0x54ee24
mov edx, dword [ecx + 0x19d0]
add ecx, 0x18c8
cmp edx, eax
jle 0x50f449
mov esi, dword [ecx + 0x10c]
test esi, esi
jle 0x50f449
mov eax, dword [ecx + 0x100]
mov ebx, dword [ebp + 0x10]
push esi
push edx
mov edx, dword [ecx + 0x104]
push edx
mov edx, dword [ebp + 0xc]
push eax
push 0
push edi
push 0x17ed
push edx
mov eax, 0x10000000
call fcn.0043b720
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50f454
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511ea0
mov esi, dword [ebp + 8]
push str.PageJump_ListBox
lea eax, [esi + 0x84]
call fcn.005080c0
mov eax, dword [esi + 0x84]
mov ecx, eax
test eax, eax
jne 0x50f483
mov ecx, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor eax, eax
cmp dword [esi + 0x7c], eax
jle 0x50f4b0
test ecx, ecx
je 0x50f4b0
cmp word [ecx], ax
je 0x50f4b0
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x50f4a5
mov eax, 0x54ee24
push eax
push 0
push str.PosiX
push ecx
call edi
mov ecx, dword [esi + 0x1cb8]
add ecx, eax
mov eax, dword [esi + 0x84]
mov dword [esp + 0x1c], ecx
mov ecx, eax
test eax, eax
jne 0x50f4cd
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 0x7c], eax
jle 0x50f4f4
test ecx, ecx
je 0x50f4f4
cmp word [ecx], ax
je 0x50f4f4
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x50f4e9
mov eax, 0x54ee24
push eax
push 0
push str.PosiY
push ecx
call edi
mov ecx, dword [esi + 0x1cbc]
add ecx, eax
mov eax, dword [esi + 0x84]
mov dword [esp + 0x14], ecx
test eax, eax
jne 0x50f50f
mov eax, 0x54ee24
cmp dword [esi + 0x7c], 0
mov dword [esp + 0x18], 0
jle 0x50f542
test eax, eax
je 0x50f542
cmp word [eax], 0
je 0x50f542
mov ecx, dword [esi + 0x78]
test ecx, ecx
jne 0x50f533
mov ecx, 0x54ee24
push ecx
push 0
push str.Width
push eax
call edi
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x84]
test ecx, ecx
jne 0x50f551
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x7c], ebx
jle 0x50f57e
test ecx, ecx
je 0x50f57e
cmp word [ecx], bx
je 0x50f57e
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x50f56d
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [esi + 0x84]
test ecx, ecx
jne 0x50f58d
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x7c], edi
jle 0x50f5ba
test ecx, ecx
je 0x50f5ba
cmp word [ecx], di
je 0x50f5ba
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x50f5a9
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push 0x2af8
lea eax, [esp + 0x30]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x50f5db
mov eax, 0x54ee24
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push edi
mov edi, dword [ebp + 0xc]
push ebx
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [ebp + 0x10]
push ecx
push 0x1648
push edx
push edi
lea ecx, [esi + 0x3c]
push ecx
mov edx, 0x10a00003
call fcn.0042c570
mov ecx, dword [esi + 0x1c24]
lea eax, [esi + 0x1bd0]
test ecx, ecx
jle 0x50f640
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x50f640
push ecx
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
push edi
push eax
mov ebx, edx
mov eax, 0x10000000
mov edx, 0x19a5
call fcn.00509070
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, esi
je 0x50f65f
push eax
call fcn.0051eadb
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x50f678
push eax
call fcn.0051eadb
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18