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

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0xa0
xor esi, esi
mov rdi, rcx
cmp dword [rcx + 0xac], 1
jle 0x14002b3fc
mov qword [rax - 0x20], rbp
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov qword [rax - 0x40], r15
movsxd rax, dword [rcx + 0xa8]
test eax, eax
je 0x14002af80
movups xmm0, xmmword [rdi]
mov rcx, rax
mov rax, qword [rdi + 0xb8]
shl rcx, 5
movups xmmword [rcx + rax], xmm0
movsxd rcx, dword [rdi + 0xa8]
mov rax, qword [rdi + 0xb8]
movups xmm0, xmmword [rdi + 0x10]
shl rcx, 5
movups xmmword [rcx + rax + 0x10], xmm0
mov rax, qword [rdi + 0xb8]
mov dword [rdi + 0xa8], esi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm0
mov rax, qword [rdi + 0x18]
movsxd rcx, dword [rdi + 0x10]
lea rcx, [rax + rcx*2]
movsxd rax, dword [rdi]
mov qword [rdi + 0x50], rcx
test eax, eax
je 0x14002af78
imul rcx, rax, 0x38
mov rax, qword [rdi + 8]
add rax, 0xffffffffffffffc8
add rcx, rax
je 0x14002af78
lea rdx, [rdi + 0x88]
cmp dword [rcx + 0x20], esi
jne 0x14002af69
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rdx + 0x10]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x18], eax
jmp 0x14002af80
mov r8d, Ordinal_33
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14002af80
mov rcx, rdi
call fcn.140021680
mov rcx, rdi
call fcn.14002ae30
mov eax, dword [rdi + 0xac]
mov r14d, esi
mov dword [rsp + 0xc0], esi
mov r12d, esi
mov dword [rsp + 0xc8], esi
test eax, eax
jle 0x14002afca
cmp dword [rdi], esi
jle 0x14002afca
mov rcx, rdi
call fcn.14001fc30
mov r13, rax
mov eax, dword [rdi + 0xac]
test r13, r13
je 0x14002afcd
mov ebp, dword [r13 + 0x20]
add ebp, dword [r13 + 0x1c]
jmp 0x14002afcf
mov r13, rsi
mov ebp, esi
mov ecx, 1
mov dword [rsp + 0xd0], ecx
lea r15d, [rcx + 0x1f]
cmp eax, ecx
jle 0x14002b1ee
mov eax, ecx
mov qword [rsp + 0x20], rcx
mov ebx, r15d
test rax, rax
js 0x14002affe
cmp ecx, dword [rdi + 0xb0]
jl 0x14002b018
mov r8d, 0x732
lea rdx, str.C:UserslasagDesktopSTUFFCoca_Cola___PonaraCocaDMACocaDMAimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rsi, qword [rdi + 0xb8]
movsxd rax, dword [rbx + rsi]
mov r14d, eax
mov r15d, eax
test eax, eax
jle 0x14002b05a
imul rcx, rax, 0x38
mov rax, qword [rbx + rsi + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x14002b05a
movsxd r14, dword [rbx + rsi]
imul rcx, r14, 0x38
mov r15d, r14d
cmp qword [rcx + rax - 0x10], 0
jne 0x14002b05a
dec dword [rbx + rsi]
mov r14d, dword [rbx + rsi]
mov r15d, r14d
mov r12d, r14d
mov edx, r15d
test r14d, r14d
jle 0x14002b138
test r13, r13
je 0x14002b138
mov rax, qword [rbx + rsi + 8]
mov r8d, Ordinal_33
mov rdx, rax
mov qword [rsp + 0x28], rax
mov rcx, r13
call sub.VCRUNTIME140.dll_memcmp
mov edx, r15d
test eax, eax
jne 0x14002b138
cmp qword [r13 + 0x28], 0
jne 0x14002b138
mov rcx, qword [rsp + 0x28]
cmp qword [rcx + 0x28], 0
jne 0x14002b138
mov eax, dword [rcx + 0x20]
add dword [r13 + 0x20], eax
add ebp, dword [rcx + 0x20]
mov r14, qword [rbx + rsi + 8]
movsxd rax, dword [rbx + rsi]
imul rcx, rax, 0x38
add rcx, r14
cmp r14, rcx
jb 0x14002b0ec
mov r8d, 0x74a
lea rdx, str.C:UserslasagDesktopSTUFFCoca_Cola___PonaraCocaDMACocaDMAimguiimgui.h
lea rcx, [0x1400d6498]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + rsi + 8]
movabs rax, 0x4924924924924925
sub r14, rcx
imul r14
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x38
add rcx, rax
movsxd rax, dword [rbx + rsi]
sub rax, rdx
imul r8, rax, 0x38
lea rdx, [rcx + 0x38]
sub r8, 0x38
call sub.VCRUNTIME140.dll_memmove
dec dword [rbx + rsi]
mov r12d, dword [rbx + rsi]
mov edx, r12d
mov r14d, dword [rsp + 0xc0]
test r12d, r12d
jle 0x14002b19b
mov r12d, dword [rsp + 0xc8]
lea eax, [rdx - 1]
add r12d, dword [rbx + rsi + 0x10]
add r14d, edx
movsxd rcx, eax
imul r13, rcx, 0x38
xor ecx, ecx
mov dword [rsp + 0xc0], r14d
add r13, qword [rbx + rsi + 8]
mov dword [rsp + 0xc8], r12d
test edx, edx
jle 0x14002b1bb
mov rdx, qword [rbx + rsi + 8]
xor eax, eax
mov dword [rdx + rax + 0x1c], ebp
lea rax, [rax + 0x38]
mov rdx, qword [rbx + rsi + 8]
inc ecx
add ebp, dword [rdx + rax - 0x18]
cmp ecx, dword [rbx + rsi]
jl 0x14002b181
jmp 0x14002b1bb
add r14d, r12d
mov r12d, dword [rsp + 0xc8]
add r12d, dword [rbx + rsi + 0x10]
mov dword [rsp + 0xc8], r12d
mov dword [rsp + 0xc0], r14d
mov ecx, dword [rsp + 0xd0]
add rbx, 0x20
mov rax, qword [rsp + 0x20]
inc ecx
inc rax
mov dword [rsp + 0xd0], ecx
mov qword [rsp + 0x20], rax
cmp ecx, dword [rdi + 0xac]
jl 0x14002aff1
mov r15d, reloc.WLDAP32.dll_Ordinal_32
mov edx, dword [rdi]
mov rcx, rdi
add edx, r14d
call fcn.14002b990
mov edx, dword [rdi + 0x10]
lea rbx, [rdi + 0x10]
add edx, r12d
mov rcx, rbx
call fcn.14002b830
movsxd rcx, dword [rdi]
mov ebp, 1
movsxd rax, r14d
sub rcx, rax
movsxd rax, r12d
imul r13, rcx, 0x38
movsxd rcx, dword [rbx]
add r13, qword [rdi + 8]
sub rcx, rax
mov rax, qword [rdi + 0x18]
lea r12, [rax + rcx*2]
cmp dword [rdi + 0xac], ebp
jle 0x14002b2c7
mov r14d, ebp
test r14, r14
js 0x14002b250
cmp ebp, dword [rdi + 0xb0]
jl 0x14002b26a
mov r8d, 0x732
lea rdx, str.C:UserslasagDesktopSTUFFCoca_Cola___PonaraCocaDMACocaDMAimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rsi, qword [rdi + 0xb8]
movsxd rax, dword [r15 + rsi]
test eax, eax
je 0x14002b290
mov rdx, qword [r15 + rsi + 8]
mov rcx, r13
imul rbx, rax, 0x38
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
add r13, rbx
movsxd rax, dword [r15 + rsi + 0x10]
test eax, eax
je 0x14002b2b2
mov rdx, qword [r15 + rsi + 0x18]
mov rbx, rax
add rbx, rbx
mov rcx, r12
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
add r12, rbx
inc ebp
inc r14
add r15, 0x20
cmp ebp, dword [rdi + 0xac]
jl 0x14002b243
lea rbx, [rdi + 0x10]
mov eax, dword [rdi]
mov r15, qword [rsp + 0x78]
mov r14, qword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x98]
mov qword [rdi + 0x50], r12
mov r12, qword [rsp + 0x90]
test eax, eax
je 0x14002b329
jg 0x14002b312
mov r8d, 0x73b
lea rdx, str.C:UserslasagDesktopSTUFFCoca_Cola___PonaraCocaDMACocaDMAimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rdi]
imul rcx, rax, 0x38
mov rax, qword [rdi + 8]
cmp qword [rcx + rax - 0x10], 0
jne 0x14002b329
xor esi, esi
jmp 0x14002b3a1
movups xmm1, xmmword [rdi + 0x88]
mov rax, qword [rdi + 0x98]
xor esi, esi
xorps xmm0, xmm0
mov qword [rsp + 0x40], rax
mov eax, dword [rdi + 0xa0]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x48], eax
mov eax, dword [rbx]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
comiss xmm0, xmm1
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x4c], eax
movups xmmword [rsp + 0x30], xmm1
jb 0x14002b37a
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rsp + 0x34]
jae 0x14002b394
mov r8d, 0x1bc
lea rdx, str.C:UserslasagDesktopSTUFFCoca_Cola___PonaraCocaDMACocaDMAimguiimgui_draw.cpp
lea rcx, str.draw_cmd.ClipRect.x___draw_cmd.ClipRect.z__draw_cmd.ClipRect.y___draw_cmd.ClipRect.w
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14002b540
movsxd rax, dword [rdi]
mov rdx, rdi
imul rcx, rax, 0x38
mov rax, qword [rdi + 8]
add rdx, 0x88
add rax, 0xffffffffffffffc8
add rcx, rax
cmp dword [rcx + 0x20], 0
jne 0x14002b3db
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rdx + 0x10]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x18], eax
jmp 0x14002b3f2
mov r8d, Ordinal_33
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14002b3f2
mov rcx, rdi
call fcn.140021680
mov dword [rdi + 0xac], 1
xor edx, edx
mov rcx, rdi
call fcn.14002b990
lea rcx, [rdi + 0x10]
xor edx, edx
call fcn.14002b830
lea rcx, [rdi + 0x20]
xor edx, edx
call fcn.14002ba40
mov rax, qword [rdi + 0x38]
xorps xmm0, xmm0
mov ecx, dword [rax + 0x2c]
mov dword [rdi + 0x30], ecx
movups xmmword [rdi + 0x88], xmm0
movups xmmword [rdi + 0x98], xmm0
mov dword [rdi + 0x34], esi
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x50], rsi
mov ecx, dword [rdi + 0x5c]
test ecx, ecx
jns 0x14002b462
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x58]
test eax, eax
cmovg edx, eax
call fcn.14002b770
mov dword [rdi + 0x58], esi
mov ecx, dword [rdi + 0x6c]
test ecx, ecx
jns 0x14002b485
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x68]
test eax, eax
cmovg edx, eax
call fcn.14002b700
mov dword [rdi + 0x68], esi
mov ecx, dword [rdi + 0x7c]
test ecx, ecx
jns 0x14002b4a8
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x78]
test eax, eax
cmovg edx, eax
call fcn.14002b700
xorps xmm0, xmm0
mov dword [rdi + 0x78], esi
xor eax, eax
mov dword [rdi + 0xa8], esi
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rcx, rdi
mov dword [rdi + 0xac], 1
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call fcn.14002b540
mov dword [rdi + 0xc0], 0x3f800000
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret