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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x10072040]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [0x10072700]
xorps xmm0, xmm0
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
xor esi, esi
mov dword [esp + 0x4c], edi
mov byte [esp + 0x1c], 0
movaps xmmword [esp + 0x70], xmm0
mov eax, dword [edi]
mov byte [edi + 0x67], 0
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0x90], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], 1
test eax, eax
jle 0x1003e7ad
mov dword [esp + 0x14], esi
xor edx, edx
nop dword [eax]
mov ecx, dword [edi + 8]
mov eax, dword [ecx + edx + 8]
cmp eax, dword [edi + 0x24]
jl 0x1003e76a
cmp byte [ecx + edx + 0x28], 0
jne 0x1003e76a
cmp esi, dword [esp + 0x20]
je 0x1003e6ef
mov edi, dword [esp + 0x14]
movups xmm0, xmmword [ecx + edx]
mov eax, dword [ecx + edx + 0x28]
movups xmm1, xmmword [ecx + edx + 0x10]
movq xmm2, qword [ecx + edx + 0x20]
movups xmmword [ecx + edi], xmm0
movups xmmword [ecx + edi + 0x10], xmm1
movq qword [ecx + edi + 0x20], xmm2
mov dword [ecx + edi + 0x28], eax
mov edi, dword [esp + 0x4c]
mov eax, dword [edi + 8]
add eax, dword [esp + 0x14]
mov word [eax + 0x26], si
mov eax, dword [eax + 4]
test al, 0x40
je 0x1003e705
xor ecx, ecx
jmp 0x1003e710
test al, 0x80
mov ecx, 0
setne cl
inc ecx
test esi, esi
jle 0x1003e75b
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + edi - 0x28]
test al, 0x40
je 0x1003e727
xor eax, eax
jmp 0x1003e732
test al, 0x80
mov eax, 0
setne al
inc eax
mov edi, dword [esp + 0x4c]
test ecx, ecx
jne 0x1003e743
test eax, eax
je 0x1003e75b
mov byte [esp + 0x1c], 1
cmp eax, 2
jne 0x1003e75b
mov eax, dword [esp + 0x1c]
cmp ecx, 2
movzx eax, al
cmovne eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
lea eax, [ecx + ecx*2]
inc esi
inc dword [esp + eax*4 + 0x70]
add dword [esp + 0x14], 0x2c
jmp 0x1003e797
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx + edx]
jne 0x1003e779
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x14]
cmp eax, dword [ecx + edx]
jne 0x1003e788
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x18]
cmp eax, dword [ecx + edx]
jne 0x1003e797
mov dword [edi + 0x18], 0
mov ecx, dword [esp + 0x20]
add edx, 0x2c
mov eax, dword [edi]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, eax
jl 0x1003e6a0
cmp eax, esi
je 0x1003e7e0
mov eax, dword [edi + 4]
cmp esi, eax
jle 0x1003e7dc
test eax, eax
je 0x1003e7c8
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 4]
jmp 0x1003e7cd
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edi
push eax
call fcn.10040f20
mov dword [edi], esi
mov eax, esi
cmp byte [esp + 0x1c], 0
je 0x1003e800
cmp eax, 1
jbe 0x1003e800
push 0x1003e080
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
cmp dword [esp + 0x70], 0
jle 0x1003e824
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x88]
test eax, eax
jle 0x1003e824
mov eax, dword [esp + 0x18]
movss xmm1, dword [eax + 0x37ec]
jmp 0x1003e82b
mov eax, dword [esp + 0x18]
xorps xmm1, xmm1
cmp dword [esp + 0x7c], 0
xorps xmm0, xmm0
movss dword [esp + 0x78], xmm1
jle 0x1003e84d
cmp dword [esp + 0x88], 0
jle 0x1003e84d
movss xmm0, dword [eax + 0x37ec]
xor eax, eax
movss dword [esp + 0x84], xmm0
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1003e871
mov dword [esp + 0x14], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x1003e9b9
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x1003e9b2
mov esi, dword [edi + 8]
nop dword [eax + eax]
cmp dword [esi], ecx
je 0x1003e8a1
inc eax
add esi, 0x2c
cmp eax, edx
jl 0x1003e890
jmp 0x1003e9b2
test esi, esi
je 0x1003e9b2
test byte [esi + 4], 0x20
jne 0x1003e9b2
movzx eax, word [edi + 0x64]
mov ecx, esi
sub ecx, dword [edi + 8]
mov dword [esp + 0x3c], eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movzx edx, word [edi + 0x64]
movsx eax, dx
add ecx, eax
js 0x1003e9b2
cmp ecx, dword [edi]
jge 0x1003e9b2
imul eax, ecx, 0x2c
add eax, dword [edi + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [eax + 4]
test cl, 0x20
jne 0x1003e9b2
xor ecx, dword [esi + 4]
test cl, 0xc0
jne 0x1003e9b2
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x40], ecx
movups xmm0, xmmword [esi]
movaps xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [esi + 0x10]
movaps xmmword [esp + 0x60], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [esp + 0x20], xmm0
test dx, dx
jle 0x1003e93c
mov eax, dword [esp + 0x3c]
lea ecx, [esi + 0x2c]
cwde
jmp 0x1003e948
mov ecx, eax
lea esi, [eax + 0x2c]
mov eax, dword [esp + 0x3c]
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
movaps xmm0, xmmword [esp + 0x50]
mov ecx, dword [esp + 0x40]
movups xmmword [eax], xmm0
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], ecx
test dword [edi + 0xc], 0x400000
je 0x1003e9a1
mov ecx, dword [0x10072700]
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x59f8]
jb 0x1003e9a1
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x59f8], eax
mov eax, dword [edi + 0x60]
mov ecx, dword [esp + 0x14]
cmp eax, dword [edi + 0x14]
cmove ecx, eax
mov dword [esp + 0x14], ecx
mov dword [edi + 0x60], 0
mov eax, dword [edi + 0xc]
shr eax, 2
test al, 1
je 0x1003e9d7
mov ecx, edi
call fcn.1003f6c0
test eax, eax
je 0x1003e9d7
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov dword [edi + 0x14], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x88]
mov esi, dword [edi]
add eax, ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [edx + 0x4a50]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], esi
cmp esi, ecx
jle 0x1003eabe
test ecx, ecx
je 0x1003ea1f
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, ecx
jmp 0x1003ea24
mov eax, 8
cmp eax, dword [esp + 0x20]
cmovg esi, eax
cmp esi, ecx
jle 0x1003eaba
mov eax, dword [0x10072700]
test eax, eax
je 0x1003ea42
inc dword [eax + 0xb0]
lea eax, [esi + esi*2]
shl eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x30], eax
cmp dword [edx + 0x4a54], 0
je 0x1003eaae
mov ecx, dword [edx + 0x4a4c]
lea ecx, [ecx + ecx*2]
shl ecx, 2
push ecx
push dword [edx + 0x4a54]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [ecx + 0x4a54]
test ecx, ecx
je 0x1003ea9c
mov eax, dword [0x10072700]
test eax, eax
je 0x1003ea9c
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [esp + 0x1c]
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [edx + 0x4a54], eax
mov dword [edx + 0x4a50], esi
mov esi, dword [esp + 0x20]
movss xmm7, dword [0x1006f2b0]
xor ecx, ecx
mov dword [edx + 0x4a4c], esi
mov eax, dword [edi]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], 0xffffffff
mov byte [esp + 0x40], cl
mov dword [esp + 0x20], ecx
test eax, eax
jle 0x1003ec23
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x1003eaf8
mov eax, dword [esp + 0x1c]
mov esi, dword [edi + 8]
add esi, eax
test ecx, ecx
je 0x1003eb09
mov eax, dword [ecx + 0xc]
cmp eax, dword [esi + 0xc]
jge 0x1003eb17
test dword [esi + 4], 0x200000
cmove ecx, esi
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esi]
cmp ecx, dword [edi + 0x14]
movzx eax, al
cmove eax, dword [esp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1003eb41
cmp dword [edx + 0x47c8], ecx
cmove eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
xorps xmm0, xmm0
mov edx, dword [esi + 0x20]
and eax, 0x100001
add edx, dword [edi + 0x8c]
cmp eax, 0x100000
movss xmm1, dword [esi + 0x1c]
setne al
comiss xmm1, xmm0
jae 0x1003eb83
push eax
lea ecx, [esp + 0x64]
call fcn.10040540
movss xmm7, dword [0x1006f2b0]
add esp, 4
xorps xmm0, xmm0
movss xmm1, dword [eax]
mov eax, dword [esi + 4]
movss dword [esi + 0x18], xmm1
test al, 0x40
je 0x1003eb93
xor edx, edx
jmp 0x1003eb9e
test al, 0x80
mov edx, 0
setne dl
inc edx
lea eax, [edx + edx*2]
cmp edx, dword [esp + 0x30]
jne 0x1003ebb3
mov ecx, dword [esp + 0x18]
movss xmm0, dword [ecx + 0x37ec]
mov ecx, dword [esp + edx*4 + 0x50]
addss xmm1, xmm0
mov edi, dword [esp + 0x20]
add dword [esp + 0x1c], 0x2c
mov dword [esp + 0x30], edx
addss xmm1, dword [esp + eax*4 + 0x74]
movss dword [esp + eax*4 + 0x74], xmm1
lea eax, [ecx + 1]
mov dword [esp + edx*4 + 0x50], eax
lea ecx, [ecx + ecx*2]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x4a54]
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 + 0x4c]
maxss xmm0, xmm7
mov dword [esp + 0x20], ecx
movss dword [esi + 0x14], xmm0
mov eax, dword [edi]
cmp ecx, eax
mov ecx, dword [esp + 0x3c]
jl 0x1003eaf4
movss xmm1, dword [esp + 0x74]
xorps xmm2, xmm2
addss xmm1, dword [esp + 0x78]
movss xmm0, dword [esp + 0x80]
addss xmm0, dword [esp + 0x84]
addss xmm1, xmm2
addss xmm1, xmm0
movss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x90]
addss xmm1, xmm0
movss dword [edi + 0x44], xmm1
movss xmm0, dword [edi + 0x30]
subss xmm0, dword [edi + 0x28]
comiss xmm1, xmm0
jbe 0x1003ecb0
cmp eax, 1
jle 0x1003ecb0
mov eax, dword [edi + 0xc]
test al, 0x10
jne 0x1003ecb0
test al, al
jns 0x1003ecb0
mov ecx, edi
call fcn.1003f400
movss xmm7, dword [0x1006f2b0]
mov ecx, eax
xorps xmm2, xmm2
test ecx, ecx
je 0x1003ecb0
test dword [ecx + 4], 0x200000
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
jne 0x1003ecb0
mov dword [edi + 0x14], eax
movss xmm4, dword [esp + 0x8c]
movss xmm3, dword [esp + 0x74]
addss xmm4, dword [esp + 0x90]
addss xmm3, dword [esp + 0x78]
movss xmm1, dword [edi + 0x30]
subss xmm1, dword [edi + 0x28]
movaps xmm0, xmm4
addss xmm0, xmm3
comiss xmm1, xmm0
seta al
mov byte [esp + 0x3b], al
test al, al
je 0x1003ed11
movss xmm0, dword [esp + 0x80]
subss xmm1, xmm3
addss xmm0, dword [esp + 0x84]
subss xmm1, xmm4
subss xmm0, xmm1
maxss xmm0, xmm2
jmp 0x1003ed15
subss xmm0, xmm1
comiss xmm0, xmm7
jb 0x1003ee2f
test byte [edi + 0xc], 0x40
jne 0x1003ed53
test al, al
jne 0x1003ee2f
mov edx, dword [esp + 0x88]
add edx, dword [esp + 0x70]
cmp byte [esp + 0x3b], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
je 0x1003ed70
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x70]
jmp 0x1003ed76
test al, al
je 0x1003ed2c
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x70]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
jmp 0x1003ed76
xor eax, eax
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x18]
lea esi, [eax + eax*2]
shl esi, 2
movaps xmm2, xmm0
mov dword [esp + 0x30], eax
mov ecx, dword [ecx + 0x4a54]
add ecx, esi
call fcn.10030c30
mov eax, dword [esp + 0x20]
xorps xmm4, xmm4
add eax, dword [esp + 0x30]
cmp dword [esp + 0x30], eax
jge 0x1003ee25
nop dword [eax]
mov eax, dword [esp + 0x18]
movss xmm7, dword [0x1006f2b0]
mov eax, dword [eax + 0x4a54]
imul ecx, dword [eax + esi], 0x2c
cvttss2si eax, dword [eax + esi + 4]
add ecx, dword [edi + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm4, xmm0
ja 0x1003ee19
mov eax, dword [ecx + 4]
movaps xmm2, xmm7
maxss xmm2, xmm0
test al, 0x40
je 0x1003eded
xor eax, eax
jmp 0x1003edf8
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 + 0x74]
subss xmm1, xmm2
subss xmm0, xmm1
movss dword [esp + eax*4 + 0x74], xmm0
movss dword [ecx + 0x14], xmm2
add esi, 0xc
sub dword [esp + 0x1c], 1
jne 0x1003edb0
jmp 0x1003ee32
movss xmm7, dword [0x1006f2b0]
jmp 0x1003ee32
xorps xmm4, xmm4
xor ecx, ecx
mov dword [esp + 0x20], 0
movaps xmm2, xmm4
mov dword [edi + 0x40], 0
mov dword [esp + 0x48], ecx
nop word [eax + eax]
lea eax, [ecx + ecx*2]
mov dword [esp + 0x30], eax
cmp ecx, 2
jne 0x1003ee7a
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm4
subss xmm1, dword [edi + 0x28]
subss xmm1, dword [esp + eax*4 + 0x74]
maxss xmm0, xmm1
minss xmm0, xmm2
movaps xmm2, xmm0
mov esi, dword [esp + eax*4 + 0x70]
xor edx, edx
test esi, esi
jle 0x1003eed0
imul ecx, dword [esp + 0x20], 0x2c
add ecx, 0x14
add ecx, dword [edi + 8]
mov edi, dword [esp + 0x30]
movss dword [ecx - 4], xmm2
mov esi, dword [esp + edi*4 + 0x70]
lea eax, [esi - 1]
cmp edx, eax
jge 0x1003eeb1
mov eax, dword [esp + 0x18]
movss xmm0, dword [eax + 0x37ec]
jmp 0x1003eeb4
movaps xmm0, xmm4
addss xmm0, dword [ecx]
inc edx
add ecx, 0x2c
addss xmm2, xmm0
cmp edx, esi
jl 0x1003ee93
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
movss xmm0, dword [esp + eax*4 + 0x78]
inc ecx
add dword [esp + 0x20], esi
addss xmm2, xmm0
mov dword [esp + 0x48], ecx
movaps xmm3, xmm0
addss xmm3, dword [esp + eax*4 + 0x74]
maxss xmm3, xmm4
addss xmm3, dword [edi + 0x40]
movss dword [edi + 0x40], xmm3
cmp ecx, 3
jl 0x1003ee50
cmp byte [esp + 0x40], 0
jne 0x1003ef11
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x14]
mov ecx, eax
test eax, eax
jne 0x1003ef30
cmp dword [edi + 0x18], eax
jne 0x1003ef30
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1003ef30
mov eax, dword [eax]
mov ecx, eax
mov dword [edi + 0x14], eax
jmp 0x1003ef34
mov eax, dword [esp + 0x14]
movss xmm6, dword [esp + 0x74]
mov dword [edi + 0x1c], ecx
mov byte [edi + 0x68], 0
test eax, eax
je 0x1003f05c
mov edx, dword [edi]
xor ecx, ecx
test edx, edx
jle 0x1003f05c
mov esi, dword [edi + 8]
cmp dword [esi], eax
je 0x1003ef69
inc ecx
add esi, 0x2c
cmp ecx, edx
jl 0x1003ef58
jmp 0x1003f05c
test esi, esi
je 0x1003f05c
test byte [esi + 4], 0xc0
jne 0x1003f05c
mov ecx, dword [0x10072700]
mov eax, 0x2e8ba2e9
movss xmm5, dword [edi + 0x30]
subss xmm5, dword [edi + 0x28]
movss xmm0, dword [ecx + 0x3bb4]
mov ecx, esi
sub ecx, dword [edi + 8]
imul ecx
subss xmm5, xmm6
mov eax, dword [esp + 0x70]
subss xmm5, dword [esp + 0x8c]
sar edx, 3
dec eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x30], ecx
subss xmm5, dword [esp + 0x84]
cmp ecx, eax
jle 0x1003efd8
movaps xmm1, xmm0
xorps xmm1, xmmword [0x1006f530]
jmp 0x1003efdb
movaps xmm1, xmm4
movss xmm2, dword [esi + 0x10]
mov ecx, dword [edi]
subss xmm2, xmm6
mov eax, dword [esp + 0x30]
sub ecx, dword [esp + 0x88]
inc eax
addss xmm1, xmm2
cmp eax, ecx
jl 0x1003effd
movaps xmm0, xmm7
addss xmm2, dword [esi + 0x14]
movss xmm7, dword [edi + 0x4c]
comiss xmm7, xmm1
mov dword [edi + 0x50], 0
addss xmm2, xmm0
ja 0x1003f045
movaps xmm0, xmm2
subss xmm0, xmm1
comiss xmm0, xmm5
jae 0x1003f045
subss xmm2, xmm5
comiss xmm2, xmm7
jbe 0x1003f05c
subss xmm1, xmm5
movss dword [edi + 0x4c], xmm2
subss xmm1, dword [edi + 0x48]
maxss xmm1, xmm4
movss dword [edi + 0x50], xmm1
jmp 0x1003f05c
movss xmm0, dword [edi + 0x48]
subss xmm0, xmm2
movss dword [edi + 0x4c], xmm1
maxss xmm0, xmm4
movss dword [edi + 0x50], xmm0
movss xmm5, dword [edi + 0x28]
movaps xmm1, xmm3
movss xmm0, dword [edi + 0x30]
movss xmm2, dword [edi + 0x48]
subss xmm0, xmm5
mov esi, dword [esp + 0x18]
movss dword [esp + 0x30], xmm5
subss xmm1, xmm0
minss xmm2, xmm1
maxss xmm2, xmm4
movss dword [edi + 0x48], xmm2
movss xmm7, dword [edi + 0x30]
movaps xmm0, xmm7
subss xmm0, xmm5
movss xmm5, dword [edi + 0x4c]
subss xmm3, xmm0
minss xmm5, xmm3
maxss xmm5, xmm4
ucomiss xmm2, xmm5
movss dword [edi + 0x4c], xmm5
lahf
test ah, 0x44
jnp 0x1003f151
movss xmm0, dword [esi + 0x3bb4]
mulss xmm0, dword [0x1006f340]
mov eax, dword [edi + 0x24]
movss xmm3, dword [edi + 0x54]
inc eax
maxss xmm3, xmm0
movaps xmm0, xmm5
subss xmm0, xmm2
andps xmm0, xmmword [0x1006f520]
divss xmm0, dword [0x1006f260]
maxss xmm3, xmm0
movss dword [edi + 0x54], xmm3
cmp eax, dword [esi + 0x3dc8]
jl 0x1003f147
movss xmm1, dword [esi + 0x3bb4]
mulss xmm1, dword [0x1006f318]
movss xmm0, dword [edi + 0x50]
comiss xmm0, xmm1
ja 0x1003f147
comiss xmm5, xmm2
mulss xmm3, dword [esi + 0x18]
jbe 0x1003f133
addss xmm2, xmm3
minss xmm2, xmm5
movss dword [edi + 0x48], xmm2
jmp 0x1003f158
comiss xmm2, xmm5
jbe 0x1003f14a
subss xmm2, xmm3
maxss xmm2, xmm5
movss dword [edi + 0x48], xmm2
jmp 0x1003f158
movaps xmm2, xmm5
movss dword [edi + 0x48], xmm2
jmp 0x1003f158
mov dword [edi + 0x54], 0
test dword [edi + 0xc], 0x100000
addss xmm6, dword [esp + 0x30]
subss xmm7, dword [esp + 0x8c]
addss xmm6, dword [esp + 0x78]
subss xmm7, dword [esp + 0x84]
movss dword [edi + 0x58], xmm6
movss dword [edi + 0x5c], xmm7
jne 0x1003f1c1
mov ecx, dword [edi + 0x88]
lea eax, [edi + 0x84]
test ecx, ecx
jns 0x1003f1bb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x84]
call fcn.10019e10
lea eax, [edi + 0x84]
mov dword [eax], 0
mov esi, dword [esi + 0x3e28]
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
mov dword [esi + 0xf0], ecx
lea ecx, [esp + 0x30]
mov dword [esi + 0xec], eax
movss xmm0, dword [edi + 0x40]
movss xmm1, dword [edi + 0x78]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi + 0x34]
subss xmm0, dword [edi + 0x2c]
movss dword [esp + 0x34], xmm0
call fcn.10011860
movss xmm1, dword [edi + 0x44]
addss xmm1, dword [edi + 0x28]
movss xmm0, dword [esi + 0x10c]
mov ecx, dword [esp + 0xac]
pop edi
maxss xmm0, xmm1
movss dword [esi + 0x10c], xmm0
pop esi
xor ecx, esp
call fcn.10049591
mov esp, ebp
pop ebp
ret