Function at 0x1401dd270
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 edi, edi
xor eax, eax
mov r14, qword [rdx]
movsxd rsi, r8d
mov dword [rsp + 0x78], eax
mov rbx, rcx
mov r13, rdx
lea r12, [rsi + 1]
mov qword [rsp + 0x1a8], r9
mov rbp, rsi
shl r12, 4
mov qword [rsp + 0xa0], rdi
lea r15, [r12 + 8]
test r9, r9
je 0x1401dd2c3
mov eax, dword [r9]
mov dword [rsp + 0x78], eax
mov rax, qword [rbx]
mov ecx, 0x1e
shl rsi, 4
xorps xmm0, xmm0
lea rdx, [r14 + rsi]
movups xmmword [rsp + 0xa8], xmm0
mov eax, dword [rax + 0x5c]
mov dword [rsp + 0x7c], eax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0x58]
xor eax, eax
rep stosd dword [rdi], eax
mov eax, dword [rdx + 0x18]
mov dword [rsp + 0x50], eax
test eax, eax
je 0x1401dd353
lea rax, [r14 + r12 + 0x18]
mov rcx, rbx
add r15, r14
mov qword [rsp + 0x68], rax
movsxd rax, dword [rdx + 0x2c]
mov rdx, qword [rdx + 0x30]
imul rax, rax, 0xc
lea r12, [rdx + rax - 0xc]
mov rdx, qword [rsp + 0x58]
mov r8d, dword [r12]
call fcn.1401e81d0
mov eax, dword [r12 + 8]
xor r11d, r11d
mov dword [rsp + 0x138], r11d
inc eax
mov dword [rsp + 0xd0], eax
jmp 0x1401dd3e9
mov rcx, rbx
mov rdx, r14
call fcn.1401d7770
lea rcx, [rbx + 0x34]
mov edi, eax
mov eax, dword [r14 + 0x14]
dec eax
cmp eax, ebp
jne 0x1401dd384
mov rdx, r13
mov qword [rsp + 0x50], rcx
call fcn.1401e4130
mov r14, qword [r13]
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
lea r8d, [rbp + 1]
mov rdx, r14
call fcn.1401e4290
cmp dword [rbx + 0x34], 0
jne 0x1401dda48
mov rdx, qword [rsp + 0x58]
lea rax, [r14 + r12 + 0x18]
add rsi, r14
mov r8d, edi
mov rcx, rbx
mov qword [rsp + 0x68], rax
add r15, r14
call fcn.1401e81d0
movsxd r12, dword [rsi + 0x2c]
mov rax, r12
imul r12, r12, 0xc
add r12, qword [rsi + 0x30]
inc eax
mov dword [rsi + 0x2c], eax
mov dword [r12 + 4], 1
mov dword [r12], edi
inc dword [r14 + 0x10]
mov eax, dword [rsi + 0x1c]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x68]
xor r13d, r13d
cmp dword [rax + 4], 1
jne 0x1401dd405
xor r13d, r13d
lea eax, [rbp + 2]
cmp dword [r14 + 0x14], eax
sete r13b
xor r9d, r9d
xor r10d, r10d
mov dword [rsp + 0x30], ebp
mov r8d, 0x20
lea rax, [rsp + 0xa0]
mov rdx, r14
mov rcx, rbx
xor ebp, ebp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], r9d
xor r9d, r9d
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x20], r10
call fcn.1401df7a0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x80], rax
lea rax, [rbx + 0x34]
mov qword [rsp + 0x58], rax
cmp dword [rbx + 0x34], 0
mov rsi, qword [rsp + 0xa0]
jne 0x1401dd6c9
cmp byte [rsi + 0x14], 0
jne 0x1401dd6c9
mov rax, qword [rsi + 0x58]
movzx eax, word [rax + 4]
mov word [rsp + 0x60], ax
mov dword [rsp + 0x70], eax
movzx eax, word [rsp + 0x60]
imul rax, rax, 0x78
add rax, rsi
mov edi, dword [rax + 0xc0]
mov r9, qword [rax + 0xb8]
cmp dword [rsp + 0xb0], edi
jne 0x1401dd4d7
test edi, edi
jle 0x1401dd51a
mov rdx, qword [rsp + 0xa8]
mov rcx, r9
movsxd r8, edi
mov qword [rsp + 0x88], r9
call sub.msvcrt.dll_memcmp
mov r9, qword [rsp + 0x88]
test eax, eax
je 0x1401dd51a
cmp qword [rsp + 0x1a8], 0
je 0x1401dd4f3
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x114], eax
jg 0x1401dd6c9
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
mov r8d, edi
xor ebp, ebp
mov qword [rsp + 0x88], r9
call fcn.14021b1d0
mov r9, qword [rsp + 0x88]
movsxd rax, dword [rsp + 0x70]
imul rax, rax, 0x78
add rax, rsi
cmp dword [rax + 0xd0], 0
jne 0x1401dd545
test r13d, r13d
jne 0x1401dd6b3
cmp byte [rax + 0xd4], 0
je 0x1401dd6b3
mov eax, ebp
or eax, dword [rbx + 0x34]
jne 0x1401dd564
lea rdx, [rsp + 0xc8]
mov r8d, edi
mov rcx, rbx
mov ebp, 1
call fcn.1401e7b80
cmp dword [rbx + 0x34], 0
jne 0x1401dd616
mov rax, qword [rsi + 0x58]
mov rdx, qword [rbx]
movzx eax, word [rax + 4]
imul rax, rax, 0x78
mov rdi, qword [rsi + rax + 0xc8]
mov eax, dword [rsp + 0xf0]
add eax, dword [rsp + 0xe0]
cmp eax, dword [rdx + 0x84]
jl 0x1401dd5ab
lea rdx, [rsp + 0xc8]
mov rcx, rbx
call fcn.1401e8110
cmp byte [rsp + 0x111], 0
je 0x1401dd5dc
mov eax, dword [rsp + 0xe0]
mov rdx, qword [rsp + 0xd8]
mov r8, rdi
mov rcx, rbx
xchg al, ah
mov word [rdx], ax
lea rdx, [rsp + 0xc8]
call fcn.1401e7d30
cmp word [rsp + 0x110], 0
mov r8, rdi
lea rdx, [rsp + 0xd8]
jne 0x1401dd5fa
sub r8, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
call fcn.14021b170
mov qword [rsp + 0x108], rdi
mov word [rsp + 0x110], 0
movsxd rax, dword [rsp + 0x70]
imul rax, rax, 0x78
cmp dword [rsp + 0x7c], 1
lea rdi, [rsi + rax]
movzx edx, byte [rdi + 0xd4]
jne 0x1401dd66c
test dl, dl
je 0x1401dd6b3
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0xd8]
xor r8d, r8d
mov qword [rsp + 0x60], rdx
call fcn.14021b170
cmp dword [rdi + 0xd0], 0
jle 0x1401dd6b3
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
call fcn.14021b170
jmp 0x1401dd6b3
mov eax, dword [rdi + 0xd0]
mov rcx, qword [rsp + 0x58]
lea rdi, [rsp + 0xc8]
lea r8d, [rdx + rax*2]
lea rdx, [rsp + 0xd8]
movsxd r8, r8d
call fcn.14021b170
movzx eax, word [rsp + 0x60]
mov r8, rdi
mov rcx, rbx
lea r9, [0x1401dec80]
imul rax, rax, 0x78
lea rdx, [rsi + rax + 0x60]
call fcn.1401d8f90
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.1401e0380
jmp 0x1401dd45d
lea rdx, [rsp + 0xc8]
lea r8, [r12 + 8]
mov rcx, rbx
call fcn.1401e7f60
mov r13d, dword [rbx + 0x34]
test r13d, r13d
je 0x1401dd6fe
lea rax, [rbx + 0x58]
xor edi, edi
lea r13, str.DELETE_FROM__q._q_idx_WHERE_segid_
mov qword [rsp + 0x58], rax
jmp 0x1401dd7be
cmp byte [rsi + 0x14], 0
jne 0x1401dd6e7
lea rax, [rbx + 0x34]
xorps xmm0, xmm0
lea rdi, [rsi + 0x60]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x9c]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0xb8], xmm0
jmp 0x1401dd842
imul rax, rdi, 0xc
add rax, qword [r15 + 8]
cmp dword [rbx + 0x34], 0
mov ebp, dword [rax]
jne 0x1401dd765
lea eax, [rbp + 1]
mov rdx, rbp
mov rcx, rbx
shl rax, 0x25
shl rdx, 0x25
lea r8, [rax - 1]
call fcn.1401d9ba0
cmp qword [rbx + 0x58], 0
jne 0x1401dd78f
mov rax, qword [rbx]
mov rcx, r13
mov rdx, qword [rax + 8]
mov r8, qword [rax + 0x10]
call fcn.14024d770
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
mov r8, rax
call fcn.1401ddbb0
cmp dword [rbx + 0x34], 0
jne 0x1401dd7bb
mov rcx, qword [rbx + 0x58]
mov r8d, ebp
mov edx, 1
call fcn.140249750
mov rcx, qword [rbx + 0x58]
call fcn.14024eef0
mov rcx, qword [rbx + 0x58]
call fcn.14024e1c0
mov dword [rbx + 0x34], eax
inc rdi
cmp dword [rsp + 0x50], edi
jg 0x1401dd73b
mov r8d, dword [r15 + 4]
mov eax, dword [rsp + 0x50]
cmp r8d, eax
je 0x1401dd7f2
sub r8d, eax
movsxd rdx, eax
mov rcx, qword [r15 + 8]
imul r8d, r8d, 0xc
imul rdx, rdx, 0xc
movsxd r8, r8d
add rdx, rcx
call sub.msvcrt.dll_memmove
mov eax, dword [r14 + 0x10]
mov ebx, dword [rsp + 0x50]
xor r8d, r8d
sub eax, ebx
mov dword [r14 + 0x10], eax
sub dword [r15 + 4], ebx
cmp dword [r12 + 8], 0
mov dword [r15], r8d
jne 0x1401dda17
mov rbx, qword [rsp + 0x68]
dec eax
dec dword [rbx + 4]
mov dword [r14 + 0x10], eax
jmp 0x1401dda17
cmp dword [rbx + 0x34], 0
jne 0x1401dda03
mov rax, qword [rdi]
test rax, rax
jne 0x1401dd84d
inc r13d
add rdi, 0x78
cmp r13d, dword [rsi + 0x40]
jl 0x1401dd829
jmp 0x1401dda03
cmp qword [rdi + 0x10], 0
jne 0x1401dd85c
xor ecx, ecx
mov qword [rax + 4], rcx
jmp 0x1401dd83b
mov r12d, dword [rax]
xor edx, edx
mov r14d, dword [rdi + 0x34]
mov rcx, rbx
mov dword [rsp + 0x9c], edx
movsxd rax, dword [rdi + 0x30]
shl r12, 0x25
add rax, r12
mov rdx, rax
mov qword [rsp + 0x68], rax
call fcn.1401debb0
mov rbp, rax
test rax, rax
je 0x1401dd83b
cmp r14d, dword [rax + 0xc]
jle 0x1401dd8a1
mov dword [rbx + 0x34], 0x10b
jmp 0x1401dd9f6
xor eax, eax
mov r8d, dword [rbp + 8]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc4], r8d
jae 0x1401dd8ca
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0xb8]
call fcn.14021b1e0
mov r9, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
mov r8d, 4
mov rcx, qword [rsp + 0x58]
call fcn.14021b0b0
movsxd r8, dword [rdi + 0x60]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.14021b170
mov r9, qword [rdi + 0x58]
mov r8d, dword [rdi + 0x60]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.14021b0b0
mov r8d, dword [rbp + 0xc]
mov rdx, qword [rsp + 0x60]
movsxd r9, r14d
mov rcx, qword [rsp + 0x58]
add r9, qword [rbp]
sub r8d, r14d
call fcn.14021b0b0
cmp dword [rbx + 0x34], 0
jne 0x1401dd946
mov eax, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
xchg al, ah
mov word [rdx + 2], ax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov r8d, 4
call fcn.14021b170
mov eax, dword [rdi + 0x30]
cmp dword [rdi + 0xc], eax
jne 0x1401dd9b8
mov ecx, dword [rdi + 0x3c]
mov eax, dword [rbp + 0xc]
cmp ecx, eax
jge 0x1401dd9b8
mov edx, dword [rbp + 8]
cmp dword [rdi + 0x38], edx
jg 0x1401dd9b8
movsxd rdx, dword [rsp + 0xc0]
sub eax, ecx
mov rcx, qword [rsp + 0x58]
cdqe
sub rdx, rax
lea r8, [rdx - 5]
mov rdx, qword [rsp + 0x60]
call fcn.14021b170
movsxd r9, dword [rdi + 0x38]
mov r8d, dword [rbp + 8]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rax, r9
add r9, qword [rbp]
sub r8d, eax
call fcn.14021b0b0
mov rax, qword [rdi]
mov edx, dword [rdi + 0x30]
cmp dword [rbx + 0x34], 0
mov dword [rax + 4], edx
jne 0x1401dd9d9
mov r8, qword [rsp + 0x68]
lea rdx, [r12 + 1]
mov rcx, rbx
call fcn.1401d9ba0
mov r9d, dword [rsp + 0xc0]
mov r8, qword [rsp + 0xb8]
mov rcx, rbx
mov rdx, qword [rsp + 0x68]
call fcn.1401d9d70
mov rcx, rbp
call fcn.14024c7d0
jmp 0x1401dd83b
lea rcx, [rsp + 0xb8]
call fcn.14021b1b0
mov eax, dword [rsp + 0x50]
mov dword [r15], eax
mov rcx, rsi
call fcn.1401df6e0
lea rcx, [rsp + 0xa8]
call fcn.14021b1b0
cmp qword [rsp + 0x1a8], 0
je 0x1401dda48
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