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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f74dc
sub esp, 0x68
mov eax, dword [esp + 0x70]
cmp eax, 0x63
jne 0x4f710a
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.004f6cc0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004f6200
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004f65e0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004f6ab0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x70]
cmp ebx, 0x55
jne 0x4f7312
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0xb8e07f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.004f6490
movzx eax, byte [esp + 0x10]
test al, al
je 0x4f7471
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0xb8e05e]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.004f6490
movzx eax, byte [esp + 0x10]
test al, al
je 0x4f7471
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov byte [esp + 0xc], cl
call fcn.004f6b90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x40
call fcn.004be560
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test edx, edx
jne 0x4f742e
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x74]
add edx, 0xffffffc0
neg edx
mov dword [esp + 0x50], edx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x4c], ebx
lea ebp, [edx - 0x20]
mov dword [esp + 0x48], ebp
cmp ebp, 0x20
sbb esi, esi
mov dword [esp + 0x44], esi
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x40], ebp
cmp ebp, 0x20
sbb esi, esi
mov dword [esp + 0x3c], esi
shr edx, 5
cmp edx, 1
sbb edx, edx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x50]
cmp edx, 0x20
sbb ebx, ebx
mov ecx, ebp
shr eax, cl
and eax, esi
mov ecx, edi
mov esi, dword [esp + 0x28]
shl esi, cl
mov ecx, edx
mov edi, dword [esp + 0x2c]
shl edi, cl
mov ebp, dword [esp + 0x4c]
and edi, ebp
or edi, eax
mov eax, dword [esp + 0x44]
and esi, eax
or edi, esi
not ebx
or ebx, ecx
mov ecx, ebx
mov esi, edi
sar edi, cl
mov ebx, dword [esp + 0x2c]
cmp ebx, edi
xchg edi, ebx
setne bl
xchg edi, ebx
mov ecx, edx
mov ebx, dword [esp + 0x28]
shl ebx, cl
and ebx, ebp
shr ebx, cl
and ebx, ebp
mov ecx, dword [esp + 0x40]
mov edx, esi
shl esi, cl
mov ebp, dword [esp + 0x3c]
and esi, ebp
or esi, ebx
not eax
mov ecx, dword [esp + 0x48]
or ecx, eax
sar edx, cl
mov eax, dword [esp + 0x38]
xor eax, 0xffffffff
and eax, edx
or eax, esi
mov edx, dword [esp + 0x28]
cmp edx, eax
setne al
or edi, eax
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4f7374
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
nop
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0xb8e0e0]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
mov byte [esp + 0xc], 1
call fcn.004f6490
mov eax, dword [esp + 0x70]
cmp eax, 0x76
je 0x4f7352
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x34]
jmp 0x4f71c9
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004f6eb0
mov ebx, dword [esp + 4]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
jmp 0x4f71c9
mov dword [esp], 0
lea eax, [0xba50dc]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1a
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
call fcn.0044a440
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edx, [0xad4dc0]
mov dword [esp], edx
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [0x10fd360]
test eax, eax
jne 0x4f73dd
mov eax, dword [esp + 0x58]
mov dword [edi], eax
jmp 0x4f73e6
mov eax, dword [esp + 0x58]
call fcn.00460b40
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0xc7fc40]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edi
lea eax, [0xad4e20]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00409290
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433120
nop
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ebx
lea eax, [0xad4e20]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00409290
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00433120
nop
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0xb9d925]
mov dword [eax], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0xad4e20]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00409290
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433120
nop
call fcn.0045f5f0
jmp fcn.004f70c0