Function at 0x4f0240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x651aa9
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xbc]
mov ebp, dword [esp + 0xb8]
lea esi, [eax + 8]
mov dword [esp + 0x24], 0
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], esi
jbe 0x4f02a9
call fcn.0062492b
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x4f02b6
call fcn.0062492b
push edi
push esi
push ebx
push esi
lea eax, [esp + 0x3c]
push eax
mov ebx, esi
call fcn.004f7c70
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x20], edi
mov edi, edi
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x4f0639
mov eax, dword [ebp + 0x10]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4f0639
cmp ecx, ebx
je 0x4f02fb
mov eax, dword [ebp + 0x10]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4f0300
call fcn.0062492b
mov ecx, dword [ebp + 0xc]
add edi, edi
add edi, edi
mov edx, dword [ecx + edi]
cmp byte [edx + 4], bl
je 0x4f03a0
push 0x18
call fcn.00624a6a
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0xb0], ebx
je 0x4f0336
push eax
call fcn.004ef9c0
mov edi, eax
jmp 0x4f0338
xor edi, edi
mov dword [esp + 0xb0], 0xffffffff
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], edi
call fcn.004f52f0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4f0365
mov eax, dword [ebp + 0x10]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x20], eax
jb 0x4f036a
call fcn.0062492b
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0xc]
add ecx, ecx
add ecx, ecx
add eax, ecx
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
push edi
push eax
call fcn.004f0240
test al, al
je 0x4f0635
mov esi, dword [esp + 0x1c]
xor ebx, ebx
add dword [esp + 0x20], 1
mov edi, dword [esp + 0x20]
jmp 0x4f02d0
cmp ecx, ebx
je 0x4f03b2
mov eax, dword [ebp + 0x10]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x20], eax
jb 0x4f03b7
call fcn.0062492b
mov eax, dword [ebp + 0xc]
add eax, edi
mov eax, dword [eax]
push 0xffffffffffffffff
add eax, 8
push ebx
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.00401d10
mov dword [esp + 0xb0], 1
cmp dword [esp + 0x80], ebx
jbe 0x4f0584
mov edx, dword [esp + 0x84]
cmp edx, 0x10
mov eax, dword [esp + 0x70]
mov ecx, eax
jae 0x4f0412
lea ecx, [esp + 0x70]
cmp byte [ecx], 0x27
je 0x4f0503
cmp edx, 0x10
jae 0x4f0424
lea eax, [esp + 0x70]
cmp byte [eax], 0x22
je 0x4f0503
lea eax, [esp + 0x6c]
call fcn.004effe0
test al, al
je 0x4f0481
push 0x28
call fcn.00624a6a
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0xb0], 5
je 0x4f0461
lea ecx, [esp + 0x6c]
push ecx
push eax
call fcn.004ef7b0
jmp 0x4f0463
xor eax, eax
mov byte [esp + 0xb0], 1
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.004f52f0
mov esi, dword [esp + 0x1c]
jmp 0x4f0582
lea ebx, [esp + 0x6c]
lea edi, [esp + 0x88]
call fcn.004e6590
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x2c]
lea edi, [esi + 0x60]
push edx
lea ebx, [esp + 0x8c]
mov byte [esp + 0xb4], 6
call fcn.004f50c0
mov eax, dword [esp + 0x2c]
test eax, eax
mov ebx, dword [edi + 4]
je 0x4f04c0
cmp eax, edi
je 0x4f04c5
call fcn.0062492b
cmp dword [esp + 0x30], ebx
je 0x4f05ca
lea esi, [esp + 0x2c]
call fcn.004f3620
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.004f52f0
lea ecx, [esp + 0x88]
call fcn.00401c70
jmp 0x4f0582
push 0x28
call fcn.00624a6a
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebx
mov byte [esp + 0xb0], 2
je 0x4f0544
lea edi, [esp + 0x6c]
lea edx, [esp + 0x34]
call fcn.004f0050
push eax
mov byte [esp + 0xb4], 3
or dword [esp + 0x28], 1
push esi
call fcn.004ef7b0
mov esi, eax
jmp 0x4f0546
xor esi, esi
mov dword [esp + 0xb0], 1
test byte [esp + 0x24], 1
je 0x4f0571
and dword [esp + 0x24], 0xfffffffe
cmp dword [esp + 0x4c], 0x10
jb 0x4f0571
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0062493b
add esp, 4
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x1c]
lea ebx, [esp + 0x18]
call fcn.004f52f0
xor ebx, ebx
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x84], 0x10
jb 0x4f05a6
mov edx, dword [esp + 0x70]
push edx
call fcn.0062493b
add esp, 4
add dword [esp + 0x20], 1
mov edi, dword [esp + 0x20]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
jmp 0x4f02d0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x54]
push str.Unable_to_Dereference__
push ecx
call fcn.0044cec0
add esp, 0xc
push 0x67f5c0
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0xbc], 7
call fcn.0044cf70
add esp, 0xc
mov byte [esp + 0xb0], 8
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
lea ecx, [esp + 0x34]
call fcn.00401c70
lea ecx, [esp + 0x50]
call fcn.00401c70
lea ecx, [esp + 0x88]
call fcn.00401c70
lea ecx, [esp + 0x6c]
call fcn.00401c70
xor al, al
jmp 0x4f063b
mov al, 1
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00624940
add esp, 0xa0
ret 8