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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x10120140]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [0x10147614]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
xor esi, esi
mov byte [esp + 0xc], 0
push 0x1008e2c0
push 3
lea ecx, [esp + 0x40]
mov byte [edi + 0x67], 0
lea edx, [esi + 0xc]
call fcn.10046250
mov edx, dword [edi]
xor eax, eax
mov dword [esp + 8], eax
test edx, edx
jle 0x1008e8f2
nop
push eax
mov ecx, edi
call fcn.10073790
mov edx, eax
mov ecx, dword [edx + 8]
cmp ecx, dword [edi + 0x24]
jl 0x1008e8b5
cmp byte [edx + 0x28], 0
jne 0x1008e8b5
mov eax, dword [esp + 8]
cmp esi, eax
je 0x1008e854
push eax
mov ecx, edi
call fcn.10073790
push esi
movups xmm0, xmmword [eax]
mov edx, dword [eax + 0x28]
movups xmm1, xmmword [eax + 0x10]
movq xmm2, qword [eax + 0x20]
call fcn.10073790
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm1
movq qword [eax + 0x20], xmm2
mov dword [eax + 0x28], edx
push esi
mov ecx, edi
call fcn.10073790
mov ecx, eax
mov word [eax + 0x26], si
call fcn.1008e340
mov edx, eax
test esi, esi
jle 0x1008e8ab
lea ecx, [esi - 1]
push ecx
mov ecx, edi
call fcn.10073790
mov ecx, eax
call fcn.1008e340
mov ecx, eax
test edx, edx
jne 0x1008e891
test ecx, ecx
je 0x1008e8ab
mov al, 1
mov dword [esp + 0xc], eax
jmp 0x1008e895
mov eax, dword [esp + 0xc]
cmp ecx, 2
jne 0x1008e8ab
cmp edx, ecx
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [esp + 0xc], eax
lea eax, [edx + edx*2]
inc dword [esp + eax*4 + 0x38]
inc esi
jmp 0x1008e8df
mov eax, dword [edi + 0x1c]
cmp eax, dword [edx]
jne 0x1008e8c3
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x14]
cmp eax, dword [edx]
jne 0x1008e8d1
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x18]
cmp eax, dword [edx]
jne 0x1008e8df
mov dword [edi + 0x18], 0
mov eax, dword [esp + 8]
mov edx, dword [edi]
inc eax
mov dword [esp + 8], eax
cmp eax, edx
jl 0x1008e800
cmp edx, esi
je 0x1008e900
push esi
mov ecx, edi
call fcn.100906b0
mov edx, dword [edi]
cmp byte [esp + 0xc], 0
je 0x1008e919
mov ecx, dword [edi + 8]
push 0x1008e360
push 0x2c
call fcn.10085490
add esp, 8
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0x44]
jle 0x1008e93c
mov eax, dword [esp + 0x50]
add eax, ecx
test eax, eax
jle 0x1008e93c
mov eax, dword [esp + 0x10]
movss xmm1, dword [eax + 0x37ec]
jmp 0x1008e943
mov eax, dword [esp + 0x10]
xorps xmm1, xmm1
movss dword [esp + 0x40], xmm1
xorps xmm0, xmm0
test ecx, ecx
jle 0x1008e95f
cmp dword [esp + 0x50], 0
jle 0x1008e95f
movss xmm0, dword [eax + 0x37ec]
mov eax, dword [edi + 0x18]
xor esi, esi
movss dword [esp + 0x4c], xmm0
mov dword [esp + 0xc], esi
test eax, eax
je 0x1008e982
mov esi, eax
mov dword [esp + 0xc], eax
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], 0
cmp dword [edi + 0x60], 0
je 0x1008e9a7
mov ecx, edi
call fcn.1008f2b0
test al, al
je 0x1008e9a0
mov eax, dword [edi + 0x60]
cmp eax, dword [edi + 0x14]
cmove esi, eax
mov dword [esp + 0xc], esi
mov dword [edi + 0x60], 0
mov eax, dword [edi + 0xc]
shr eax, 2
test al, 1
je 0x1008e9c5
mov ecx, edi
call fcn.1008f620
test eax, eax
je 0x1008e9c5
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov dword [edi + 0x14], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
push dword [edi]
add eax, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
add eax, 0x4a4c
mov dword [esp + 0x28], 0
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.100906f0
mov eax, dword [edi]
xor edx, edx
movss xmm5, dword [0x10117148]
xor ecx, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 8], 0xffffffff
mov byte [esp + 0x1c], dl
mov dword [esp + 0x14], ecx
test eax, eax
jle 0x1008eb41
nop
push ecx
mov ecx, edi
call fcn.10073790
mov esi, eax
test edx, edx
je 0x1008ea36
mov ecx, dword [edx + 0xc]
cmp ecx, dword [esi + 0xc]
jge 0x1008ea44
test dword [esi + 4], 0x200000
cmove edx, esi
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x1c]
mov edx, 1
mov ecx, dword [esi]
cmp ecx, dword [edi + 0x14]
movzx eax, al
cmove eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x1008ea75
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x47c8], ecx
cmove eax, ecx
mov dword [esp + 0xc], eax
mov edx, esi
mov ecx, edi
call fcn.1008f050
mov ecx, dword [esi + 4]
xorps xmm0, xmm0
movss xmm1, dword [esi + 0x1c]
and ecx, 0x100001
cmp ecx, 0x100000
setne cl
comiss xmm1, xmm0
jae 0x1008eabb
push ecx
mov edx, eax
lea ecx, [esp + 0x34]
call fcn.1008ff60
movss xmm5, dword [0x10117148]
add esp, 4
xorps xmm0, xmm0
movss xmm1, dword [eax]
mov ecx, esi
movss dword [esi + 0x18], xmm1
call fcn.1008e340
mov edx, eax
lea ecx, [edx + edx*2]
cmp edx, dword [esp + 8]
jne 0x1008eade
mov eax, dword [esp + 0x10]
movss xmm0, dword [eax + 0x37ec]
addss xmm1, xmm0
mov dword [esp + 8], edx
addss xmm1, dword [esp + ecx*4 + 0x3c]
movss dword [esp + ecx*4 + 0x3c], xmm1
mov ecx, dword [esp + edx*4 + 0x24]
push ecx
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x1c]
mov dword [esp + edx*4 + 0x28], eax
call fcn.10090720
mov ecx, dword [esp + 0x14]
movaps xmm1, xmm5
mov dword [eax], ecx
movss xmm0, dword [esi + 0x18]
movss dword [eax + 8], xmm0
movss dword [eax + 4], xmm0
movss xmm0, dword [esi + 0x18]
call fcn.10074900
mov edx, dword [esp + 0x20]
inc ecx
movss dword [esi + 0x14], xmm0
mov eax, dword [edi]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x1008ea20
movss xmm1, dword [esp + 0x3c]
lea ecx, [edi + 0x28]
addss xmm1, dword [esp + 0x40]
movss xmm0, dword [esp + 0x48]
xorps xmm3, xmm3
addss xmm0, dword [esp + 0x4c]
addss xmm1, xmm3
addss xmm1, xmm0
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [esp + 0x58]
addss xmm1, xmm0
movss dword [edi + 0x44], xmm1
call fcn.1005fd20
comiss xmm1, xmm0
jbe 0x1008ebbb
cmp eax, 1
jle 0x1008ebbb
mov eax, dword [edi + 0xc]
test al, 0x10
jne 0x1008ebbb
test al, al
jns 0x1008ebbb
mov ecx, edi
call fcn.1008f3a0
movss xmm5, dword [0x10117148]
test eax, eax
je 0x1008ebbb
test dword [eax + 4], 0x200000
mov esi, dword [eax]
mov dword [esp + 0xc], esi
jne 0x1008ebbb
mov dword [edi + 0x14], esi
movss xmm4, dword [esp + 0x54]
lea ecx, [edi + 0x28]
movss xmm1, dword [esp + 0x3c]
addss xmm4, dword [esp + 0x58]
addss xmm1, dword [esp + 0x40]
movaps xmm2, xmm4
addss xmm2, xmm1
call fcn.1005fd20
comiss xmm0, xmm2
lea ecx, [edi + 0x28]
seta al
test al, al
je 0x1008ec1c
movss xmm2, dword [esp + 0x48]
addss xmm2, dword [esp + 0x4c]
call fcn.1005fd20
subss xmm0, xmm1
xorps xmm1, xmm1
subss xmm0, xmm4
subss xmm2, xmm0
movaps xmm0, xmm2
call fcn.10074900
movaps xmm2, xmm0
jmp 0x1008ec25
call fcn.1005fd20
subss xmm2, xmm0
comiss xmm2, xmm5
jb 0x1008ed1a
test byte [edi + 0xc], 0x40
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x38]
jne 0x1008ec53
test al, al
jne 0x1008ed1a
lea edx, [ecx + esi]
mov dword [esp + 8], edx
test al, al
je 0x1008ec63
add esi, ecx
jmp 0x1008ec69
test al, al
je 0x1008ec44
mov edx, dword [esp + 0x44]
add esi, ecx
mov dword [esp + 8], edx
jmp 0x1008ec69
xor esi, esi
mov dword [esp + 8], edx
mov eax, dword [esp + 0x10]
lea ecx, [esi + esi*2]
mov eax, dword [eax + 0x4a54]
lea ecx, [eax + ecx*4]
call fcn.10087ed0
mov eax, dword [esp + 8]
xorps xmm4, xmm4
add eax, esi
mov dword [esp + 8], eax
cmp esi, eax
jge 0x1008ed1d
mov eax, dword [esp + 0x10]
movss xmm3, dword [0x10117148]
add eax, 0x4a4c
mov dword [esp + 0x14], eax
push esi
mov ecx, eax
call fcn.10090720
mov ecx, edi
push dword [eax]
call fcn.10073790
mov ecx, dword [esp + 0x14]
push esi
mov dword [esp + 0x1c], eax
call fcn.10090720
cvttss2si ecx, dword [eax + 4]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm4, xmm1
ja 0x1008ed0d
movaps xmm0, xmm3
call fcn.10074900
mov ecx, dword [esp + 0x18]
movaps xmm2, xmm0
call fcn.1008e340
movss xmm1, dword [ecx + 0x14]
subss xmm1, xmm2
lea eax, [eax + eax*2]
movss xmm0, dword [esp + eax*4 + 0x3c]
subss xmm0, xmm1
movss dword [esp + eax*4 + 0x3c], xmm0
movss dword [ecx + 0x14], xmm2
mov eax, dword [esp + 0x14]
inc esi
cmp esi, dword [esp + 8]
jl 0x1008eca8
jmp 0x1008ed1d
xorps xmm4, xmm4
xor ecx, ecx
lea edx, [edi + 0x28]
xor eax, eax
mov dword [esp + 8], ecx
movaps xmm3, xmm4
mov dword [edi + 0x40], ecx
mov dword [esp + 0x18], eax
lea esi, [eax + eax*2]
mov dword [esp + 0x14], esi
cmp eax, 2
jne 0x1008ed65
mov ecx, edx
call fcn.1005fd20
subss xmm0, dword [esp + esi*4 + 0x3c]
movaps xmm1, xmm0
movaps xmm0, xmm4
call fcn.10074900
movaps xmm1, xmm3
call fcn.100748f0
mov ecx, dword [esp + 8]
movaps xmm3, xmm0
mov eax, dword [esp + esi*4 + 0x38]
xor edx, edx
test eax, eax
jle 0x1008edb8
nop
lea eax, [edx + ecx]
mov ecx, edi
push eax
call fcn.10073790
mov esi, eax
mov eax, dword [esp + 0x14]
movss dword [esi + 0x10], xmm3
mov eax, dword [esp + eax*4 + 0x38]
lea ecx, [eax - 1]
cmp edx, ecx
jge 0x1008ed9f
mov ecx, dword [esp + 0x10]
movss xmm0, dword [ecx + 0x37ec]
jmp 0x1008eda2
movaps xmm0, xmm4
addss xmm0, dword [esi + 0x14]
mov ecx, dword [esp + 8]
inc edx
addss xmm3, xmm0
cmp edx, eax
jl 0x1008ed70
mov esi, dword [esp + 0x14]
movss xmm2, dword [esp + esi*4 + 0x40]
movaps xmm1, xmm4
movaps xmm0, xmm2
addss xmm0, dword [esp + esi*4 + 0x3c]
call fcn.10074900
addss xmm0, dword [edi + 0x40]
add ecx, eax
addss xmm3, xmm2
mov eax, dword [esp + 0x18]
lea edx, [edi + 0x28]
inc eax
mov dword [esp + 8], ecx
mov dword [esp + 0x18], eax
movss dword [edi + 0x40], xmm0
cmp eax, 3
jl 0x1008ed32
cmp byte [esp + 0x1c], 0
jne 0x1008ee06
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x14]
mov ecx, eax
test eax, eax
jne 0x1008ee25
cmp dword [edi + 0x18], eax
jne 0x1008ee25
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1008ee25
mov eax, dword [eax]
mov ecx, eax
mov dword [edi + 0x14], eax
jmp 0x1008ee29
mov eax, dword [esp + 0xc]
mov dword [edi + 0x1c], ecx
mov byte [edi + 0x68], 0
test eax, eax
je 0x1008ee45
lea ecx, [esp + 0x38]
mov edx, eax
push ecx
mov ecx, edi
call fcn.1008f090
add esp, 4
movss xmm1, dword [edi + 0x48]
mov ecx, edi
call fcn.1008f060
movss xmm1, dword [edi + 0x4c]
movaps xmm5, xmm0
mov ecx, edi
movss dword [edi + 0x48], xmm5
call fcn.1008f060
movaps xmm4, xmm0
ucomiss xmm5, xmm4
movss dword [edi + 0x4c], xmm4
lahf
test ah, 0x44
jnp 0x1008eefc
subss xmm0, xmm5
call fcn.1005f8e0
mov esi, dword [esp + 0x10]
movaps xmm2, xmm0
movss xmm0, dword [edi + 0x54]
divss xmm2, dword [0x1011709c]
movss xmm1, dword [esi + 0x3bb4]
mulss xmm1, dword [0x1011724c]
call fcn.10074900
movaps xmm1, xmm2
call fcn.10074900
mov eax, dword [edi + 0x24]
inc eax
movss dword [edi + 0x54], xmm0
cmp eax, dword [esi + 0x3dc8]
jl 0x1008eef5
movss xmm3, dword [esi + 0x3bb4]
mulss xmm3, dword [0x101171bc]
movss xmm1, dword [edi + 0x50]
comiss xmm1, xmm3
ja 0x1008eef5
mulss xmm0, dword [esi + 0x18]
movaps xmm1, xmm4
movaps xmm2, xmm0
movaps xmm0, xmm5
call fcn.100854b0
movaps xmm4, xmm0
movss dword [edi + 0x48], xmm4
jmp 0x1008ef07
mov esi, dword [esp + 0x10]
mov dword [edi + 0x54], 0
test dword [edi + 0xc], 0x100000
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [edi + 0x28]
addss xmm0, dword [esp + 0x40]
movss dword [edi + 0x58], xmm0
movss xmm0, dword [edi + 0x30]
subss xmm0, dword [esp + 0x54]
subss xmm0, dword [esp + 0x4c]
movss dword [edi + 0x5c], xmm0
jne 0x1008ef49
push 0
lea ecx, [edi + 0x84]
call fcn.10074360
mov esi, dword [esi + 0x3e28]
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
mov dword [esi + 0xf0], ecx
lea ecx, [edi + 0x28]
mov dword [esi + 0xec], eax
call fcn.1005fd30
movss xmm1, dword [edi + 0x40]
lea ecx, [esp + 0x30]
movaps xmm2, xmm0
call fcn.1005f470
movss xmm1, dword [edi + 0x78]
mov ecx, eax
call fcn.1006d600
movss xmm1, dword [edi + 0x44]
addss xmm1, dword [edi + 0x28]
movss xmm0, dword [esi + 0x10c]
call fcn.10074900
mov ecx, dword [esp + 0x5c]
pop edi
movss dword [esi + 0x10c], xmm0
pop esi
xor ecx, esp
call fcn.100c0eca
mov esp, ebp
pop ebp
ret