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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
mov esi, dword [ebp + 8]
mov eax, edx
push edi
mov edi, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
cmp byte [esi + 0xa4], 0
mov dword [esp + 0x1c], esi
je 0x100399c4
cmp byte [esi + 0xa6], 0
movss xmm0, dword [eax]
movss xmm4, dword [0x10202188]
mov eax, dword [esi + 0xfc]
subss xmm0, xmm4
movss xmm1, dword [0x10201fb4]
mov dword [esp + 0x14], eax
movss dword [esp + 0x2c], xmm0
je 0x10038e3c
cmp byte [edi + 0x56], 0
mov eax, dword [0x10229c80]
mov ecx, dword [eax + 0x5c]
mov eax, dword [0x10229c78]
je 0x10038d58
movss xmm2, dword [eax + 0x10d4]
jmp 0x10038d60
movss xmm2, dword [eax + 0x1244]
mov eax, dword [0x10229c74]
lea edx, [esp + 0x18]
mov esi, dword [ecx]
mov dword [esp + 0x20], 0x3f800000
mov dword [esp + 0x18], 0
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
lea eax, [esp + 0x30]
subss xmm0, dword [edi + 0x6c]
subss xmm0, xmm1
movss xmm1, dword [0x10202060]
divss xmm0, xmm2
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
movss dword [esp + 0x30], xmm1
cmovbe edx, eax
lea eax, [esp + 0x20]
comiss xmm1, dword [0x10202060]
cmovbe eax, edx
movss xmm0, dword [eax]
mulss xmm0, dword [0x1020232c]
cvttss2si eax, xmm0
push eax
mov eax, dword [esi + 0x3c]
push 0
push 0
push 0
call eax
mov eax, dword [0x10229c80]
mov esi, dword [esp + 0x28]
movss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm0
mov ecx, dword [eax + 0x5c]
cvttss2si eax, dword [esi + 0xc]
mov edx, dword [ecx]
addss xmm1, dword [0x10202060]
subss xmm0, dword [0x10202188]
push eax
cvttss2si eax, xmm1
movss dword [esp + 0x34], 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 [0x10202060]
movss xmm1, dword [0x10201fb4]
mov esi, dword [esp + 0x1c]
jmp 0x10038e5b
movss xmm2, dword [0x10202060]
movaps xmm3, xmm0
addss xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x18], xmm0
cmp byte [esi + 0xa5], 0
movss xmm3, dword [0x10202378]
je 0x10038f51
cmp byte [edi + 0x56], 0
mov eax, dword [0x10229c80]
mov ecx, dword [eax + 0x5c]
mov eax, dword [0x10229c78]
je 0x10038e8d
movss xmm4, dword [eax + 0x10d4]
jmp 0x10038e95
movss xmm4, dword [eax + 0x1244]
mov eax, dword [0x10229c74]
lea edx, [esp + 0x20]
mov esi, dword [ecx]
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 0x20], 0
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
lea eax, [esp + 0x10]
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 + 0x10], xmm1
cmovbe edx, eax
lea eax, [esp + 0xc]
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 + 0x28]
mov eax, dword [0x10229c80]
movss xmm0, dword [esi + 0xc]
addss xmm0, dword [0x10202060]
mov ecx, dword [eax + 0x5c]
cvttss2si eax, xmm0
mov edx, dword [ecx]
movss xmm0, dword [esi + 4]
subss xmm0, dword [0x10202060]
push eax
cvttss2si eax, dword [esp + 0x34]
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, dword [esp + 0x24]
push eax
mov eax, dword [edx + 0x48]
call eax
movss xmm3, dword [0x10202378]
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0xbc], 0
movss xmm1, dword [0x102021c4]
je 0x10039295
cmp dword [edi + 0x78], 0x64
je 0x10039295
cmp byte [esi + 0xbb], 0
mov eax, dword [0x10229c80]
jne 0x1003905a
cmp byte [edi + 0x56], 0
mov edx, dword [eax + 0x5c]
mov eax, dword [0x10229c78]
mov dword [esp + 0x18], edx
je 0x10038f9e
movss xmm1, dword [eax + 0x10d4]
jmp 0x10038fa6
movss xmm1, dword [eax + 0x1244]
mov eax, dword [0x10229c74]
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 [0x10201fb4]
divss xmm0, xmm1
movss xmm1, dword [0x10202060]
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 [0x10202060]
cmovbe eax, ecx
mov ecx, dword [esp + 0x18]
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 0x10039116
mov edi, dword [eax + 0x5c]
mov eax, dword [0x10229c74]
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.101c9130
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10201ff4]
addss xmm0, dword [0x10201ff4]
mulss xmm0, dword [0x10202378]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [0x10202138]
push eax
cvtps2pd xmm0, xmm0
call fcn.101c9130
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10201ff4]
addss xmm0, dword [0x10201ff4]
mulss xmm0, dword [0x10202378]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x20]
cvtps2pd xmm0, xmm0
push eax
call fcn.101c9130
cvtsd2ss xmm0, xmm0
mov ecx, edi
mulss xmm0, dword [0x10201ff4]
addss xmm0, dword [0x10201ff4]
mulss xmm0, dword [0x10202378]
cvttss2si eax, xmm0
push eax
mov eax, dword [esi + 0x64]
call eax
mov eax, dword [0x10229c80]
mov ecx, dword [eax + 0x5c]
mov eax, dword [0x10229c88]
mov edx, dword [ecx]
push dword [eax + 0x2c]
mov eax, dword [edx + 0x5c]
call eax
mov eax, dword [0x10229c80]
lea ecx, [esp + 0x4c]
mov esi, dword [esp + 0x24]
mov edi, dword [eax + 0x5c]
mov edx, dword [esi + 0x78]
call fcn.1003ca30
cmp dword [esp + 0x60], 8
lea ecx, [esp + 0xc]
mov edx, dword [edi]
lea eax, [esp + 0x4c]
cmovae eax, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [0x10229c88]
mov ecx, edi
push dword [eax + 0x2c]
mov eax, dword [edx + 0x13c]
call eax
mov eax, dword [esp + 0x28]
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 [0x10202ae0]
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
mov edx, ecx
sar eax, 1
lea ecx, [esp + 0x34]
mulss xmm2, xmm0
movd xmm0, eax
mov eax, dword [0x10229c80]
divss xmm2, dword [0x102022e8]
mov esi, dword [eax + 0x5c]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm1
subss xmm2, xmm0
movss dword [esp + 0xc], xmm2
call fcn.1003ca30
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x20]
mov edx, dword [esi]
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [0x10229c88]
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 + 0x2c]
subss xmm1, dword [0x102021c0]
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 + 0x34]
call fcn.10002300
lea ecx, [esp + 0x4c]
call fcn.10002300
mov eax, dword [0x10229c80]
lea ecx, [esp + 0x34]
mov edi, dword [esp + 0x24]
mov esi, dword [eax + 0x5c]
mov edx, dword [edi + 0x78]
call fcn.1003ca30
cmp dword [esp + 0x48], 8
lea edx, [esp + 0x34]
mov eax, dword [esi]
mov ecx, esi
cmovae edx, dword [esp + 0x34]
push 0
push dword [esp + 0x48]
mov eax, dword [eax + 0x70]
push edx
call eax
lea ecx, [esp + 0x34]
call fcn.10002300
movss xmm1, dword [0x102021c4]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10039456
cmp byte [esi + 0xd1], 0
mov eax, dword [0x10229c80]
je 0x1003937a
mov edi, dword [eax + 0x5c]
mov eax, dword [0x10229c74]
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.101c9130
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10201ff4]
addss xmm0, dword [0x10201ff4]
mulss xmm0, dword [0x10202378]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [0x10202138]
push eax
cvtps2pd xmm0, xmm0
call fcn.101c9130
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x10201ff4]
addss xmm0, dword [0x10201ff4]
mulss xmm0, dword [0x10202378]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x20]
cvtps2pd xmm0, xmm0
push eax
call fcn.101c9130
cvtsd2ss xmm0, xmm0
mov ecx, edi
mulss xmm0, dword [0x10201ff4]
addss xmm0, dword [0x10201ff4]
mulss xmm0, dword [0x10202378]
cvttss2si eax, xmm0
push eax
mov eax, dword [esi + 0x3c]
call eax
mov edi, dword [esp + 0x24]
jmp 0x1003995b
cmp byte [edi + 0x56], 0
mov edx, dword [eax + 0x5c]
mov eax, dword [0x10229c78]
mov dword [esp + 0x20], edx
je 0x10039396
movss xmm1, dword [eax + 0x10d4]
jmp 0x1003939e
movss xmm1, dword [eax + 0x1244]
mov eax, dword [0x10229c74]
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 [0x10201fb4]
divss xmm0, xmm1
movss xmm1, dword [0x10202060]
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 [0x10202060]
movss xmm1, dword [0x10202378]
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 0x10039955
cmp eax, 1
jne 0x10039693
cmp byte [edi + 0x56], 0
mov eax, dword [0x10229c78]
je 0x10039474
movss xmm1, dword [eax + 0x10d4]
jmp 0x1003947c
movss xmm1, dword [eax + 0x1244]
mov eax, dword [0x10229c74]
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 [0x10201fb4]
divss xmm0, xmm1
movss xmm1, dword [0x10202060]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
movss dword [esp + 0xc], xmm1
cmovbe ecx, eax
lea eax, [esp + 0x10]
comiss xmm1, dword [0x10202060]
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.100bfd60
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 + 0x24], eax
movzx eax, cl
mov ecx, dword [esp + 0x24]
or ecx, eax
mov eax, dword [0x10229c78]
or ecx, edx
cmp byte [edi + 0x56], 0
mov dword [esp + 0x24], ecx
je 0x10039554
movss xmm1, dword [eax + 0x10d4]
jmp 0x1003955c
movss xmm1, dword [eax + 0x1244]
mov eax, dword [0x10229c74]
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 [0x10201fb4]
divss xmm0, xmm1
movss xmm1, dword [0x10202060]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
movss dword [esp + 0xc], xmm1
cmovbe ecx, eax
lea eax, [esp + 0x10]
comiss xmm1, dword [0x10202060]
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.100bfd60
mov ecx, dword [esp + 0x28]
push dword [esp + 0x24]
movss xmm0, dword [esp + 0x30]
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 [0x10202ae0]
push eax
mov eax, 0x64
sub eax, dword [edi + 0x78]
subss xmm0, dword [0x10202128]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
mulss xmm3, xmm1
movss xmm0, dword [0x10202060]
divss xmm3, dword [0x102022e8]
addss xmm3, xmm2
cvttss2si edx, xmm3
call fcn.1018ea90
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret 4
cmp eax, 2
jne 0x100399c4
mov edx, dword [edi + 0x78]
mov eax, dword [0x10229c78]
mov ecx, dword [0x10229c74]
mov byte [esp + 0xb], 0xff
mov byte [esp + 0xa], 0xff
mov byte [esp + 9], 0xff
mov byte [esp + 0x1c], 0xff
cmp edx, 0x19
jg 0x10039767
cmp byte [edi + 0x56], 0
je 0x100396d7
movss xmm1, dword [eax + 0x10d4]
jmp 0x100396df
movss xmm1, dword [eax + 0x1244]
mov edx, dword [ecx + 0x10]
lea esi, [esp + 0x14]
movss xmm5, dword [0x10201fb4]
xorps xmm4, xmm4
movss xmm2, dword [0x10202060]
movss xmm3, dword [0x10202378]
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 0x10039782
movss xmm2, dword [0x10202060]
xorps xmm4, xmm4
movss xmm3, dword [0x10202378]
movss xmm5, dword [0x10201fb4]
cmp edx, 0x32
jg 0x10039817
cmp edx, 0x19
jle 0x10039817
cmp byte [edi + 0x56], 0
je 0x100397a4
movss xmm1, dword [eax + 0x10d4]
jmp 0x100397ac
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], 0xd1
movss xmm0, dword [edx]
lea edx, [esp + 0xc]
subss xmm0, dword [edi + 0x6c]
mov byte [esp + 0xa], 0x6e
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, 0xffffffcd
cmp edx, 0x13
ja 0x100398a3
cmp byte [edi + 0x56], 0
je 0x10039833
movss xmm1, dword [eax + 0x10d4]
jmp 0x1003983b
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 0x10039932
cmp byte [edi + 0x56], 0
je 0x100398c2
movss xmm1, dword [eax + 0x10d4]
jmp 0x100398ca
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 [0x10229c80]
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 [0x10229c80]
movss xmm3, dword [esp + 0x2c]
mov ecx, dword [eax + 0x5c]
mov eax, dword [esp + 0x28]
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 [0x10202ae0]
push eax
mov eax, 0x64
sub eax, dword [edi + 0x78]
subss xmm3, dword [0x10202128]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
divss xmm2, dword [0x102022e8]
addss xmm2, xmm1
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm3
push eax
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret 4