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

Disassembly:
sub esp, 0x68
push ebp
mov ebp, dword [0x100b9cac]
mov dword [esp + 0x40], ebp
mov eax, dword [ebp + 0x3fec]
mov dword [esp + 0x10], eax
cmp byte [eax + 0xbf], 0
jne 0x1008efd6
push ebx
push esi
push edi
mov edi, dword [ebp + 0x4d64]
mov ecx, 0x100982fc
push 0
mov eax, dword [edi + 0x48]
mov ebx, dword [edi + 0x10]
imul esi, eax, 0x70
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x80]
add ebx, esi
test eax, eax
cmovne ecx, eax
push ecx
mov dword [esp + 0x3c], ecx
call fcn.10013ae0
add esp, 4
mov dword [esp + 0x58], eax
mov dword [esp], 0xbf800000
push 1
push eax
push dword [esp + 0x40]
lea eax, [esp + 0x70]
push eax
call fcn.1000cf20
mov ecx, dword [esp + 0x30]
xor edx, edx
add esp, 0x14
xorps xmm3, xmm3
movss dword [esp + 0x30], xmm3
movss xmm4, dword [ecx + 0x100]
movss dword [esp + 0x58], xmm4
movss xmm0, dword [ecx + 0x104]
movss dword [esp + 0x5c], xmm0
mov eax, dword [edi + 0x10]
movss xmm1, dword [edi + 0x5c]
add eax, esi
addss xmm1, xmm1
movss xmm0, dword [eax + 8]
maxss xmm0, dword [edi + 0xe4]
movss xmm2, dword [eax + 0xc]
xor al, al
minss xmm2, dword [edi + 0xec]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 0x50]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 0x54]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [edi + 0x58]
subss xmm0, xmm1
mov byte [esp + 0x20], al
movss xmm1, dword [esp + 0x64]
mov word [esp + 0x21], dx
mov byte [esp + 0x23], dl
test byte [edi + 4], 8
maxss xmm1, xmm0
movss dword [esp + 0x28], xmm2
xorps xmm0, xmm0
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x3c], xmm1
je 0x1008e8f7
test dword [ebx], 0x200
jne 0x1008e8f7
movss xmm0, dword [ebp + 0x3d38]
mulss xmm0, dword [0x1009b448]
movzx ecx, word [ebx + 0x5a]
cmp cx, 0xffff
addss xmm0, dword [ebp + 0x38ec]
cvttss2si eax, xmm0
movd xmm0, eax
setne al
mov byte [esp + 0x11], al
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x2c], xmm0
test cx, cx
jle 0x1008e8f3
movsx eax, cx
inc eax
push eax
push 0x100991f4
lea eax, [esp + 0x28]
push 4
push eax
call fcn.10015fc0
add esp, 0xc
lea eax, [esp + 0x24]
mov dword [esp], 0xbf800000
push 0
push 0
push eax
lea eax, [esp + 0x54]
push eax
call fcn.1000cf20
movss xmm3, dword [ebp + 0x3904]
add esp, 0x14
movss xmm4, dword [esp + 0x58]
movss xmm2, dword [esp + 0x28]
addss xmm3, dword [eax]
mov al, byte [esp + 0x11]
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x30], xmm3
mov ecx, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x60]
addss xmm1, xmm4
addss xmm1, xmm3
addss xmm1, xmm0
test al, al
je 0x1008e912
movaps xmm3, xmm2
jmp 0x1008e919
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm0, dword [ebx + 0x48]
maxss xmm0, xmm3
push 0
push dword [esp + 0x38]
movss dword [ebx + 0x48], xmm0
movss xmm0, dword [ebx + 0x4c]
maxss xmm0, xmm1
movss dword [ebx + 0x4c], xmm0
call fcn.10014720
movss xmm0, dword [ebp + 0x3910]
mov esi, eax
movss xmm1, dword [esp + 0x18]
addss xmm0, xmm0
movss xmm2, dword [esp + 0x24]
lea eax, [esp + 0x44]
movss dword [esp + 0x68], xmm1
movss xmm1, dword [esp + 0x28]
movss dword [esp + 0x70], xmm1
movss xmm1, dword [esp + 0x3c]
movss dword [esp + 0x6c], xmm2
addss xmm2, xmm1
push ecx
mov dword [esp], 0xbf800000
push eax
mov dword [esp + 0x40], esi
addss xmm2, xmm0
mov dword [esp + 0x4c], 0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x50], xmm1
maxss xmm0, xmm2
movss dword [esp + 0x7c], xmm0
call fcn.100195b0
push 0
push 0
lea eax, [esp + 0x78]
push esi
push eax
call fcn.10019060
add esp, 0x18
test al, al
je 0x1008efd3
movsx esi, word [edi + 0x1c2]
lea eax, [esp + 0x12]
push 0x1000
push eax
lea eax, [esp + 0x1b]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x78]
push eax
call fcn.10070c10
add esp, 0x14
mov byte [esp + 0x11], al
cmp byte [esp + 0x12], 0
jne 0x1008ea49
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x1008ea3d
cmp esi, dword [esp + 0x14]
je 0x1008ea3d
test byte [edi + 0x68], 1
jne 0x1008eb0c
push dword [edi + 0x48]
push ecx
mov dword [esp], 0x3f800000
push 0x2c
call fcn.10014360
add esp, 8
push eax
push 3
call fcn.10090340
add esp, 0xc
jmp 0x1008eb0c
xor eax, eax
test cl, cl
setne al
add eax, 0x18
jmp 0x1008ea4e
mov eax, 0x1a
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10014360
mov ecx, dword [0x100b9cac]
xor esi, esi
mov edx, dword [edi + 0x48]
add esp, 8
cmp eax, 0x1000000
mov dword [esp + 0x24], edx
mov ecx, dword [ecx + 0x4d64]
cmovne esi, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], esi
movss xmm0, dword [ecx + 0x50]
comiss xmm0, dword [ecx + 0x100]
ja 0x1008eb0c
cmp edx, 0xffffffff
jne 0x1008ea9e
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x24], edx
mov esi, edx
mov eax, 1
mov edx, dword [ecx + 0x30]
mov ecx, dword [esp + 0x24]
sar esi, 5
and ecx, 0x1f
shl eax, cl
test dword [edx + esi*4], eax
je 0x1008eb0c
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
movzx eax, word [edx + 0x1e2]
test ax, ax
js 0x1008eae9
mov ecx, eax
mov dword [esp + 0x40], ecx
movsx ecx, ax
mov eax, dword [edx + 0x20]
movsx eax, word [eax + ecx*8 + 4]
cmp eax, esi
je 0x1008eaf6
movzx eax, word [edx + 0x1e2]
inc eax
mov word [edx + 0x1e2], ax
movzx eax, ax
jmp 0x1008eafa
mov eax, dword [esp + 0x40]
movsx ecx, ax
mov eax, dword [edx + 0x20]
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*8], edx
mov word [eax + ecx*8 + 4], si
push 0xa
push dword [esp + 0x3c]
lea eax, [esp + 0x70]
push eax
call fcn.10021250
mov esi, dword [esp + 0x20]
add esp, 0xc
cmp byte [esp + 0x12], 0
je 0x1008eb31
mov word [edi + 0x1ca], si
movss xmm1, dword [ebp + 0x3900]
mov eax, dword [esp + 0x1c]
mulss xmm1, dword [0x1009b440]
movss xmm0, dword [eax + 0x104]
subss xmm0, xmm1
movss dword [eax + 0x104], xmm0
cmp byte [esp + 0x12], 0
je 0x1008ec63
test byte [edi + 4], 2
je 0x1008ec63
push ecx
mov dword [esp], 0xbf800000
push 0
call fcn.10018a10
add esp, 8
test al, al
je 0x1008ec63
cmp byte [ebp + 0x4cb4], 0
jne 0x1008ec63
mov ax, word [edi + 0x4c]
xorps xmm1, xmm1
mov word [edi + 0x1cc], si
mov word [edi + 0x4e], ax
comiss xmm1, dword [ebp + 0xbc]
jbe 0x1008ec03
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [ebp + 0xc8]
jbe 0x1008ec03
movzx eax, word [ebx + 0x56]
cmp ax, 0xffff
je 0x1008ec03
cwde
imul esi, eax, 0x70
add esi, dword [edi + 0x10]
je 0x1008ec03
mov eax, dword [ebx]
or eax, dword [esi]
test al, 0x40
jne 0x1008ec03
movzx ecx, word [edi + 0x1de]
xor edx, edx
cmp word [esi + 0x54], cx
setl dl
xor eax, eax
cmp word [ebx + 0x54], cx
setl al
cmp eax, edx
jne 0x1008ec03
mov eax, 0xffffffff
mov word [edi + 0x1ce], ax
movss xmm0, dword [ebp + 0xbc]
comiss xmm0, xmm1
jbe 0x1008ec63
movss xmm0, dword [ebp + 0xc8]
comiss xmm0, dword [esp + 0x28]
jbe 0x1008ec63
movzx eax, word [ebx + 0x58]
cmp ax, 0xffff
je 0x1008ec63
cwde
imul esi, eax, 0x70
add esi, dword [edi + 0x10]
je 0x1008ec63
mov eax, dword [ebx]
or eax, dword [esi]
test al, 0x40
jne 0x1008ec63
movzx ecx, word [edi + 0x1de]
xor edx, edx
cmp word [esi + 0x54], cx
setl dl
xor eax, eax
cmp word [ebx + 0x54], cx
setl al
cmp eax, edx
jne 0x1008ec63
mov eax, 1
mov word [edi + 0x1ce], ax
test byte [edi + 4], 8
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [esp + 0x2c]
subss xmm0, dword [esp + 0x30]
movaps xmm1, xmm0
maxss xmm1, dword [esp + 0x58]
movss dword [esp + 0x28], xmm1
je 0x1008ef19
test dword [ebx], 0x200
jne 0x1008ef19
movzx eax, word [ebx + 0x5a]
cmp ax, 0xffff
je 0x1008ed89
movss xmm1, dword [esp + 0x18]
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x18], xmm1
test ax, ax
jle 0x1008ed32
push ecx
mov dword [esp], 0x3f333333
push 0
call fcn.10014360
push eax
push 0
call fcn.100201b0
movss xmm0, dword [esp + 0x28]
lea eax, [esp + 0x30]
addss xmm0, dword [ebp + 0x3904]
push 1
push 0
push eax
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.10021450
push 1
call fcn.1001fa10
movss xmm1, dword [esp + 0x40]
add esp, 0x28
addss xmm1, dword [esp + 0x30]
movss xmm0, dword [esp + 0x38]
mov al, byte [ebx + 0x6d]
push ecx
xor ecx, ecx
mov dword [esp], 0x3f266666
and al, 3
movss dword [esp + 0x48], xmm1
cmp al, 1
movss dword [esp + 0x4c], xmm0
setne cl
add ecx, 2
push ecx
push ecx
mov dword [esp], 0x3f800000
push 0
call fcn.10014360
add esp, 8
push eax
push dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
push dword [esp + 0x54]
push dword [eax + 0x278]
call fcn.10038e10
movss xmm1, dword [esp + 0x40]
add esp, 0x18
cmp byte [esp + 0x11], 0
je 0x1008ef19
movsx eax, word [edi + 0x1cc]
mov edi, dword [esp + 0x14]
cmp eax, edi
je 0x1008ef1d
cmp word [ebx + 0x5a], 0xffff
mov al, byte [ebx + 0x6e]
mov byte [esp + 0x11], al
je 0x1008edfb
mov ah, byte [ebx + 0x6d]
xor ecx, ecx
and ah, 3
nop dword [eax]
lea edx, [ecx + 1]
add cl, cl
shr al, cl
and al, 3
cmp ah, al
je 0x1008eddf
mov al, byte [esp + 0x11]
mov ecx, edx
cmp ecx, 3
jl 0x1008edc0
mov byte [esp + 0x11], 0
jmp 0x1008edfb
movzx ecx, byte [ebx + 0x6d]
mov eax, edx
shr ecx, 2
and ecx, 3
cdq
idiv ecx
mov ch, byte [ebx + 0x6e]
add dl, dl
mov cl, dl
shr ch, cl
mov byte [esp + 0x11], ch
mov eax, dword [0x100b9cac]
mov ebx, 0
mov edi, dword [eax + 0x4d64]
mov edx, dword [edi + 4]
and edx, 0x4000000
neg edx
sbb dl, dl
and dl, byte [ebp + 0xe5]
mov dword [esp + 0x2c], edx
je 0x1008ee4e
mov ebp, dword [edi + 0x40]
test ebp, ebp
jle 0x1008ee4e
mov esi, dword [edi + 0x10]
add esi, 0x5a
movzx ecx, word [esi]
lea esi, [esi + 0x70]
cmp bx, cx
movzx eax, bx
mov edx, ecx
cmovge edx, eax
movzx ebx, dx
sub ebp, 1
jne 0x1008ee31
mov edx, dword [esp + 0x2c]
imul ebp, dword [esp + 0x14], 0x70
add ebp, dword [edi + 0x10]
mov dword [esp + 0x30], ebp
mov cl, byte [ebp + 0x6d]
xor cl, byte [esp + 0x11]
and cl, 3
xor byte [ebp + 0x6d], cl
test byte [esp + 0x11], 3
jne 0x1008ee79
mov ecx, 0xffffffff
mov word [ebp + 0x5a], cx
jmp 0x1008ee91
cmp word [ebp + 0x5a], 0xffff
je 0x1008efdb
test dl, dl
jne 0x1008ee8e
xor eax, eax
mov word [ebp + 0x5a], ax
or ecx, 0xffffffff
cmp dword [edi + 0x40], 0
mov dword [esp + 0x38], 0
jle 0x1008ef07
mov eax, dword [esp + 0x30]
xor ebp, ebp
mov esi, dword [edi + 0x10]
add esi, ebp
cmp esi, eax
je 0x1008eeb6
test dl, dl
jne 0x1008eeb6
mov word [esi + 0x5a], cx
cmp word [esi + 0x5a], 0xffff
je 0x1008eeed
mov bl, byte [esi + 0x6d]
mov eax, 1
movzx edx, bl
mov ecx, edx
shr edx, 4
and ecx, 3
shl eax, cl
test edx, eax
jne 0x1008eee9
mov al, byte [esi + 0x6e]
xor al, bl
and al, 3
xor al, bl
mov byte [esi + 0x6d], al
mov byte [edi + 0x1ed], 1
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
add ebp, 0x70
inc edx
mov ecx, 0xffffffff
cmp edx, dword [edi + 0x40]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x2c]
jl 0x1008eea5
mov ebp, dword [esp + 0x4c]
mov byte [edi + 0x1f2], 1
mov byte [edi + 0x1ed], 1
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x54]
lea eax, [esp + 0x60]
mov esi, dword [esp + 0x34]
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0x3c]
push eax
push ebx
push esi
sub esp, 8
movss dword [esp + 0x60], xmm1
addss xmm0, dword [ebp + 0x38f0]
lea eax, [esp + 0x60]
movss dword [esp + 4], xmm1
movss dword [esp], xmm1
push eax
lea eax, [esp + 0x70]
movss dword [esp + 0x68], xmm0
push eax
mov eax, dword [esp + 0x38]
push dword [eax + 0x278]
call fcn.10021800
movss xmm1, dword [esp + 0x48]
add esp, 0x20
subss xmm1, dword [esp + 0x58]
movss xmm0, dword [esp + 0x60]
comiss xmm0, xmm1
jbe 0x1008efae
cmp byte [esp + 0x13], 0
je 0x1008efae
cmp dword [ebp + 0x4040], 0
jne 0x1008efae
push esi
sub ebx, esi
push ebx
push str._.s
call fcn.100239b0
add esp, 0xc
push 1
call fcn.10018b50
add esp, 4
test al, al
je 0x1008efd3
push 0
call fcn.10018230
add esp, 4
test al, al
je 0x1008efd3
push edi
call fcn.1008ffb0
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x68
ret
test dl, dl
je 0x1008ee88
lea eax, [ebx + 1]
movzx eax, ax
jmp 0x1008ee8a