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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [0x102090c0]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov esi, dword [ebp + 8]
mov eax, edx
push edi
mov edi, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
cmp byte [esi + 0xa4], 0
mov dword [esp + 0x1c], esi
je 0x10039b7a
cmp byte [esi + 0xa6], 0
lea ecx, [edi + 0x56]
movss xmm0, dword [eax]
movss xmm4, dword [0x101fa978]
mov eax, dword [esi + 0xfc]
subss xmm0, xmm4
movss xmm1, dword [0x101fa79c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
movss dword [esp + 0x30], xmm0
je 0x10038fbd
cmp byte [ecx], 0
mov eax, dword [0x10226cb0]
mov esi, dword [eax + 0x5c]
mov eax, dword [0x10226ca8]
mov dword [esp + 0x20], esi
je 0x10038ed2
movss xmm2, dword [eax + 0x10d4]
jmp 0x10038eda
movss xmm2, dword [eax + 0x1244]
mov eax, dword [0x10226ca4]
lea edx, [esp + 0x18]
mov esi, dword [esi]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], 0x3f800000
mov eax, dword [eax + 0x10]
mov dword [esp + 0x18], 0
movss xmm0, dword [eax]
lea eax, [esp + 0x38]
subss xmm0, dword [edi + 0x6c]
subss xmm0, xmm1
movss xmm1, dword [0x101fa850]
divss xmm0, xmm2
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
movss dword [esp + 0x38], xmm1
cmovbe edx, eax
lea eax, [esp + 0x34]
comiss xmm1, dword [0x101fa850]
cmovbe eax, edx
movss xmm0, dword [eax]
mulss xmm0, dword [0x101fab1c]
cvttss2si eax, xmm0
push eax
mov eax, dword [esi + 0x3c]
push 0
push 0
push 0
call eax
mov eax, dword [0x10226cb0]
mov esi, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x30]
movaps xmm1, xmm0
mov ecx, dword [eax + 0x5c]
cvttss2si eax, dword [esi + 0xc]
mov edx, dword [ecx]
addss xmm1, dword [0x101fa850]
subss xmm0, dword [0x101fa978]
push eax
cvttss2si eax, xmm1
movss dword [esp + 0x3c], xmm1
push eax
cvttss2si eax, dword [esi + 4]
movss dword [esp + 0x20], xmm0
push eax
cvttss2si eax, xmm0
push eax
mov eax, dword [edx + 0x40]
call eax
movss xmm2, dword [0x101fa850]
lea ecx, [edi + 0x56]
movss xmm1, dword [0x101fa79c]
mov esi, dword [esp + 0x1c]
jmp 0x10038fe0
movss xmm2, dword [0x101fa850]
movaps xmm3, xmm0
addss xmm3, xmm2
mov dword [esp + 0x24], ecx
subss xmm0, xmm4
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x18], xmm0
cmp byte [esi + 0xa5], 0
movss xmm3, dword [0x101fab68]
je 0x100390dd
cmp byte [ecx], 0
mov eax, dword [0x10226cb0]
mov esi, dword [eax + 0x5c]
mov eax, dword [0x10226ca8]
mov dword [esp + 0xc], esi
je 0x10039015
movss xmm4, dword [eax + 0x10d4]
jmp 0x1003901d
movss xmm4, dword [eax + 0x1244]
mov eax, dword [0x10226ca4]
lea edx, [esp + 0x20]
mov esi, dword [esi]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], 0x3f800000
mov eax, dword [eax + 0x10]
mov dword [esp + 0x20], 0
movss xmm0, dword [eax]
lea eax, [esp + 0x34]
subss xmm0, dword [edi + 0x6c]
subss xmm0, xmm1
movaps xmm1, xmm2
divss xmm0, xmm4
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
movss dword [esp + 0x34], xmm1
cmovbe edx, eax
lea eax, [esp + 0x10]
comiss xmm1, xmm2
cmovbe eax, edx
movss xmm0, dword [eax]
mulss xmm0, xmm3
cvttss2si eax, xmm0
push eax
mov eax, dword [esi + 0x3c]
push 0
push 0
push 0
call eax
mov esi, dword [esp + 0x2c]
mov eax, dword [0x10226cb0]
movss xmm0, dword [esi + 0xc]
addss xmm0, dword [0x101fa850]
mov ecx, dword [eax + 0x5c]
cvttss2si eax, xmm0
mov edx, dword [ecx]
movss xmm0, dword [esi + 4]
subss xmm0, dword [0x101fa850]
push eax
cvttss2si eax, dword [esp + 0x3c]
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, dword [esp + 0x24]
push eax
mov eax, dword [edx + 0x48]
call eax
movss xmm3, dword [0x101fab68]
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0xbc], 0
movss xmm1, dword [0x101fa9b4]
je 0x10039424
cmp dword [edi + 0x78], 0x64
je 0x10039424
cmp byte [esi + 0xbb], 0
mov eax, dword [0x10226cb0]
jne 0x100391e9
mov edx, dword [eax + 0x5c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], edx
cmp byte [eax], 0
mov eax, dword [0x10226ca8]
je 0x1003912d
movss xmm1, dword [eax + 0x10d4]
jmp 0x10039135
movss xmm1, dword [eax + 0x1244]
mov eax, dword [0x10226ca4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0x3f800000
mov dword [esp + 0xc], 0
mov edx, dword [edx]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
lea eax, [esp + 0x10]
subss xmm0, dword [edi + 0x6c]
subss xmm0, dword [0x101fa79c]
divss xmm0, xmm1
movss xmm1, dword [0x101fa850]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
movss xmm0, dword [esi + 0xb3]
mulss xmm0, xmm3
cmovbe ecx, eax
lea eax, [esp + 0x20]
movss dword [esp + 0x10], xmm1
comiss xmm1, dword [0x101fa850]
cmovbe eax, ecx
mov ecx, dword [esp + 0x34]
mulss xmm0, dword [eax]
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0xaf]
mulss xmm0, xmm3
push eax
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0xab]
mulss xmm0, xmm3
push eax
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0xa7]
mulss xmm0, xmm3
push eax
cvttss2si eax, xmm0
push eax
mov eax, dword [edx + 0x64]
jmp 0x100392a5
mov edi, dword [eax + 0x5c]
mov eax, dword [0x10226ca4]
push 0xff
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
mulss xmm0, dword [esi + 0xb7]
mov esi, dword [edi]
movss dword [esp + 0x1c], xmm0
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.101c3d20
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x101fa7dc]
addss xmm0, dword [0x101fa7dc]
mulss xmm0, dword [0x101fab68]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [0x101fa928]
push eax
cvtps2pd xmm0, xmm0
call fcn.101c3d20
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x101fa7dc]
addss xmm0, dword [0x101fa7dc]
mulss xmm0, dword [0x101fab68]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x20]
cvtps2pd xmm0, xmm0
push eax
call fcn.101c3d20
cvtsd2ss xmm0, xmm0
mov ecx, edi
mulss xmm0, dword [0x101fa7dc]
addss xmm0, dword [0x101fa7dc]
mulss xmm0, dword [0x101fab68]
cvttss2si eax, xmm0
push eax
mov eax, dword [esi + 0x64]
call eax
mov eax, dword [0x10226cb0]
mov ecx, dword [eax + 0x5c]
mov eax, dword [0x10226cb8]
mov edx, dword [ecx]
push dword [eax + 0x2c]
mov eax, dword [edx + 0x5c]
call eax
mov eax, dword [0x10226cb0]
lea ecx, [esp + 0x54]
mov esi, dword [esp + 0x28]
mov edi, dword [eax + 0x5c]
mov edx, dword [esi + 0x78]
call fcn.1003ca40
cmp dword [esp + 0x68], 7
lea ecx, [esp + 0xc]
mov edx, dword [edi]
lea eax, [esp + 0x54]
cmova eax, dword [esp + 0x54]
push ecx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [0x10226cb8]
mov ecx, edi
push dword [eax + 0x2c]
mov eax, dword [edx + 0x13c]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x78]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 0xc]
mov eax, 0x64
sub eax, ecx
subss xmm2, xmm1
movd xmm0, eax
andps xmm2, xmmword [0x101fb210]
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
mov edx, ecx
sar eax, 1
lea ecx, [esp + 0x3c]
mulss xmm2, xmm0
movd xmm0, eax
mov eax, dword [0x10226cb0]
divss xmm2, dword [0x101faad8]
mov esi, dword [eax + 0x5c]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm1
subss xmm2, xmm0
movss dword [esp + 0xc], xmm2
call fcn.1003ca40
cmp dword [esp + 0x50], 7
lea ecx, [esp + 0x20]
mov edx, dword [esi]
lea eax, [esp + 0x3c]
cmova eax, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [0x10226cb8]
mov ecx, esi
push dword [eax + 0x2c]
mov eax, dword [edx + 0x13c]
call eax
movd xmm0, dword [esp + 0x10]
mov ecx, edi
movss xmm1, dword [esp + 0x30]
subss xmm1, dword [0x101fa9b0]
cvttss2si eax, dword [esp + 0xc]
mov edx, dword [edi]
cvtdq2ps xmm0, xmm0
push eax
subss xmm1, xmm0
cvttss2si eax, xmm1
push eax
mov eax, dword [edx + 0x68]
call eax
lea ecx, [esp + 0x3c]
call fcn.10002310
lea ecx, [esp + 0x54]
call fcn.10002310
mov eax, dword [0x10226cb0]
lea ecx, [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov esi, dword [eax + 0x5c]
mov edx, dword [edi + 0x78]
call fcn.1003ca40
cmp dword [esp + 0x50], 7
lea edx, [esp + 0x3c]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [esp + 0x3c]
push 0
push dword [esp + 0x50]
mov eax, dword [eax + 0x70]
push edx
call eax
lea ecx, [esp + 0x3c]
call fcn.10002310
movss xmm1, dword [0x101fa9b4]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x100395e8
cmp byte [esi + 0xd1], 0
mov eax, dword [0x10226cb0]
je 0x10039509
mov edi, dword [eax + 0x5c]
mov eax, dword [0x10226ca4]
push 0xff
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
mulss xmm0, dword [esi + 0xcd]
mov esi, dword [edi]
movss dword [esp + 0x1c], xmm0
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.101c3d20
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x101fa7dc]
addss xmm0, dword [0x101fa7dc]
mulss xmm0, dword [0x101fab68]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [0x101fa928]
push eax
cvtps2pd xmm0, xmm0
call fcn.101c3d20
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x101fa7dc]
addss xmm0, dword [0x101fa7dc]
mulss xmm0, dword [0x101fab68]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x20]
cvtps2pd xmm0, xmm0
push eax
call fcn.101c3d20
cvtsd2ss xmm0, xmm0
mov ecx, edi
mulss xmm0, dword [0x101fa7dc]
addss xmm0, dword [0x101fa7dc]
mulss xmm0, dword [0x101fab68]
cvttss2si eax, xmm0
push eax
mov eax, dword [esi + 0x3c]
call eax
mov edi, dword [esp + 0x28]
jmp 0x10039b11
mov edx, dword [eax + 0x5c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edx
cmp byte [eax], 0
mov eax, dword [0x10226ca8]
je 0x10039528
movss xmm1, dword [eax + 0x10d4]
jmp 0x10039530
movss xmm1, dword [eax + 0x1244]
mov eax, dword [0x10226ca4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0x14], 0
mov edx, dword [edx]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
lea eax, [esp + 0xc]
subss xmm0, dword [edi + 0x6c]
subss xmm0, dword [0x101fa79c]
divss xmm0, xmm1
movss xmm1, dword [0x101fa850]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
movss xmm0, dword [esi + 0xc9]
movss dword [esp + 0xc], xmm1
cmovbe ecx, eax
lea eax, [esp + 0x10]
comiss xmm1, dword [0x101fa850]
movss xmm1, dword [0x101fab68]
mulss xmm0, xmm1
cmovbe eax, ecx
mov ecx, dword [esp + 0x20]
mulss xmm0, dword [eax]
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0xc5]
mulss xmm0, xmm1
push eax
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0xc1]
mulss xmm0, xmm1
push eax
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0xbd]
mulss xmm0, xmm1
push eax
cvttss2si eax, xmm0
jmp 0x10039b0b
cmp eax, 1
jne 0x1003982b
mov eax, dword [esp + 0x24]
cmp byte [eax], 0
mov eax, dword [0x10226ca8]
je 0x10039609
movss xmm1, dword [eax + 0x10d4]
jmp 0x10039611
movss xmm1, dword [eax + 0x1244]
mov eax, dword [0x10226ca4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0x14], 0
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
lea eax, [esp + 0xc]
subss xmm0, dword [edi + 0x6c]
subss xmm0, dword [0x101fa79c]
divss xmm0, xmm1
movss xmm1, dword [0x101fa850]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
movss dword [esp + 0xc], xmm1
cmovbe ecx, eax
lea eax, [esp + 0x10]
comiss xmm1, dword [0x101fa850]
movups xmm1, xmmword [esi + 0xe7]
cmovbe eax, ecx
sub esp, 0x18
mov ecx, esp
movss xmm0, dword [eax]
mov eax, dword [esi + 0xf7]
mulss xmm0, dword [esi + 0xf3]
movups xmmword [ecx], xmm1
mov dword [ecx + 0x10], eax
mov al, byte [esi + 0xfb]
mov byte [ecx + 0x14], al
call fcn.100bec70
mov edx, eax
mov ecx, edx
shr ecx, 8
movzx eax, cl
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov ecx, edx
shl eax, 8
and edx, 0xff000000
shr ecx, 0x10
mov dword [esp + 0x28], eax
movzx eax, cl
mov ecx, dword [esp + 0x28]
or ecx, eax
mov eax, dword [esp + 0x24]
or ecx, edx
mov dword [esp + 0x28], ecx
cmp byte [eax], 0
mov eax, dword [0x10226ca8]
je 0x100396ec
movss xmm1, dword [eax + 0x10d4]
jmp 0x100396f4
movss xmm1, dword [eax + 0x1244]
mov eax, dword [0x10226ca4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0x14], 0
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
lea eax, [esp + 0xc]
subss xmm0, dword [edi + 0x6c]
subss xmm0, dword [0x101fa79c]
divss xmm0, xmm1
movss xmm1, dword [0x101fa850]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
movss dword [esp + 0xc], xmm1
cmovbe ecx, eax
lea eax, [esp + 0x10]
comiss xmm1, dword [0x101fa850]
movups xmm1, xmmword [esi + 0xd2]
cmovbe eax, ecx
sub esp, 0x18
mov ecx, esp
movss xmm0, dword [eax]
mov eax, dword [esi + 0xe2]
mulss xmm0, dword [esi + 0xde]
movups xmmword [ecx], xmm1
mov dword [ecx + 0x10], eax
mov al, byte [esi + 0xe6]
mov byte [ecx + 0x14], al
call fcn.100bec70
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x28]
movss xmm0, dword [esp + 0x34]
mov dword [esp + 0x18], eax
movss xmm3, dword [ecx + 0xc]
movss xmm2, dword [ecx + 4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
shr eax, 0x10
movzx eax, al
shl ecx, 8
or edx, ecx
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x18]
and eax, 0xff000000
or edx, eax
cvttss2si eax, xmm3
push edx
subss xmm3, xmm2
push eax
cvttss2si eax, xmm0
andps xmm3, xmmword [0x101fb210]
push eax
mov eax, 0x64
sub eax, dword [edi + 0x78]
subss xmm0, dword [0x101fa918]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
mulss xmm3, xmm1
movss xmm0, dword [0x101fa850]
divss xmm3, dword [0x101faad8]
addss xmm3, xmm2
cvttss2si edx, xmm3
call fcn.1018a440
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.1019ba64
mov esp, ebp
pop ebp
ret 4
cmp eax, 2
jne 0x10039b7a
cmp dword [edi + 0x78], 0x19
mov eax, dword [0x10226ca8]
mov ecx, dword [0x10226ca4]
mov byte [esp + 0xb], 0xff
mov byte [esp + 0xa], 0xff
mov byte [esp + 9], 0xff
mov byte [esp + 0x1c], 0xff
jg 0x10039903
mov edx, dword [esp + 0x24]
cmp byte [edx], 0
je 0x10039870
movss xmm1, dword [eax + 0x10d4]
jmp 0x10039878
movss xmm1, dword [eax + 0x1244]
mov edx, dword [ecx + 0x10]
lea esi, [esp + 0x14]
movss xmm5, dword [0x101fa79c]
xorps xmm4, xmm4
movss xmm2, dword [0x101fa850]
movss xmm3, dword [0x101fab68]
movss xmm0, dword [edx]
lea edx, [esp + 0xc]
subss xmm0, dword [edi + 0x6c]
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0x14], 0
mov byte [esp + 0xb], 0xfa
mov byte [esp + 0xa], 0x39
subss xmm0, xmm5
mov byte [esp + 9], 0x50
divss xmm0, xmm1
movaps xmm1, xmm2
subss xmm1, xmm0
comiss xmm4, xmm1
movss dword [esp + 0xc], xmm1
cmovbe esi, edx
lea edx, [esp + 0x10]
comiss xmm1, xmm2
cmovbe edx, esi
movss xmm0, dword [edx]
mulss xmm0, xmm3
cvttss2si edx, xmm0
mov dword [esp + 0x1c], edx
mov edx, dword [edi + 0x78]
jmp 0x100399cd
mov edx, dword [edi + 0x78]
cmp edx, 0x32
jg 0x100399b2
mov edx, dword [esp + 0x24]
cmp byte [edx], 0
je 0x10039922
movss xmm1, dword [eax + 0x10d4]
jmp 0x1003992a
movss xmm1, dword [eax + 0x1244]
mov edx, dword [ecx + 0x10]
lea esi, [esp + 0x14]
movss xmm5, dword [0x101fa79c]
xorps xmm4, xmm4
movss xmm2, dword [0x101fa850]
movss xmm3, dword [0x101fab68]
movss xmm0, dword [edx]
lea edx, [esp + 0xc]
subss xmm0, dword [edi + 0x6c]
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0x14], 0
mov byte [esp + 0xb], 0xd1
mov byte [esp + 0xa], 0x6e
subss xmm0, xmm5
mov byte [esp + 9], 0x50
divss xmm0, xmm1
movaps xmm1, xmm2
subss xmm1, xmm0
comiss xmm4, xmm1
movss dword [esp + 0xc], xmm1
cmovbe esi, edx
lea edx, [esp + 0x10]
comiss xmm1, xmm2
cmovbe edx, esi
movss xmm0, dword [edx]
mulss xmm0, xmm3
cvttss2si edx, xmm0
mov byte [esp + 0x1c], dl
mov edx, dword [edi + 0x78]
jmp 0x100399cd
movss xmm2, dword [0x101fa850]
xorps xmm4, xmm4
movss xmm3, dword [0x101fab68]
movss xmm5, dword [0x101fa79c]
add edx, 0xffffffcd
cmp edx, 0x13
ja 0x10039a59
cmp byte [edi + 0x56], 0
je 0x100399e9
movss xmm1, dword [eax + 0x10d4]
jmp 0x100399f1
movss xmm1, dword [eax + 0x1244]
mov edx, dword [ecx + 0x10]
lea esi, [esp + 0x14]
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0x14], 0
mov byte [esp + 0xb], 0xa3
movss xmm0, dword [edx]
lea edx, [esp + 0xc]
subss xmm0, dword [edi + 0x6c]
mov byte [esp + 0xa], 0xa9
mov byte [esp + 9], 0x50
subss xmm0, xmm5
divss xmm0, xmm1
movaps xmm1, xmm2
subss xmm1, xmm0
comiss xmm4, xmm1
movss dword [esp + 0xc], xmm1
cmovbe esi, edx
lea edx, [esp + 0x10]
comiss xmm1, xmm2
cmovbe edx, esi
movss xmm0, dword [edx]
mulss xmm0, xmm3
cvttss2si edx, xmm0
mov byte [esp + 0x1c], dl
mov edx, dword [edi + 0x78]
add edx, 0xffffffb9
cmp edx, 0x1d
ja 0x10039ae8
cmp byte [edi + 0x56], 0
je 0x10039a78
movss xmm1, dword [eax + 0x10d4]
jmp 0x10039a80
movss xmm1, dword [eax + 0x1244]
mov eax, dword [ecx + 0x10]
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0x14], 0
mov byte [esp + 0xb], 0x78
movss xmm0, dword [eax]
lea eax, [esp + 0xc]
subss xmm0, dword [edi + 0x6c]
mov byte [esp + 0xa], 0xe1
mov byte [esp + 9], 0x50
subss xmm0, xmm5
divss xmm0, xmm1
movaps xmm1, xmm2
subss xmm1, xmm0
comiss xmm4, xmm1
movss dword [esp + 0xc], xmm1
cmovbe ecx, eax
lea eax, [esp + 0x10]
comiss xmm1, xmm2
cmovbe eax, ecx
movss xmm0, dword [eax]
mulss xmm0, xmm3
cvttss2si eax, xmm0
mov byte [esp + 0x1c], al
mov eax, dword [0x10226cb0]
mov ecx, dword [eax + 0x5c]
mov eax, dword [esp + 0x1c]
movzx eax, al
push eax
movzx eax, byte [esp + 0xd]
mov edx, dword [ecx]
push eax
movzx eax, byte [esp + 0x12]
push eax
movzx eax, byte [esp + 0x17]
push eax
mov eax, dword [edx + 0x3c]
call eax
mov eax, dword [0x10226cb0]
movss xmm3, dword [esp + 0x30]
mov ecx, dword [eax + 0x5c]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 0xc]
cvttss2si eax, xmm2
subss xmm2, xmm1
push eax
cvttss2si eax, xmm3
andps xmm2, xmmword [0x101fb210]
push eax
mov eax, 0x64
sub eax, dword [edi + 0x78]
subss xmm3, dword [0x101fa918]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
divss xmm2, dword [0x101faad8]
addss xmm2, xmm1
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm3
push eax
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.1019ba64
mov esp, ebp
pop ebp
ret 4