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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x8e429d
add esp, 0xffffff80
mov dword [esp], 2
call fcn.004082a0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test al, al
je 0x8e4285
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0xb8e062]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004b2730
mov eax, dword [esp + 0x10]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x20]
cmp ecx, edx
ja 0x8e4297
mov dword [esp + 0x30], ecx
call fcn.0048c5d0
lea edi, [esp + 0x3c]
mov esi, esp
call fcn.004612ce
mov edi, esp
lea esi, [esp + 0x3c]
call fcn.004612ce
call fcn.008e3600
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x68]
xor eax, eax
call fcn.00460dea
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
sub ecx, ebx
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and ebx, ecx
mov ecx, dword [esp + 0x34]
add ecx, ebx
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00409370
mov eax, dword [esp + 4]
lea ecx, [0xaa8c20]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea eax, [0xb954a4]
mov dword [esp], eax
mov dword [esp + 4], 0xa
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004eeb30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
call fcn.008e36c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x50]
mov edx, eax
xor eax, eax
call fcn.00460dea
mov eax, dword [esp + 0x84]
mov dword [esp + 0x50], eax
mov dword [esp], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00409480
mov eax, dword [esp + 8]
lea ecx, [0xaa9660]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x64], eax
mov eax, dword [0x10e4e8c]
lea ecx, [eax + 1]
mov edx, dword [0x10e4e88]
mov ebx, dword [0x10e4e90]
cmp ecx, ebx
ja 0x8e422f
lea ecx, [eax + 1]
mov dword [0x10e4e8c], ecx
mov ecx, dword [0x10fd360]
lea eax, [eax + eax*2]
lea edi, [edx + eax*8]
test ecx, ecx
jne 0x8e4213
lea esi, [esp + 0x50]
call fcn.004612c4
sub esp, 0xffffff80
ret
lea eax, [0xb06c40]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call fcn.00411810
jmp 0x8e420f
lea ebp, [0xb06c40]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.00447080
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [0x10e4e90], edx
mov edx, dword [0x10fd360]
test edx, edx
jne 0x8e4278
mov dword [0x10e4e88], eax
mov edx, eax
mov eax, ecx
jmp 0x8e41ed
lea edi, [0x10e4e88]
call fcn.00460b40
jmp 0x8e426f
mov edx, 3
lea ecx, [0xb8e61b]
xor ebx, ebx
jmp 0x8e401e
call fcn.00460be0
nop
call fcn.0045f5f0
jmp fcn.008e3fe0