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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x148
xor r14d, r14d
xor r15d, r15d
mov r13, rdx
movsxd rdx, r8d
mov rbx, rcx
mov qword [rsp + 0x1a8], r9
lea r12, [rdx + 2]
mov rsi, qword [r13]
mov rbp, rdx
mov dword [rsp + 0x70], r15d
shl r12, 4
test r9, r9
mov qword [rsp + 0xa0], r14
je 0x1400db792
mov eax, dword [r9]
mov dword [rsp + 0x70], eax
mov rax, qword [rbx]
lea r8, [rsp + 0xa8]
mov ecx, 0x1e
mov eax, dword [rax + 0x60]
mov dword [rsp + 0x7c], eax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x50], rax
mov rdi, qword [rsp + 0x50]
xor eax, eax
rep stosd dword [rdi], eax
mov ecx, 4
mov rdi, r8
rep stosd dword [rdi], eax
mov rdi, rdx
shl rdi, 4
lea rdx, [rsi + rdi]
mov r14d, dword [rdx + 0x20]
test r14d, r14d
je 0x1400db828
lea rax, [rsi + r12 + 0x10]
mov rcx, rbx
mov qword [rsp + 0x60], rax
movsxd rax, dword [rdx + 0x34]
lea r15, [rsi + r12]
xor r12d, r12d
mov rdx, qword [rdx + 0x38]
imul rax, rax, 0x38
lea rdi, [rdx + rax - 0x38]
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rdi]
call fcn.1400e66c0
mov eax, dword [rdi + 8]
mov dword [rsp + 0x138], r12d
inc eax
mov dword [rsp + 0xd0], eax
jmp 0x1400db8d8
lea r14, [rbx + 0x3c]
mov rdx, rsi
mov rcx, rbx
call fcn.1400d49c0
mov r15d, eax
mov eax, dword [rsi + 0x1c]
dec eax
cmp eax, ebp
jne 0x1400db852
mov rdx, r13
mov rcx, r14
call fcn.1400e2ef0
mov rsi, qword [r13]
xor r9d, r9d
mov rdx, rsi
mov rcx, r14
lea r8d, [rbp + 1]
call fcn.1400e3050
cmp dword [rbx + 0x3c], 0
jne 0x1400dbf7c
mov rdx, qword [rsp + 0x50]
mov r8d, r15d
mov rcx, rbx
call fcn.1400e66c0
lea rax, [rsi + rdi]
movsxd rdi, dword [rax + 0x34]
mov rdx, rdi
imul rdi, rdi, 0x38
inc edx
add rdi, qword [rax + 0x38]
mov dword [rax + 0x34], edx
mov dword [rdi + 4], 1
mov dword [rdi], r15d
inc dword [rsi + 0x18]
cmp qword [rsi + 0x10], 0
mov r14d, dword [rax + 0x24]
je 0x1400db8ca
mov rdx, qword [rax + 0x28]
mov rax, qword [rdx + 0x10]
mov qword [rdi + 0x10], rax
movsxd rax, r14d
imul rax, rax, 0x38
mov rax, qword [rdx + rax - 0x20]
mov qword [rdi + 0x18], rax
lea rax, [rsi + r12 + 0x10]
lea r15, [rsi + r12]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
xor r11d, r11d
mov dword [rsp + 0x78], r11d
cmp dword [rax + 4], 1
jne 0x1400db8fb
lea eax, [rbp + 2]
cmp dword [rsi + 0x1c], eax
sete al
movzx eax, al
mov dword [rsp + 0x78], eax
xor r9d, r9d
xor r10d, r10d
mov dword [rsp + 0x38], r14d
mov rdx, rsi
mov dword [rsp + 0x30], ebp
mov r8d, 0x20
mov rcx, rbx
xor r13d, r13d
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x28], r9d
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], r10
call fcn.1400de430
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x80], rax
lea rax, [rbx + 0x3c]
mov qword [rsp + 0x50], rax
cmp dword [rbx + 0x3c], 0
mov rbp, qword [rsp + 0xa0]
jne 0x1400dbbce
cmp byte [rbp + 0x14], 0
jne 0x1400dbbce
mov rax, qword [rbp + 0x60]
movzx eax, word [rax + 4]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x68], eax
movzx eax, word [rsp + 0x58]
shl rax, 7
add rax, rbp
mov r12d, dword [rax + 0xd0]
cmp dword [rsp + 0xb0], r12d
mov r9, qword [rax + 0xc8]
jne 0x1400db9ce
test r12d, r12d
jle 0x1400dba12
mov rdx, qword [rsp + 0xa8]
mov rcx, r9
movsxd r8, r12d
mov qword [rsp + 0x88], r9
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
mov r9, qword [rsp + 0x88]
test eax, eax
je 0x1400dba12
cmp qword [rsp + 0x1a8], 0
je 0x1400db9ea
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x114], eax
jg 0x1400dbbce
mov rdx, qword [rsp + 0x80]
mov r8d, r12d
xor r13d, r13d
mov qword [rsp + 0x88], r9
mov rcx, qword [rsp + 0x50]
call fcn.14011d410
mov r9, qword [rsp + 0x88]
movsxd rax, dword [rsp + 0x68]
shl rax, 7
add rax, rbp
cmp dword [rax + 0xe0], 0
jne 0x1400dba3f
cmp dword [rsp + 0x78], 0
jne 0x1400dbbb8
cmp byte [rax + 0xe4], 0
je 0x1400dbbb8
mov eax, r13d
or eax, dword [rbx + 0x3c]
jne 0x1400dba60
lea rdx, [rsp + 0xc8]
mov r8d, r12d
mov rcx, rbx
call fcn.1400e6070
mov r13d, 1
cmp dword [rbx + 0x3c], 0
jne 0x1400dbb12
mov rax, qword [rbp + 0x60]
mov rdx, qword [rbx]
movzx eax, word [rax + 4]
shl rax, 7
mov r12, qword [rbp + rax + 0xd8]
mov eax, dword [rsp + 0xf0]
add eax, dword [rsp + 0xe0]
cmp eax, dword [rdx + 0x90]
jl 0x1400dbaa7
lea rdx, [rsp + 0xc8]
mov rcx, rbx
call fcn.1400e6600
cmp byte [rsp + 0x111], 0
je 0x1400dbad8
mov eax, dword [rsp + 0xe0]
mov r8, r12
mov rcx, rbx
mov rdx, qword [rsp + 0xd8]
xchg al, ah
mov word [rdx], ax
lea rdx, [rsp + 0xc8]
call fcn.1400e6220
cmp word [rsp + 0x110], 0
mov r8, r12
lea rdx, [rsp + 0xd8]
jne 0x1400dbaf6
sub r8, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x50]
call fcn.14011d3a0
mov qword [rsp + 0x108], r12
mov word [rsp + 0x110], 0
movsxd r12, dword [rsp + 0x68]
shl r12, 7
add r12, rbp
cmp dword [rsp + 0x7c], 1
movzx eax, byte [r12 + 0xe4]
jne 0x1400dbb6f
test al, al
je 0x1400dbbb8
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0xd8]
xor r8d, r8d
mov qword [rsp + 0x58], rdx
call fcn.14011d3a0
cmp dword [r12 + 0xe0], 0
jle 0x1400dbbb8
mov rdx, qword [rsp + 0x58]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call fcn.14011d3a0
jmp 0x1400dbbb8
mov edx, dword [r12 + 0xe0]
lea r12, [rsp + 0xc8]
mov rcx, qword [rsp + 0x50]
lea r8d, [rax + rdx*2]
lea rdx, [rsp + 0xd8]
movsxd r8, r8d
call fcn.14011d3a0
movzx eax, word [rsp + 0x58]
mov r8, r12
mov rcx, rbx
lea r9, [0x1400dd720]
shl rax, 7
lea rdx, [rbp + rax + 0x68]
call fcn.1400d63b0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call fcn.1400de8d0
jmp 0x1400db951
lea rdx, [rsp + 0xc8]
mov rcx, rbx
lea r8, [rdi + 8]
call fcn.1400e6450
mov r12d, dword [rbx + 0x3c]
test r12d, r12d
je 0x1400dbbfc
lea rax, [rbx + 0x68]
xor r12d, r12d
mov qword [rsp + 0x50], rax
jmp 0x1400dbd00
cmp byte [rbp + 0x14], 0
jne 0x1400dbbeb
lea rax, [rsp + 0xb8]
mov ecx, 4
mov qword [rsp + 0x50], rax
lea rsi, [rbp + 0x68]
mov rdi, rax
mov eax, r12d
rep stosd dword [rdi], eax
lea rax, [rbx + 0x3c]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x9c]
mov qword [rsp + 0x70], rax
jmp 0x1400dbd77
imul rax, r12, 0x38
add rax, qword [r15 + 8]
mov rdx, qword [rax + 0x30]
mov qword [rsp + 0x58], rax
add rdx, qword [rdi + 0x30]
mov r13d, dword [rax]
sub rdx, qword [rax + 0x28]
mov rcx, r13
mov qword [rdi + 0x30], rdx
lea edx, [r13 + 1]
shl rcx, 0x25
shl rdx, 0x25
lea r8, [rdx - 1]
mov rdx, rcx
mov rcx, rbx
call fcn.1400d7070
mov rax, qword [rsp + 0x58]
mov r8d, dword [rax + 0x20]
test r8d, r8d
je 0x1400dbca3
lea edx, [r13 + 0x10000]
dec r8d
mov rcx, rbx
shl rdx, 0x25
movsxd r8, r8d
add r8, rdx
call fcn.1400d7070
cmp qword [rbx + 0x68], 0
jne 0x1400dbcd1
mov rax, qword [rbx]
lea rcx, str.DELETE_FROM__q._q_idx_WHERE_segid_
mov rdx, qword [rax + 8]
mov r8, qword [rax + 0x10]
call fcn.140151f20
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
mov r8, rax
call fcn.1400dc110
cmp dword [rbx + 0x3c], 0
jne 0x1400dbcfd
mov rcx, qword [rbx + 0x68]
mov r8d, r13d
mov edx, 1
call fcn.14014dd70
mov rcx, qword [rbx + 0x68]
call fcn.1401538e0
mov rcx, qword [rbx + 0x68]
call fcn.140152950
mov dword [rbx + 0x3c], eax
inc r12
cmp r14d, r12d
jg 0x1400dbc3b
mov r8d, dword [r15 + 4]
cmp r8d, r14d
je 0x1400dbd2f
movsxd rdx, r14d
mov rcx, qword [r15 + 8]
sub r8d, r14d
imul rdx, rdx, 0x38
imul r8d, r8d, 0x38
movsxd r8, r8d
add rdx, rcx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov eax, dword [rsi + 0x18]
xor r8d, r8d
sub eax, r14d
mov dword [rsi + 0x18], eax
sub dword [r15 + 4], r14d
mov dword [r15], r8d
cmp dword [rdi + 8], 0
jne 0x1400dbf4b
mov rbx, qword [rsp + 0x60]
dec eax
dec dword [rbx + 4]
mov dword [rsi + 0x18], eax
jmp 0x1400dbf4b
cmp dword [rbx + 0x3c], 0
jne 0x1400dbf3b
mov rax, qword [rsi]
test rax, rax
jne 0x1400dbd82
inc r12d
sub rsi, 0xffffffffffffff80
cmp r12d, dword [rbp + 0x48]
jl 0x1400dbd5e
jmp 0x1400dbf3b
cmp qword [rsi + 0x10], 0
jne 0x1400dbd91
xor ecx, ecx
mov qword [rax + 4], rcx
jmp 0x1400dbd70
mov r13d, dword [rax]
xor edx, edx
mov rcx, rbx
mov edi, dword [rsi + 0x3c]
mov dword [rsp + 0x9c], edx
movsxd rax, dword [rsi + 0x38]
shl r13, 0x25
mov dword [rsp + 0x60], edi
add rax, r13
mov rdx, rax
mov qword [rsp + 0x68], rax
call fcn.1400dd650
test rax, rax
mov rdi, rax
je 0x1400dbd70
mov eax, dword [rsp + 0x60]
cmp eax, dword [rdi + 0xc]
jle 0x1400dbddc
mov dword [rbx + 0x3c], 0x10b
jmp 0x1400dbf2e
xor eax, eax
mov r8d, dword [rdi + 8]
cmp dword [rsp + 0xc4], r8d
mov dword [rsp + 0xc0], eax
jae 0x1400dbe05
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0xb8]
call fcn.14011d420
mov r9, qword [rsp + 0x70]
mov r8d, 4
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.14011d2e0
movsxd r8, dword [rsi + 0x68]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.14011d3a0
mov r9, qword [rsi + 0x60]
mov r8d, dword [rsi + 0x68]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.14011d2e0
mov r8d, dword [rdi + 0xc]
mov eax, dword [rsp + 0x60]
movsxd r9, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
add r9, qword [rdi]
mov rcx, qword [rsp + 0x58]
sub r8d, eax
call fcn.14011d2e0
cmp dword [rbx + 0x3c], 0
jne 0x1400dbe86
mov eax, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
xchg al, ah
mov word [rdx + 2], ax
mov rdx, qword [rsp + 0x50]
mov r8d, 4
mov rcx, qword [rsp + 0x58]
call fcn.14011d3a0
mov eax, dword [rsi + 0x38]
cmp dword [rsi + 0xc], eax
jne 0x1400dbef7
mov ecx, dword [rsi + 0x44]
mov eax, dword [rdi + 0xc]
cmp ecx, eax
jge 0x1400dbef7
mov edx, dword [rdi + 8]
cmp dword [rsi + 0x40], edx
jg 0x1400dbef7
movsxd rdx, dword [rsp + 0xc0]
sub eax, ecx
cdqe
mov rcx, qword [rsp + 0x58]
sub rdx, rax
lea r8, [rdx - 5]
mov rdx, qword [rsp + 0x50]
call fcn.14011d3a0
movsxd r9, dword [rsi + 0x40]
mov r8d, dword [rdi + 8]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, r9
add r9, qword [rdi]
sub r8d, eax
call fcn.14011d2e0
mov edx, dword [rsi + 0x38]
mov rcx, rbx
mov rax, qword [rsi]
mov r8, qword [rsp + 0x68]
mov dword [rax + 4], edx
lea rdx, [r13 + 1]
call fcn.1400d7070
mov r9d, dword [rsp + 0xc0]
mov rcx, rbx
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x68]
call fcn.1400d7220
mov rcx, rdi
call fcn.140150f20
jmp 0x1400dbd70
lea rcx, [rsp + 0xb8]
call fcn.14011d3e0
mov dword [r15], r14d
mov rcx, rbp
call fcn.1400de1d0
lea rcx, [rsp + 0xa8]
call fcn.14011d3e0
cmp qword [rsp + 0x1a8], 0
je 0x1400dbf7c
mov rsi, qword [rsp + 0x1a8]
mov eax, dword [rsp + 0x114]
sub dword [rsi], eax
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret