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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x4e8e8c
sub esp, 0x98
mov eax, 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov byte [esp + 0x23], 0
call fcn.004e8000
call fcn.004e7ab0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x10], eax
call fcn.004e7eb0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4e865c
xor eax, eax
jmp 0x4e8e38
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp], eax
call fcn.00408f90
mov eax, dword [esp + 4]
lea ecx, [0x734760]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [0x8da180]
lea ecx, [0x7ca618]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a7a60
mov dword [esp], 0x1000
mov byte [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.004e36f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
je 0x4e873b
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
test edx, edx
je 0x4e870a
mov edx, dword [edx + 4]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004afdb0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00408f90
mov eax, dword [esp + 4]
lea ecx, [0x733220]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4e8765
lea ecx, [0x7cc4c4]
jmp 0x4e8769
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
test ecx, ecx
je 0x4e8780
mov ecx, dword [ecx + 4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [0x8da180]
lea ecx, [0x7ca618]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a7a60
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0xf01ff
lea ecx, [esp + 0x24]
mov dword [esp + 8], ecx
call fcn.004e2dc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4e8836
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
test ecx, ecx
je 0x4e8809
mov ecx, dword [ecx + 4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004afdb0
lea eax, [0x76c8f0]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004e2830
mov eax, dword [esp + 8]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp], 0
mov dword [esp + 4], eax
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
call fcn.004e2cc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4e88d2
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
test ecx, ecx
je 0x4e88a5
mov ecx, dword [ecx + 4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004afdb0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], 1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 2
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov byte [esp + 4], 0
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.004e2a00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4e899d
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
test ecx, ecx
je 0x4e8970
mov ecx, dword [ecx + 4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004afdb0
lea eax, [0x76c8f0]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004e2830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8380
lea eax, [0x76f9fc]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.004e2830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8380
lea eax, [0x76bd55]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004e2830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8380
lea eax, [0x76f1ae]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.004e2830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8380
lea eax, [0x76d4ec]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.004e2830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8380
lea eax, [0x76ce82]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.004e2830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8380
lea eax, [0x76db59]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004e2830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8380
lea eax, [0x77218c]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.004e2830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8380
lea eax, [0x770358]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004e2830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8380
lea eax, [0x770370]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004e2830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8380
lea eax, [0x77349d]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.004e2830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8380
lea eax, [0x76db6c]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004e2830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8380
lea eax, [0x7727a2]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004e2830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8380
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x20
lea eax, [0x76ae26]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004606d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test eax, eax
je 0x4e8c5a
xor edx, edx
jmp 0x4e8c66
test ebx, ebx
jbe 0x4e8e76
xor eax, eax
xor ecx, ecx
test eax, eax
je 0x4e8cba
mov dword [esp + 0x5c], edx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
je 0x4e8c89
mov eax, dword [eax + 4]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004afdb0
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
lea eax, [esp + 0x88]
mov dword [esp + 4], eax
call fcn.004e2b20
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x60], edx
test eax, eax
je 0x4e8d37
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
test ecx, ecx
je 0x4e8d08
mov ebx, dword [ecx + 4]
jmp 0x4e8d0a
mov ebx, ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004afdb0
nop
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.004e2c20
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x88]
mov edx, dword [esp + 4]
mov dword [esp], eax
mov dword [esp + 4], 0x19
mov dword [esp + 8], ecx
lea eax, [edx + 8]
mov dword [esp + 0xc], eax
call fcn.004e8500
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4e8dcf
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4e8d9c
mov ecx, dword [eax + 4]
jmp 0x4e8d9e
mov ecx, eax
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004afdb0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea ecx, [0x4e8ee0]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x94], eax
mov byte [esp + 0x23], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea eax, [0x4e8ea0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x90], eax
mov byte [esp + 0x23], 3
mov eax, 3
test al, 2
je 0x4e8e58
and eax, 0xfffffffd
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x90]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4e8e6f
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x94]
mov eax, dword [edx]
call eax
add esp, 0x98
ret
xor eax, eax
mov ecx, eax
call fcn.00456b40
nop
call fcn.0042fda0
add esp, 0x98
ret
call fcn.00455690
jmp fcn.004e85f0