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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53a048
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.0050f7c0
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edi
push ebx
push edx
push eax
call fcn.005101d0
mov ecx, dword [ebp + 0x14]
push edi
push ebx
push ecx
call fcn.00510dc0
mov eax, dword [0x5776b8]
and eax, 0x3ff
dec eax
cmp eax, 0x59
ja case.0x50eddd.2
movzx edx, byte [eax + 0x50f758]
jmp dword [edx*4 + 0x50f750]
mov byte [esp + 0x18], 1
jmp 0x50edf0
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.00511ef0
cmp byte [ebp + 0x14], 0
je 0x50f026
push 0x80f7
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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 0x50ee52
push eax
call fcn.0051ebab
add esp, 4
cmp dword [esp + 0x20], 0
mov edi, dword [esp + 0x20]
mov dword [esi + 0x27c], 0
jne 0x50ee6c
mov edi, 0x54ee24
mov edx, dword [esi + 0x1c4]
lea ecx, [esi + 0xbc]
xor eax, eax
test edx, edx
jle 0x50eeae
mov esi, dword [ecx + 0x10c]
test esi, esi
jle 0x50eeae
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.0043b8a0
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x50eebb
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511f60
push 0x80f8
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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 0x50eefe
push eax
call fcn.0051ebab
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 0x50ef18
mov edi, 0x54ee24
mov edx, dword [ecx + 0x470]
add ecx, 0x368
cmp edx, eax
jle 0x50ef5c
mov esi, dword [ecx + 0x10c]
test esi, esi
jle 0x50ef5c
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.0043b8a0
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50ef67
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511f60
push 0x80f2
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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 0x50efaa
push eax
call fcn.0051ebab
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 0x50efc4
mov esi, 0x54ee24
mov edx, dword [ecx + 0x71c]
add ecx, 0x614
cmp edx, eax
jle 0x50f00b
mov edi, dword [ecx + 0x10c]
test edi, edi
jle 0x50f00b
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.0043b8a0
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50f016
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511f60
mov esi, dword [ebp + 8]
jmp 0x50f030
cmp byte [ebp + 0x18], 0
je 0x50f0e3
push 0x80f1
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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 0x50f068
push eax
call fcn.0051ebab
add esp, 4
mov ebx, dword [esp + 0x20]
mov dword [esi + 0xa80], 0
mov edi, ebx
test ebx, ebx
jne 0x50f081
mov edi, 0x54ee24
mov edx, dword [esi + 0x9c8]
lea ecx, [esi + 0x8c0]
xor eax, eax
test edx, edx
jle 0x50f0ca
mov esi, dword [ecx + 0x10c]
test esi, esi
jle 0x50f0ca
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.0043b8a0
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50f0d5
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511f60
mov esi, dword [ebp + 8]
push 0x80f6
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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 0x50f11b
push eax
call fcn.0051ebab
add esp, 4
cmp dword [esp + 0x20], 0
mov edi, dword [esp + 0x20]
mov dword [esi + 0xd2c], 0
jne 0x50f135
mov edi, 0x54ee24
mov edx, dword [esi + 0xc74]
lea ecx, [esi + 0xb6c]
xor eax, eax
test edx, edx
jle 0x50f17a
mov esi, dword [ecx + 0x10c]
test esi, esi
jle 0x50f17a
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.0043b8a0
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x50f187
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511f60
push 0x80f4
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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 0x50f1ca
push eax
call fcn.0051ebab
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 0x50f1e4
mov edi, 0x54ee24
mov edx, dword [ecx + 0xf20]
add ecx, 0xe18
cmp edx, eax
jle 0x50f22b
mov esi, dword [ecx + 0x10c]
test esi, esi
jle 0x50f22b
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.0043b8a0
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50f236
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511f60
push 0x80f5
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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 0x50f279
push eax
call fcn.0051ebab
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 0x50f293
mov esi, 0x54ee24
mov edx, dword [ecx + 0x11cc]
add ecx, 0x10c4
cmp edx, eax
jle 0x50f2da
mov edi, dword [ecx + 0x10c]
test edi, edi
jle 0x50f2da
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.0043b8a0
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50f2e5
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511f60
cmp byte [ebp + 0x1c], 0
je 0x50f458
push 0x520e
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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 0x50f332
push eax
call fcn.0051ebab
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 0x50f34c
mov edi, 0x54ee24
mov edx, dword [ecx + 0x1478]
add ecx, 0x1370
cmp edx, eax
jle 0x50f393
mov esi, dword [ecx + 0x10c]
test esi, esi
jle 0x50f393
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.0043b8a0
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50f39e
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511f60
push 0x520f
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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 0x50f3e1
push eax
call fcn.0051ebab
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 0x50f3fb
mov esi, 0x54ee24
mov edx, dword [ecx + 0x1724]
add ecx, 0x161c
cmp edx, eax
jle 0x50f442
mov edi, dword [ecx + 0x10c]
test edi, edi
jle 0x50f442
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.0043b8a0
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50f44d
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511f60
cmp byte [ebp + 0x18], 0
je 0x50f71f
push 0x80fd
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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 0x50f4a8
push eax
call fcn.0051ebab
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 0x50f4c2
mov edi, 0x54ee24
mov edx, dword [ecx + 0x19d0]
add ecx, 0x18c8
cmp edx, eax
jle 0x50f509
mov esi, dword [ecx + 0x10c]
test esi, esi
jle 0x50f509
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.0043b8a0
mov ebx, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x50f514
mov edi, 0x54ee24
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00511f60
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 0x50f543
mov ecx, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor eax, eax
cmp dword [esi + 0x7c], eax
jle 0x50f570
test ecx, ecx
je 0x50f570
cmp word [ecx], ax
je 0x50f570
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x50f565
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 0x50f58d
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 0x7c], eax
jle 0x50f5b4
test ecx, ecx
je 0x50f5b4
cmp word [ecx], ax
je 0x50f5b4
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x50f5a9
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 0x50f5cf
mov eax, 0x54ee24
cmp dword [esi + 0x7c], 0
mov dword [esp + 0x18], 0
jle 0x50f602
test eax, eax
je 0x50f602
cmp word [eax], 0
je 0x50f602
mov ecx, dword [esi + 0x78]
test ecx, ecx
jne 0x50f5f3
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 0x50f611
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x7c], ebx
jle 0x50f63e
test ecx, ecx
je 0x50f63e
cmp word [ecx], bx
je 0x50f63e
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x50f62d
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 0x50f64d
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x7c], edi
jle 0x50f67a
test ecx, ecx
je 0x50f67a
cmp word [ecx], di
je 0x50f67a
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x50f669
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.00471480
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x50f69b
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.0042c680
mov ecx, dword [esi + 0x1c24]
lea eax, [esi + 0x1bd0]
test ecx, ecx
jle 0x50f700
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x50f700
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 0x50f71f
push eax
call fcn.0051ebab
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 0x50f738
push eax
call fcn.0051ebab
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