Function at 0x1403f10e0
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 0x1403f1133
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 0x1403f11c3
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.1403fc040
mov eax, dword [r12 + 8]
xor r11d, r11d
mov dword [rsp + 0x138], r11d
inc eax
mov dword [rsp + 0xd0], eax
jmp 0x1403f1259
mov rcx, rbx
mov rdx, r14
call fcn.1403eb5e0
lea rcx, [rbx + 0x34]
mov edi, eax
mov eax, dword [r14 + 0x14]
dec eax
cmp eax, ebp
jne 0x1403f11f4
mov rdx, r13
mov qword [rsp + 0x50], rcx
call fcn.1403f7fa0
mov r14, qword [r13]
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
lea r8d, [rbp + 1]
mov rdx, r14
call fcn.1403f8100
cmp dword [rbx + 0x34], 0
jne 0x1403f18b8
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.1403fc040
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 0x1403f1275
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.1403f3610
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 0x1403f1539
cmp byte [rsi + 0x14], 0
jne 0x1403f1539
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 0x1403f1347
test edi, edi
jle 0x1403f138a
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 0x1403f138a
cmp qword [rsp + 0x1a8], 0
je 0x1403f1363
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x114], eax
jg 0x1403f1539
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
mov r8d, edi
xor ebp, ebp
mov qword [rsp + 0x88], r9
call fcn.140458090
mov r9, qword [rsp + 0x88]
movsxd rax, dword [rsp + 0x70]
imul rax, rax, 0x78
add rax, rsi
cmp dword [rax + 0xd0], 0
jne 0x1403f13b5
test r13d, r13d
jne 0x1403f1523
cmp byte [rax + 0xd4], 0
je 0x1403f1523
mov eax, ebp
or eax, dword [rbx + 0x34]
jne 0x1403f13d4
lea rdx, [rsp + 0xc8]
mov r8d, edi
mov rcx, rbx
mov ebp, 1
call fcn.1403fb9f0
cmp dword [rbx + 0x34], 0
jne 0x1403f1486
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 0x1403f141b
lea rdx, [rsp + 0xc8]
mov rcx, rbx
call fcn.1403fbf80
cmp byte [rsp + 0x111], 0
je 0x1403f144c
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.1403fbba0
cmp word [rsp + 0x110], 0
mov r8, rdi
lea rdx, [rsp + 0xd8]
jne 0x1403f146a
sub r8, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
call fcn.140458030
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 0x1403f14dc
test dl, dl
je 0x1403f1523
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0xd8]
xor r8d, r8d
mov qword [rsp + 0x60], rdx
call fcn.140458030
cmp dword [rdi + 0xd0], 0
jle 0x1403f1523
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
call fcn.140458030
jmp 0x1403f1523
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.140458030
movzx eax, word [rsp + 0x60]
mov r8, rdi
mov rcx, rbx
lea r9, [0x1403f2af0]
imul rax, rax, 0x78
lea rdx, [rsi + rax + 0x60]
call fcn.1403ece00
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.1403f41f0
jmp 0x1403f12cd
lea rdx, [rsp + 0xc8]
lea r8, [r12 + 8]
mov rcx, rbx
call fcn.1403fbdd0
mov r13d, dword [rbx + 0x34]
test r13d, r13d
je 0x1403f156e
lea rax, [rbx + 0x58]
xor edi, edi
lea r13, str.DELETE_FROM__q._q_idx_WHERE_segid_
mov qword [rsp + 0x58], rax
jmp 0x1403f162e
cmp byte [rsi + 0x14], 0
jne 0x1403f1557
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 0x1403f16b2
imul rax, rdi, 0xc
add rax, qword [r15 + 8]
cmp dword [rbx + 0x34], 0
mov ebp, dword [rax]
jne 0x1403f15d5
lea eax, [rbp + 1]
mov rdx, rbp
mov rcx, rbx
shl rax, 0x25
shl rdx, 0x25
lea r8, [rax - 1]
call fcn.1403eda10
cmp qword [rbx + 0x58], 0
jne 0x1403f15ff
mov rax, qword [rbx]
mov rcx, r13
mov rdx, qword [rax + 8]
mov r8, qword [rax + 0x10]
call fcn.14048a630
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
mov r8, rax
call fcn.1403f1a20
cmp dword [rbx + 0x34], 0
jne 0x1403f162b
mov rcx, qword [rbx + 0x58]
mov r8d, ebp
mov edx, 1
call fcn.140486610
mov rcx, qword [rbx + 0x58]
call fcn.14048bdb0
mov rcx, qword [rbx + 0x58]
call fcn.14048b080
mov dword [rbx + 0x34], eax
inc rdi
cmp dword [rsp + 0x50], edi
jg 0x1403f15ab
mov r8d, dword [r15 + 4]
mov eax, dword [rsp + 0x50]
cmp r8d, eax
je 0x1403f1662
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 0x1403f1887
mov rbx, qword [rsp + 0x68]
dec eax
dec dword [rbx + 4]
mov dword [r14 + 0x10], eax
jmp 0x1403f1887
cmp dword [rbx + 0x34], 0
jne 0x1403f1873
mov rax, qword [rdi]
test rax, rax
jne 0x1403f16bd
inc r13d
add rdi, 0x78
cmp r13d, dword [rsi + 0x40]
jl 0x1403f1699
jmp 0x1403f1873
cmp qword [rdi + 0x10], 0
jne 0x1403f16cc
xor ecx, ecx
mov qword [rax + 4], rcx
jmp 0x1403f16ab
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.1403f2a20
mov rbp, rax
test rax, rax
je 0x1403f16ab
cmp r14d, dword [rax + 0xc]
jle 0x1403f1711
mov dword [rbx + 0x34], 0x10b
jmp 0x1403f1866
xor eax, eax
mov r8d, dword [rbp + 8]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc4], r8d
jae 0x1403f173a
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0xb8]
call fcn.1404580a0
mov r9, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
mov r8d, 4
mov rcx, qword [rsp + 0x58]
call fcn.140457f70
movsxd r8, dword [rdi + 0x60]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.140458030
mov r9, qword [rdi + 0x58]
mov r8d, dword [rdi + 0x60]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.140457f70
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.140457f70
cmp dword [rbx + 0x34], 0
jne 0x1403f17b6
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.140458030
mov eax, dword [rdi + 0x30]
cmp dword [rdi + 0xc], eax
jne 0x1403f1828
mov ecx, dword [rdi + 0x3c]
mov eax, dword [rbp + 0xc]
cmp ecx, eax
jge 0x1403f1828
mov edx, dword [rbp + 8]
cmp dword [rdi + 0x38], edx
jg 0x1403f1828
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.140458030
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.140457f70
mov rax, qword [rdi]
mov edx, dword [rdi + 0x30]
cmp dword [rbx + 0x34], 0
mov dword [rax + 4], edx
jne 0x1403f1849
mov r8, qword [rsp + 0x68]
lea rdx, [r12 + 1]
mov rcx, rbx
call fcn.1403eda10
mov r9d, dword [rsp + 0xc0]
mov r8, qword [rsp + 0xb8]
mov rcx, rbx
mov rdx, qword [rsp + 0x68]
call fcn.1403edbe0
mov rcx, rbp
call fcn.140489690
jmp 0x1403f16ab
lea rcx, [rsp + 0xb8]
call fcn.140458070
mov eax, dword [rsp + 0x50]
mov dword [r15], eax
mov rcx, rsi
call fcn.1403f3550
lea rcx, [rsp + 0xa8]
call fcn.140458070
cmp qword [rsp + 0x1a8], 0
je 0x1403f18b8
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