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

Disassembly:
sub esp, 0x1c
mov ecx, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
push edi
push 0
push ecx
push esi
call dword [eax + 0x378]
mov edi, eax
test edi, edi
mov dword [esp + 0x20], edi
je 0x10004469
mov eax, dword [esp + 0x48]
mov edx, dword [esi]
push ebp
push 0
push eax
push esi
call dword [edx + 0x378]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0xc], ebp
je 0x10004468
mov edx, dword [esp + 0x70]
mov ecx, dword [esi]
push ebx
push 0
push edx
push esi
call dword [ecx + 0x378]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x10004467
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
movss xmm6, dword [esp + 0x58]
movss xmm7, dword [esp + 0x7c]
movss xmm3, dword [esp + 0x5c]
movss xmm1, dword [esp + 0x60]
movss xmm4, dword [esp + 0x80]
movss xmm2, dword [esp + 0x84]
subss xmm3, dword [esp + 0x54]
subss xmm4, dword [esp + 0x78]
mov ecx, dword [esp + 0x40]
cvtsi2ss xmm5, eax
subss xmm1, xmm6
cvtsi2ss xmm0, edx
divss xmm3, xmm0
divss xmm4, xmm0
divss xmm1, xmm5
subss xmm2, xmm7
divss xmm2, xmm5
movss xmm5, dword [0x1000c044]
movaps xmm0, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
movaps xmm6, xmm2
add eax, ecx
cmp ecx, eax
mulss xmm6, xmm5
addss xmm6, xmm7
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x1c], xmm4
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x44], xmm6
jge 0x10004434
mov ebp, dword [esp + 0x3c]
movss xmm7, dword [0x1000c03c]
add edx, ebp
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x4c]
lea ebx, [edx*4]
mov dword [esp + 0x4c], ebx
mov ebx, ecx
imul ebx, edx
add ebx, ebp
lea edx, [edi + ebx*4]
mov ebx, dword [esp + 0x88]
mulss xmm3, xmm5
addss xmm3, dword [esp + 0x54]
mulss xmm4, xmm5
addss xmm4, dword [esp + 0x78]
sub eax, ecx
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x40], xmm4
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], eax
jmp 0x10004120
movss xmm0, dword [esp + 0x30]
movss xmm6, dword [esp + 0x44]
lea ecx, [ecx]
mov eax, dword [esp + 0x5c]
cmp ebp, eax
movss dword [esp + 0x54], xmm3
movss dword [esp + 0x78], xmm4
jge 0x100043fb
mov edi, edx
mov edx, eax
sub edx, ebp
jmp 0x10004146
movss xmm4, dword [esp + 0x78]
movss xmm1, dword [esp + 0x54]
xorps xmm2, xmm2
comiss xmm1, xmm2
jb 0x10004191
comiss xmm0, xmm2
jb 0x10004191
mov ebp, dword [esp + 0x64]
cvtsi2ss xmm3, ebp
mulss xmm3, xmm1
cvtsi2ss xmm1, dword [esp + 0x68]
cvttss2si ecx, xmm3
cmp ecx, ebp
mulss xmm1, xmm0
cvttss2si eax, xmm1
jge 0x10004191
cmp eax, dword [esp + 0x68]
jge 0x10004191
imul eax, dword [esp + 0x6c]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax*4]
jmp 0x10004193
xor eax, eax
movss xmm1, dword [0x1000c040]
mov ecx, eax
sar ecx, 0x10
and ecx, 0xff
cvtsi2ss xmm5, ecx
mov ecx, eax
sar ecx, 8
and ecx, 0xff
cvtsi2ss xmm0, ecx
mulss xmm0, xmm1
mov ecx, eax
movss dword [esp + 0x80], xmm0
and ecx, 0xff
sar eax, 0x18
cvtsi2ss xmm0, ecx
mulss xmm0, xmm1
and eax, 0xff
comiss xmm4, xmm2
movss dword [esp + 0x84], xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm1
mulss xmm5, xmm1
movss dword [esp + 0x48], xmm0
jb 0x1000423d
comiss xmm6, xmm2
jb 0x1000423d
mov ebp, dword [esp + 0x8c]
cvtsi2ss xmm0, ebx
mulss xmm0, xmm4
cvttss2si ecx, xmm0
cmp ecx, ebx
cvtsi2ss xmm0, ebp
mulss xmm0, xmm6
cvttss2si eax, xmm0
jge 0x1000423d
cmp eax, ebp
jge 0x1000423d
imul eax, dword [esp + 0x90]
add eax, ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
jmp 0x1000423f
xor eax, eax
movss xmm2, dword [esp + 0x70]
mov ecx, eax
sar ecx, 0x10
and ecx, 0xff
cvtsi2ss xmm3, ecx
mov ecx, eax
sar ecx, 8
mulss xmm3, xmm1
mulss xmm3, xmm2
and ecx, 0xff
cvtsi2ss xmm4, ecx
mulss xmm4, xmm1
mulss xmm4, xmm2
mov ecx, eax
sar eax, 0x18
and ecx, 0xff
and eax, 0xff
cvtsi2ss xmm6, ecx
mulss xmm6, xmm1
mulss xmm6, xmm2
cvtsi2ss xmm0, eax
mulss xmm0, xmm1
mulss xmm0, xmm2
movaps xmm2, xmm3
addss xmm2, xmm7
subss xmm2, xmm0
mulss xmm2, xmm5
movaps xmm1, xmm7
subss xmm1, dword [esp + 0x48]
movaps xmm5, xmm1
mulss xmm5, xmm3
addss xmm2, xmm5
movaps xmm5, xmm4
addss xmm5, xmm7
subss xmm5, xmm0
mulss xmm5, dword [esp + 0x80]
movaps xmm3, xmm1
mulss xmm3, xmm4
addss xmm5, xmm3
movaps xmm4, xmm6
addss xmm4, xmm7
subss xmm4, xmm0
mulss xmm4, dword [esp + 0x84]
movaps xmm3, xmm1
mulss xmm3, xmm6
addss xmm4, xmm3
movaps xmm3, xmm0
addss xmm3, xmm7
subss xmm3, xmm0
mulss xmm3, dword [esp + 0x48]
mulss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
addss xmm3, xmm1
jbe 0x10004322
movaps xmm2, xmm0
jmp 0x1000432a
comiss xmm2, xmm7
jbe 0x1000432a
movaps xmm2, xmm7
comiss xmm0, xmm5
jbe 0x10004334
movaps xmm5, xmm0
jmp 0x1000433c
comiss xmm5, xmm7
jbe 0x1000433c
movaps xmm5, xmm7
comiss xmm0, xmm4
jbe 0x10004346
movaps xmm4, xmm0
jmp 0x1000434e
comiss xmm4, xmm7
jbe 0x1000434e
movaps xmm4, xmm7
comiss xmm0, xmm3
jbe 0x10004358
movaps xmm3, xmm0
jmp 0x10004360
comiss xmm3, xmm7
jbe 0x10004360
movaps xmm3, xmm7
movss xmm0, dword [0x1000c038]
movss xmm6, dword [esp + 0x44]
mulss xmm3, xmm0
addss xmm3, dword [0x1000c044]
mulss xmm2, xmm0
cvttss2si eax, xmm3
shl eax, 8
mulss xmm5, xmm0
cvttss2si ecx, xmm2
or eax, ecx
shl eax, 8
mulss xmm4, xmm0
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [esp + 0x18]
cvttss2si ecx, xmm5
or eax, ecx
shl eax, 8
cvttss2si ecx, xmm4
or eax, ecx
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0x1c]
mov dword [edi], eax
add edi, 4
dec edx
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x30]
jne 0x10004140
movss xmm1, dword [esp + 0x20]
movss xmm2, dword [esp + 0x7c]
movss xmm4, dword [esp + 0x40]
movss xmm3, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
add edx, ecx
dec eax
addss xmm0, xmm1
addss xmm6, xmm2
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x44], xmm6
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], eax
jne 0x10004111
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov edx, dword [esi]
push 2
push edi
push eax
push esi
call dword [edx + 0x37c]
mov edx, dword [esp + 0x50]
mov ecx, dword [esi]
push 2
push ebp
push edx
push esi
call dword [ecx + 0x37c]
mov ecx, dword [esp + 0x74]
mov eax, dword [esi]
push 2
push ebx
push ecx
push esi
call dword [eax + 0x37c]
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x1c
ret 0x64