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

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x50
mov rsi, qword [0x1801d2f20]
xor ebp, ebp
mov eax, dword [rsi + 0x4898]
sub eax, 1
js 0x18000a29e
mov r8, qword [rsi + 0x48a0]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rbx, qword [r8]
test rbx, rbx
je 0x18000a294
test dword [rbx + 0x14], 0x8000000
je 0x18000a294
cmp byte [rbx + 0xb6], bpl
je 0x18000a294
cmp byte [rbx + 0xbd], bpl
je 0x18000a2a1
sub r8, 0x38
sub rdx, 1
jns 0x18000a271
mov rbx, rbp
movss xmm1, dword [rsi + 0x4a6c]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x18000a2be
comiss xmm0, dword [rsi + 0x4a54]
jae 0x18000a63e
mov r8, qword [rsi + 0x4a40]
test r8, r8
je 0x18000a2d7
cmp byte [r8 + 0xb6], bpl
je 0x18000a2d7
mov al, 1
jmp 0x18000a2d9
xor al, al
mov qword [rsp + 0x78], rdi
test rbx, rbx
jne 0x18000a53e
test al, al
je 0x18000a639
movups xmm0, xmmword [rsi + 0x3c08]
lea rcx, [rsp + 0x30]
mulss xmm1, dword [rsi + 0x37f0]
movups xmmword [rsp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x3c], xmm0
call fcn.180003f80
mov edx, eax
mov rcx, r8
call fcn.180009ef0
mov rdi, qword [0x1801d2f20]
mov rbx, qword [rsi + 0x4a40]
cmp dword [rdi + 0x48c0], ebp
jg 0x18000a355
mov r8d, 0x702
lea rdx, str.C:Users_faceiDocumentsGitHublunar_to_dziwkaimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm1, dword [rsi + 0x3c40]
movss xmm4, dword [rbx + 0x20]
movss xmm2, dword [rbx + 0x24]
movaps xmm5, xmm4
addss xmm4, dword [rbx + 0x28]
mov rax, qword [rdi + 0x48c8]
subss xmm5, xmm1
movaps xmm3, xmm2
addss xmm2, dword [rbx + 0x2c]
subss xmm3, xmm1
mov rdi, qword [rax]
addss xmm4, xmm1
movss dword [rsp + 0x30], xmm5
addss xmm2, xmm1
movss dword [rsp + 0x34], xmm3
movaps xmm0, xmm4
movss dword [rsp + 0x38], xmm4
subss xmm0, xmm5
movss dword [rsp + 0x3c], xmm2
comiss xmm0, dword [rdi + 0xc]
jb 0x18000a3fd
movaps xmm0, xmm2
subss xmm0, xmm3
comiss xmm0, dword [rdi + 0x10]
jb 0x18000a3fd
xorps xmm1, xmmword [0x180164fc0]
subss xmm1, dword [0x180164b28]
movaps xmm0, xmm1
subss xmm5, xmm1
subss xmm3, xmm1
addss xmm0, xmm4
addss xmm1, xmm2
movss dword [rsp + 0x30], xmm5
movss dword [rsp + 0x34], xmm3
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
mov rcx, qword [rbx + 0x298]
cmp dword [rcx], ebp
jne 0x18000a40d
call fcn.180020940
movss xmm0, dword [rdi + 0xc]
lea rdx, [rdi + 4]
movss xmm1, dword [rdi + 0x10]
lea r8, [rsp + 0x70]
addss xmm0, dword [rdx]
addss xmm1, dword [rdx + 4]
mov rcx, qword [rbx + 0x298]
xor r9d, r9d
movss dword [rsp + 0x70], xmm0
movss dword [rsp + 0x74], xmm1
call fcn.180020c80
mov rax, qword [0x1801d2f20]
lea rcx, [rsp + 0x40]
movss xmm0, dword [rsi + 0x4a54]
mov rdi, qword [rbx + 0x298]
movups xmm1, xmmword [rax + 0x3bf8]
mulss xmm0, dword [rax + 0x37f0]
movups xmmword [rsp + 0x40], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x4c], xmm1
call fcn.180003f80
mov esi, eax
test eax, 0xff000000
je 0x18000a4d9
movss xmm3, dword [rbx + 0x58]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.180022f10
movss xmm0, dword [0x180164b44]
mov r9d, esi
mov r8d, dword [rdi + 0x78]
mov rcx, rdi
mov rdx, qword [rdi + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.1800210a0
mov dword [rdi + 0x78], ebp
mov rbx, qword [rbx + 0x298]
cmp dword [rbx + 0x58], ebp
jg 0x18000a4ff
mov r8d, 0x718
lea rdx, str.C:Users_faceiDocumentsGitHublunar_to_dziwkaimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0x58]
sub eax, 1
mov dword [rbx + 0x58], eax
jne 0x18000a514
mov rax, qword [rbx + 0x38]
add rax, 0x1c
jmp 0x18000a520
dec eax
cdqe
shl rax, 4
add rax, qword [rbx + 0x60]
movups xmm0, xmmword [rax]
mov rcx, rbx
movups xmmword [rbx + 0x88], xmm0
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
pop rbp
pop rbx
jmp fcn.180020a30
mov qword [rsp + 0x80], r14
mov rcx, rbx
mov r14, rbx
call fcn.180011690
movsxd rbp, eax
mov rdi, rbp
test eax, eax
js 0x18000a5ec
nop
test rdi, rdi
js 0x18000a56d
cmp ebp, dword [rsi + 0x3e90]
jl 0x18000a587
mov r8d, 0x702
lea rdx, str.C:Users_faceiDocumentsGitHublunar_to_dziwkaimgui.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 [rsi + 0x3e98]
mov rcx, qword [rax + rdi*8]
mov edx, dword [rcx + 0x14]
bt edx, 0x18
jb 0x18000a5e0
mov rax, rcx
cmp qword [rcx + 0x378], rbx
je 0x18000a5ba
cmp rax, rbx
je 0x18000a5ba
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18000a5a7
jmp 0x18000a5ec
cmp byte [rcx + 0xb6], 0
je 0x18000a5e0
cmp byte [rcx + 0xbd], 0
jne 0x18000a5e0
mov eax, dword [rbx + 0x14]
and edx, 0x2000000
and eax, 0x2000000
cmp edx, eax
cmovbe r14, rcx
dec ebp
sub rdi, 1
jns 0x18000a560
mov rax, qword [0x1801d2f20]
lea rcx, [rsp + 0x40]
movups xmm1, xmmword [rax + 0x3c18]
movss xmm0, dword [rax + 0x37f0]
mulss xmm0, dword [rsi + 0x4a6c]
movups xmmword [rsp + 0x40], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x4c], xmm1
call fcn.180003f80
mov edx, eax
mov rcx, r14
call fcn.180009ef0
mov r14, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret