Function at 0x10150220
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 + 0x4c]
mov dword [ecx + 0xb4], 0
mov dword [ecx + 0xb0], 0
mov dword [ecx + 0xac], 0
cmp dword [eax + 0x2c], 1
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
jb 0x10150948
mov eax, dword [0x103390d4]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x120]
mov ebx, dword [0x103390d4]
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 [0x102dd82c]
cvttss2si ebx, xmm0
test ebx, ebx
cmovs ebx, eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x24]
dec ecx
and ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x20]
mov edi, dword [eax + ecx*4]
cmp byte [edi + 0x70], 0
je 0x10150948
movss xmm0, dword [edi + 0x18]
sub esp, 8
movss xmm1, dword [edi + 0x14]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100ef450
movss xmm0, dword [0x102dd910]
add esp, 8
fstp dword [esp + 0x60]
comiss xmm0, dword [esp + 0x60]
ja 0x10150948
mov eax, dword [0x103390d4]
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.1003f1b0
movss xmm0, dword [edi + 0x20]
lea esi, [edi + 0x20]
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 + 0x58], xmm0
mov dword [esp + 0x40], ebx
test ebx, ebx
jle 0x10150815
movss xmm1, dword [0x102dd990]
nop dword [eax]
test byte [edi + 0xc], 1
je 0x1015058e
movss xmm2, dword [edi + 0x1c]
xorps xmm3, xmm3
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x1015058e
movss xmm0, dword [esp + 0x60]
comiss xmm0, xmm1
jbe 0x1015080a
movss xmm0, dword [edi + 0x18]
movss xmm1, dword [edi + 0x14]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm1, xmm0
movaps xmm0, xmm4
addss xmm1, xmm2
subss xmm0, xmm1
comiss xmm3, xmm0
movss dword [esp + 0x48], xmm0
jae 0x10150480
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1033a628]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10347a80]
cmp eax, dword [ecx + 4]
jg 0x10150979
mov esi, dword [0x103390d4]
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 [0x10347a84]
movss xmm0, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x48]
mulss xmm0, dword [ecx + 0x28]
mov ecx, dword [esi]
lea esi, [edi + 0x20]
mulss xmm0, dword [ecx + 0x1c]
mulss xmm0, dword [eax + 0xf60]
minss xmm2, xmm0
movss xmm0, dword [edi + 0x14]
mulss xmm0, xmm2
addss xmm0, dword [edi + 0x14]
movss dword [edi + 0x14], xmm0
movss xmm0, dword [edi + 0x18]
mulss xmm0, xmm2
addss xmm0, dword [edi + 0x18]
movss dword [edi + 0x18], xmm0
movss xmm0, dword [edi + 0x1c]
mulss xmm0, xmm2
addss xmm0, dword [edi + 0x1c]
movss dword [edi + 0x1c], 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 0x1015049d
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.10150de0
mov eax, dword [0x103390d4]
xorps xmm0, xmm0
mov ebx, dword [esp + 0x64]
mov ecx, esp
mov eax, dword [eax]
movss xmm2, dword [eax + 0x1c]
mulss xmm2, dword [edi + 0x14]
addss xmm2, dword [ebx + 0xac]
movss dword [ebx + 0xac], xmm2
mov eax, dword [0x103390d4]
movss xmm1, dword [edi + 0x18]
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 0x1015055e
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.101510c0
movss xmm0, dword [esp + 0xcc]
jmp 0x101507b8
mov eax, dword fs:[0x2c]
mov edx, dword [0x1033a628]
mov ecx, dword [eax + edx*4]
mov eax, dword [0x10347a88]
cmp eax, dword [ecx + 4]
jg 0x101509be
jmp 0x101505b6
mov edx, dword [0x1033a628]
movss xmm4, dword [edi + 0x14]
movss xmm2, dword [edi + 0x18]
movaps xmm1, xmm4
movss xmm0, dword [edi + 0x1c]
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 + 0x48], xmm0
jae 0x10150690
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov eax, dword [0x10347a78]
cmp eax, dword [ecx + 4]
jg 0x10150a7d
mov esi, dword [0x103390d4]
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 [0x10347a7c]
movss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x48]
movss xmm4, dword [edi + 0x14]
mulss xmm0, dword [ecx + 0x28]
mov ecx, dword [esi]
lea esi, [edi + 0x20]
mulss xmm0, dword [ecx + 0x1c]
mulss xmm0, dword [eax + 0xf60]
minss xmm1, xmm0
mulss xmm4, xmm1
addss xmm4, dword [edi + 0x14]
movss dword [edi + 0x14], xmm4
movss xmm0, dword [edi + 0x18]
mulss xmm0, xmm1
addss xmm0, dword [edi + 0x18]
movss dword [edi + 0x18], xmm0
movss xmm0, dword [edi + 0x1c]
mulss xmm0, xmm1
addss xmm0, dword [edi + 0x1c]
movss dword [edi + 0x1c], xmm0
mov eax, dword [0x103390d4]
sub esp, 8
mov ebx, dword [esp + 0x64]
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 [0x103390d4]
movss xmm3, dword [edi + 0x18]
mov eax, dword [eax]
mulss xmm3, dword [eax + 0x1c]
addss xmm3, dword [ebx + 0xb0]
movss dword [ebx + 0xb0], xmm3
mov eax, dword [0x103390d4]
mov eax, dword [eax]
movss xmm2, dword [eax + 0x1c]
mulss xmm2, dword [edi + 0x1c]
mov eax, dword [0x10347a8c]
addss xmm2, dword [ebx + 0xb4]
movss dword [ebx + 0xb4], xmm2
movd xmm0, dword [eax + 0x2c]
mov eax, dword [0x103390d4]
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 [0x102dd8e0]
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 0x1015078d
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.101510c0
movss xmm0, dword [esp + 0x124]
movss xmm4, dword [esp + 0x4c]
add esp, 0x10
comiss xmm0, dword [0x102dd86c]
jbe 0x10150802
movss xmm0, dword [esp + 0x58]
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 [0x102dd990]
sub dword [esp + 0x40], 1
jne 0x10150380
mov eax, dword [0x103390d4]
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
jne 0x10150842
mov dword [esp + 0x3c], eax
jmp 0x10150868
mov eax, dword [0x103390d4]
push edx
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x6c]
mov ecx, eax
test ecx, ecx
jne 0x1015085c
mov dword [esp + 0x3c], eax
jmp 0x10150868
mov eax, dword [ecx + 0xb0]
add eax, ecx
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x5c]
lea esi, [esp + 0x6c]
mov dword [esp + 0x6c], 0xc
mov dword [esp + 0x70], 9
mov dword [esp + 0x74], 0xa
nop dword [eax + eax]
mov eax, dword [esi]
mov dword [esp + 0x48], eax
cmp byte [eax + ebx + 0x18], 0
je 0x10150939
mov eax, dword [0x103390d4]
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 + 0x48]
mov ecx, edx
mov eax, dword [esp + 0x3c]
movss xmm0, dword [ebx + 0xac]
shl ecx, 4
add ecx, edx
mov eax, dword [eax + 8]
push edx
lea ecx, [eax + ecx*4]
add ecx, dword [esp + 0x40]
mov eax, dword [ecx]
lea eax, [eax + eax*2]
add eax, eax
addss xmm0, dword [edi + eax*8 + 0x410]
movss dword [edi + eax*8 + 0x410], xmm0
mov eax, dword [ecx]
movss xmm0, dword [ebx + 0xb0]
add eax, 0x16
lea eax, [eax + eax*2]
add eax, eax
addss xmm0, dword [edi + eax*8]
movss dword [edi + eax*8], xmm0
mov eax, dword [ecx]
mov ecx, edi
movss xmm0, dword [ebx + 0xb4]
lea eax, [eax + eax*2]
add eax, eax
addss xmm0, dword [edi + eax*8 + 0x430]
movss dword [edi + eax*8 + 0x430], xmm0
lea eax, [edi + 0x74]
push eax
call fcn.10139af0
add esi, 4
lea eax, [esp + 0x78]
cmp esi, eax
jne 0x10150890
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10150970
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10150970
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10150970
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 0x10347a80
call fcn.100c3aa2
add esp, 4
cmp dword [0x10347a80], 0xffffffff
jne 0x10150402
mov eax, dword [0x103390d4]
push str.sv_accelerate
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
push 0x10347a80
mov dword [0x10347a84], eax
call fcn.100c3a51
add esp, 4
jmp 0x10150402
push 0x10347a88
call fcn.100c3aa2
add esp, 4
cmp dword [0x10347a88], 0xffffffff
jne 0x101505b0
mov eax, dword [0x103390d4]
mov cl, 0x1c
mov dh, cl
mov byte [esp + 0x46], 0x1e
mov dl, 0x35
mov byte [esp + 0x47], 0x13
mov ch, 0xb
mov bl, 0xd
mov esi, dword [eax + 0x34]
mov bh, 3
mov byte [esp + 0x4c], 0x6a
mov al, 0x19
xor al, byte [esp + 0x4c]
mov ah, 0x18
xor cl, byte [esp + 0x4c]
mov byte [esp + 0x4d], al
mov al, byte [esp + 0x46]
mov byte [esp + 0x4e], cl
mov cl, byte [esp + 0x4c]
xor al, cl
mov byte [esp + 0x57], 0
mov byte [esp + 0x55], al
xor ah, cl
mov al, byte [esp + 0x47]
xor dl, cl
xor al, cl
mov byte [esp + 0x4f], dl
xor bl, cl
mov byte [esp + 0x51], ah
xor ch, cl
mov byte [esp + 0x50], bl
xor dh, cl
mov byte [esp + 0x52], ch
xor bh, cl
mov byte [esp + 0x53], dh
mov byte [esp + 0x54], bh
lea ecx, [esp + 0x4d]
mov byte [esp + 0x56], al
mov byte [esp + 0x57], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
push 0x10347a88
mov dword [0x10347a8c], eax
call fcn.100c3a51
add esp, 4
lea esi, [edi + 0x20]
jmp 0x101505b0
push 0x10347a78
call fcn.100c3aa2
add esp, 4
cmp dword [0x10347a78], 0xffffffff
jne 0x10150612
mov eax, dword [0x103390d4]
push str.sv_airaccelerate
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
push 0x10347a78
mov dword [0x10347a7c], eax
call fcn.100c3a51
add esp, 4
jmp 0x10150612