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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
push ebx
push esi
mov esi, dword [0x100eea8c]
push edi
mov bh, byte [esi + 8]
and bh, 1
mov byte [esi + 0x353], 0
test byte [esi + 8], 2
mov byte [esp + 0x17], bh
je 0x1003d5a4
test byte [esi + 0xc], 1
je 0x1003d5a4
movss xmm0, dword [esi + 0x2fc]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov bl, 1
ja 0x1003d598
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm1
ja 0x1003d598
movss xmm0, dword [esi + 0x300]
comiss xmm0, xmm1
ja 0x1003d598
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
jbe 0x1003d5a9
mov dword [esi + 0x1ac4], 4
jmp 0x1003d5a9
xor bl, bl
xorps xmm1, xmm1
test bh, bh
je 0x1003d6f4
mov eax, dword [esi + 0x64]
test eax, eax
js 0x1003d5d7
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1003d5d7
mov dword [esi + 0x2fc], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x68]
test eax, eax
js 0x1003d5fd
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1003d5fd
mov dword [esi + 0x304], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x1003d623
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1003d623
mov dword [esi + 0x300], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x38]
test eax, eax
js 0x1003d649
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1003d649
mov dword [esi + 0x340], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x3c]
test eax, eax
js 0x1003d66f
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1003d66f
mov dword [esi + 0x344], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x40]
test eax, eax
js 0x1003d695
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1003d695
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x44]
test eax, eax
js 0x1003d6bb
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1003d6bb
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1ac4], 3
cmp byte [esi + 0xf8], 0
je 0x1003d6ce
mov dword [esi + 0x334], 0x3f800000
cmp byte [esi + 0xf9], 0
je 0x1003d6e1
mov dword [esi + 0x338], 0x3f800000
cmp byte [esi + 0xfa], 0
je 0x1003d6f4
mov dword [esi + 0x33c], 0x3f800000
movups xmm0, xmmword [esi + 0x1448]
mov eax, dword [esi + 0x1498]
lea ecx, [esi + 0x1448]
movss xmm2, dword [0x100dd668]
movups xmmword [esi + 0x149c], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x14ac], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esi + 0x14bc], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esi + 0x14cc], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [esi + 0x14dc], xmm0
mov dword [esi + 0x14ec], eax
mov eax, 0x15
nop dword [eax]
movss xmm0, dword [ecx - 0x114c]
comiss xmm0, xmm1
jbe 0x1003d772
movss xmm0, dword [ecx]
comiss xmm1, xmm0
jbe 0x1003d76b
movaps xmm0, xmm1
jmp 0x1003d775
addss xmm0, dword [esi + 0x18]
jmp 0x1003d775
movaps xmm0, xmm2
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x1003d750
mov edx, dword [esi + 0x1b04]
test edx, edx
je 0x1003d826
cmp byte [esi + 0x1afe], al
je 0x1003d7ab
cmp byte [esi + 0x1b02], al
je 0x1003d826
mov ecx, dword [esi + 0x1af4]
jmp 0x1003d7ba
cmp byte [esi + 0x1b02], 0
mov ecx, dword [esi + 0x1af4]
je 0x1003d7f6
mov eax, dword [esi + 0x1a9c]
mov dword [esi + 0x1aa0], edx
mov dword [eax + ecx*4 + 0x300], edx
add ecx, ecx
mov eax, dword [esi + 0x1a9c]
movups xmm0, xmmword [esi + 0x1b08]
movups xmmword [eax + ecx*8 + 0x308], xmm0
mov word [esi + 0x1afd], 1
mov byte [esi + 0x1aff], 1
jmp 0x1003d809
mov eax, dword [esi + 0x1a9c]
mov dword [esi + 0x1aa0], edx
mov dword [eax + ecx*4 + 0x300], edx
mov ecx, dword [esi + 0x1af4]
mov eax, dword [esi + 0x1a9c]
add ecx, ecx
movups xmm0, xmmword [esi + 0x1b08]
movups xmmword [eax + ecx*8 + 0x308], xmm0
cmp byte [esi + 0x1b19], 0
mov word [esi + 0x1b01], 0
mov dword [esi + 0x1b04], 0
mov dword [esi + 0x1ab8], 0
je 0x1003d851
call fcn.1003e490
cmp dword [esi + 0x1b20], 2
jne 0x1003d87d
cmp dword [esi + 0x1b30], 0
jne 0x1003d873
cmp dword [esi + 0x1b80], 0
jne 0x1003d873
mov byte [esi + 0x1afe], 0
mov dword [esi + 0x1b20], 0
cmp byte [esi + 0x1afd], 0
je 0x1003d8f2
cmp byte [esi + 0x1afc], 0
je 0x1003d8f2
test byte [esi + 8], 4
je 0x1003d8eb
test byte [esi + 0xc], 4
je 0x1003d8eb
cmp byte [esi + 0x1afe], 0
jne 0x1003d8eb
cmp byte [esi + 0x1aff], 0
je 0x1003d8eb
cmp dword [esi + 0x1a9c], 0
je 0x1003d8eb
lea ecx, [esp + 0x20]
call fcn.1003d160
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x37c], eax
mov eax, ecx
mov dword [esi + 0x378], ecx
mov ecx, dword [esi + 0x37c]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], ecx
mov byte [esi + 0x353], 1
mov byte [esi + 0x1afd], 0
mov edx, dword [esi + 0x1a9c]
mov byte [esi + 0x1afc], 0
mov dword [esi + 0x1ab4], 0
test edx, edx
je 0x1003d935
mov ecx, edx
nop
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1003d92b
mov ecx, dword [ecx + 0x2ec]
test ecx, ecx
jne 0x1003d910
jmp 0x1003d935
cmp ecx, edx
je 0x1003d935
mov dword [ecx + 0x2fc], edx
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1003d95b
cmp dword [eax + 0x2fc], 0
je 0x1003d95b
cmp dword [esi + 0x1af4], 0
jne 0x1003d95b
mov dword [eax + 0x2fc], 0
call fcn.1003ed00
test bh, bh
jne 0x1003d96c
test bl, bl
je 0x1003da44
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1003da44
test dword [eax + 8], 0x40000
jne 0x1003da44
cmp dword [esi + 0x1aa0], 0
mov byte [esi + 0x355], 1
je 0x1003da4b
cmp byte [esi + 0x1afe], 0
jne 0x1003da4b
mov al, 1
mov edx, 1
mov byte [esi + 0x356], al
mov ecx, edx
call fcn.1003d290
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x1003dbbe
cmp dword [esi + 0x19ac], 0
je 0x1003da5f
test byte [esi + 0x19c8], 2
jne 0x1003dbbe
mov edi, dword [0x100eea8c]
mov ecx, dword [edi + 0x19ac]
test ecx, ecx
setne al
mov byte [edi + 0x19bc], al
test ecx, ecx
je 0x1003da10
mov dword [edi + 0x19b8], 0
mov word [edi + 0x19be], 0
mov dword [edi + 0x19ac], 0
mov dword [edi + 0x19c4], 0
mov dword [edi + 0x19c8], 0
mov byte [edi + 0x19bd], 0
mov dword [edi + 0x19d4], 0
jmp 0x1003dbc4
mov byte [esi + 0x355], 0
cmp dword [esi + 0x1adc], 0
jne 0x1003d9a8
xor al, al
jmp 0x1003d9aa
mov edi, dword [esi + 0x1a9c]
test edi, edi
je 0x1003dac5
mov eax, dword [edi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1003dac5
mov ecx, dword [edi + 0x2ec]
test ecx, ecx
je 0x1003dac5
call fcn.1003ba40
mov ecx, dword [edi + 0x54]
xorps xmm6, xmm6
mov edi, dword [0x100eea8c]
mov eax, dword [edi + 0x1a9c]
mov dword [edi + 0x1aa0], ecx
mov dword [eax + 0x300], ecx
cmp byte [esi + 0x1aff], 0
mov byte [esi + 0x1afc], 0
je 0x1003dbc4
mov byte [esi + 0x1afd], 1
jmp 0x1003dbc4
mov edx, dword [esi + 0x1a18]
test edx, edx
jle 0x1003db83
mov eax, dword [esi + 0x1a20]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x1003dbbe
mov edi, dword [0x100eea8c]
lea ecx, [edx - 1]
mov dword [esp + 0x1c], ecx
mov edx, edi
mov dword [esp + 0x20], edx
mov ebx, dword [edx + 0x1a20]
test ecx, ecx
jle 0x1003db13
lea eax, [ecx + ecx*8]
mov ebx, dword [ebx + eax*4 - 0x20]
jmp 0x1003db16
mov ebx, dword [ebx + 8]
lea eax, [edx + 0x1a18]
mov dword [esp + 0x18], eax
mov eax, dword [eax + 4]
cmp ecx, eax
jle 0x1003db5d
mov edi, dword [esp + 0x18]
test eax, eax
je 0x1003db3b
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [edi + 4]
jmp 0x1003db40
mov edx, 8
cmp edx, ecx
mov eax, ecx
mov ecx, edi
cmovg eax, edx
push eax
call fcn.10040e10
mov edi, dword [0x100eea8c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [eax], ecx
cmp dword [edx + 0x1af4], 0
jne 0x1003db77
mov eax, dword [ebx + 0x2fc]
test eax, eax
cmovne ebx, eax
mov ecx, ebx
call fcn.1003ba40
xorps xmm6, xmm6
jmp 0x1003dbc4
cmp dword [esi + 0x1af4], 0
je 0x1003db95
xor ecx, ecx
call fcn.1003d0a0
jmp 0x1003dbbe
test edi, edi
je 0x1003dbb4
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x1003dbaa
test eax, 0x1000000
jne 0x1003dbb4
mov dword [edi + 0x300], 0
mov dword [esi + 0x1aa0], 0
mov edi, dword [0x100eea8c]
mov ebx, dword [esi + 0x1aa0]
mov dword [esi + 0x1ab0], 0
mov dword [esi + 0x1aac], 0
mov dword [esi + 0x1aa8], 0
mov dword [esi + 0x1aa4], 0
test ebx, ebx
je 0x1003dcc6
cmp byte [esi + 0x1afe], 0
jne 0x1003dcc6
cmp dword [esi + 0x1adc], 0
jne 0x1003dcc6
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1003dcc6
test dword [eax + 8], 0x40000
jne 0x1003dcc6
movss xmm0, dword [edi + 0x2fc]
comiss xmm0, xmm6
seta al
mov byte [esp + 0x16], al
test al, al
je 0x1003dc56
mov edx, 1
xor ecx, ecx
call fcn.1003d290
comiss xmm0, xmm6
ja 0x1003dc58
xor dl, dl
mov ecx, dword [esi + 0x19ac]
test ecx, ecx
jne 0x1003dc6e
test dl, dl
je 0x1003dc72
mov dword [esi + 0x1aa4], ebx
jmp 0x1003dc72
cmp ecx, ebx
jne 0x1003dcc6
cmp byte [esp + 0x16], 0
mov eax, dword [esi + 0x1aa8]
cmovne eax, ebx
mov dword [esi + 0x1aa8], eax
test ecx, ecx
je 0x1003dc8e
cmp ecx, ebx
jne 0x1003dcc6
mov eax, dword [esi + 0x1aac]
test dl, dl
cmovne eax, ebx
mov dword [esi + 0x1aac], eax
test ecx, ecx
je 0x1003dca7
cmp ecx, ebx
jne 0x1003dcc6
mov edx, 1
lea ecx, [edx + 1]
call fcn.1003d290
mov eax, dword [esi + 0x1ab0]
comiss xmm0, xmm6
cmova eax, ebx
mov dword [esi + 0x1ab0], eax
mov ecx, dword [esi + 0x1a9c]
test ecx, ecx
je 0x1003dce0
test dword [ecx + 8], 0x40000
je 0x1003dce0
mov byte [esi + 0x1afe], 1
mov eax, dword [esi + 0x1ac0]
mov byte [esi + 0x1b19], 0
test eax, eax
je 0x1003dd09
mov dword [esi + 0x1ab0], eax
mov dword [esi + 0x1aac], eax
mov dword [esi + 0x1aa8], eax
mov dword [esi + 0x1aa4], eax
cmp dword [esi + 0x19ac], 0
mov dword [esi + 0x1ac0], 0
jne 0x1003dd26
mov dword [esp + 0x18], 0xffffffff
jmp 0x1003dd30
mov ebx, dword [esi + 0x19c4]
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x1b20], 0
jne 0x1003de64
or ebx, 0xffffffff
mov dword [esi + 0x1b24], 0xffffffff
mov dword [esi + 0x1b1c], 0
test ecx, ecx
je 0x1003de5c
or ebx, ebx
cmp dword [esi + 0x1adc], 0
jne 0x1003de5c
mov eax, dword [esp + 0x18]
or ebx, 0xffffffff
test eax, eax
je 0x1003de5c
or ebx, ebx
test dword [ecx + 8], 0x40000
jne 0x1003de5c
or ebx, 0xffffffff
test al, 1
je 0x1003ddc3
mov edx, 3
or ebx, ebx
lea ecx, [edx + 0xe]
call fcn.1003d290
lea ecx, [edx + 1]
movaps xmm5, xmm0
call fcn.1003d290
mov eax, dword [esp + 0x18]
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x1003ddc3
mov dword [esi + 0x1b24], 0
xor ebx, ebx
test al, 2
je 0x1003ddf9
mov edx, 3
lea ecx, [edx + 0xf]
call fcn.1003d290
lea ecx, [edx + 2]
movaps xmm5, xmm0
call fcn.1003d290
mov eax, dword [esp + 0x18]
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x1003ddf9
mov dword [esi + 0x1b24], 1
lea ebx, [edx - 2]
test al, 4
je 0x1003de2f
mov edx, 3
lea ecx, [edx + 0x10]
call fcn.1003d290
lea ecx, [edx + 3]
movaps xmm5, xmm0
call fcn.1003d290
mov eax, dword [esp + 0x18]
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x1003de2f
mov dword [esi + 0x1b24], 2
lea ebx, [edx - 1]
test al, 8
je 0x1003de5c
mov edx, 3
lea ecx, [edx + 0x11]
call fcn.1003d290
lea ecx, [edx + 4]
movaps xmm5, xmm0
call fcn.1003d290
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x1003de5c
mov dword [esi + 0x1b24], edx
mov ebx, edx
mov dword [esi + 0x1b2c], ebx
jmp 0x1003de6e
mov dword [esi + 0x1b20], 2
cmp byte [esp + 0x17], 0
xorps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
je 0x1003de8d
mov ecx, dword [esp + 0x18]
call fcn.1003e840
movss dword [esp + 0x1c], xmm0
mov eax, dword [esi + 0x1b24]
cmp eax, 0xffffffff
je 0x1003dea5
mov byte [esi + 0x1b19], 1
mov dword [esi + 0x1b28], eax
cmp byte [esi + 0x1b19], 0
je 0x1003ded1
cmp dword [esi + 0x1aa0], 0
jne 0x1003ded1
mov word [esi + 0x1b01], 0x101
mov dword [esi + 0x1b04], 0
mov byte [esi + 0x1afe], 0
cmp byte [edi + 0x1b19], 0
jne 0x1003dee7
cmp byte [edi + 0x1b01], 0
jne 0x1003dee7
xor al, al
jmp 0x1003dee9
mov al, 1
movss xmm2, dword [0x100dd47c]
mov byte [edi + 0x1b00], al
mov ebx, dword [esi + 0x1a9c]
test ebx, ebx
je 0x1003e128
test dword [ebx + 8], 0x40000
jne 0x1003e128
cmp dword [esi + 0x1adc], 0
jne 0x1003e128
cmp dword [ebx + 0x13c], 0
movss xmm0, dword [edi + 0x18b0]
mulss xmm0, dword [ebx + 0x26c]
mulss xmm0, dword [0x100dd5dc]
mulss xmm0, dword [esi + 0x18]
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [esp + 0x18], xmm3
jne 0x1003e01f
cmp byte [ebx + 0x145], 0
je 0x1003e01f
cmp byte [esi + 0x1b19], 0
je 0x1003e01f
mov eax, dword [esi + 0x1b24]
test eax, eax
je 0x1003df91
cmp eax, 1
jne 0x1003dfd1
movss xmm2, dword [0x100dd4b4]
jmp 0x1003df99
movss xmm2, dword [0x100dd668]
movss xmm1, dword [ebx + 0x58]
addss xmm1, dword [ebx + 0xe0]
mulss xmm2, xmm3
addss xmm2, dword [ebx + 0x58]
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ebx + 0x58], xmm0
movss dword [ebx + 0xe0], xmm1
mov eax, dword [esi + 0x1b24]
cmp eax, 2
je 0x1003dfe5
cmp eax, 3
jne 0x1003e01f
movss xmm2, dword [0x100dd4b4]
jmp 0x1003dfed
movss xmm2, dword [0x100dd668]
movss xmm1, dword [ebx + 0x5c]
addss xmm1, dword [ebx + 0xe4]
mulss xmm2, xmm3
addss xmm2, dword [ebx + 0x5c]
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ebx + 0x5c], xmm0
movss dword [ebx + 0xe4], xmm1
xor edx, edx
lea ecx, [edx + 9]
call fcn.1003d290
lea ecx, [edx + 8]
movaps xmm7, xmm0
call fcn.1003d290
subss xmm7, xmm0
lea ecx, [edx + 0xb]
addss xmm7, xmm6
call fcn.1003d290
lea ecx, [edx + 0xa]
movaps xmm5, xmm0
call fcn.1003d290
movss xmm1, dword [edi + 0x334]
subss xmm5, xmm0
comiss xmm1, xmm6
addss xmm5, xmm6
jbe 0x1003e074
mulss xmm7, dword [0x100dd440]
mulss xmm5, dword [0x100dd440]
movss xmm0, dword [edi + 0x338]
comiss xmm0, xmm6
jbe 0x1003e091
mulss xmm7, dword [0x100dd56c]
mulss xmm5, dword [0x100dd56c]
movss xmm2, dword [esp + 0x18]
ucomiss xmm7, xmm6
lahf
test ah, 0x44
jnp 0x1003e0de
cmp byte [ebx + 0x78], dl
je 0x1003e0de
movss xmm1, dword [ebx + 0x58]
addss xmm1, dword [ebx + 0xe0]
mulss xmm7, xmm2
addss xmm7, dword [ebx + 0x58]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ebx + 0x58], xmm0
movss dword [ebx + 0xe0], xmm1
mov byte [esi + 0x1b18], 1
ucomiss xmm5, xmm6
lahf
test ah, 0x44
jnp 0x1003e120
movss xmm1, dword [ebx + 0x5c]
addss xmm1, dword [ebx + 0xe4]
mulss xmm5, xmm2
addss xmm5, dword [ebx + 0x5c]
cvttss2si eax, xmm5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ebx + 0x5c], xmm0
movss dword [ebx + 0xe4], xmm1
mov byte [esi + 0x1b18], 1
movss xmm2, dword [0x100dd47c]
movaps xmm0, xmmword [0x100dde70]
movups xmmword [esi + 0x1b48], xmm0
mov dword [esi + 0x1b34], 0
movaps xmm0, xmmword [0x100dde70]
mov dword [esi + 0x1b30], 0
mov dword [esi + 0x1b38], 0
mov dword [esi + 0x1b44], 0x7f7fffff
mov dword [esi + 0x1b40], 0x7f7fffff
mov dword [esi + 0x1b3c], 0x7f7fffff
movups xmmword [esi + 0x1b70], xmm0
mov dword [esi + 0x1b5c], 0
movaps xmm0, xmmword [0x100dde70]
mov dword [esi + 0x1b58], 0
mov dword [esi + 0x1b60], 0
mov dword [esi + 0x1b6c], 0x7f7fffff
mov dword [esi + 0x1b68], 0x7f7fffff
mov dword [esi + 0x1b64], 0x7f7fffff
mov dword [esi + 0x1b84], 0
mov dword [esi + 0x1b80], 0
mov dword [esi + 0x1b88], 0
mov dword [esi + 0x1b94], 0x7f7fffff
mov dword [esi + 0x1b90], 0x7f7fffff
mov dword [esi + 0x1b8c], 0x7f7fffff
movups xmmword [esi + 0x1b98], xmm0
cmp byte [esi + 0x1b19], 0
je 0x1003e35c
cmp byte [esi + 0x1b18], 0
je 0x1003e35c
cmp dword [esi + 0x1af4], 0
jne 0x1003e35c
mov eax, dword [esi + 0x1a9c]
movss xmm3, dword [0x100dd4b4]
movss xmm7, dword [eax + 0x1ec]
subss xmm7, dword [eax + 0xc]
movss xmm5, dword [eax + 0x1f4]
movss xmm6, dword [eax + 0x1f8]
movss xmm4, dword [eax + 0x1f0]
subss xmm5, dword [eax + 0xc]
subss xmm6, dword [eax + 0x10]
subss xmm4, dword [eax + 0x10]
movss xmm0, dword [eax + 0x308]
subss xmm7, xmm3
movss dword [esp + 0x20], xmm0
addss xmm5, xmm3
addss xmm6, xmm3
subss xmm4, xmm3
comiss xmm0, xmm7
jb 0x1003e2b5
movss xmm0, dword [eax + 0x30c]
comiss xmm0, xmm4
jb 0x1003e2b5
comiss xmm5, dword [eax + 0x310]
jb 0x1003e2b5
comiss xmm6, dword [eax + 0x314]
jae 0x1003e355
movss xmm1, dword [edi + 0x18b0]
movaps xmm3, xmm6
mulss xmm1, dword [eax + 0x26c]
subss xmm3, xmm4
movss xmm0, dword [eax + 0x30c]
mulss xmm1, xmm2
movaps xmm2, xmm5
subss xmm2, xmm7
minss xmm3, xmm1
minss xmm2, xmm1
movss xmm1, dword [esp + 0x20]
xorps xmm3, xmmword [0x100dde20]
subss xmm4, xmm3
addss xmm3, xmm6
xorps xmm2, xmmword [0x100dde20]
subss xmm7, xmm2
addss xmm2, xmm5
maxss xmm0, xmm4
maxss xmm1, xmm7
movss dword [eax + 0x30c], xmm0
movss dword [eax + 0x308], xmm1
movss xmm1, dword [eax + 0x310]
movss xmm0, dword [eax + 0x314]
minss xmm1, xmm2
minss xmm0, xmm3
movss dword [eax + 0x310], xmm1
movss dword [eax + 0x314], xmm0
mov dword [esi + 0x1aa0], 0
mov byte [esi + 0x1b18], 0
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1003e39e
mov ecx, dword [esi + 0x1af4]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 + 0x308]
comiss xmm0, dword [eax + ecx*8 + 0x310]
ja 0x1003e39e
movss xmm0, dword [eax + ecx*8 + 0x30c]
comiss xmm0, dword [eax + ecx*8 + 0x314]
ja 0x1003e39e
movups xmm0, xmmword [eax + ecx*8 + 0x308]
jmp 0x1003e3a1
xorps xmm0, xmm0
lea ecx, [esp + 0x20]
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [esp + 0x20], xmm0
test eax, eax
je 0x1003e3f8
movss xmm2, dword [eax + 0xc]
movss xmm0, dword [eax + 0x10]
movaps xmm3, xmm2
addss xmm3, dword [esp + 0x28]
addss xmm2, dword [esp + 0x20]
movaps xmm1, xmm0
addss xmm1, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x24], xmm0
jmp 0x1003e41e
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi + 0x14]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
movss dword [esp + 0x2c], xmm0
movss xmm1, dword [esp + 0x1c]
lea eax, [esp + 0x20]
movups xmm0, xmmword [eax]
pop edi
movups xmmword [esi + 0x1ac8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1acc]
addss xmm1, dword [esi + 0x1ad4]
movss dword [esi + 0x1acc], xmm0
movss dword [esi + 0x1ad4], xmm1
movss xmm0, dword [esi + 0x1ac8]
addss xmm0, dword [0x100dd4b4]
mov dword [esi + 0x1ad8], 0
minss xmm0, dword [esi + 0x1ad0]
movss dword [esi + 0x1ac8], xmm0
movss dword [esi + 0x1ad0], xmm0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret