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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x134
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax + 0x48]
mov dword [ecx + 0xb4], 0
mov dword [ecx + 0xb0], 0
mov dword [ecx + 0xac], 0
cmp dword [eax + 0x1c], 1
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
jb 0x1013faf5
mov eax, dword [0x103280d8]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x120]
mov ebx, dword [0x103280d8]
mov edi, eax
push 0
mov ecx, dword [edi]
mov esi, dword [ecx + 0x24]
mov ecx, edi
mov dword [esp + 0x44], esi
call dword [esp + 0x44]
fstp dword [esp + 0x40]
push 1
mov ecx, edi
call esi
fadd dword [esp + 0x40]
mov eax, dword [ebx]
fstp dword [esp + 0x40]
movss xmm0, dword [esp + 0x40]
divss xmm0, dword [eax + 0x1c]
xor eax, eax
addss xmm0, dword [0x102cd2ac]
cvttss2si ebx, xmm0
test ebx, ebx
cmovs ebx, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x14]
dec ecx
and ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
cmp byte [edi + 0x5c], 0
je 0x1013faf5
movss xmm0, dword [edi + 0xc]
sub esp, 8
movss xmm1, dword [edi + 8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100e5cd0
movss xmm0, dword [0x102cd360]
add esp, 8
fstp dword [esp + 0x60]
comiss xmm0, dword [esp + 0x60]
ja 0x1013faf5
mov eax, dword [0x103280d8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
movsx eax, byte [eax + 0xc]
push eax
call edx
mov ecx, eax
call fcn.10033560
movss xmm0, dword [edi + 0x14]
lea esi, [edi + 0x14]
movss dword [esp + 0x64], xmm0
dec ebx
movss xmm0, dword [esi + 4]
movss xmm4, dword [eax]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esi + 8]
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x54], xmm0
mov dword [esp + 0x40], ebx
test ebx, ebx
jle 0x1013f9a9
movss xmm1, dword [0x102cd3e8]
nop dword [eax]
test byte [edi], 1
je 0x1013f722
movss xmm0, dword [edi + 0x10]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1013f722
movss xmm0, dword [esp + 0x60]
comiss xmm0, xmm1
jbe 0x1013f99e
movss xmm2, dword [edi + 0xc]
movss xmm1, dword [edi + 8]
movss xmm0, dword [edi + 0x10]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movaps xmm0, xmm4
subss xmm0, xmm2
comiss xmm3, xmm0
movss dword [esp + 0x5c], xmm0
jae 0x1013f614
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10329638]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10336a64]
cmp eax, dword [ecx + 4]
jg 0x1013fb26
mov esi, dword [0x103280d8]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
movsx eax, byte [eax + 0xc]
push eax
call edx
mov ecx, dword [0x10336a68]
movss xmm0, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x5c]
mulss xmm0, dword [ecx + 0x28]
mov ecx, dword [esi]
lea esi, [edi + 0x14]
mulss xmm0, dword [ecx + 0x1c]
mulss xmm0, dword [eax + 0xf60]
minss xmm2, xmm0
movss xmm0, dword [edi + 8]
mulss xmm0, xmm2
addss xmm0, dword [edi + 8]
movss dword [edi + 8], xmm0
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm0, dword [edi + 0xc]
movss dword [edi + 0xc], xmm0
movss xmm0, dword [edi + 0x10]
mulss xmm0, xmm2
addss xmm0, dword [edi + 0x10]
movss dword [edi + 0x10], xmm0
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1013f631
lock inc dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov ecx, edi
call fcn.1013fef0
mov eax, dword [0x103280d8]
xorps xmm0, xmm0
mov ebx, dword [esp + 0x60]
mov ecx, esp
mov eax, dword [eax]
movss xmm2, dword [eax + 0x1c]
mulss xmm2, dword [edi + 8]
addss xmm2, dword [ebx + 0xac]
movss dword [ebx + 0xac], xmm2
mov eax, dword [0x103280d8]
movss xmm1, dword [edi + 0xc]
mov eax, dword [eax]
mulss xmm1, dword [eax + 0x1c]
mov dword [esp + 0xb8], 0
movups xmmword [esp + 0x98], xmm0
addss xmm1, dword [ebx + 0xb0]
movups xmmword [esp + 0xa8], xmm0
movss dword [ebx + 0xb0], xmm1
movss xmm0, dword [esi + 8]
addss xmm2, dword [esi]
addss xmm1, dword [esi + 4]
addss xmm0, dword [ebx + 0xb4]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0xc]
movss dword [esp + 0x80], xmm2
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x88], xmm0
test eax, eax
je 0x1013f6f2
lock inc dword [eax + 4]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x80]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
lea eax, [esp + 0x98]
push eax
push ecx
mov ecx, esi
call fcn.101401f0
movss xmm0, dword [esp + 0xcc]
jmp 0x1013f94c
mov eax, dword fs:[0x2c]
mov edx, dword [0x10329638]
mov ecx, dword [eax + edx*4]
mov eax, dword [0x10336a6c]
cmp eax, dword [ecx + 4]
jg 0x1013fb6b
jmp 0x1013f74a
mov edx, dword [0x10329638]
movss xmm4, dword [edi + 8]
movss xmm2, dword [edi + 0xc]
movaps xmm1, xmm4
movss xmm0, dword [edi + 0x10]
mulss xmm1, xmm4
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
movss dword [esp + 0x5c], xmm0
jae 0x1013f824
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov eax, dword [0x10336a5c]
cmp eax, dword [ecx + 4]
jg 0x1013fc2a
mov esi, dword [0x103280d8]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
movsx eax, byte [eax + 0xc]
push eax
call edx
mov ecx, dword [0x10336a60]
movss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x5c]
movss xmm4, dword [edi + 8]
mulss xmm0, dword [ecx + 0x28]
mov ecx, dword [esi]
lea esi, [edi + 0x14]
mulss xmm0, dword [ecx + 0x1c]
mulss xmm0, dword [eax + 0xf60]
minss xmm1, xmm0
mulss xmm4, xmm1
addss xmm4, dword [edi + 8]
movss dword [edi + 8], xmm4
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm1
addss xmm0, dword [edi + 0xc]
movss dword [edi + 0xc], xmm0
movss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
addss xmm0, dword [edi + 0x10]
movss dword [edi + 0x10], xmm0
mov eax, dword [0x103280d8]
sub esp, 8
mov ebx, dword [esp + 0x60]
mov ecx, esp
mov eax, dword [eax]
mulss xmm4, dword [eax + 0x1c]
addss xmm4, dword [ebx + 0xac]
movss dword [ebx + 0xac], xmm4
mov eax, dword [0x103280d8]
movss xmm3, dword [edi + 0xc]
mov eax, dword [eax]
mulss xmm3, dword [eax + 0x1c]
addss xmm3, dword [ebx + 0xb0]
movss dword [ebx + 0xb0], xmm3
mov eax, dword [0x103280d8]
mov eax, dword [eax]
movss xmm2, dword [eax + 0x1c]
mulss xmm2, dword [edi + 0x10]
mov eax, dword [0x10336a70]
addss xmm2, dword [ebx + 0xb4]
movss dword [ebx + 0xb4], xmm2
movd xmm0, dword [eax + 0x2c]
mov eax, dword [0x103280d8]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax]
mulss xmm0, dword [eax + 0x1c]
mov dword [esp + 0x110], 0
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
mulsd xmm1, qword [0x102cd350]
subsd xmm0, xmm1
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
movss dword [ebx + 0xb4], xmm1
addss xmm4, dword [esi]
addss xmm3, dword [esi + 4]
addss xmm1, dword [esi + 8]
movups xmmword [esp + 0xf0], xmm0
movups xmmword [esp + 0x100], xmm0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0xc]
movss dword [esp + 0x8c], xmm4
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x94], xmm1
test eax, eax
je 0x1013f921
lock inc dword [eax + 4]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x8c]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
lea eax, [esp + 0xf0]
push eax
push ecx
mov ecx, esi
call fcn.101401f0
movss xmm0, dword [esp + 0x124]
movss xmm4, dword [esp + 0x4c]
add esp, 0x10
comiss xmm0, dword [0x102cd2ec]
jbe 0x1013f996
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [ebx + 0xb4]
movss xmm1, dword [esp + 0x68]
addss xmm1, dword [ebx + 0xb0]
movss xmm2, dword [esp + 0x64]
addss xmm2, dword [ebx + 0xac]
movss dword [esi + 8], xmm0
movss dword [esi + 4], xmm1
movss dword [esi], xmm2
movss xmm1, dword [0x102cd3e8]
sub dword [esp + 0x40], 1
jne 0x1013f510
mov eax, dword [edi + 0x14]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x28], eax
mov eax, dword [0x103280d8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
movsx eax, byte [eax + 0xc]
push eax
call edx
lea ecx, [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov edx, eax
test edx, edx
je 0x1013f9fe
mov eax, dword [0x103280d8]
push edx
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x6c]
mov ecx, eax
test ecx, ecx
je 0x1013f9fe
mov eax, dword [ecx + 0xb0]
add eax, ecx
mov ebx, dword [esp + 0x58]
lea esi, [esp + 0x6c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x6c], 0xc
mov dword [esp + 0x70], 9
mov dword [esp + 0x74], 0xa
mov eax, dword [esi]
mov dword [esp + 0x40], eax
cmp byte [eax + ebx + 0x18], 0
je 0x1013fae6
mov eax, dword [0x103280d8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ecx]
movsx eax, byte [eax + 0xc]
push eax
call dword [edx + 0xc]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
movss xmm0, dword [ebx + 0xac]
shl ecx, 4
mov eax, dword [edx + 8]
add ecx, dword [esp + 0x40]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx + edx]
lea eax, [eax + eax*2]
add eax, eax
addss xmm0, dword [edi + eax*8 + 0x384]
movss dword [edi + eax*8 + 0x384], xmm0
mov eax, dword [ecx + edx]
movss xmm0, dword [ebx + 0xb0]
lea eax, [eax + eax*2]
add eax, eax
addss xmm0, dword [edi + eax*8 + 0x394]
movss dword [edi + eax*8 + 0x394], xmm0
mov eax, dword [ecx + edx]
movss xmm0, dword [ebx + 0xb4]
lea eax, [eax + eax*2]
add eax, eax
addss xmm0, dword [edi + eax*8 + 0x3a4]
movss dword [edi + eax*8 + 0x3a4], xmm0
mov eax, dword [0x103280d8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
movsx eax, byte [eax + 0xc]
push eax
call edx
push dword [esp + 0x40]
mov ecx, edi
push eax
call fcn.1012cda0
add esi, 4
lea eax, [esp + 0x78]
cmp esi, eax
jne 0x1013fa22
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1013fb1d
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1013fb1d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1013fb1d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x10336a64
call fcn.100bbde8
add esp, 4
cmp dword [0x10336a64], 0xffffffff
jne 0x1013f596
mov eax, dword [0x103280d8]
push str.sv_accelerate
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
push 0x10336a64
mov dword [0x10336a68], eax
call fcn.100bbd97
add esp, 4
jmp 0x1013f596
push 0x10336a6c
call fcn.100bbde8
add esp, 4
cmp dword [0x10336a6c], 0xffffffff
jne 0x1013f744
mov eax, dword [0x103280d8]
mov cl, 0xf
mov dh, cl
mov byte [esp + 0x46], 0xd
mov dl, 0x26
mov byte [esp + 0x47], 0
mov ch, 0x18
mov bl, 0x1e
mov esi, dword [eax + 0x34]
mov bh, 0x10
mov byte [esp + 0x48], 0x79
mov al, 0xa
xor al, byte [esp + 0x48]
mov ah, 0xb
xor cl, byte [esp + 0x48]
mov byte [esp + 0x49], al
mov al, byte [esp + 0x46]
mov byte [esp + 0x4a], cl
mov cl, byte [esp + 0x48]
xor al, cl
mov byte [esp + 0x53], 0
mov byte [esp + 0x51], al
xor ah, cl
mov al, byte [esp + 0x47]
xor dl, cl
xor al, cl
mov byte [esp + 0x4b], dl
xor bl, cl
mov byte [esp + 0x4d], ah
xor ch, cl
mov byte [esp + 0x4c], bl
xor dh, cl
mov byte [esp + 0x4e], ch
xor bh, cl
mov byte [esp + 0x4f], dh
mov byte [esp + 0x50], bh
lea ecx, [esp + 0x49]
mov byte [esp + 0x52], al
mov byte [esp + 0x53], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
push 0x10336a6c
mov dword [0x10336a70], eax
call fcn.100bbd97
add esp, 4
lea esi, [edi + 0x14]
jmp 0x1013f744
push 0x10336a5c
call fcn.100bbde8
add esp, 4
cmp dword [0x10336a5c], 0xffffffff
jne 0x1013f7a6
mov eax, dword [0x103280d8]
push str.sv_airaccelerate
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
push 0x10336a5c
mov dword [0x10336a60], eax
call fcn.100bbd97
add esp, 4
jmp 0x1013f7a6