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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
mov esi, dword [0x10077088]
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
mov eax, dword [esi + 0x176c]
mov byte [eax + 0x8a], 1
mov eax, dword [esi + 0x176c]
mov dword [esp + 0x20], eax
cmp byte [eax + 0x8c], 0
je 0x1003c99f
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x1c8]
xor edx, edx
mov eax, dword [eax + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.10030ee0
add esp, 4
mov dword [esp + 0x44], eax
cmp dword [esi + 0x178c], eax
jne 0x1003c9ce
mov byte [esi + 0x1798], 1
mov ecx, edi
cmp edi, 0xffffffff
jae 0x1003c9ea
mov al, byte [ecx]
test al, al
je 0x1003c9ea
cmp al, 0x23
jne 0x1003c9e4
cmp byte [ecx + 1], al
je 0x1003c9ea
inc ecx
cmp ecx, 0xffffffff
jb 0x1003c9d5
movss xmm6, dword [esi + 0x171c]
mov eax, dword [esi + 0x1718]
mov dword [esp + 0x2c], eax
movss dword [esp + 0x30], xmm6
cmp edi, ecx
jne 0x1003ca0b
xorps xmm7, xmm7
jmp 0x1003ca67
movss xmm3, dword [0x10070f80]
movaps xmm2, xmm6
push ecx
push ecx
push edi
push ecx
lea ecx, [esp + 0x58]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.100548f0
movss xmm0, dword [esp + 0x48]
comiss xmm0, dword [0x10070d94]
jbe 0x1003ca4e
mov eax, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x30]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x10070e84]
movss xmm6, dword [esp + 0x4c]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm1, dword [esi + 0x141c]
lea ecx, [esp + 0x3c]
mov eax, dword [esp + 0x20]
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x30], xmm7
movss xmm4, dword [eax + 0xcc]
movss xmm2, dword [eax + 0xd0]
movss xmm3, dword [eax + 0xcc]
addss xmm0, xmm6
movaps xmm5, xmm2
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x60], xmm3
movss dword [esp + 0x64], xmm2
addss xmm4, xmm0
addss xmm5, xmm0
movaps xmm0, xmm4
movss dword [esp + 0x24], xmm4
subss xmm0, xmm3
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x68], xmm4
movss dword [esp + 0x6c], xmm5
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm5
subss xmm0, xmm2
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x40], xmm0
call fcn.100326f0
movss xmm0, dword [esp + 0x14]
xorps xmm4, xmm4
comiss xmm7, xmm4
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x5c], xmm0
jbe 0x1003cb4e
movss xmm1, dword [esi + 0x1430]
xorps xmm0, xmm0
call fcn.100466a0
comiss xmm7, xmm4
mov eax, dword [esp + 0x20]
movss xmm1, dword [eax + 0xcc]
movss xmm2, dword [eax + 0xd0]
addss xmm1, xmm4
movss xmm5, dword [esi + 0x141c]
addss xmm2, xmm5
movaps xmm0, xmm1
movss dword [esp + 0x38], xmm1
addss xmm0, xmm7
movss dword [esp + 0x70], xmm1
movaps xmm3, xmm2
movss dword [esp + 0x3c], xmm2
addss xmm3, xmm6
movss dword [esp + 0x74], xmm2
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x7c], xmm3
jbe 0x1003cc29
subss xmm0, xmm1
movaps xmm1, xmm5
lea ecx, [esp + 0x50]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x54], xmm0
call fcn.100326f0
movss xmm0, dword [esp + 0x18]
movss xmm2, dword [esp + 0x24]
movss xmm3, dword [esp + 0x28]
movss xmm1, dword [esp + 0x14]
minss xmm0, dword [esp + 0x3c]
maxss xmm2, dword [esp + 0x20]
maxss xmm3, dword [esp + 0x34]
minss xmm1, dword [esp + 0x38]
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x5c], xmm3
movss dword [esp + 0x50], xmm1
movaps xmm0, xmmword [esp + 0x50]
movaps xmmword [esp + 0x50], xmm0
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x50]
call fcn.10032800
test al, al
je 0x1003c997
push 0
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x1a]
push eax
call fcn.1003add0
add esp, 0xc
mov byte [esp + 0x13], al
test al, al
je 0x1003cc66
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
sete cl
mov byte [eax], cl
cmp byte [esp + 0x11], 0
mov al, byte [esp + 0x12]
je 0x1003cc7c
test al, al
je 0x1003cc7c
mov ecx, 9
jmp 0x1003cc86
xor ecx, ecx
test al, al
setne cl
add ecx, 7
push dword [esp + 0x6c]
movss xmm1, dword [0x10070e90]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.10031430
movss xmm2, dword [esi + 0x1420]
mov dl, 1
mov ecx, eax
call fcn.10035520
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp byte [eax], 0
je 0x1003cd3c
movss xmm7, dword [esp + 0x48]
mov ecx, 0x12
movaps xmm0, xmm7
movss xmm1, dword [0x10070e90]
minss xmm0, dword [esp + 0x2c]
movaps xmm2, xmm1
divss xmm0, dword [0x10070ee8]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm2, xmm0
movss xmm0, dword [esp + 0x14]
addss xmm0, xmm2
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, xmm2
addss xmm2, xmm2
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
subss xmm7, xmm2
push dword [esp + 0x4c]
call fcn.10031430
movaps xmm1, xmm7
mov ecx, eax
call fcn.100358a0
mov eax, dword [esp + 0x24]
add esp, 8
cmp byte [esi + 0x27e8], 0
je 0x1003cd63
cmp byte [eax], 0
mov ecx, 0x100700e4
mov edx, 0x100700e0
cmove edx, ecx
lea ecx, [esp + 0x70]
push 0
call fcn.10034fa0
add esp, 4
movss xmm0, dword [esp + 0x30]
comiss xmm0, dword [0x10070d94]
jbe 0x1003cd88
push dword [esp + 0x74]
xor edx, edx
mov ecx, edi
push dword [esp + 0x74]
push 1
call fcn.100350b0
add esp, 0xc
mov al, byte [esp + 0x13]
pop edi
pop esi
mov esp, ebp
pop ebp
ret