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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [esp + 0x3c], edi
cmp byte [esi + 0x66], 0
je 0x1008e8fd
call fcn.1008d7c0
mov ebp, dword [0x101023d4]
mov eax, dword [ebp + 0x1a6c]
mov dword [esp + 0x24], eax
cmp byte [eax + 0x87], 0
jne 0x1008e9d5
mov edx, edi
mov ecx, esi
call fcn.1008e240
mov ebx, eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x38], eax
test eax, eax
je 0x1008e9e4
cmp byte [eax], 0
jne 0x1008e9e4
mov eax, dword [ebp + 0x1a6c]
lea esi, [ebp + 0x1b94]
mov ecx, dword [eax + 0x1ac]
or ecx, 0x18
mov dword [eax + 0x1ac], ecx
mov edi, dword [esi + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi]
cmp ecx, edi
jne 0x1008e98d
inc ecx
test edi, edi
je 0x1008e979
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1008e97e
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10039ad0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
xorps xmm0, xmm0
mov edx, dword [esp + 0x18]
push 0
movups xmmword [esp + 0x58], xmm0
mov dword [eax + ecx*4], edx
mov edx, ebx
inc dword [esi]
lea ecx, [esp + 0x58]
call fcn.10063ed0
mov eax, dword [0x101023d4]
mov edx, dword [eax + 0x1a6c]
dec dword [eax + 0x1b94]
mov ecx, dword [eax + 0x1b94]
mov eax, dword [eax + 0x1b9c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1ac], eax
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x28], ecx
test ecx, 0x100000
je 0x1008e9ff
xor eax, eax
mov dword [esp + 0x38], eax
jmp 0x1008ea0d
test eax, eax
jne 0x1008ea0f
or ecx, 0x100000
mov dword [esp + 0x28], ecx
test eax, eax
setne dl
mov ecx, edi
call fcn.1008f260
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x4c], xmm0
test ebx, ebx
je 0x1008ea4f
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
jle 0x1008ea4f
mov edi, dword [esi + 8]
cmp dword [edi], ebx
je 0x1008ea42
inc eax
add edi, 0x24
cmp eax, ecx
jl 0x1008ea34
jmp 0x1008ea4f
mov byte [esp + 0x11], 0
test edi, edi
jne 0x1008eb24
mov edi, dword [esi + 4]
xor eax, eax
mov word [esp + 0x96], ax
xorps xmm0, xmm0
or eax, 0xffffffff
movlpd qword [esp + 0x74], xmm0
mov word [esp + 0x94], ax
mov word [esp + 0x92], ax
mov word [esp + 0x90], ax
mov eax, dword [esi]
movlpd qword [esp + 0x84], xmm0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x7c], 0xffffffff
cmp eax, edi
jne 0x1008ead3
lea ecx, [eax + 1]
test edi, edi
je 0x1008eabf
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1008eac4
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1006a540
mov eax, dword [esi]
mov ecx, dword [esi + 8]
lea edx, [eax + eax*8]
movups xmm0, xmmword [esp + 0x74]
mov eax, dword [esp + 0x94]
mov byte [esp + 0x11], 1
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [esp + 0x84]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov dword [ecx + edx*4 + 0x20], eax
inc dword [esi]
mov eax, dword [esi]
movss xmm0, dword [esp + 0x4c]
lea edi, [eax + eax*8]
mov eax, dword [esi + 8]
lea edi, [edi - 9]
mov dword [eax + edi*4], ebx
movss dword [eax + edi*4 + 0x14], xmm0
lea edi, [eax + edi*4]
mov byte [esi + 0x68], 1
jmp 0x1008eb2a
movss xmm0, dword [esp + 0x4c]
mov ecx, edi
mov eax, 0x38e38e39
sub ecx, dword [esi + 8]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [esi + 0x6c], ax
movss dword [edi + 0x18], xmm0
movzx ecx, word [esi + 0x6a]
lea eax, [ecx + 1]
mov word [esi + 0x6a], ax
mov word [edi + 0x1e], cx
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp + 0x1a10]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x64], eax
mov eax, dword [edi + 8]
inc eax
mov dword [edi + 8], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov edx, eax
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x84]
shr edx, 0x15
and edx, 0xffffff01
mov dword [esp + 0x14], edx
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov word [edi + 0x1c], cx
mov ecx, dword [esp + 0x3c]
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0x18], eax
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1008ebc0
sub edx, dword [esp + 0x18]
lea eax, [ecx + 1]
add eax, edx
push eax
push ecx
lea ecx, [esi + 0x84]
call fcn.10058f30
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x34], edx
jge 0x1008ec0c
test byte [esi + 0xc], 2
je 0x1008ec0c
cmp dword [esi + 0x18], 0
jne 0x1008ec0c
cmp dword [esp + 0x20], edx
jge 0x1008ebff
cmp dword [esi + 0x14], 0
jne 0x1008ec0c
mov eax, dword [esp + 0x14]
test al, al
jne 0x1008ec10
mov dword [esi + 0x18], ebx
jmp 0x1008ec10
mov eax, dword [esp + 0x14]
test byte [esp + 0x28], 2
je 0x1008ec23
cmp dword [esi + 0x14], ebx
je 0x1008ec23
test al, al
jne 0x1008ec23
mov dword [esi + 0x18], ebx
cmp dword [esi + 0x1c], ebx
sete cl
mov dword [esp + 0x30], ecx
mov byte [esp + 0x68], cl
jne 0x1008ec37
mov byte [esi + 0x67], 1
mov eax, dword [esp + 0x20]
test cl, cl
jne 0x1008ec6a
cmp dword [esi + 0x14], 0
jne 0x1008ec6a
cmp eax, edx
jge 0x1008ec6a
cmp dword [esi], 1
jne 0x1008ec6a
test byte [esi + 0xc], 2
movzx ecx, cl
mov dword [esp + 0x18], 1
cmove ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov byte [esp + 0x68], cl
cmp dword [esp + 0x34], edx
jge 0x1008ed30
cmp eax, edx
jge 0x1008ec83
cmp byte [esp + 0x11], 0
je 0x1008ed30
mov ecx, dword [0x101023d4]
lea esi, [ecx + 0x1b94]
mov eax, dword [ecx + 0x1a6c]
mov ebp, dword [eax + 0x1ac]
or ebp, 0x18
mov dword [eax + 0x1ac], ebp
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x1008ecd1
inc ecx
test edi, edi
je 0x1008ecbd
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1008ecc2
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10039ad0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
xorps xmm0, xmm0
push 0
mov edx, ebx
movups xmmword [esp + 0x58], xmm0
mov dword [eax + ecx*4], ebp
lea ecx, [esp + 0x58]
inc dword [esi]
call fcn.10063ed0
mov eax, dword [0x101023d4]
mov edx, dword [eax + 0x1a6c]
dec dword [eax + 0x1b94]
mov ecx, dword [eax + 0x1b94]
mov eax, dword [eax + 0x1b9c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1ac], eax
mov eax, dword [esp + 0x14]
test al, al
je 0x1008eee7
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8
cmp dword [esi + 0x14], ebx
jne 0x1008ed3e
mov eax, dword [ebp + 0x1a10]
mov dword [edi + 0xc], eax
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 4]
movss xmm2, dword [edi + 0x14]
and eax, 0xc0
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [edx + 0xd0]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edx + 0xd4]
movss dword [esp + 0x18], xmm0
mov dword [esp + 0x40], eax
movss dword [esp + 0x48], xmm2
jne 0x1008ed90
subss xmm1, dword [esi + 0x48]
cvttss2si eax, xmm1
movd xmm1, eax
mov eax, dword [esp + 0x40]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [esi + 0x2c]
movaps xmm4, xmm0
movss dword [esp + 0x44], xmm4
addss xmm1, dword [esi + 0x28]
movss dword [edx + 0xd0], xmm1
movss dword [edx + 0xd4], xmm0
movss xmm3, dword [edx + 0xd0]
movss dword [esp + 0x54], xmm3
movaps xmm0, xmm3
movss dword [esp + 0x58], xmm4
addss xmm0, xmm2
movaps xmm2, xmm4
addss xmm2, dword [esp + 0x50]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x60], xmm2
test eax, eax
jne 0x1008ee4f
movss xmm1, dword [esi + 0x58]
comiss xmm1, xmm3
ja 0x1008edfd
comiss xmm0, dword [esi + 0x5c]
jbe 0x1008ee4f
movss xmm0, dword [esi + 0x5c]
maxss xmm1, xmm3
movss dword [esp + 0x4c], xmm0
lea edx, [esp + 0x4c]
movaps xmm0, xmm4
mov byte [esp + 0x13], 1
subss xmm0, dword [0x100f6254]
push 1
lea ecx, [esp + 0x70]
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x74], xmm0
call fcn.1005df90
movss xmm2, dword [esp + 0x40]
movss xmm4, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
jmp 0x1008ee54
mov byte [esp + 0x13], 0
movss xmm0, dword [edx + 0xe8]
subss xmm2, xmm4
movss xmm7, dword [edx + 0xec]
lea ecx, [esp + 0x6c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [ebp + 0x1554]
movss dword [esp + 0x70], xmm2
call fcn.10063da0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x54]
movss xmm0, dword [esp + 0x44]
mov edx, ebx
push 0
movss dword [eax + 0xe8], xmm0
movss dword [eax + 0xec], xmm7
call fcn.10063ed0
test al, al
jne 0x1008eef8
cmp byte [esp + 0x13], al
je 0x1008eec7
call fcn.1005e010
mov eax, dword [esp + 0x24]
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0xd0], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [eax + 0xd4], xmm0
mov al, byte [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8
mov eax, dword [esp + 0x14]
mov edx, 0x1000
movzx ecx, al
mov eax, 0x1200
inc ecx
shl ecx, 4
cmp byte [ebp + 0x1e64], 0
cmove eax, edx
mov edx, ebx
or ecx, eax
lea eax, [esp + 0x11]
push ecx
push eax
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x60]
call fcn.1007bde0
mov byte [esp + 0x1f], al
test al, al
je 0x1008ef41
cmp byte [esp + 0x14], 0
jne 0x1008ef41
mov dword [esi + 0x18], ebx
cmp dword [ebp + 0x1a90], ebx
mov dl, byte [esp + 0x12]
sete al
or dl, al
cmp byte [esp + 0x11], 0
mov byte [esp + 0x12], dl
jne 0x1008ef9d
mov eax, dword [0x101023d4]
mov edx, dword [eax + 0x1a6c]
mov ecx, dword [edx + 0x114]
cmp dword [eax + 0x1a90], ecx
jne 0x1008ef81
mov byte [eax + 0x1a98], 1
mov ecx, dword [edx + 0x114]
mov dl, byte [esp + 0x12]
cmp dword [eax + 0x1aa4], ecx
jne 0x1008f023
mov byte [eax + 0x1ab1], 1
jmp 0x1008f023
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x34], ecx
jl 0x1008f023
mov eax, dword [0x101023d4]
cmp byte [eax + 0xec], 0
je 0x1008f023
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x444]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x1008f023
cmp byte [ebp + 0x1e64], 0
jne 0x1008f023
test byte [esi + 0xc], 1
je 0x1008f023
movss xmm0, dword [ebp + 0x374]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1008f006
movss xmm0, dword [esp + 0x54]
comiss xmm0, dword [ebp + 0xe4]
jbe 0x1008f023
mov eax, dword [edi]
mov byte [esi + 0x64], 0xff
jmp 0x1008f020
comiss xmm0, xmm1
jbe 0x1008f023
movss xmm0, dword [ebp + 0xe4]
comiss xmm0, dword [esp + 0x5c]
jbe 0x1008f023
mov eax, dword [edi]
mov byte [esi + 0x64], 1
mov dword [esi + 0x60], eax
cmp byte [esp + 0x11], 0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x284]
mov dword [esp + 0x2c], eax
jne 0x1008f069
test dl, dl
jne 0x1008f069
cmp byte [esp + 0x30], dl
je 0x1008f055
mov eax, dword [esp + 0x64]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x1008f06e
cmp byte [esp + 0x64], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x1008f06e
mov ecx, 0x22
movss xmm0, dword [0x100f6254]
call fcn.100594e0
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x54]
push eax
push dword [esp + 0x2c]
call fcn.1008f360
push 1
mov edx, ebx
lea ecx, [esp + 0x58]
call fcn.1005a5f0
mov ecx, 8
call fcn.1005b220
test al, al
je 0x1008f0d6
mov ecx, dword [0x101023d4]
movss xmm0, dword [ecx + 0x3f8]
ucomiss xmm0, dword [0x100f6140]
lahf
test ah, 0x44
jnp 0x1008f0cc
cmp byte [ecx + 0x3e3], 0
je 0x1008f0d6
cmp byte [esp + 0x14], 0
jne 0x1008f0d6
mov dword [esi + 0x18], ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0xc]
or ecx, 4
and al, 8
cmove ecx, dword [esp + 0x28]
cmp dword [esp + 0x38], 0
mov dword [esp + 0x48], ecx
je 0x1008f125
push ebx
xor edx, edx
mov ecx, str.CLOSE
call fcn.100586d0
mov ecx, eax
mov eax, dword [0x101023d4]
cmp dword [eax + 0x1aa4], ecx
jne 0x1008f114
mov dword [eax + 0x1aa8], ecx
cmp dword [eax + 0x1adc], ecx
jne 0x1008f127
mov byte [eax + 0x1ae0], 1
jmp 0x1008f127
xor ecx, ecx
movss xmm0, dword [esi + 0x74]
lea eax, [esp + 0x1e]
movss xmm1, dword [esi + 0x78]
lea edx, [esp + 0x54]
push eax
lea eax, [esp + 0x16]
push eax
push dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x3c]
push ebx
push dword [esp + 0x50]
push dword [esp + 0x60]
call fcn.1008f6b0
cmp byte [esp + 0x12], 0
je 0x1008f19a
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1008f19a
mov byte [eax], 0
test byte [edi + 4], 1
jne 0x1008f190
mov byte [edi + 0x22], 1
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi]
jne 0x1008f19a
mov dword [edi + 8], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
jmp 0x1008f19a
mov eax, dword [edi]
cmp dword [esi + 0x1c], eax
je 0x1008f19a
mov dword [esi + 0x18], eax
cmp byte [esp + 0x13], 0
je 0x1008f1a6
call fcn.1005e010
cmp byte [esp + 0x1e], 0
mov eax, dword [esp + 0x24]
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0xd0], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [eax + 0xd4], xmm0
je 0x1008f237
cmp dword [ebp + 0x1a90], ebx
jne 0x1008f237
cmp byte [esp + 0x11], 0
jne 0x1008f237
movss xmm0, dword [ebp + 0x1aa0]
comiss xmm0, dword [ebp + 0x2e8c]
jbe 0x1008f237
xor ecx, ecx
call fcn.1005b220
test al, al
je 0x1008f237
test byte [esi + 0xc], 0x20
jne 0x1008f237
test byte [edi + 4], 0x10
jne 0x1008f237
mov edx, dword [esp + 0x3c]
mov eax, edx
cmp edx, 0xffffffff
jae 0x1008f226
nop
mov cl, byte [eax]
test cl, cl
je 0x1008f226
cmp cl, 0x23
jne 0x1008f220
cmp byte [eax + 1], cl
je 0x1008f226
inc eax
cmp eax, 0xffffffff
jb 0x1008f210
push edx
sub eax, edx
push eax
push str._.s
call fcn.10064e50
add esp, 0xc
cmp byte [esp + 0x14], 0
je 0x1008eee7
mov al, byte [esp + 0x1f]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8