Function at 0x1401a4b40
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
mov r15, rdx
movsxd rdx, r8d
mov rbx, rcx
mov qword [rsp + 0x1a8], r9
lea r12, [rdx + 1]
mov dword [rsp + 0x70], 0
mov rsi, qword [r15]
mov rbp, rdx
mov qword [rsp + 0xa0], 0
shl r12, 4
lea rax, [r12 + 8]
mov qword [rsp + 0x58], rax
test r9, r9
je 0x1401a4b9c
mov eax, dword [r9]
mov dword [rsp + 0x70], eax
mov rax, qword [rbx]
lea r8d, [rbp + 1]
lea r14, [rsp + 0xc8]
mov ecx, 0x1e
mov qword [rsp + 0xa8], 0
mov rdi, r14
mov qword [rsp + 0xb0], 0
mov eax, dword [rax + 0x5c]
mov dword [rsp + 0x7c], eax
xor eax, eax
rep stosd dword [rdi], eax
mov rdi, rdx
shl rdi, 4
lea rdx, [rsi + rdi]
mov eax, dword [rdx + 0x18]
mov dword [rsp + 0x50], eax
test eax, eax
je 0x1401a4c39
lea rax, [rsi + r12 + 0x18]
mov rcx, rbx
mov r15, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
movsxd rax, dword [rdx + 0x2c]
mov rdx, qword [rdx + 0x30]
add r15, rsi
imul rax, rax, 0xc
lea rdi, [rdx + rax - 0xc]
mov rdx, r14
mov r8d, dword [rdi]
call fcn.1401afc70
mov eax, dword [rdi + 8]
mov dword [rsp + 0x138], 0
inc eax
mov dword [rsp + 0xd0], eax
jmp 0x1401a4cde
mov rcx, rbx
mov rdx, rsi
mov dword [rsp + 0x50], r8d
call fcn.14019ef70
mov r8d, dword [rsp + 0x50]
lea rcx, [rbx + 0x34]
mov r13d, eax
mov eax, dword [rsi + 0x14]
dec eax
cmp eax, ebp
jne 0x1401a4c7d
mov rdx, r15
mov dword [rsp + 0x60], r8d
mov qword [rsp + 0x50], rcx
call fcn.1401abb10
mov rsi, qword [r15]
mov r8d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov rdx, rsi
call fcn.1401abc80
cmp dword [rbx + 0x34], 0
jne 0x1401a535c
lea rax, [rsi + r12 + 0x18]
mov rdx, r14
mov r8d, r13d
mov rcx, rbx
mov qword [rsp + 0x60], rax
mov r15, qword [rsp + 0x58]
call fcn.1401afc70
lea rax, [rsi + rdi]
movsxd rdi, dword [rax + 0x2c]
add r15, rsi
mov rdx, rdi
imul rdi, rdi, 0xc
add rdi, qword [rax + 0x30]
inc edx
mov dword [rax + 0x2c], edx
mov dword [rdi + 4], 1
mov dword [rdi], r13d
inc dword [rsi + 0x10]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x60]
mov dword [rsp + 0x78], 0
cmp dword [rax + 4], 1
jne 0x1401a4d01
lea eax, [rbp + 2]
cmp dword [rsi + 0x14], eax
sete al
movzx eax, al
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x30], ebp
xor r9d, r9d
mov r8d, 0x20
mov rdx, rsi
lea rax, [rsp + 0xa0]
mov rcx, rbx
lea r12, [rbx + 0x34]
xor r14d, r14d
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x20], 0
call fcn.1401a71a0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x80], rax
cmp dword [rbx + 0x34], 0
jne 0x1401a4fcf
mov rbp, qword [rsp + 0xa0]
cmp byte [rbp + 0x14], 0
jne 0x1401a4fcf
mov rax, qword [rbp + 0x58]
movzx eax, word [rax + 4]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x68], eax
movzx eax, word [rsp + 0x58]
imul rax, rax, 0x78
add rax, rbp
mov r13d, dword [rax + 0xc0]
mov r9, qword [rax + 0xb8]
cmp dword [rsp + 0xb0], r13d
jne 0x1401a4dd3
test r13d, r13d
jle 0x1401a4e15
mov rdx, qword [rsp + 0xa8]
mov rcx, r9
movsxd r8, r13d
mov qword [rsp + 0x88], r9
call sub.msvcrt.dll_memcmp
mov r9, qword [rsp + 0x88]
test eax, eax
je 0x1401a4e15
cmp qword [rsp + 0x1a8], 0
je 0x1401a4def
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x114], eax
jg 0x1401a4fcf
mov rdx, qword [rsp + 0x80]
mov r8d, r13d
mov rcx, r12
mov qword [rsp + 0x88], r9
xor r14d, r14d
call fcn.1401e19b0
mov r9, qword [rsp + 0x88]
movsxd rax, dword [rsp + 0x68]
imul rax, rax, 0x78
add rax, rbp
cmp dword [rax + 0xd0], 0
jne 0x1401a4e42
cmp dword [rsp + 0x78], 0
jne 0x1401a4fb4
cmp byte [rax + 0xd4], 0
je 0x1401a4fb4
mov eax, r14d
or eax, dword [rbx + 0x34]
jne 0x1401a4e63
lea rdx, [rsp + 0xc8]
mov r8d, r13d
mov rcx, rbx
mov r14d, 1
call fcn.1401af600
cmp dword [rbx + 0x34], 0
jne 0x1401a4f1b
mov rdx, qword [rsp + 0xa0]
mov rax, qword [rdx + 0x58]
movzx eax, word [rax + 4]
imul rax, rax, 0x78
mov r13, qword [rdx + rax + 0xc8]
mov rdx, qword [rbx]
mov eax, dword [rsp + 0xf0]
add eax, dword [rsp + 0xe0]
cmp eax, dword [rdx + 0x84]
jl 0x1401a4eb2
lea rdx, [rsp + 0xc8]
mov rcx, rbx
call fcn.1401afba0
cmp byte [rsp + 0x111], 0
je 0x1401a4ee3
mov eax, dword [rsp + 0xe0]
mov rdx, qword [rsp + 0xd8]
mov r8, r13
mov rcx, rbx
xchg al, ah
mov word [rdx], ax
lea rdx, [rsp + 0xc8]
call fcn.1401af7b0
cmp word [rsp + 0x110], 0
mov r8, r13
lea rdx, [rsp + 0xd8]
jne 0x1401a4f01
sub r8, qword [rsp + 0x108]
mov rcx, r12
call fcn.1401e1940
mov qword [rsp + 0x108], r13
mov word [rsp + 0x110], 0
movsxd r13, dword [rsp + 0x68]
imul r13, r13, 0x78
add r13, rbp
cmp dword [rsp + 0x7c], 1
movzx eax, byte [r13 + 0xd4]
jne 0x1401a4f6e
test al, al
je 0x1401a4fb4
lea rdx, [rsp + 0xd8]
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x58], rdx
call fcn.1401e1940
cmp dword [r13 + 0xd0], 0
jle 0x1401a4fb4
mov rdx, qword [rsp + 0x58]
xor r8d, r8d
mov rcx, r12
call fcn.1401e1940
jmp 0x1401a4fb4
mov edx, dword [r13 + 0xd0]
mov rcx, r12
lea r13, [rsp + 0xc8]
lea r8d, [rax + rdx*2]
lea rdx, [rsp + 0xd8]
movsxd r8, r8d
call fcn.1401e1940
movzx eax, word [rsp + 0x58]
mov r8, r13
mov rcx, rbx
lea r9, [0x1401a6660]
imul rax, rax, 0x78
lea rdx, [rbp + rax + 0x60]
call fcn.1401a07c0
mov rdx, qword [rsp + 0xa0]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.1401a7d70
jmp 0x1401a4d56
lea rdx, [rsp + 0xc8]
lea r8, [rdi + 8]
mov rcx, rbx
call fcn.1401af9e0
mov r13d, dword [rbx + 0x34]
test r13d, r13d
jne 0x1401a5035
mov r14, qword [rsp + 0xa0]
cmp byte [r14 + 0x14], 0
jne 0x1401a5035
lea rax, [rsp + 0x9c]
lea rsi, [r14 + 0x60]
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
lea rdi, [rbx + 0x34]
lea rbp, [rsp + 0xb8]
mov qword [rsp + 0x70], rax
jmp 0x1401a514f
xor ebp, ebp
lea r13, str.DELETE_FROM__q._q_idx_WHERE_segid_
lea r14, [rbx + 0x58]
cmp dword [rsp + 0x50], ebp
jle 0x1401a50d5
imul rax, rbp, 0xc
add rax, qword [r15 + 8]
cmp dword [rbx + 0x34], 0
mov r12d, dword [rax]
jne 0x1401a5079
lea eax, [r12 + 1]
mov rdx, r12
mov rcx, rbx
shl rax, 0x25
shl rdx, 0x25
lea r8, [rax - 1]
call fcn.1401a13e0
cmp qword [rbx + 0x58], 0
jne 0x1401a50a1
mov rax, qword [rbx]
mov rcx, r13
mov rdx, qword [rax + 8]
mov r8, qword [rax + 0x10]
call fcn.140216fc0
mov rdx, r14
mov rcx, rbx
mov r8, rax
call fcn.1401a54b0
cmp dword [rbx + 0x34], 0
jne 0x1401a50cd
mov rcx, qword [rbx + 0x58]
mov r8d, r12d
mov edx, 1
call fcn.140212e40
mov rcx, qword [rbx + 0x58]
call fcn.1402187f0
mov rcx, qword [rbx + 0x58]
call fcn.140217a70
mov dword [rbx + 0x34], eax
inc rbp
jmp 0x1401a5042
mov r8d, dword [r15 + 4]
cmp r8d, dword [rsp + 0x50]
je 0x1401a5101
movsxd rdx, dword [rsp + 0x50]
sub r8d, dword [rsp + 0x50]
imul r8d, r8d, 0xc
mov rcx, qword [r15 + 8]
imul rdx, rdx, 0xc
movsxd r8, r8d
add rdx, rcx
call sub.msvcrt.dll_memmove
mov eax, dword [rsi + 0x10]
sub eax, dword [rsp + 0x50]
mov dword [rsi + 0x10], eax
mov ebx, dword [rsp + 0x50]
sub dword [r15 + 4], ebx
cmp dword [rdi + 8], 0
mov dword [r15], 0
jne 0x1401a5326
mov rdi, qword [rsp + 0x60]
dec eax
dec dword [rdi + 4]
mov dword [rsi + 0x10], eax
jmp 0x1401a5326
cmp dword [rbx + 0x34], 0
jne 0x1401a5312
mov rax, qword [rsi]
test rax, rax
jne 0x1401a515a
inc r13d
add rsi, 0x78
cmp r13d, dword [r14 + 0x40]
jl 0x1401a5136
jmp 0x1401a5312
cmp qword [rsi + 0x10], 0
jne 0x1401a516b
mov qword [rax + 4], 0
jmp 0x1401a5148
mov edx, dword [rax]
mov ecx, dword [rsi + 0x34]
mov dword [rsp + 0x9c], 0
mov rax, rdx
mov dword [rsp + 0x58], ecx
mov rcx, rbx
shl rax, 0x25
mov qword [rsp + 0x68], rax
movsxd rax, dword [rsi + 0x30]
add rax, qword [rsp + 0x68]
mov rdx, rax
mov qword [rsp + 0x60], rax
call fcn.1401a6590
mov r12, rax
test rax, rax
je 0x1401a5148
mov eax, dword [rsp + 0x58]
cmp eax, dword [r12 + 0xc]
jle 0x1401a51c3
mov dword [rbx + 0x34], 0x10b
jmp 0x1401a5305
mov dword [rsp + 0xc0], 0
mov r8d, dword [r12 + 8]
cmp r8d, dword [rsp + 0xc4]
jbe 0x1401a51e8
mov rdx, rbp
mov rcx, rdi
call fcn.1401e19c0
mov r9, qword [rsp + 0x70]
mov r8d, 4
mov rdx, rbp
mov rcx, rdi
call fcn.1401e1880
movsxd r8, dword [rsi + 0x60]
mov rdx, rbp
mov rcx, rdi
call fcn.1401e1940
mov r9, qword [rsi + 0x58]
mov r8d, dword [rsi + 0x60]
mov rdx, rbp
mov rcx, rdi
call fcn.1401e1880
movsxd r9, dword [rsp + 0x58]
mov rdx, rbp
mov rcx, rdi
mov r8d, dword [r12 + 0xc]
add r9, qword [r12]
sub r8d, dword [rsp + 0x58]
call fcn.1401e1880
cmp dword [rbx + 0x34], 0
jne 0x1401a5259
mov eax, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
xchg al, ah
mov word [rdx + 2], ax
mov r8d, 4
mov rdx, rbp
mov rcx, rdi
call fcn.1401e1940
mov eax, dword [rsi + 0x30]
cmp dword [rsi + 0xc], eax
jne 0x1401a52c4
mov ecx, dword [rsi + 0x3c]
mov eax, dword [r12 + 0xc]
cmp ecx, eax
jge 0x1401a52c4
mov edx, dword [r12 + 8]
cmp dword [rsi + 0x38], edx
jg 0x1401a52c4
movsxd rdx, dword [rsp + 0xc0]
sub eax, ecx
mov rcx, rdi
cdqe
sub rdx, rax
lea r8, [rdx - 5]
mov rdx, rbp
call fcn.1401e1940
movsxd r9, dword [rsi + 0x38]
mov rdx, rbp
mov rcx, rdi
mov r8d, dword [r12 + 8]
mov rax, r9
add r9, qword [r12]
sub r8d, eax
call fcn.1401e1880
mov rax, qword [rsi]
mov edx, dword [rsi + 0x30]
cmp dword [rbx + 0x34], 0
mov dword [rax + 4], edx
jne 0x1401a52e8
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov rcx, rbx
inc rdx
call fcn.1401a13e0
mov r9d, dword [rsp + 0xc0]
mov r8, qword [rsp + 0xb8]
mov rcx, rbx
mov rdx, qword [rsp + 0x60]
call fcn.1401a15c0
mov rcx, r12
call fcn.140216000
jmp 0x1401a5148
lea rcx, [rsp + 0xb8]
call fcn.1401e1980
mov eax, dword [rsp + 0x50]
mov dword [r15], eax
mov rcx, qword [rsp + 0xa0]
call fcn.1401a70e0
lea rcx, [rsp + 0xa8]
call fcn.1401e1980
cmp qword [rsp + 0x1a8], 0
je 0x1401a535c
mov rdi, qword [rsp + 0x1a8]
mov eax, dword [rsp + 0x114]
sub dword [rdi], eax
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret