Function at 0x14024f270
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 0x14024f2c2
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 0x14024f358
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.14025aeb0
mov eax, dword [rdi + 8]
mov dword [rsp + 0x138], r12d
inc eax
mov dword [rsp + 0xd0], eax
jmp 0x14024f408
lea r14, [rbx + 0x3c]
mov rdx, rsi
mov rcx, rbx
call fcn.1402484f0
mov r15d, eax
mov eax, dword [rsi + 0x1c]
dec eax
cmp eax, ebp
jne 0x14024f382
mov rdx, r13
mov rcx, r14
call fcn.140256a50
mov rsi, qword [r13]
xor r9d, r9d
mov rdx, rsi
mov rcx, r14
lea r8d, [rbp + 1]
call fcn.140256bb0
cmp dword [rbx + 0x3c], 0
jne 0x14024faac
mov rdx, qword [rsp + 0x50]
mov r8d, r15d
mov rcx, rbx
call fcn.14025aeb0
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 0x14024f3fa
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 0x14024f42b
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.140251f90
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 0x14024f6fe
cmp byte [rbp + 0x14], 0
jne 0x14024f6fe
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 0x14024f4fe
test r12d, r12d
jle 0x14024f542
mov rdx, qword [rsp + 0xa8]
mov rcx, r9
movsxd r8, r12d
mov qword [rsp + 0x88], r9
call sub.msvcrt.dll_memcmp
mov r9, qword [rsp + 0x88]
test eax, eax
je 0x14024f542
cmp qword [rsp + 0x1a8], 0
je 0x14024f51a
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x114], eax
jg 0x14024f6fe
mov rdx, qword [rsp + 0x80]
mov r8d, r12d
xor r13d, r13d
mov qword [rsp + 0x88], r9
mov rcx, qword [rsp + 0x50]
call fcn.140291bf0
mov r9, qword [rsp + 0x88]
movsxd rax, dword [rsp + 0x68]
shl rax, 7
add rax, rbp
cmp dword [rax + 0xe0], 0
jne 0x14024f56f
cmp dword [rsp + 0x78], 0
jne 0x14024f6e8
cmp byte [rax + 0xe4], 0
je 0x14024f6e8
mov eax, r13d
or eax, dword [rbx + 0x3c]
jne 0x14024f590
lea rdx, [rsp + 0xc8]
mov r8d, r12d
mov rcx, rbx
call fcn.14025a860
mov r13d, 1
cmp dword [rbx + 0x3c], 0
jne 0x14024f642
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 0x14024f5d7
lea rdx, [rsp + 0xc8]
mov rcx, rbx
call fcn.14025adf0
cmp byte [rsp + 0x111], 0
je 0x14024f608
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.14025aa10
cmp word [rsp + 0x110], 0
mov r8, r12
lea rdx, [rsp + 0xd8]
jne 0x14024f626
sub r8, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x50]
call fcn.140291b80
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 0x14024f69f
test al, al
je 0x14024f6e8
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0xd8]
xor r8d, r8d
mov qword [rsp + 0x58], rdx
call fcn.140291b80
cmp dword [r12 + 0xe0], 0
jle 0x14024f6e8
mov rdx, qword [rsp + 0x58]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call fcn.140291b80
jmp 0x14024f6e8
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.140291b80
movzx eax, word [rsp + 0x58]
mov r8, r12
mov rcx, rbx
lea r9, [0x140251280]
shl rax, 7
lea rdx, [rbp + rax + 0x68]
call fcn.140249ee0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call fcn.140252430
jmp 0x14024f481
lea rdx, [rsp + 0xc8]
mov rcx, rbx
lea r8, [rdi + 8]
call fcn.14025ac40
mov r12d, dword [rbx + 0x3c]
test r12d, r12d
je 0x14024f72c
lea rax, [rbx + 0x68]
xor r12d, r12d
mov qword [rsp + 0x50], rax
jmp 0x14024f830
cmp byte [rbp + 0x14], 0
jne 0x14024f71b
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 0x14024f8a7
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.14024aba0
mov rax, qword [rsp + 0x58]
mov r8d, dword [rax + 0x20]
test r8d, r8d
je 0x14024f7d3
lea edx, [r13 + 0x10000]
dec r8d
mov rcx, rbx
shl rdx, 0x25
movsxd r8, r8d
add r8, rdx
call fcn.14024aba0
cmp qword [rbx + 0x68], 0
jne 0x14024f801
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.1402c5500
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
mov r8, rax
call fcn.14024fc40
cmp dword [rbx + 0x3c], 0
jne 0x14024f82d
mov rcx, qword [rbx + 0x68]
mov r8d, r13d
mov edx, 1
call fcn.1402c13c0
mov rcx, qword [rbx + 0x68]
call fcn.1402c6e70
mov rcx, qword [rbx + 0x68]
call fcn.1402c5f30
mov dword [rbx + 0x3c], eax
inc r12
cmp r14d, r12d
jg 0x14024f76b
mov r8d, dword [r15 + 4]
cmp r8d, r14d
je 0x14024f85f
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.msvcrt.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 0x14024fa7b
mov rbx, qword [rsp + 0x60]
dec eax
dec dword [rbx + 4]
mov dword [rsi + 0x18], eax
jmp 0x14024fa7b
cmp dword [rbx + 0x3c], 0
jne 0x14024fa6b
mov rax, qword [rsi]
test rax, rax
jne 0x14024f8b2
inc r12d
sub rsi, 0xffffffffffffff80
cmp r12d, dword [rbp + 0x48]
jl 0x14024f88e
jmp 0x14024fa6b
cmp qword [rsi + 0x10], 0
jne 0x14024f8c1
xor ecx, ecx
mov qword [rax + 4], rcx
jmp 0x14024f8a0
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.1402511b0
test rax, rax
mov rdi, rax
je 0x14024f8a0
mov eax, dword [rsp + 0x60]
cmp eax, dword [rdi + 0xc]
jle 0x14024f90c
mov dword [rbx + 0x3c], 0x10b
jmp 0x14024fa5e
xor eax, eax
mov r8d, dword [rdi + 8]
cmp dword [rsp + 0xc4], r8d
mov dword [rsp + 0xc0], eax
jae 0x14024f935
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0xb8]
call fcn.140291c00
mov r9, qword [rsp + 0x70]
mov r8d, 4
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.140291ac0
movsxd r8, dword [rsi + 0x68]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.140291b80
mov r9, qword [rsi + 0x60]
mov r8d, dword [rsi + 0x68]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.140291ac0
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.140291ac0
cmp dword [rbx + 0x3c], 0
jne 0x14024f9b6
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.140291b80
mov eax, dword [rsi + 0x38]
cmp dword [rsi + 0xc], eax
jne 0x14024fa27
mov ecx, dword [rsi + 0x44]
mov eax, dword [rdi + 0xc]
cmp ecx, eax
jge 0x14024fa27
mov edx, dword [rdi + 8]
cmp dword [rsi + 0x40], edx
jg 0x14024fa27
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.140291b80
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.140291ac0
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.14024aba0
mov r9d, dword [rsp + 0xc0]
mov rcx, rbx
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x68]
call fcn.14024ad50
mov rcx, rdi
call fcn.1402c4500
jmp 0x14024f8a0
lea rcx, [rsp + 0xb8]
call fcn.140291bc0
mov dword [r15], r14d
mov rcx, rbp
call fcn.140251d30
lea rcx, [rsp + 0xa8]
call fcn.140291bc0
cmp qword [rsp + 0x1a8], 0
je 0x14024faac
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