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

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
movsxd r15, dword [rdx + 0x14]
xor edi, edi
mov dword [rsp + 0x88], edi
mov r14d, r8d
mov rbx, rdx
mov rbp, rcx
mov r12d, edi
mov esi, edi
cmp r8d, r15d
jne 0x1400453da
test r9d, r9d
je 0x1400453da
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.140044a10
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rsp + 0x34]
mov dword [rbp + 4], edi
mov dword [rbp + 0xc], edi
mov dword [rbp + 0x10], r15d
movss dword [rbp + 8], xmm0
movss xmm0, dword [rsp + 0x2c]
movss dword [rbp], xmm0
add rsp, 0x40
pop r15
pop r14
pop r12
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], r13
call fcn.140044a10
mov r13d, dword [rsp + 0x3c]
cmp r14d, r13d
jl 0x1400454ca
mov rcx, r15
lea eax, [rsi + r13]
mov dword [rsp + 0x20], eax
cmp eax, r15d
jne 0x14004547a
test rcx, rcx
jle 0x14004547a
lea r12d, [r15 - 1]
cmp r12d, dword [rbx + 0x14]
jle 0x14004543c
mov r8d, 0xf53
lea rdx, str.C:Users_szymoDownloadsimgui_masterimgui_widgets.cpp
lea rcx, str.idx___obj__CurLenA
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, r15
cmp r12d, dword [rbx + 0x18]
lea r14, [rbx + 0x18]
jl 0x140045463
mov r8d, 0x82e
lea rdx, str.C:Users_szymoDownloadsimgui_masterimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, r15
mov rax, qword [r14 + 8]
cmp byte [rax + rcx - 1], 0xa
jne 0x1400454c2
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, r15d
je 0x1400454bf
mov r8d, eax
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.140044a10
mov r13d, dword [rsp + 0x3c]
mov rcx, r15
lea eax, [rsi + r13]
cmp r14d, eax
jge 0x140045403
jmp 0x1400454c2
mov r13d, edi
mov r12d, dword [rsp + 0x88]
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x28]
mov r15d, dword [rsp + 0x90]
mov dword [rbp + 0x10], r13d
mov r13, qword [rsp + 0x80]
movss dword [rbp + 8], xmm0
movss dword [rbp], xmm1
mov dword [rbp + 0xc], esi
mov dword [rbp + 0x14], r12d
cmp esi, r15d
jge 0x1400455bb
movss xmm2, dword [0x140064aac]
movsxd r14, esi
nop word [rax + rax]
movsxd r8, dword [rbx + 0x18]
lea rcx, [rsp + 0x90]
add r8, qword [rbx + 0x20]
movsxd rdx, edi
add rdx, r14
add rdx, qword [rbx + 0x20]
call fcn.140004880
mov ecx, dword [rsp + 0x90]
cmp cx, 0xa
jne 0x140045551
movaps xmm0, xmm2
jmp 0x14004557a
mov rdx, qword [rbx]
movzx ecx, cx
mov rax, qword [rdx + 0x3dc0]
cmp ecx, dword [rax]
jge 0x14004556d
mov rax, qword [rax + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x140045572
movss xmm0, dword [rax + 0x10]
mulss xmm0, dword [rdx + 0x3dd0]
mov eax, dword [rbx + 0x14]
addss xmm1, xmm0
add edi, esi
movss dword [rbp], xmm1
cmp edi, eax
jl 0x140045590
inc eax
jmp 0x1400455ae
movsxd r8, dword [rbx + 0x18]
lea rcx, [rsp + 0x88]
add r8, qword [rbx + 0x20]
movsxd rdx, edi
add rdx, qword [rbx + 0x20]
call fcn.140004880
add eax, edi
mov edi, eax
sub edi, esi
cmp eax, r15d
jl 0x140045520
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret