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

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x50
mov rsi, qword [0x140214770]
xor ebp, ebp
mov eax, dword [rsi + 0x4898]
sub eax, 1
js 0x14000a6ae
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 0x14000a6a4
test dword [rbx + 0x14], 0x8000000
je 0x14000a6a4
cmp byte [rbx + 0xb6], bpl
je 0x14000a6a4
cmp byte [rbx + 0xbd], bpl
je 0x14000a6b1
sub r8, 0x38
sub rdx, 1
jns 0x14000a681
mov rbx, rbp
movss xmm1, dword [rsi + 0x4a6c]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x14000a6ce
comiss xmm0, dword [rsi + 0x4a54]
jae 0x14000aa4e
mov r8, qword [rsi + 0x4a40]
test r8, r8
je 0x14000a6e7
cmp byte [r8 + 0xb6], bpl
je 0x14000a6e7
mov al, 1
jmp 0x14000a6e9
xor al, al
mov qword [rsp + 0x78], rdi
test rbx, rbx
jne 0x14000a94e
test al, al
je 0x14000aa49
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.140004390
mov edx, eax
mov rcx, r8
call fcn.14000a300
mov rdi, qword [0x140214770]
mov rbx, qword [rsi + 0x4a40]
cmp dword [rdi + 0x48c0], ebp
jg 0x14000a765
mov r8d, 0x702
lea rdx, str.C:Usersibrahim_sellemDownloadsj_loaderimgui.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 0x14000a80d
movaps xmm0, xmm2
subss xmm0, xmm3
comiss xmm0, dword [rdi + 0x10]
jb 0x14000a80d
xorps xmm1, xmmword [0x14014fc40]
subss xmm1, dword [0x14014f91c]
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 0x14000a81d
call fcn.140020e20
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.140021160
mov rax, qword [0x140214770]
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.140004390
mov esi, eax
test eax, 0xff000000
je 0x14000a8e9
movss xmm3, dword [rbx + 0x58]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.1400233f0
movss xmm0, dword [0x14014f944]
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.140021580
mov dword [rdi + 0x78], ebp
mov rbx, qword [rbx + 0x298]
cmp dword [rbx + 0x58], ebp
jg 0x14000a90f
mov r8d, 0x718
lea rdx, str.C:Usersibrahim_sellemDownloadsj_loaderimgui.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 0x14000a924
mov rax, qword [rbx + 0x38]
add rax, 0x1c
jmp 0x14000a930
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.140020f10
mov qword [rsp + 0x80], r14
mov rcx, rbx
mov r14, rbx
call fcn.140011a70
movsxd rbp, eax
mov rdi, rbp
test eax, eax
js 0x14000a9fc
nop
test rdi, rdi
js 0x14000a97d
cmp ebp, dword [rsi + 0x3e90]
jl 0x14000a997
mov r8d, 0x702
lea rdx, str.C:Usersibrahim_sellemDownloadsj_loaderimgui.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 0x14000a9f0
mov rax, rcx
cmp qword [rcx + 0x378], rbx
je 0x14000a9ca
cmp rax, rbx
je 0x14000a9ca
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x14000a9b7
jmp 0x14000a9fc
cmp byte [rcx + 0xb6], 0
je 0x14000a9f0
cmp byte [rcx + 0xbd], 0
jne 0x14000a9f0
mov eax, dword [rbx + 0x14]
and edx, 0x2000000
and eax, 0x2000000
cmp edx, eax
cmovbe r14, rcx
dec ebp
sub rdi, 1
jns 0x14000a970
mov rax, qword [0x140214770]
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.140004390
mov edx, eax
mov rcx, r14
call fcn.14000a300
mov r14, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret