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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm13
mov rbx, rdx
mov rsi, rcx
mov r12, qword [0x14016e080]
mov rax, qword [r12 + 0x3ea0]
mov byte [rax + 0xb0], 1
mov r13, qword [r12 + 0x3ea0]
cmp byte [r13 + 0xb3], 0
jne 0x14002fbc7
mov rdx, rcx
mov rcx, r13
call fcn.1400076e0
mov edi, eax
mov r8, qword [0x14016e080]
mov rdx, rsi
cmp rsi, 0xffffffffffffffff
jae 0x14002f31c
nop
movzx eax, byte [rdx]
test al, al
je 0x14002f31c
lea rcx, [rdx + 1]
cmp al, 0x23
jne 0x14002f313
cmp byte [rcx], al
je 0x14002f31c
mov rdx, rcx
cmp rcx, 0xffffffffffffffff
jb 0x14002f300
movss xmm2, dword [r8 + 0x3c00]
movss xmm9, dword [0x14014d7e8]
xorps xmm7, xmm7
cmp rsi, rdx
jne 0x14002f346
mov dword [rsp + 0x70], 0
movss dword [rsp + 0x74], xmm2
jmp 0x14002f3a1
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rsi
movss dword [rsp + 0x20], xmm9
movss xmm3, dword [0x14014d7d0]
lea rdx, [rbp + 0xc8]
mov rcx, qword [r8 + 0x3bf8]
call fcn.140027e40
movss xmm0, dword [rbp + 0xc8]
addss xmm0, dword [0x14014d654]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x70], xmm0
movss xmm1, dword [rbp + 0xcc]
movss dword [rsp + 0x74], xmm1
movsd xmm8, qword [rbx]
movss xmm3, dword [r13 + 0xf8]
movss xmm2, dword [r13 + 0xfc]
movsd qword [rbp + 0xc8], xmm8
comiss xmm7, xmm8
jb 0x14002f3cc
movss xmm8, dword [rbx]
movss xmm0, dword [rbp + 0xcc]
comiss xmm7, xmm0
jb 0x14002f3e1
movss xmm0, dword [0x14014d730]
movaps xmm1, xmm2
addss xmm1, xmm0
movss xmm10, dword [0x14014d700]
subss xmm1, xmm10
movaps xmm0, xmm3
addss xmm0, xmm8
subss xmm0, xmm7
subss xmm2, xmm10
subss xmm3, dword [0x14014d7ec]
movss dword [rsp + 0x60], xmm3
movss dword [rsp + 0x64], xmm2
movss dword [rsp + 0x68], xmm0
movss dword [rsp + 0x6c], xmm1
addss xmm1, dword [0x14014d6ac]
addss xmm0, xmm7
subss xmm1, xmm2
subss xmm0, xmm3
movss dword [rbp + 0xc8], xmm0
movss dword [rbp + 0xcc], xmm1
movaps xmm1, xmm9
lea rcx, [rbp + 0xc8]
call fcn.140015910
xor r9d, r9d
xor r8d, r8d
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.140015a80
test al, al
je 0x14002fbc7
mov eax, dword [r12 + 0x4740]
and eax, 2
shl eax, 9
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0xc8]
lea r8, [rbp + 0xc0]
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.14002e2b0
mov byte [rbp + 0xc8], al
mov eax, 4
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
xor r14d, r14d
mov ecx, dword [rax + rcx]
cmp dword [0x14016e988], ecx
jle 0x14002f524
lea rcx, [0x14016e988]
call fcn.14011014c
cmp dword [0x14016e988], 0xffffffff
jne 0x14002f524
mov qword [0x14016e978], r14
mov qword [0x14016e980], r14
mov ecx, 0x58
call fcn.1401101c4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x14016e978], rax
lea rcx, [0x140112c00]
call fcn.1401104f8
nop
lea rcx, [0x14016e988]
call fcn.1401100e0
mov rsi, qword [0x14016e978]
mov rax, qword [rsi + 8]
mov rbx, rsi
movzx edx, byte [rax + 0x19]
test dl, dl
jne 0x14002f557
mov rcx, rax
nop dword [rax]
cmp dword [rcx + 0x1c], edi
jae 0x14002f54b
mov rcx, qword [rcx + 0x10]
jmp 0x14002f551
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x14002f540
cmp byte [rbx + 0x19], 0
jne 0x14002f562
cmp edi, dword [rbx + 0x1c]
jae 0x14002f565
mov rbx, rsi
cmp rbx, rsi
jne 0x14002f69d
mov dword [rbp - 0x18], r14d
xorps xmm0, xmm0
xorps xmm1, xmm1
xorps xmm2, xmm2
movups xmmword [rbp - 0x14], xmm2
mov dword [rbp - 0x70], edi
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm1
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rbp - 0x4c], xmm0
psrldq xmm2, 0xc
movd dword [rbp - 0x3c], xmm2
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], r14d
mov rcx, rsi
test dl, dl
jne 0x14002f5d9
nop dword [rax]
mov qword [rsp + 0x40], rax
cmp dword [rax + 0x1c], edi
jae 0x14002f5c5
mov dword [rsp + 0x48], r14d
mov rax, qword [rax + 0x10]
jmp 0x14002f5d3
mov dword [rsp + 0x48], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14002f5b0
cmp byte [rcx + 0x19], 0
jne 0x14002f5e8
cmp edi, dword [rcx + 0x1c]
jae 0x14002f66b
movabs rax, 0x2e8ba2e8ba2e8ba
cmp qword [0x14016e980], rax
je 0x14002fc07
lea rbx, [0x14016e978]
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], r14
mov ecx, 0x58
call fcn.1401101c4
nop
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rax + 0x1c], xmm0
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rax + 0x2c], xmm1
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rax + 0x3c], xmm0
movsd xmm1, qword [rbp - 0x40]
movsd qword [rax + 0x4c], xmm1
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x80], xmm0
mov r8, rax
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.14001fff0
mov rsi, qword [0x14016e978]
mov rax, qword [rsi + 8]
mov rbx, rsi
cmp byte [rax + 0x19], 0
jne 0x14002f68f
cmp dword [rax + 0x1c], edi
jae 0x14002f683
mov rax, qword [rax + 0x10]
jmp 0x14002f689
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14002f678
cmp byte [rbx + 0x19], 0
jne 0x14002f69a
cmp edi, dword [rbx + 0x1c]
jae 0x14002f69d
mov rbx, rsi
call fcn.14000b8e0
mov r15, qword [0x14016e080]
test al, al
je 0x14002f6d8
xor eax, eax
mov qword [rbx + 0x44], rax
mov byte [rbx + 0x40], al
movss xmm0, dword [r15 + 0xdfc]
movss xmm1, dword [r15 + 0xe00]
movss dword [rbx + 0x4c], xmm0
movss dword [rbx + 0x50], xmm1
mov byte [rbx + 0x40], 1
jmp 0x14002f6da
xor eax, eax
movss xmm6, dword [0x14014d65c]
cmp byte [rbx + 0x40], 0
je 0x14002f6ec
movaps xmm9, xmm6
movss xmm0, dword [r12 + 0x18]
addss xmm0, xmm0
mulss xmm0, xmm9
addss xmm0, dword [rbx + 0x48]
comiss xmm7, xmm0
jbe 0x14002f70b
movaps xmm6, xmm7
jmp 0x14002f70f
minss xmm6, xmm0
movss dword [rbx + 0x48], xmm6
movaps xmm0, xmm8
divss xmm0, xmm10
mulss xmm0, dword [r12 + 0x18]
mulss xmm0, dword [0x14014d69c]
addss xmm0, dword [rbx + 0x44]
movss dword [rbx + 0x44], xmm0
comiss xmm7, xmm6
jb 0x14002f741
mov dword [rbx + 0x44], eax
movaps xmm0, xmm7
divss xmm8, dword [0x14014d6c8]
comiss xmm0, xmm8
jb 0x14002f754
mov byte [rbx + 0x40], 0
mov dword [rsp + 0x40], eax
movss xmm0, dword [r15 + 0x37e0]
movss dword [rsp + 0x44], xmm0
lea rcx, [r15 + 0x47f8]
lea rdx, [rsp + 0x40]
call fcn.14001eca0
movss xmm13, dword [0x14014d620]
mulss xmm6, xmm13
movss dword [r15 + 0x37e0], xmm6
mov rsi, qword [r13 + 0x290]
movss xmm11, dword [rsp + 0x60]
movaps xmm1, xmm11
movss dword [rsp + 0x40], xmm1
movss xmm8, dword [rsp + 0x64]
movaps xmm2, xmm8
movss dword [rsp + 0x44], xmm2
movss xmm9, dword [rsp + 0x68]
movaps xmm5, xmm9
movss xmm10, dword [rsp + 0x6c]
movaps xmm4, xmm10
movups xmm0, xmmword [rsi + 0x88]
comiss xmm0, xmm11
jbe 0x14002f7e4
movaps xmm1, xmm0
movss dword [rsp + 0x40], xmm0
movaps xmm3, xmm0
shufps xmm3, xmm0, 0x55
comiss xmm3, xmm8
jbe 0x14002f7fa
movaps xmm2, xmm3
movss dword [rsp + 0x44], xmm3
movaps xmm3, xmm0
shufps xmm3, xmm0, 0xaa
comiss xmm9, xmm3
jbe 0x14002f80a
movaps xmm5, xmm3
shufps xmm0, xmm0, 0xff
comiss xmm10, xmm0
jbe 0x14002f817
movaps xmm4, xmm0
maxss xmm1, xmm5
movss dword [rsp + 0x48], xmm1
maxss xmm2, xmm4
movss dword [rsp + 0x4c], xmm2
mov r8d, dword [rsi + 0x5c]
mov ecx, dword [rsi + 0x58]
cmp ecx, r8d
jne 0x14002f860
inc ecx
test r8d, r8d
je 0x14002f84b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14002f850
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rsi + 0x58]
call fcn.14001f770
movsxd rdx, dword [rsi + 0x58]
add rdx, rdx
mov rax, qword [rsi + 0x60]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rdx*8], xmm0
inc dword [rsi + 0x58]
movups xmmword [rsi + 0x88], xmm0
mov rcx, rsi
call fcn.140021760
mov rdi, qword [r13 + 0x290]
movss xmm0, dword [0x14016e7f8]
movss dword [rsp + 0x40], xmm0
movss xmm1, dword [0x14016e7fc]
movss dword [rsp + 0x44], xmm1
movss xmm0, dword [0x14016e800]
movss dword [rsp + 0x48], xmm0
movss xmm1, dword [0x14016e804]
mov rax, qword [0x14016e080]
mulss xmm1, dword [rax + 0x37e0]
movss dword [rsp + 0x4c], xmm1
lea rcx, [rsp + 0x40]
call fcn.140003fd0
mov esi, eax
movss xmm2, dword [rbx + 0x44]
lea rdx, [rbx + 0x4c]
test eax, 0xff000000
je 0x14002f934
comiss xmm13, xmm2
ja 0x14002f934
mov dword [rsp + 0x28], 0x63
movss xmm0, dword [0x14014d6d4]
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm7
mov rcx, rdi
call fcn.140023830
mov r9d, esi
mov r8d, dword [rdi + 0x78]
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
call fcn.140022d30
mov dword [rdi + 0x78], 0
mov rdi, qword [r13 + 0x290]
cmp dword [rdi + 0x58], 0
jg 0x14002f95b
mov r8d, 0x715
lea rdx, str.C:Users_no_userDownloadsStarspace_Engine_Free__V15Starspace_Engine_Free__V15Starspace_Engine_Free__V15imgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x58]
sub eax, 1
mov dword [rdi + 0x58], eax
jne 0x14002f970
mov rax, qword [rdi + 0x38]
add rax, 0x1c
jmp 0x14002f97c
dec eax
cdqe
shl rax, 4
add rax, qword [rdi + 0x60]
movups xmm0, xmmword [rax]
movups xmmword [rdi + 0x88], xmm0
mov rcx, rdi
call fcn.140021760
mov ecx, 1
call fcn.140004870
movss xmm6, dword [r12 + 0x18]
mulss xmm6, dword [0x14014d6c8]
mov r10, qword [0x14016e080]
mov eax, dword [r10 + 0x3f00]
test eax, eax
je 0x14002f9d3
cmp eax, dword [r10 + 0x473c]
jne 0x14002f9d3
lea rax, [0x14016e838]
movss xmm5, dword [0x14016e838]
jmp 0x14002f9f0
lea rcx, [0x14016e528]
lea rax, [0x14016e8e8]
cmp byte [rbp + 0xc0], 0
cmovne rax, rcx
movss xmm5, dword [rax]
subss xmm5, dword [rbx + 0x20]
mulss xmm5, xmm6
addss xmm5, dword [rbx + 0x20]
movss xmm3, dword [rax + 4]
subss xmm3, dword [rbx + 0x24]
mulss xmm3, xmm6
addss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rax + 8]
subss xmm2, dword [rbx + 0x28]
mulss xmm2, xmm6
addss xmm2, dword [rbx + 0x28]
movss xmm4, dword [rax + 0xc]
subss xmm4, dword [rbx + 0x2c]
mulss xmm4, xmm6
addss xmm4, dword [rbx + 0x2c]
shufps xmm5, xmm5, 0xe1
movss xmm5, xmm3
shufps xmm5, xmm5, 0xc6
movss xmm5, xmm2
shufps xmm5, xmm5, 0x27
movss xmm5, xmm4
shufps xmm5, xmm5, 0x39
movups xmmword [rsp + 0x40], xmm5
movups xmmword [rbx + 0x20], xmm5
movss xmm6, dword [r12 + 0x3824]
movups xmmword [rbp - 0x80], xmm5
mulss xmm4, dword [r10 + 0x37e0]
movss dword [rbp - 0x74], xmm4
movss dword [rsp + 0x58], xmm9
movss dword [rsp + 0x5c], xmm10
movss dword [rsp + 0x40], xmm11
movss dword [rsp + 0x44], xmm8
mov r10, qword [r10 + 0x3ea0]
lea rcx, [rbp - 0x80]
call fcn.140003fd0
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm6
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov rcx, qword [r10 + 0x290]
call fcn.140024300
mov rcx, qword [0x14016e090]
mov qword [rsp + 0x40], rcx
mov rdi, qword [0x14016e080]
mov rbx, rcx
test rcx, rcx
jne 0x14002fb21
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x14002fb19
mov rbx, qword [rdi + 0x58]
cmp dword [rbx + 0x58], ecx
jg 0x14002fb12
mov r8d, 0x6ff
lea rdx, str.C:Users_no_userDownloadsStarspace_Engine_Free__V15Starspace_Engine_Free__V15Starspace_Engine_Free__V15imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x60]
mov rcx, qword [rax]
mov qword [rsp + 0x40], rcx
mov rbx, rcx
call fcn.140012120
lea rcx, [rdi + 0x4808]
lea rdx, [rsp + 0x40]
call fcn.14001f000
mov rdx, qword [rbx + 0x40]
mov rcx, qword [rdi + 0x3ea0]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x290]
call fcn.140021ac0
addss xmm9, xmm7
movss dword [rsp + 0x40], xmm9
addss xmm10, xmm7
movss dword [rsp + 0x44], xmm10
addss xmm11, xmm7
movss dword [rsp + 0x58], xmm11
addss xmm8, xmm7
movss dword [rsp + 0x5c], xmm8
lea rax, [r12 + 0x3878]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r8, qword [rbp + 0xb0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.1400054a0
call fcn.140012240
movzx eax, byte [rbp + 0xc8]
jmp 0x14002fbc9
xor al, al
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm13, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140002b20
int3