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

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x40
movsxd r13, dword [rdx + 0x14]
xor edi, edi
mov dword [rsp + 0x88], edi
mov r14d, r8d
mov rbx, rdx
mov rbp, rcx
mov r15d, edi
mov esi, edi
cmp r8d, r13d
jne 0x14004bffa
test r9d, r9d
je 0x14004bffa
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.14004b640
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rsp + 0x34]
mov dword [rbp + 4], edi
mov dword [rbp + 0xc], edi
mov dword [rbp + 0x10], r13d
movss dword [rbp + 8], xmm0
movss xmm0, dword [rsp + 0x2c]
movss dword [rbp], xmm0
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rcx + 4], edi
xor r8d, r8d
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x80], r12
call fcn.14004b640
mov r12d, dword [rsp + 0x3c]
cmp r14d, r12d
jl 0x14004c0e6
lea eax, [r12 + rsi]
mov rcx, r13
mov dword [rsp + 0x20], eax
cmp eax, r13d
jne 0x14004c09a
test rcx, rcx
jle 0x14004c09a
lea r15d, [r13 - 1]
cmp r15d, dword [rbx + 0x14]
jle 0x14004c05c
mov r8d, 0xf4e
lea rdx, str.C:UsersiphonDesktopinterfaceshavochavoc_ui_2imgui_widgets.cpp
lea rcx, str.idx___obj__TextLen
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, r13
cmp r15d, dword [rbx + 0x18]
lea r14, [rbx + 0x18]
jl 0x14004c083
mov r8d, 0x81b
lea rdx, str.C:UsersiphonDesktopinterfaceshavochavoc_ui_2imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, r13
mov rax, qword [r14 + 8]
cmp byte [rax + rcx - 1], 0xa
jne 0x14004c0de
mov eax, dword [rsp + 0x20]
mov r14d, dword [rsp + 0x90]
movss xmm0, dword [rsp + 0x30]
mov dword [rsp + 0x88], esi
mov esi, eax
addss xmm0, dword [rbp + 4]
movss dword [rbp + 4], xmm0
cmp eax, r13d
je 0x14004c0db
mov r8d, eax
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.14004b640
mov r12d, dword [rsp + 0x3c]
lea eax, [r12 + rsi]
cmp r14d, eax
jl 0x14004c0de
jmp 0x14004c020
mov r12d, edi
mov r15d, dword [rsp + 0x88]
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x28]
mov dword [rbp + 0x14], r15d
mov r15d, dword [rsp + 0x90]
mov dword [rbp + 0x10], r12d
mov r12, qword [rsp + 0x80]
movss dword [rbp + 8], xmm0
movss dword [rbp], xmm1
mov dword [rbp + 0xc], esi
cmp esi, r15d
jge 0x14004c1dc
movss xmm2, dword [0x140078ce0]
movsxd r14, esi
nop dword [rax]
nop word [rax + rax]
movsxd r8, dword [rbx + 0x14]
lea rcx, [rsp + 0x90]
add r8, qword [rbx + 0x20]
movsxd rdx, edi
add rdx, r14
add rdx, qword [rbx + 0x20]
call fcn.140002f80
mov ecx, dword [rsp + 0x90]
cmp cx, 0xa
jne 0x14004c171
movaps xmm0, xmm2
jmp 0x14004c19a
mov rdx, qword [rbx]
movzx ecx, cx
mov rax, qword [rdx + 0x1090]
cmp ecx, dword [rax]
jge 0x14004c18d
mov rax, qword [rax + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x14004c192
movss xmm0, dword [rax + 0x10]
mulss xmm0, dword [rdx + 0x10a0]
addss xmm1, xmm0
add edi, esi
movss dword [rbp], xmm1
movsxd rcx, dword [rbx + 0x14]
cmp edi, ecx
jl 0x14004c1b2
lea eax, [rcx + 1]
jmp 0x14004c1cf
mov r8, rcx
movsxd rdx, edi
add r8, qword [rbx + 0x20]
lea rcx, [rsp + 0x88]
add rdx, qword [rbx + 0x20]
call fcn.140002f80
add eax, edi
mov edi, eax
sub edi, esi
cmp eax, r15d
jl 0x14004c140
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret