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

Disassembly:
push rbx
push rsi
sub rsp, 0x68
mov rsi, qword [0x14022c0b0]
mov eax, dword [rsi + 0x48a0]
sub eax, 1
js 0x14001399d
movsxd rdx, eax
mov rax, qword [rsi + 0x48a8]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop
mov rbx, qword [r8]
test rbx, rbx
je 0x140013993
test dword [rbx + 0x14], 0x8000000
je 0x140013993
cmp byte [rbx + 0xb6], 0
je 0x140013993
cmp byte [rbx + 0xbd], 0
je 0x14001399f
sub r8, 0x38
sub rdx, 1
jns 0x140013970
xor ebx, ebx
movss xmm1, dword [rsi + 0x4a74]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1400139bc
comiss xmm0, dword [rsi + 0x4a5c]
jae 0x140013ce6
mov r8, qword [rsi + 0x4a48]
test r8, r8
je 0x1400139d6
cmp byte [r8 + 0xb6], 0
je 0x1400139d6
mov al, 1
jmp 0x1400139d8
xor al, al
mov qword [rsp + 0x90], rdi
test rbx, rbx
jne 0x140013bd5
test al, al
je 0x140013cde
movups xmm0, xmmword [rsi + 0x3be8]
lea rcx, [rsp + 0x40]
mulss xmm1, dword [rsi + 0x37d0]
movups xmmword [rsp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.14000db80
mov edx, eax
mov rcx, r8
call fcn.140013640
mov rdi, qword [0x14022c0b0]
mov rbx, qword [rsi + 0x4a48]
cmp dword [rdi + 0x48c8], 0
jg 0x140013a58
mov r8d, 0x715
lea rdx, str.C:Users_segamfleDesktop_foofStreckFortniteImguiimgui.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 + 0x3c20]
movss xmm3, dword [rbx + 0x20]
movss xmm2, dword [rbx + 0x24]
movaps xmm5, xmm3
addss xmm3, dword [rbx + 0x28]
mov rax, qword [rdi + 0x48d0]
subss xmm5, xmm1
movaps xmm4, xmm2
addss xmm2, dword [rbx + 0x2c]
subss xmm4, xmm1
mov rdi, qword [rax]
addss xmm3, xmm1
movss dword [rsp + 0x40], xmm5
addss xmm2, xmm1
movss dword [rsp + 0x44], xmm4
movaps xmm0, xmm3
movss dword [rsp + 0x48], xmm3
subss xmm0, xmm5
movss dword [rsp + 0x4c], xmm2
comiss xmm0, dword [rdi + 0xc]
jb 0x140013afd
movaps xmm0, xmm2
subss xmm0, xmm4
comiss xmm0, dword [rdi + 0x10]
jb 0x140013afd
xorps xmm1, xmmword [0x140176340]
subss xmm1, dword [0x140175d2c]
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm3, xmm1
addss xmm2, xmm1
movss dword [rsp + 0x40], xmm5
movss dword [rsp + 0x44], xmm4
movss dword [rsp + 0x48], xmm3
movss dword [rsp + 0x4c], xmm2
mov rcx, qword [rbx + 0x298]
cmp dword [rcx], 0
jne 0x140013b0e
call fcn.140032c60
movss xmm0, dword [rdi + 0xc]
lea rdx, [rdi + 4]
movss xmm1, dword [rdi + 0x10]
lea r8, [rsp + 0x80]
addss xmm0, dword [rdx]
addss xmm1, dword [rdx + 4]
mov rcx, qword [rbx + 0x298]
xor r9d, r9d
movss dword [rsp + 0x80], xmm0
movss dword [rsp + 0x84], xmm1
call fcn.140032fa0
mov rax, qword [0x14022c0b0]
lea rcx, [rsp + 0x50]
movss xmm0, dword [rsi + 0x4a5c]
movups xmm1, xmmword [rax + 0x3bd8]
mulss xmm0, dword [rax + 0x37d0]
movups xmmword [rsp + 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.14000db80
movss xmm0, dword [0x140175d80]
lea r8, [rsp + 0x48]
mov rcx, qword [rbx + 0x298]
lea rdx, [rsp + 0x40]
movss dword [rsp + 0x30], xmm0
mov r9d, eax
movss xmm0, dword [rbx + 0x58]
movss dword [rsp + 0x20], xmm0
call fcn.1400359b0
mov rcx, qword [rbx + 0x298]
mov rdi, qword [rsp + 0x90]
add rsp, 0x68
pop rsi
pop rbx
jmp fcn.1400330b0
mov qword [rsp + 0x88], rbp
mov rcx, rbx
mov qword [rsp + 0x60], r14
mov r14, rbx
call fcn.14001b910
movsxd rbp, eax
mov rdi, rbp
test eax, eax
js 0x140013c8c
nop dword [rax + rax]
test rdi, rdi
js 0x140013c0d
cmp ebp, dword [rsi + 0x3e98]
jl 0x140013c27
mov r8d, 0x715
lea rdx, str.C:Users_segamfleDesktop_foofStreckFortniteImguiimgui.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 + 0x3ea0]
mov rcx, qword [rax + rdi*8]
mov edx, dword [rcx + 0x14]
bt edx, 0x18
jb 0x140013c80
mov rax, rcx
cmp qword [rcx + 0x378], rbx
je 0x140013c5a
cmp rax, rbx
je 0x140013c5a
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x140013c47
jmp 0x140013c8c
cmp byte [rcx + 0xb6], 0
je 0x140013c80
cmp byte [rcx + 0xbd], 0
jne 0x140013c80
mov eax, dword [rbx + 0x14]
and edx, 0x2000000
and eax, 0x2000000
cmp edx, eax
cmovbe r14, rcx
dec ebp
sub rdi, 1
jns 0x140013c00
mov rax, qword [0x14022c0b0]
lea rcx, [rsp + 0x50]
movups xmm1, xmmword [rax + 0x3bf8]
movss xmm0, dword [rax + 0x37d0]
mulss xmm0, dword [rsi + 0x4a74]
movups xmmword [rsp + 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.14000db80
mov edx, eax
mov rcx, r14
call fcn.140013640
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
add rsp, 0x68
pop rsi
pop rbx
ret