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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f7f12
add esp, 0xffffff80
mov eax, 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.004f6af0
movzx eax, byte [esp + 4]
test al, al
jne 0x4f7eb4
call fcn.004f9040
lea eax, [0x623360]
mov dword [esp + 0x7c], eax
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x94]
cmp eax, 4
jne 0x4f7912
mov ecx, dword [esp + 0x90]
cmp byte [ecx], 0x74
jg 0x4f78fb
cmp dword [ecx], 0x34706374
je 0x4f78f4
cmp dword [ecx], 0x36706374
jne 0x4f7919
mov edx, 1
jmp 0x4f791b
cmp dword [ecx], 0x34706475
je 0x4f790b
cmp dword [ecx], 0x36706475
jne 0x4f7919
mov edx, 2
jmp 0x4f791b
mov ecx, dword [esp + 0x90]
xor edx, edx
lea edi, [esp + 0x58]
xor eax, eax
call fcn.00463958
mov dword [esp + 0x60], edx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
call fcn.0046fe80
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0xc], ecx
call fcn.00474fe0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ecx, ecx
jne 0x4f7c6f
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [0x4f7f20]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x78], eax
mov byte [esp + 0x27], 3
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4f7b71
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
cmp eax, 2
je 0x4f7b27
cmp eax, 0x17
je 0x4f7add
mov dword [esp], 0x20000027
call fcn.0046fef0
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
lea edx, [0x5f9c80]
mov dword [esp], edx
call fcn.0040bd40
mov edi, dword [esp + 4]
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [0x7c78f0]
test eax, eax
jne 0x4f7a2a
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
jmp 0x4f7a33
mov eax, dword [esp + 0x4c]
call fcn.00463730
mov dword [esp], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
lea eax, [0x60b3d6]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
call fcn.0044dcb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4f7a9b
mov dword [edx + 8], eax
jmp 0x4f7aa3
lea edi, [edx + 8]
call fcn.00463730
mov dword [esp + 0xa0], 0
lea eax, [0x661bd4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
call fcn.004f9090
sub esp, 0xffffff80
ret
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.00475de0
movzx eax, word [esp + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
call fcn.004f9090
sub esp, 0xffffff80
ret
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.00475de0
movzx eax, word [esp + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
call fcn.004f9090
sub esp, 0xffffff80
ret
mov dword [esp], 0x20000027
call fcn.0046fef0
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
lea edx, [0x5f9c80]
mov dword [esp], edx
call fcn.0040bd40
mov edi, dword [esp + 4]
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [0x7c78f0]
test eax, eax
jne 0x4f7bbc
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
jmp 0x4f7bc5
mov eax, dword [esp + 0x4c]
call fcn.00463730
mov dword [esp], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
lea eax, [0x60b3d6]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
call fcn.0044dcb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4f7c2d
mov dword [edx + 8], eax
jmp 0x4f7c35
lea edi, [edx + 8]
call fcn.00463730
mov dword [esp + 0xa0], 0
lea eax, [0x661bd4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
call fcn.004f9090
sub esp, 0xffffff80
ret
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0xc], ebx
call fcn.004f4ec0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4f7e89
mov eax, dword [esp + 0x44]
lea ecx, [0x661f44]
cmp eax, ecx
jne 0x4f7d04
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea eax, [0x661194]
mov dword [esp + 8], eax
call fcn.00403850
movzx eax, byte [esp + 0xc]
test al, al
je 0x4f7d04
mov eax, dword [0x7a18c0]
mov ecx, dword [0x7a18c4]
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x4f7d55
lea eax, [0x5ecb60]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x60daeb]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4f7d3f
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
jmp 0x4f7d4f
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x3c]
call fcn.00463730
mov eax, ecx
lea ecx, [0x661c9c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
lea edx, [0x5f9c80]
mov dword [esp], edx
call fcn.0040bd40
mov edi, dword [esp + 4]
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [0x7c78f0]
test eax, eax
jne 0x4f7da4
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
jmp 0x4f7dad
mov eax, dword [esp + 0x4c]
call fcn.00463730
mov dword [esp], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
lea eax, [0x60b3d6]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
call fcn.0044dcb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4f7e15
mov dword [edx + 8], eax
jmp 0x4f7e1d
lea edi, [edx + 8]
call fcn.00463730
mov eax, dword [0x7a18c4]
mov ecx, dword [esp + 0x28]
cmp dword [0x7a18c0], ecx
jne 0x4f7e5c
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00403850
movzx eax, byte [esp + 0xc]
test al, al
je 0x4f7e58
mov eax, dword [esp + 0x40]
mov byte [eax + 0x1a], 1
mov edx, eax
jmp 0x4f7e5c
mov edx, dword [esp + 0x40]
mov dword [esp + 0xa0], 0
lea eax, [0x661bd4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 0
call fcn.004f9090
sub esp, 0xffffff80
ret
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 0
call fcn.004f9090
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
call fcn.004f4ec0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
sub esp, 0xffffff80
ret
call fcn.00462320
jmp fcn.004f7850