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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x3e8
mov esi, esp
mov dword [esi + 0x3d0], ebp
mov edi, ecx
nop
mov dword [esi + 0x3d4], esp
mov dword [esi + 0x3e0], 0xffffffff
lea eax, [esi + 0x3d8]
mov dword [esi + 0x3dc], 0x872060
mov ecx, dword fs:[0]
mov dword [esi + 0x3d8], ecx
mov dword fs:[0], eax
call fcn.00870dc0
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], edi
mov dword [edi], 0
mov dword [esi + 0x3e0], 0
push 0x140
call fcn.0091d7fd
add esp, 4
mov ebx, eax
mov edi, eax
add edi, 8
push 0x138
push 0
push edi
call fcn.009350b0
add esp, 0xc
mov dword [ebx + 4], 0x7fffffff
mov dword [esi + 4], ebx
mov dword [ebx], 0xfffffffe
mov dword [esi + 0x3e0], 0xc
mov ecx, edi
call fcn.00870b50
nop
mov edx, dword [esi + 4]
mov dword [edx + 0x13c], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
mov dword [eax], edx
test ecx, ecx
je 0x866d15
lea eax, [ecx + 8]
mov dword [esi + 0x14], eax
mov eax, dword [0xa6b604]
mov ebx, dword [0xa6b5e0]
mov edx, 0x7ab0
sub edx, dword [esi + 0x10]
sub ebx, edx
mov edi, edx
mov dword [esi + 4], edx
add ebx, eax
lea eax, [ecx + 0x130]
mov dword [esi + 0xc], eax
mov dword [esi + 0x3e0], 0xffffffff
mov dword [esi + 8], ecx
mov ecx, ebx
call dword [0xa37360]
mov ecx, dword [esi + 0xc]
call ebx
mov eax, dword [0xa6b5fc]
mov ebx, dword [0xa6b5ec]
sub ebx, edi
add ebx, eax
mov edi, dword [esi + 8]
lea eax, [edi + 0x124]
mov dword [esi + 0xc], eax
mov ecx, ebx
call dword [0xa37360]
mov ecx, dword [esi + 0xc]
call ebx
mov eax, dword [0xa6b5f8]
mov ebx, dword [0xa6b5d0]
sub ebx, dword [esi + 4]
add ebx, eax
lea eax, [edi + 0x58]
mov dword [esi + 0xc], eax
mov ecx, ebx
call dword [0xa37360]
mov ecx, dword [esi + 0xc]
call ebx
mov eax, dword [0xa6b60c]
mov ebx, dword [0xa6b5dc]
sub ebx, dword [esi + 4]
add ebx, eax
mov ecx, ebx
call dword [0xa37360]
mov ecx, dword [esi + 0x14]
call ebx
push 0x140
push edi
call fcn.0091d82d
add esp, 8
nop
mov dword [esi + 0x3e0], 0
lea eax, [esi + 0xb0]
push eax
call fcn.00867840
add esp, 4
nop
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
movsd xmm0, qword [esi + 0xb0]
movsd qword [eax], xmm0
mov byte [esi + 0x60], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0xf
mov byte [esi + 0x64], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0xf
mov byte [esi + 0x7c], 0
mov byte [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov word [esi + 0x1e8], 0
mov word [esi + 0x203], 0
mov word [esi + 0x21f], 0
mov word [esi + 0x231], 0
mov word [esi + 0x24b], 0
lea ecx, [esi + 0x254]
mov dword [esi + 0xb0], 0
mov dword [esi + 0x3e0], 1
lea eax, [esi + 0x304]
push eax
lea eax, [esi + 0xb0]
push eax
call fcn.0086c5c0
nop
mov byte [esi + 0x274], 0
mov dword [esi + 0x278], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov eax, 0x9ea0a4
add eax, dword [0x9ea0a4]
xor ecx, ecx
cmp dword [0xa6c1b4], 0xc26d1feb
cmovne ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [0x9ea0a8]
mov dword [esi + 0x34], eax
mov eax, 0x9ea0bc
add eax, dword [0x9ea0bc]
mov dword [esi + 8], eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x3e0], 0xa
lea eax, [esi + 0x2b4]
push eax
call fcn.008bf880
add esp, 4
nop
mov eax, dword [0xa6b600]
mov edi, dword [0xa6b5d4]
mov ebx, 0x7ab0
sub ebx, dword [esi + 0x10]
sub edi, ebx
add edi, eax
mov dword [esi + 0x3e0], 0xffffffff
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x60]
lea eax, [esi + 0x2b4]
push eax
call edi
mov eax, dword [0xa6b60c]
mov edi, dword [0xa6b5dc]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x2b4]
call edi
nop
mov dword [esi + 0x3e0], 8
lea eax, [esi + 0x304]
push eax
call fcn.008c2760
add esp, 4
nop
mov eax, dword [0xa6b5f4]
mov edi, dword [0xa6b5d8]
mov ebx, 0x7ab0
sub ebx, dword [esi + 0x10]
sub edi, ebx
add edi, eax
mov dword [esi + 0x3e0], 0xffffffff
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x1e8]
lea eax, [esi + 0x304]
push eax
call edi
mov eax, dword [0xa6b5f8]
mov edi, dword [0xa6b5d0]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x304]
call edi
nop
mov dword [esi + 0x3e0], 6
lea eax, [esi + 0x48]
push eax
call fcn.008c2890
add esp, 4
nop
mov eax, dword [0xa6b5fc]
mov edi, dword [0xa6b5ec]
mov ebx, 0x7ab0
sub ebx, dword [esi + 0x10]
sub edi, ebx
add edi, eax
mov dword [esi + 0x3e0], 0xffffffff
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x28]
call edi
movsd xmm0, qword [esi + 0x48]
movsd qword [esi + 0x28], xmm0
mov eax, dword [esi + 0x50]
mov dword [esi + 0x30], eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov eax, dword [0xa6b5fc]
mov edi, dword [0xa6b5ec]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x48]
call edi
nop
mov eax, dword [0xa6c1b0]
lea ecx, [eax + 1]
mov dword [0xa6c1b0], ecx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ecx
test ecx, eax
je 0x867492
xor edi, edi
nop
mov dword [esi + 8], edi
mov dword [esi + 0x3e0], 4
lea eax, [esi + 0x3c]
push eax
call fcn.008c2f90
add esp, 4
nop
mov eax, dword [0xa6b604]
mov edi, dword [0xa6b5e0]
mov ebx, 0x7ab0
sub ebx, dword [esi + 0x10]
sub edi, ebx
add edi, eax
mov dword [esi + 0x3e0], 0xffffffff
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x1c]
call edi
movsd xmm0, qword [esi + 0x3c]
movsd qword [esi + 0x1c], xmm0
mov eax, dword [esi + 0x44]
mov dword [esi + 0x24], eax
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov eax, dword [0xa6b604]
mov edi, dword [0xa6b5e0]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x3c]
call edi
nop
movzx eax, byte [esi + 0x60]
mov byte [esi + 0xb0], al
mov eax, dword [0xa6b5f0]
mov ecx, dword [0xa6b5e4]
mov ebx, 0x7ab0
sub ebx, dword [esi + 0x10]
sub ecx, ebx
add ecx, eax
mov dword [esi + 0x3e0], 0xffffffff
lea edi, [esi + 0xb4]
call dword [0xa37360]
push 0x18
lea eax, [esi + 0x64]
push eax
push edi
call ecx
add esp, 0xc
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0xf
mov byte [esi + 0x64], 0
lea edi, [esi + 0xcc]
mov eax, dword [0xa6b5f0]
mov ecx, dword [0xa6b5e4]
mov dword [esi + 4], ebx
sub ecx, ebx
add ecx, eax
call dword [0xa37360]
push 0x18
lea eax, [esi + 0x7c]
push eax
push edi
call ecx
add esp, 0xc
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0xf
mov byte [esi + 0x7c], 0
mov byte [esi + 0xe4], 0
mov dword [esi + 0xe8], 0
cmp byte [esi + 0x94], 1
jne 0x86715f
lea edi, [esi + 0x98]
mov eax, dword [0xa6b5f0]
mov ecx, dword [0xa6b5e4]
sub ecx, dword [esi + 4]
add ecx, eax
lea ebx, [esi + 0xe8]
call dword [0xa37360]
push 0x18
push edi
push ebx
call ecx
add esp, 0xc
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0xf
mov byte [esi + 0x98], 0
mov byte [esi + 0x94], 0
mov byte [esi + 0xe4], 1
lea ecx, [esi + 0x100]
mov dword [esi + 0x3e0], 3
lea eax, [esi + 0x1e8]
push eax
call fcn.0086d4e0
nop
mov eax, dword [esi + 0x54]
test dword [esi + 0x58], eax
sete byte [esi + 0xc]
movsd xmm0, qword [esi + 0x2c]
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
movss xmm1, dword [esi + 0x28]
mov dword [esi + 0x28], 0
movss xmm2, dword [esi + 0x1c]
mov dword [esi + 0x1c], 0
shufps xmm2, xmm0, 0xd4
unpcklps xmm0, xmm1
shufps xmm0, xmm2, 0x21
movups xmmword [esi + 0x1cc], xmm0
movsd xmm0, qword [esi + 0x20]
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
movsd qword [esi + 0x1dc], xmm0
mov eax, dword [0xa6b604]
mov edi, dword [0xa6b5e0]
mov ebx, dword [esi + 4]
sub edi, ebx
add edi, eax
mov dword [esi + 0x3e0], 0xffffffff
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x1c]
call edi
mov eax, dword [0xa6b5fc]
mov edi, dword [0xa6b5ec]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x28]
call edi
mov eax, dword [0xa6b5f8]
mov edi, dword [0xa6b5d0]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x1e8]
call edi
mov eax, dword [0xa6b60c]
mov edi, dword [0xa6b5dc]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x60]
call edi
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
mov dword [esi + 0x14], ecx
movzx eax, word [0x9ea0b0]
cmp ax, word [esi + 8]
setne al
and al, byte [esi + 0xc]
or al, byte [0xa8c5ac]
and al, 1
mov byte [0xa8c5ac], al
mov eax, dword [0xa6b600]
mov ebx, dword [0xa6b5d4]
sub ebx, dword [esi + 4]
add ebx, eax
lea edi, [ecx + 8]
mov dword [esi + 8], edi
mov ecx, ebx
call dword [0xa37360]
mov ecx, edi
lea eax, [esi + 0xb0]
push eax
call ebx
mov eax, dword [0xa6b5f4]
mov ebx, dword [0xa6b5d8]
sub ebx, dword [esi + 4]
add ebx, eax
mov eax, dword [esi + 0x14]
lea edi, [eax + 0x58]
mov ecx, ebx
call dword [0xa37360]
mov ecx, edi
lea eax, [esi + 0x100]
push eax
call ebx
lea eax, [esi + 0xb0]
cmp dword [esi + 8], eax
sete al
cmp byte [0xa8c5ac], 0
jne 0x8673c9
test al, al
jne 0x8673c9
nop
test byte [0xa8c608], 1
jne 0x8673c9
nop
mov eax, dword [0xa6b5fc]
mov edi, dword [0xa6b5ec]
sub edi, dword [esi + 4]
add edi, eax
mov ebx, dword [esi + 0x14]
lea eax, [ebx + 0x124]
mov dword [esi + 8], eax
mov ecx, edi
call dword [0xa37360]
mov ecx, dword [esi + 8]
call edi
movsd xmm0, qword [esi + 0x1cc]
movsd qword [ebx + 0x124], xmm0
mov eax, dword [esi + 0x1d4]
mov dword [ebx + 0x12c], eax
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1d0], 0
mov dword [esi + 0x1d4], 0
mov eax, dword [0xa6b604]
mov edi, dword [0xa6b5e0]
sub edi, dword [esi + 4]
add edi, eax
lea eax, [ebx + 0x130]
mov dword [esi + 8], eax
mov ecx, edi
call dword [0xa37360]
mov ecx, dword [esi + 8]
call edi
movsd xmm0, qword [esi + 0x1d8]
movsd qword [ebx + 0x130], xmm0
mov eax, dword [esi + 0x1e0]
mov dword [ebx + 0x138], eax
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1dc], 0
mov dword [esi + 0x1e0], 0
nop
mov eax, dword [0xa6b604]
mov edi, dword [0xa6b5e0]
mov ebx, dword [esi + 4]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x1d8]
call edi
mov eax, dword [0xa6b5fc]
mov edi, dword [0xa6b5ec]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x1cc]
call edi
mov eax, dword [0xa6b5f8]
mov edi, dword [0xa6b5d0]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa37360]
lea ecx, [esi + 0x100]
call edi
mov eax, dword [0xa6b60c]
mov edi, dword [0xa6b5dc]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xa37360]
lea ebx, [esi + 0xb0]
mov ecx, ebx
call edi
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
add eax, 8
mov dword [esi + 0x3e0], 0
push 0
push 0
push eax
push ebx
call fcn.008d17a0
add esp, 0x10
nop
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
mov ecx, dword [esi + 0xb0]
mov dword [edx + 0x13c], ecx
mov ecx, dword [esi + 0x3d8]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
nop
cmp dword [0xa6c1b8], 0x3a31e49c
jne 0x8674b2
nop
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
add eax, ecx
cmp dword [esi + 0x34], 0
jg 0x8674c6
jmp 0x866fcd
nop
mov ecx, dword [esi + 8]
lea eax, [ecx - 0x14]
add eax, dword [ecx - 0x14]
cmp dword [esi + 0x34], 0
je 0x866fcd
nop
cmp dword [0xa6c1bc], 0xabd581e3
jne 0x867520
xor ecx, ecx
xor edx, edx
mov edi, dword [esi + 4]
add edi, 2
setb dl
mov dword [esi + 0x14], edx
mov edx, edi
xor ebx, ebx
jmp 0x8674fb
nop
mov dword [0xa6c1c0], 0x244a4fd6
cmp eax, edx
mov edi, ecx
sbb edi, dword [esi + 0x14]
mov edi, dword [esi + 4]
movzx edi, word [edi]
jge 0x8674f0
lea edi, [ebx + 1]
mov ecx, dword [esi + 8]
lea eax, [ecx + ebx*4]
add eax, 4
add eax, dword [ecx + ebx*4 + 4]
xor ecx, ecx
mov ebx, edi
jmp 0x8674f0
xor edx, edx
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x38], 0
jmp 0x867554
xor edi, dword [esi + 0x14]
add edx, 2
mov ecx, edi
mov dword [esi + 0x14], ecx
cmp edx, dword [esi + 0x34]
jge 0x866fcf
nop
mov edi, dword [esi + 4]
lea ecx, [edi + edx]
mov ebx, eax
sub ebx, ecx
mov ecx, dword [esi + 0xc]
sbb ecx, 0
cmp ebx, 2
sbb ecx, 0
movzx edi, word [edi + edx]
jge 0x867540
lea ecx, [ebx*8]
mov eax, 0xffffffff
shl eax, cl
not eax
and edi, eax
mov ecx, dword [esi + 0x38]
lea eax, [ecx + 1]
mov dword [esi + 0x5c], eax
add edx, ebx
add edx, 2
mov ebx, dword [esi + 8]
lea eax, [ebx + ecx*4]
add eax, 4
add eax, dword [ebx + ecx*4 + 4]
mov dword [esi + 0xc], 0
nop
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x38], ecx
jmp 0x867540