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

Disassembly:
sub esp, 0x88
mov eax, dword [0x100b9b80]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
mov esi, dword [0x100b9cac]
xor ecx, ecx
push edi
mov edi, dword [esp + 0x94]
xorps xmm0, xmm0
mov dword [esp + 0x24], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ecx
mov eax, dword [edi]
mov byte [edi + 0x6f], 0
mov byte [esp + 0x34], cl
mov dword [esp + 0x88], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], 1
movups xmmword [esp + 0x68], xmm0
movups xmmword [esp + 0x78], xmm0
test eax, eax
jle 0x10082a81
xor esi, esi
xor edx, edx
nop word [eax + eax]
mov ecx, dword [edi + 8]
mov eax, dword [ecx + edx + 8]
cmp eax, dword [edi + 0x24]
jl 0x10082a39
cmp byte [ecx + edx + 0x28], 0
jne 0x10082a39
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x50], eax
je 0x100829bb
movups xmm0, xmmword [ecx + edx]
movups xmmword [ecx + esi], xmm0
movups xmm0, xmmword [ecx + edx + 0x10]
movups xmmword [ecx + esi + 0x10], xmm0
movq xmm0, qword [ecx + edx + 0x20]
movq qword [ecx + esi + 0x20], xmm0
mov eax, dword [ecx + edx + 0x28]
mov dword [ecx + esi + 0x28], eax
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x50]
mov word [eax + esi + 0x26], cx
mov eax, dword [eax + esi + 4]
test al, 0x40
je 0x100829d3
xor ecx, ecx
jmp 0x100829de
test al, 0x80
mov ecx, 0
setne cl
inc ecx
cmp dword [esp + 0x50], 0
jle 0x10082a24
mov eax, dword [edi + 8]
mov eax, dword [eax + esi - 0x28]
test al, 0x40
je 0x100829f4
xor eax, eax
jmp 0x100829ff
test al, 0x80
mov eax, 0
setne al
inc eax
test ecx, ecx
jne 0x10082a0c
test eax, eax
je 0x10082a24
mov byte [esp + 0x34], 1
cmp eax, 2
jne 0x10082a24
mov eax, dword [esp + 0x34]
cmp ecx, 2
movzx eax, al
cmovne eax, dword [esp + 0x40]
mov dword [esp + 0x34], eax
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x50]
inc dword [esp + eax*4 + 0x68]
inc ecx
mov dword [esp + 0x50], ecx
add esi, 0x2c
jmp 0x10082a6a
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx + edx]
jne 0x10082a48
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x14]
cmp eax, dword [ecx + edx]
jne 0x10082a57
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x18]
cmp eax, dword [ecx + edx]
mov ecx, dword [esp + 0x50]
jne 0x10082a6a
mov dword [edi + 0x18], 0
inc dword [esp + 0x44]
add edx, 0x2c
mov eax, dword [edi]
cmp dword [esp + 0x44], eax
jl 0x10082970
mov esi, dword [esp + 0x54]
cmp eax, ecx
je 0x10082afc
mov eax, dword [edi + 4]
cmp ecx, eax
jle 0x10082af8
test eax, eax
je 0x10082a9c
cdq
sub eax, edx
mov edx, dword [edi + 4]
sar eax, 1
add eax, edx
jmp 0x10082aa4
mov edx, dword [edi + 4]
mov eax, 8
cmp eax, ecx
mov esi, ecx
cmovg esi, eax
mov eax, esi
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x54]
cmp eax, edx
jle 0x10082af8
imul eax, eax, 0x2c
push eax
call fcn.1001a110
mov edx, dword [edi + 8]
add esp, 4
mov dword [esp + 0x4c], eax
test edx, edx
je 0x10082aea
imul ecx, dword [edi], 0x2c
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + 8]
call fcn.1001a150
mov eax, dword [esp + 0x5c]
add esp, 0x10
mov ecx, dword [esp + 0x50]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov eax, ecx
cmp byte [esp + 0x34], 0
je 0x10082b1c
cmp eax, 1
jbe 0x10082b1c
push 0x10083f90
push 0x2c
push eax
push dword [edi + 8]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x10
mov edx, dword [esp + 0x68]
test edx, edx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x34], ecx
jle 0x10082b44
lea eax, [ecx + edx]
test eax, eax
jle 0x10082b44
movss xmm1, dword [esi + 0x3904]
jmp 0x10082b47
xorps xmm1, xmm1
movss dword [esp + 0x44], xmm1
xorps xmm0, xmm0
movss dword [esp + 0x70], xmm1
test ecx, ecx
jle 0x10082b66
test edx, edx
jle 0x10082b66
movss xmm0, dword [esi + 0x3904]
xor eax, eax
movss dword [esp + 0x28], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x18]
movss dword [esp + 0x7c], xmm0
test eax, eax
je 0x10082b8d
mov dword [esp + 0x50], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov ecx, dword [edi + 0x68]
test ecx, ecx
je 0x10082cc2
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x10082cbb
mov esi, dword [edi + 8]
cmp dword [esi], ecx
je 0x10082bb8
inc eax
add esi, 0x2c
cmp eax, edx
jl 0x10082ba7
jmp 0x10082cbb
test esi, esi
je 0x10082cbb
test byte [esi + 4], 0x20
jne 0x10082cbb
movzx eax, word [edi + 0x6c]
mov ecx, esi
sub ecx, dword [edi + 8]
mov dword [esp + 0x38], eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movzx edx, word [edi + 0x6c]
movsx eax, dx
add ecx, eax
js 0x10082cbb
cmp ecx, dword [edi]
jge 0x10082cbb
imul eax, ecx, 0x2c
add eax, dword [edi + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x4c], ecx
test cl, 0x20
jne 0x10082cbb
mov ecx, dword [esi + 4]
xor ecx, dword [esp + 0x4c]
test cl, 0xc0
jne 0x10082cbb
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x4c], ecx
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [esp + 8], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [esp + 0x18], xmm0
test dx, dx
jle 0x10082c5b
mov eax, dword [esp + 0x38]
lea ecx, [esi + 0x2c]
cwde
jmp 0x10082c67
mov ecx, eax
lea esi, [eax + 0x2c]
mov eax, dword [esp + 0x38]
cwde
neg eax
imul eax, eax, 0x2c
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x3c]
add esp, 0xc
movups xmm0, xmmword [esp + 0x58]
mov ecx, dword [esp + 0x4c]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 8]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x18]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], ecx
test dword [edi + 0xc], 0x400000
je 0x10082caa
call fcn.1001a0c0
mov eax, dword [edi + 0x68]
mov ecx, dword [esp + 0x50]
cmp eax, dword [edi + 0x14]
cmove ecx, eax
mov dword [esp + 0x50], ecx
mov dword [edi + 0x68], 0
mov eax, dword [edi + 0xc]
shr eax, 2
test al, 1
je 0x10082e68
mov eax, dword [0x100b9cac]
mov esi, dword [eax + 0x3fec]
movss xmm0, dword [eax + 0x38f0]
movaps xmm2, xmm0
mov dword [esp + 0x4c], esi
addss xmm2, dword [eax + 0x3d38]
movss xmm1, dword [esi + 0x100]
movss dword [esp + 0x20], xmm1
movss xmm1, dword [esi + 0x104]
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x2c]
movss dword [esi + 0x104], xmm0
movss dword [esi + 0x100], xmm1
addss xmm2, dword [edi + 0x28]
movss dword [edi + 0x28], xmm2
movups xmm0, xmmword [eax + 0x39a0]
lea eax, [esp + 0x58]
push eax
movups xmmword [esp + 0x5c], xmm0
push 0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [0x1009b440]
movss dword [esp + 0x6c], xmm0
call fcn.10020160
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
push 0x15
movups xmmword [esp + 0x18], xmm0
call fcn.10020160
push 0x50
push 0
push 0x100a5620
call fcn.1006e1d0
push 2
mov byte [esp + 0x4f], al
call fcn.1001fa10
xor ecx, ecx
add esp, 0x20
mov dword [esp + 0x48], ecx
cmp byte [esp + 0x2f], cl
je 0x10082e3f
mov dword [esp + 0x38], ecx
cmp dword [edi], ecx
jle 0x10082e26
xor eax, eax
mov dword [esp + 0x30], eax
nop
mov esi, dword [edi + 8]
add esi, eax
test dword [esi + 4], 0x200000
jne 0x10082e16
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
jne 0x10082dcd
mov ecx, 0x100989c0
jmp 0x10082dd5
mov ecx, dword [edi + 0x94]
add ecx, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
mov eax, dword [edi + 0x14]
cmp eax, dword [esi]
push 0
sete al
mov dword [esp + 0x24], 0
movzx eax, al
push eax
push ecx
call fcn.10080bc0
mov ecx, dword [esp + 0x58]
add esp, 0x10
test al, al
mov eax, dword [esp + 0x30]
cmovne ecx, esi
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x38]
inc ecx
add eax, 0x2c
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], eax
cmp ecx, dword [edi]
jl 0x10082db0
mov esi, dword [0x100b9cac]
call fcn.100131d0
dec dword [esi + 0x5db0]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
movss xmm0, dword [esp + 0x20]
movss dword [esi + 0x100], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esi + 0x104], xmm0
test ecx, ecx
je 0x10082e68
mov eax, dword [ecx]
mov dword [esp + 0x50], eax
mov dword [edi + 0x14], eax
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x80]
mov esi, dword [edi]
add eax, ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [edx + 0x4de8]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x48], esi
cmp esi, ecx
jle 0x10082f21
test ecx, ecx
je 0x10082eb0
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x54]
sar eax, 1
add eax, ecx
jmp 0x10082eb5
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x10082f1d
lea eax, [esi + esi*2]
shl eax, 2
push eax
call fcn.1001a110
mov edx, dword [esp + 0x58]
add esp, 4
mov dword [esp + 0x3c], eax
cmp dword [edx + 0x4dec], 0
je 0x10082f11
mov ecx, dword [edx + 0x4de4]
lea ecx, [ecx + ecx*2]
shl ecx, 2
push ecx
push dword [edx + 0x4dec]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x60]
push dword [eax + 0x4dec]
call fcn.1001a150
mov edx, dword [esp + 0x64]
add esp, 0x10
mov eax, dword [esp + 0x3c]
mov dword [edx + 0x4dec], eax
mov dword [edx + 0x4de8], esi
mov esi, dword [esp + 0x48]
movss xmm5, dword [0x1009b468]
xor ecx, ecx
mov dword [edx + 0x4de4], esi
mov eax, dword [edi]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x4c], 0xffffffff
mov byte [esp + 0x30], cl
mov dword [esp + 0x48], ecx
test eax, eax
jle 0x10083124
xor eax, eax
mov dword [esp + 0x44], eax
jmp 0x10082f5b
mov eax, dword [esp + 0x44]
mov esi, dword [edi + 8]
add esi, eax
test ecx, ecx
je 0x10082f6c
mov eax, dword [ecx + 0xc]
cmp eax, dword [esi + 0xc]
jge 0x10082f7a
test dword [esi + 4], 0x200000
cmove ecx, esi
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
cmp eax, dword [edi + 0x14]
movzx ecx, cl
cmove ecx, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x10082fa4
cmp dword [edx + 0x4c6c], eax
cmove ecx, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x20]
cmp ecx, 0xffffffff
jne 0x10082fb3
mov eax, 0x100989c0
jmp 0x10082fbb
mov eax, dword [edi + 0x94]
add eax, ecx
mov ecx, dword [esi + 4]
xorps xmm0, xmm0
movss xmm1, dword [esi + 0x1c]
and ecx, 0x100001
comiss xmm1, xmm0
mov dword [esp + 0x20], ecx
jae 0x10083062
mov ecx, dword [0x100b9cac]
push ecx
mov dword [esp], 0xbf800000
push 1
push 0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x4c], ecx
push eax
call fcn.1000cf20
mov eax, dword [esp + 0x50]
add esp, 0x14
cmp dword [esp + 0x20], 0x100000
movss xmm0, dword [esp + 0x18]
movss xmm5, dword [0x1009b468]
movss xmm2, dword [eax + 0x38ec]
addss xmm0, xmm2
je 0x1008303b
movss xmm1, dword [eax + 0x3904]
addss xmm1, dword [eax + 0x3d38]
addss xmm1, xmm2
jmp 0x10083042
movaps xmm1, xmm2
addss xmm1, xmm5
mov eax, dword [0x100b9cac]
addss xmm1, xmm0
movss xmm0, dword [eax + 0x3d38]
mulss xmm0, dword [0x1009b4c8]
minss xmm1, xmm0
xorps xmm0, xmm0
mov eax, dword [esi + 4]
movss dword [esi + 0x18], xmm1
test al, 0x40
je 0x10083072
xor edx, edx
jmp 0x1008307d
test al, 0x80
mov edx, 0
setne dl
inc edx
lea eax, [edx + edx*2]
cmp edx, dword [esp + 0x4c]
jne 0x10083092
mov ecx, dword [esp + 0x54]
movss xmm0, dword [ecx + 0x3904]
mov ecx, dword [esp + edx*4 + 0x5c]
addss xmm1, xmm0
mov edi, dword [esp + 0x48]
add dword [esp + 0x44], 0x2c
mov dword [esp + 0x4c], edx
addss xmm1, dword [esp + eax*4 + 0x6c]
movss dword [esp + eax*4 + 0x6c], xmm1
lea eax, [ecx + 1]
mov dword [esp + edx*4 + 0x5c], eax
lea ecx, [ecx + ecx*2]
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x4dec]
mov dword [eax + ecx*4], edi
movss xmm0, dword [esi + 0x18]
movss dword [eax + ecx*4 + 8], xmm0
movss dword [eax + ecx*4 + 4], xmm0
mov ecx, edi
movss xmm0, dword [esi + 0x18]
inc ecx
mov edi, dword [esp + 0x24]
maxss xmm0, xmm5
mov dword [esp + 0x48], ecx
movss dword [esi + 0x14], xmm0
mov eax, dword [edi]
cmp ecx, eax
mov ecx, dword [esp + 0x38]
jl 0x10082f57
movss xmm0, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x70]
mov dword [esp + 0x34], esi
movss dword [esp + 0x44], xmm0
jmp 0x10083128
mov esi, dword [esp + 0x74]
movss xmm0, dword [esp + 0x6c]
xorps xmm2, xmm2
movss xmm1, dword [esp + 0x84]
addss xmm1, dword [esp + 0x88]
addss xmm0, dword [esp + 0x44]
movss xmm3, dword [esp + 0x78]
addss xmm3, dword [esp + 0x28]
movss dword [esp + 0x40], xmm1
movaps xmm1, xmm0
movss dword [esp + 0x3c], xmm0
addss xmm1, xmm2
movss dword [esp + 0x48], xmm3
addss xmm1, xmm3
addss xmm1, dword [esp + 0x40]
movss dword [edi + 0x44], xmm1
movss xmm0, dword [edi + 0x30]
subss xmm0, dword [edi + 0x28]
comiss xmm1, xmm0
jbe 0x100831d1
cmp eax, 1
jle 0x100831d1
mov eax, dword [edi + 0xc]
test al, 0x10
jne 0x100831d1
test eax, 0x100
je 0x100831d1
push edi
call fcn.10083990
movss xmm3, dword [esp + 0x4c]
mov ecx, eax
movss xmm5, dword [0x1009b468]
add esp, 4
xorps xmm2, xmm2
test ecx, ecx
je 0x100831d1
test dword [ecx + 4], 0x200000
mov eax, dword [ecx]
mov dword [esp + 0x50], eax
jne 0x100831d1
mov dword [edi + 0x14], eax
movss xmm1, dword [esp + 0x40]
movss xmm4, dword [esp + 0x3c]
movss xmm0, dword [edi + 0x30]
addss xmm1, xmm4
subss xmm0, dword [edi + 0x28]
comiss xmm0, xmm1
seta cl
test cl, cl
je 0x10083209
subss xmm0, xmm4
subss xmm0, dword [esp + 0x40]
subss xmm3, xmm0
maxss xmm3, xmm2
jmp 0x10083210
movaps xmm3, xmm1
subss xmm3, xmm0
comiss xmm3, xmm5
jb 0x10083335
test byte [edi + 0xc], 0x80
jne 0x1008324b
test cl, cl
jne 0x10083335
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x68]
add esi, edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], esi
test cl, cl
je 0x10083262
mov eax, dword [esp + 0x80]
add eax, edx
jmp 0x10083268
test cl, cl
je 0x10083227
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x68]
add eax, edx
mov dword [esp + 0x40], esi
jmp 0x10083268
xor eax, eax
mov dword [esp + 0x34], esi
lea esi, [eax + eax*2]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
push ecx
movss dword [esp], xmm3
push dword [esp + 0x38]
mov eax, dword [eax + 0x4dec]
shl esi, 2
add eax, esi
push eax
call fcn.10081b50
mov eax, dword [esp + 0x40]
add esp, 0xc
add eax, dword [esp + 0x4c]
xorps xmm3, xmm3
cmp dword [esp + 0x4c], eax
jge 0x10083338
movss xmm4, dword [0x1009b468]
nop
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x4dec]
imul ecx, dword [eax + esi], 0x2c
cvttss2si eax, dword [eax + esi + 4]
add ecx, dword [edi + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm3, xmm0
ja 0x10083311
mov eax, dword [ecx + 4]
movaps xmm2, xmm4
maxss xmm2, xmm0
test al, 0x40
je 0x100832e5
xor eax, eax
jmp 0x100832f0
test al, 0x80
mov eax, 0
setne al
inc eax
movss xmm1, dword [ecx + 0x14]
lea eax, [eax + eax*2]
movss xmm0, dword [esp + eax*4 + 0x6c]
subss xmm1, xmm2
movss dword [ecx + 0x14], xmm2
subss xmm0, xmm1
movss dword [esp + eax*4 + 0x6c], xmm0
add esi, 0xc
sub dword [esp + 0x40], 1
jne 0x100832b0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x44], xmm0
jmp 0x10083338
xorps xmm3, xmm3
xor eax, eax
mov dword [esp + 0x40], 0
movaps xmm2, xmm3
mov dword [edi + 0x40], 0
mov dword [esp + 0x4c], eax
lea edx, [eax + eax*2]
mov dword [esp + 0x20], edx
cmp eax, 2
jne 0x1008337a
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm3
subss xmm1, dword [edi + 0x28]
subss xmm1, dword [esp + edx*4 + 0x6c]
maxss xmm0, xmm1
minss xmm0, xmm2
movaps xmm2, xmm0
mov esi, dword [esp + edx*4 + 0x68]
xor ecx, ecx
test esi, esi
jle 0x100833d6
imul edx, dword [esp + 0x40], 0x2c
lea eax, [esi - 1]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 8]
movss dword [eax + edx + 0x10], xmm2
mov dword [eax + edx + 0x20], 0xffffffff
cmp ecx, dword [esp + 0x3c]
jge 0x100833b9
mov edi, dword [esp + 0x54]
movss xmm0, dword [edi + 0x3904]
mov edi, dword [esp + 0x24]
jmp 0x100833bc
movaps xmm0, xmm3
addss xmm0, dword [eax + edx + 0x14]
inc ecx
add edx, 0x2c
addss xmm2, xmm0
cmp ecx, esi
jl 0x10083390
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
movss xmm1, dword [esp + edx*4 + 0x70]
inc eax
mov ecx, dword [esp + 0x40]
addss xmm2, xmm1
add ecx, dword [esp + edx*4 + 0x68]
movaps xmm0, xmm1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], eax
addss xmm0, dword [esp + edx*4 + 0x6c]
maxss xmm0, xmm3
addss xmm0, dword [edi + 0x40]
movss dword [edi + 0x40], xmm0
cmp eax, 3
jl 0x10083350
push 0
lea ecx, [edi + 0x8c]
call fcn.1002de70
cmp byte [esp + 0x30], 0
jne 0x1008342c
mov dword [edi + 0x14], 0
mov ecx, dword [edi + 0x14]
mov eax, ecx
test ecx, ecx
jne 0x1008344b
cmp dword [edi + 0x18], ecx
jne 0x1008344b
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1008344b
mov ecx, dword [ecx]
mov eax, ecx
mov dword [edi + 0x14], ecx
jmp 0x1008344f
mov ecx, dword [esp + 0x50]
mov dword [edi + 0x1c], eax
mov byte [edi + 0x70], 0
test ecx, ecx
je 0x10083678
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x10083480
mov esi, dword [edi + 8]
nop dword [eax]
cmp dword [esi], ecx
je 0x1008356e
inc eax
add esi, 0x2c
cmp eax, edx
jl 0x10083470
movss xmm7, dword [esp + 0x6c]
mov esi, dword [esp + 0x54]
movss xmm5, dword [edi + 0x28]
movss xmm0, dword [edi + 0x30]
movss xmm2, dword [edi + 0x40]
subss xmm0, xmm5
movss xmm3, dword [edi + 0x48]
movaps xmm1, xmm2
movss xmm4, dword [edi + 0x4c]
subss xmm1, xmm0
minss xmm3, xmm1
xorps xmm1, xmm1
maxss xmm3, xmm1
movss dword [edi + 0x48], xmm3
movss xmm6, dword [edi + 0x30]
movaps xmm0, xmm6
subss xmm0, xmm5
subss xmm2, xmm0
minss xmm4, xmm2
maxss xmm4, xmm1
ucomiss xmm3, xmm4
movss dword [edi + 0x4c], xmm4
lahf
test ah, 0x44
jnp 0x100837b6
movss xmm0, dword [esi + 0x3d38]
mulss xmm0, dword [0x100b1064]
mov eax, dword [edi + 0x24]
movss xmm2, dword [edi + 0x54]
inc eax
maxss xmm2, xmm0
movaps xmm0, xmm4
subss xmm0, xmm3
andps xmm0, xmmword [0x1009b5a0]
divss xmm0, dword [0x1009b42c]
maxss xmm2, xmm0
movss dword [edi + 0x54], xmm2
cmp eax, dword [esi + 0x3f58]
jl 0x100837ac
movss xmm1, dword [esi + 0x3d38]
mulss xmm1, dword [0x1009b4b8]
movss xmm0, dword [edi + 0x50]
comiss xmm0, xmm1
ja 0x100837ac
comiss xmm4, xmm3
mulss xmm2, dword [esi + 0x18]
jbe 0x10083795
addss xmm2, xmm3
minss xmm2, xmm4
movss dword [edi + 0x48], xmm2
jmp 0x100837bd
test esi, esi
je 0x10083480
test byte [esi + 4], 0xc0
movss xmm7, dword [esp + 0x6c]
jne 0x10083486
mov ecx, dword [0x100b9cac]
mov eax, 0x2e8ba2e9
movss xmm4, dword [edi + 0x30]
xorps xmm3, xmm3
subss xmm4, dword [edi + 0x28]
movss xmm0, dword [ecx + 0x3d38]
mov ecx, esi
sub ecx, dword [edi + 8]
imul ecx
subss xmm4, xmm7
mov eax, dword [esp + 0x68]
subss xmm4, dword [esp + 0x84]
sar edx, 3
dec eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x3c], ecx
subss xmm4, dword [esp + 0x28]
cmp ecx, eax
jle 0x100835e3
movaps xmm1, xmm0
xorps xmm1, xmmword [0x1009b5b0]
jmp 0x100835e6
xorps xmm1, xmm1
movss xmm2, dword [esi + 0x10]
mov ecx, dword [edi]
subss xmm2, xmm7
mov eax, dword [esp + 0x3c]
sub ecx, dword [esp + 0x80]
inc eax
addss xmm1, xmm2
cmp eax, ecx
jl 0x1008360d
movss xmm0, dword [0x1009b468]
addss xmm2, dword [esi + 0x14]
movss xmm5, dword [edi + 0x4c]
comiss xmm5, xmm1
mov dword [edi + 0x50], 0
addss xmm2, xmm0
ja 0x1008365c
movaps xmm0, xmm2
subss xmm0, xmm1
comiss xmm0, xmm4
jae 0x1008365c
subss xmm2, xmm4
comiss xmm2, xmm5
jbe 0x10083486
subss xmm1, xmm4
movss dword [edi + 0x4c], xmm2
subss xmm1, dword [edi + 0x48]
maxss xmm1, xmm3
movss dword [edi + 0x50], xmm1
jmp 0x10083486
movss xmm0, dword [edi + 0x48]
subss xmm0, xmm2
movss dword [edi + 0x4c], xmm1
maxss xmm0, xmm3
movss dword [edi + 0x50], xmm0
jmp 0x10083486
test dword [edi + 0xc], 0x100
je 0x10083786
lea eax, [edi + 0x30]
push 1
push eax
lea eax, [edi + 0x28]
push eax
call fcn.10018a50
mov esi, dword [esp + 0x60]
add esp, 0xc
test al, al
je 0x1008378a
push 0
push dword [esi + 0x3fec]
call fcn.10018e20
add esp, 8
test al, al
je 0x1008378a
mov cl, byte [esi + 0x2b15]
test cl, cl
je 0x100836cf
movss xmm0, dword [esi + 0xd8]
jmp 0x100836d7
movss xmm0, dword [esi + 0xdc]
push dword [edi + 0x10]
xor eax, eax
movss dword [esp + 0x28], xmm0
test cl, cl
setne al
add eax, 0x294
push eax
mov dword [esp + 0x44], eax
call fcn.10029a50
add esp, 8
test al, al
je 0x1008376a
movss xmm1, dword [esp + 0x24]
xorps xmm4, xmm4
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1008376a
movss xmm0, dword [edi + 0x30]
subss xmm0, dword [edi + 0x28]
movss xmm2, dword [edi + 0x4c]
mov dword [edi + 0x50], 0
subss xmm0, dword [esp + 0x6c]
subss xmm0, dword [esp + 0x84]
subss xmm0, dword [esp + 0x28]
mulss xmm0, xmm1
movss xmm1, dword [edi + 0x30]
subss xmm1, dword [edi + 0x28]
divss xmm0, dword [0x1009b498]
subss xmm2, xmm0
movss xmm0, dword [edi + 0x40]
subss xmm0, xmm1
minss xmm2, xmm0
maxss xmm2, xmm4
movss dword [edi + 0x4c], xmm2
push 0
push dword [edi + 0x10]
push dword [esp + 0x44]
call fcn.10023a30
movss xmm7, dword [esp + 0x78]
add esp, 0xc
jmp 0x1008348a
mov esi, dword [esp + 0x54]
movss xmm7, dword [esp + 0x6c]
jmp 0x1008348a
comiss xmm3, xmm4
jbe 0x100837a2
subss xmm3, xmm2
maxss xmm3, xmm4
movaps xmm2, xmm3
movss dword [edi + 0x48], xmm2
jmp 0x100837bd
movaps xmm2, xmm4
movss dword [edi + 0x48], xmm2
jmp 0x100837bd
mov dword [edi + 0x54], 0
subss xmm6, dword [esp + 0x84]
mov eax, dword [edi + 0x28]
addss xmm5, xmm7
mov ecx, dword [edi + 0x2c]
push ecx
subss xmm6, dword [esp + 0x2c]
addss xmm5, dword [esp + 0x48]
movss dword [edi + 0x5c], xmm6
movss dword [edi + 0x58], xmm5
mov esi, dword [esi + 0x3fec]
mov dword [esi + 0x100], eax
lea eax, [esp + 0x1c]
mov dword [esi + 0x104], ecx
movss xmm0, dword [edi + 0x40]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [edi + 0x34]
subss xmm0, dword [edi + 0x2c]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edi + 0x80]
movss dword [esp], xmm0
push eax
call fcn.100195b0
movss xmm1, dword [edi + 0x44]
add esp, 8
addss xmm1, dword [edi + 0x28]
movss xmm0, dword [esi + 0x120]
mov ecx, dword [esp + 0x8c]
pop edi
maxss xmm0, xmm1
movss dword [esi + 0x120], xmm0
pop esi
xor ecx, esp
call fcn.10092be1
add esp, 0x88
ret