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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push r12
push r15
sub rsp, 0xa8
cmp dword [rcx + 4], 1
mov r15, rdx
mov r12, rcx
jle 0x140033174
mov qword [rax - 0x18], rbx
xor edx, edx
mov qword [rax - 0x20], rbp
mov qword [rax - 0x28], rsi
mov qword [rax - 0x30], rdi
mov qword [rax - 0x38], r13
mov qword [rax - 0x40], r14
movsxd rax, dword [rcx]
test eax, eax
je 0x140032ca4
movups xmm0, xmmword [r15]
mov rcx, rax
mov rax, qword [r12 + 0x10]
shl rcx, 5
movups xmmword [rcx + rax], xmm0
movsxd rcx, dword [r12]
mov rax, qword [r12 + 0x10]
movups xmm0, xmmword [r15 + 0x10]
shl rcx, 5
movups xmmword [rcx + rax + 0x10], xmm0
mov rax, qword [r12 + 0x10]
mov dword [r12], edx
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
mov rax, qword [r12 + 0x10]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm0
mov rax, qword [r15 + 0x18]
movsxd rcx, dword [r15 + 0x10]
lea rcx, [rax + rcx*2]
movsxd rax, dword [r15]
mov qword [r15 + 0x50], rcx
test eax, eax
je 0x140032c9c
imul rcx, rax, 0x38
mov rax, qword [r15 + 8]
add rax, 0xffffffffffffffc8
add rcx, rax
je 0x140032c9c
cmp dword [rcx + 0x20], 0
lea rdx, [r15 + 0x88]
jne 0x140032c8d
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 0x140032ca4
mov r8d, Ordinal_33
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140032ca4
mov rcx, r15
call fcn.14002c560
movsxd rcx, dword [r15]
mov edx, ecx
test ecx, ecx
je 0x140032ce9
mov rax, qword [r15 + 8]
imul r8, rcx, 0x38
cmp dword [r8 + rax - 0x18], 0
jne 0x140032ce9
cmp qword [r8 + rax - 0x10], 0
jne 0x140032ce9
test ecx, ecx
jg 0x140032ce3
mov r8d, 0x6dd
lea rdx, str.D:MainBackupzchairs_loaderimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
dec dword [r15]
mov edx, dword [r15]
mov eax, dword [r12 + 4]
xor ebp, ebp
xor edi, edi
mov dword [rsp + 0xc0], ebp
test eax, eax
jle 0x140032d20
test edx, edx
jle 0x140032d20
mov rcx, r15
call fcn.140036b60
mov r13, rax
mov eax, dword [r12 + 4]
test r13, r13
je 0x140032d23
mov esi, dword [r13 + 0x20]
add esi, dword [r13 + 0x1c]
jmp 0x140032d25
xor r13d, r13d
xor esi, esi
mov ecx, 1
mov dword [rsp + 0xd8], ecx
lea r14d, [rcx + 0x1f]
cmp eax, ecx
jle 0x140032f43
mov eax, ecx
mov qword [rsp + 0x20], rcx
mov ebx, r14d
mov r15d, edi
nop word [rax + rax]
test rax, rax
js 0x140032d5c
cmp ecx, dword [r12 + 8]
jl 0x140032d76
mov r8d, 0x6c7
lea rdx, str.D:MainBackupzchairs_loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [r12 + 0x10]
movsxd rax, dword [rbx + rdi]
mov r14d, eax
mov ebp, eax
test eax, eax
jle 0x140032da2
imul rcx, rax, 0x38
mov rax, qword [rbx + rdi + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x140032da2
dec dword [rbx + rdi]
mov r14d, dword [rbx + rdi]
mov ebp, r14d
mov eax, r14d
test r14d, r14d
jle 0x140032e7e
test r13, r13
je 0x140032e7e
mov rax, qword [rbx + rdi + 8]
mov r8d, Ordinal_33
mov ebp, dword [rbx + rdi]
mov rdx, rax
mov rcx, r13
mov qword [rsp + 0x28], rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov eax, r14d
jne 0x140032e7e
cmp qword [r13 + 0x28], 0
jne 0x140032e7e
mov rcx, qword [rsp + 0x28]
cmp qword [rcx + 0x28], 0
jne 0x140032e7e
mov eax, dword [rcx + 0x20]
add dword [r13 + 0x20], eax
add esi, dword [rcx + 0x20]
mov rbp, qword [rbx + rdi + 8]
movsxd rax, dword [rbx + rdi]
imul rcx, rax, 0x38
add rcx, rbp
cmp rbp, rcx
jb 0x140032e34
mov r8d, 0x6df
lea rdx, str.D:MainBackupzchairs_loaderimguiimgui.h
lea rcx, [0x1400c6900]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + rdi + 8]
movabs rax, 0x4924924924924925
sub rbp, rcx
imul rbp
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x38
add rcx, rax
movsxd rax, dword [rbx + rdi]
sub rax, rdx
imul r8, rax, 0x38
lea rdx, [rcx + 0x38]
sub r8, 0x38
call sub.VCRUNTIME140.dll_memmove
dec dword [rbx + rdi]
mov eax, dword [rbx + rdi]
mov ebp, eax
test eax, eax
jle 0x140032ee1
mov edx, dword [rsp + 0xc0]
lea eax, [rbp - 1]
add edx, dword [rbx + rdi + 0x10]
add r15d, ebp
movsxd rcx, eax
imul r13, rcx, 0x38
xor ecx, ecx
mov dword [rsp + 0xc0], edx
add r13, qword [rbx + rdi + 8]
test ebp, ebp
jle 0x140032ef8
mov rdx, qword [rbx + rdi + 8]
xor eax, eax
nop dword [rax]
nop word [rax + rax]
mov dword [rax + rdx + 0x1c], esi
lea rax, [rax + 0x38]
mov rdx, qword [rbx + rdi + 8]
inc ecx
add esi, dword [rax + rdx - 0x18]
cmp ecx, dword [rbx + rdi]
jl 0x140032ec0
mov ebp, dword [rsp + 0xc0]
jmp 0x140032efa
mov ebp, dword [rsp + 0xc0]
add r15d, eax
add ebp, dword [rbx + rdi + 0x10]
mov dword [rsp + 0xc0], ebp
jmp 0x140032efa
mov ebp, edx
mov ecx, dword [rsp + 0xd8]
add rbx, 0x20
mov rax, qword [rsp + 0x20]
inc ecx
inc rax
mov dword [rsp + 0xd8], ecx
mov qword [rsp + 0x20], rax
cmp ecx, dword [r12 + 4]
jl 0x140032d50
mov dword [rsp + 0xd0], r15d
mov r14d, reloc.WLDAP32.dll_Ordinal_32
mov edi, dword [rsp + 0xd0]
mov r15, qword [rsp + 0xc8]
mov edx, dword [r15]
mov rcx, r15
add edx, edi
call fcn.140037050
mov edx, dword [r15 + 0x10]
lea rbx, [r15 + 0x10]
add edx, ebp
mov qword [rsp + 0xd0], rbx
mov rcx, rbx
call fcn.140036ef0
movsxd rcx, dword [r15]
mov esi, 1
movsxd rax, edi
sub rcx, rax
imul rax, rcx, 0x38
movsxd rcx, dword [rbx]
add rax, qword [r15 + 8]
mov qword [rsp + 0xc0], rax
movsxd rax, ebp
sub rcx, rax
mov rax, qword [r15 + 0x18]
lea r13, [rax + rcx*2]
cmp dword [r12 + 4], esi
jle 0x14003303c
mov r15, qword [rsp + 0xc0]
mov ebp, esi
nop
test rbp, rbp
js 0x140032fbc
cmp esi, dword [r12 + 8]
jl 0x140032fd6
mov r8d, 0x6c7
lea rdx, str.D:MainBackupzchairs_loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [r12 + 0x10]
movsxd rax, dword [r14 + rdi]
test eax, eax
je 0x140032ffa
mov rdx, qword [r14 + rdi + 8]
mov rcx, r15
imul rbx, rax, 0x38
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
add r15, rbx
movsxd rax, dword [r14 + rdi + 0x10]
test eax, eax
je 0x14003301c
mov rdx, qword [r14 + rdi + 0x18]
mov rbx, rax
add rbx, rbx
mov rcx, r13
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
add r13, rbx
inc esi
inc rbp
add r14, 0x20
cmp esi, dword [r12 + 4]
jl 0x140032fb0
mov r15, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
mov eax, dword [r15]
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
mov qword [r15 + 0x50], r13
mov r13, qword [rsp + 0x80]
test eax, eax
je 0x14003309b
jg 0x140033088
mov r8d, 0x6d1
lea rdx, str.D:MainBackupzchairs_loaderimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [r15]
imul rcx, rax, 0x38
mov rax, qword [r15 + 8]
cmp qword [rcx + rax - 0x10], 0
je 0x140033115
movups xmm1, xmmword [r15 + 0x88]
mov rax, qword [r15 + 0x98]
xor edx, edx
xorps xmm0, xmm0
mov qword [rsp + 0x40], rax
mov eax, dword [r15 + 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], rdx
mov dword [rsp + 0x4c], eax
movups xmmword [rsp + 0x30], xmm1
jb 0x1400330ee
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rsp + 0x34]
jae 0x140033108
mov r8d, 0x1d1
lea rdx, str.D:MainBackupzchairs_loaderimguiimgui_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, r15
call fcn.140036be0
movsxd rax, dword [r15]
mov rdx, r15
mov rbx, qword [rsp + 0xa0]
add rdx, 0x88
imul rcx, rax, 0x38
add rcx, 0xffffffffffffffc8
add rcx, qword [r15 + 8]
cmp dword [rcx + 0x20], 0
jne 0x140033154
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 0x14003316b
mov r8d, Ordinal_33
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003316b
mov rcx, r15
call fcn.14002c560
mov dword [r12 + 4], 1
add rsp, 0xa8
pop r15
pop r12
ret