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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov rax, qword [rcx]
lea r12, [rcx + 0x3c]
mov rbx, rdx
mov qword [rbp - 9], r12
mov rcx, r12
mov esi, dword [rax + 0x60]
mov rax, qword [rdx]
mov eax, dword [rax]
mov dword [rbp - 0x11], eax
mov rax, qword [rdx + 0x10]
mov r15d, dword [rax + 8]
movsxd r14, dword [rax + 0xc]
mov r13, qword [rax]
xor eax, eax
mov qword [rbp - 0x19], rax
mov edi, eax
mov dword [rbp - 0x39], eax
mov dword [rbp - 0x29], eax
mov dword [rbp + 0xf], r15d
sub r15d, r14d
mov qword [rbp - 0x21], r13
mov dword [rbp + 0x77], r14d
mov dword [rbp - 0x2d], r15d
lea eax, [r15 + 0x10]
movsxd rdx, eax
call fcn.1401fb8b4
mov qword [rbp + 7], rax
cmp dword [r12], edi
jne 0x1401b3011
movsxd r8, r15d
lea rdx, [r14 + r13]
mov rcx, rax
call fcn.140240685
mov r14d, dword [rbx + 0xc]
cmp r14d, dword [rbx + 0x38]
jne 0x1401b2063
mov r15d, dword [rbx + 0x3c]
jmp 0x1401b2074
movzx r15d, byte [r13]
movzx eax, byte [r13 + 1]
shl r15d, 8
add r15d, eax
movsxd rcx, r15d
lea rdx, [rbp - 0x19]
add rcx, r13
mov dword [rbp - 0x31], r15d
call fcn.1401fa020
movzx ebx, al
mov edx, 1
add ebx, r15d
mov dword [rbp + 0x7f], ebx
movsxd rcx, ebx
cmp esi, edx
jne 0x1401b2120
mov rsi, qword [rbp + 0x6f]
cmp rcx, qword [rsi + 0x20]
jge 0x1401b20f2
xor r14d, r14d
mov eax, ebx
inc ebx
cmp byte [rcx + r13], r14b
cmovne ebx, eax
movsxd rax, ebx
cmp byte [rax + r13], r14b
jne 0x1401b20c3
inc ebx
movsxd rcx, ebx
lea rdx, [rbp - 0x19]
add rcx, r13
mov dword [rbp - 0x31], ebx
mov r15d, ebx
call fcn.1401fa020
movzx eax, al
add ebx, eax
movsxd rcx, ebx
cmp rcx, qword [rsi + 0x20]
jl 0x1401b20ad
mov r14d, dword [rsi + 0xc]
mov edx, 1
mov dword [rbp + 0x7f], ebx
cmp ebx, dword [rsi + 0x44]
jge 0x1401b217d
movsxd rax, ebx
xor ecx, ecx
cmp byte [rax + r13], cl
jne 0x1401b2113
lea eax, [rbx + 1]
mov ebx, eax
mov dword [rbp + 0x7f], eax
cmp eax, dword [rsi + 0x44]
jge 0x1401b217d
movsxd rax, ebx
cmp byte [rax + r13], cl
jne 0x1401b217d
add ebx, edx
jmp 0x1401b217a
and dword [rbp + 0x7f], edi
lea rdx, [rbp + 0x7f]
add rcx, r13
call fcn.1401fa1dc
mov rsi, qword [rbp + 0x6f]
jmp 0x1401b2169
mov eax, dword [rbp + 0x7f]
cdq
sub eax, edx
lea rdx, [rbp - 0x19]
sar eax, 1
lea r15d, [rbx + rax]
movsxd rcx, r15d
add rcx, r13
mov dword [rbp - 0x31], r15d
call fcn.1401fa020
movzx ebx, al
lea rdx, [rbp + 0x7f]
add ebx, r15d
movsxd rcx, ebx
add rcx, r13
call fcn.1401fa1dc
add ebx, eax
movsxd rax, ebx
cmp rax, qword [rsi + 0x20]
jl 0x1401b2135
mov ebx, dword [rsi + 0x78]
add ebx, dword [rsi + 0x20]
mov dword [rbp + 0x7f], ebx
cmp ebx, dword [rbp + 0x77]
jl 0x1401b21a5
mov rdx, qword [rsi]
lea r8d, [r14 + 1]
mov rcx, qword [rbp + 0x67]
lea r9, [rbp - 0x39]
call fcn.1401bbfc0
mov r14d, dword [rbp + 0x77]
mov ebx, r14d
mov edi, dword [rbp - 0x39]
mov dword [rbp + 0x7f], ebx
jmp 0x1401b21a9
mov r14d, dword [rbp + 0x77]
xor r8d, r8d
cmp byte [rsi + 0x7c], r8b
jne 0x1401b2231
cmp ebx, r14d
je 0x1401b2208
mov r14d, r8d
mov esi, r8d
cmp dword [rbp - 0x2d], r8d
jle 0x1401b2200
mov r15d, dword [rbp - 0x2d]
mov r13, qword [rbp + 7]
movsxd rcx, esi
lea rdx, [rbp - 0x39]
add rcx, r13
mov dword [rbp - 0x39], r8d
call fcn.1401fa1dc
add r14d, dword [rbp - 0x39]
add esi, eax
cmp r14d, ebx
mov eax, 1
cmove edi, eax
lea r8d, [rax - 1]
cmp esi, r15d
jl 0x1401b21cb
mov r15d, dword [rbp - 0x31]
mov r13, qword [rbp - 0x21]
mov r14d, dword [rbp + 0x77]
mov rsi, qword [rbp + 0x6f]
movzx ecx, byte [r13]
movzx eax, byte [r13 + 1]
shl ecx, 8
add ecx, eax
cmp ecx, r15d
jne 0x1401b222b
test edi, edi
jne 0x1401b2225
cmp ebx, r14d
jne 0x1401b222b
and word [r13], 0
cmp byte [rsi + 0x7c], r8b
je 0x1401b2286
mov rdx, qword [rbp - 0x19]
movsxd rcx, r15d
add rcx, r13
cmp rdx, 0x7f
ja 0x1401b224d
and dl, 0x7f
mov eax, 1
mov byte [rcx], dl
jmp 0x1401b2273
cmp rdx, 0x3fff
ja 0x1401b226e
mov rax, rdx
shr rax, 7
or al, 0x80
and dl, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dl
mov eax, 2
jmp 0x1401b2273
call fcn.1401bbf24
add r15d, eax
movsxd rax, r15d
inc r15d
mov byte [rax + r13], 1
jmp 0x1401b2dae
test edi, edi
jne 0x1401b22f7
cmp ebx, r14d
je 0x1401b2dae
movsxd rcx, ebx
lea rdx, [rbp + 0x7f]
add rcx, r13
mov qword [rbp + 0x7f], r8
call fcn.1401fa020
mov rdx, qword [rbp + 0x7f]
add rdx, qword [rbp - 0x19]
movzx eax, al
movsxd rcx, r15d
add ebx, eax
add rcx, r13
cmp rdx, 0x7f
ja 0x1401b22c9
and dl, 0x7f
lea eax, [rdi + 1]
mov byte [rcx], dl
jmp 0x1401b22ef
cmp rdx, 0x3fff
ja 0x1401b22ea
mov rax, rdx
shr rax, 7
or al, 0x80
and dl, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dl
mov eax, 2
jmp 0x1401b22ef
call fcn.1401bbf24
add r15d, eax
jmp 0x1401b2dae
mov eax, dword [rsi + 0xc]
cmp eax, dword [rsi + 0x38]
jne 0x1401b24a7
cmp r15d, dword [rsi + 0x3c]
jne 0x1401b24a7
mov r12d, r8d
mov edi, r8d
mov esi, r8d
cmp dword [rbp - 0x2d], r8d
jle 0x1401b2365
mov ebx, dword [rbp - 0x2d]
mov r14d, 1
mov r13, qword [rbp + 7]
movsxd rcx, esi
lea rdx, [rbp - 0x29]
add rcx, r13
mov dword [rbp - 0x29], r8d
call fcn.1401fa1dc
mov ecx, dword [rbp - 0x29]
add esi, eax
add ecx, edi
cmp ecx, r15d
ja 0x1401b2357
add r12d, r14d
mov edi, ecx
mov r8d, 0
cmp esi, ebx
jl 0x1401b2329
mov ebx, dword [rbp + 0x7f]
xor r8d, r8d
mov r13, qword [rbp - 0x21]
mov r14d, dword [rbp + 0x77]
mov dword [rbp - 0x29], edi
mov r15d, edi
cmp ebx, r14d
je 0x1401b2dae
movsxd rcx, ebx
lea rdx, [rbp - 0x39]
add rcx, r13
mov dword [rbp - 0x31], r8d
mov dword [rbp - 0x39], r8d
mov dword [rbp + 0x7f], r8d
mov dword [rbp - 0x29], ebx
call fcn.1401fa1dc
add ebx, eax
lea rdx, [rbp + 0x7f]
movsxd rcx, ebx
add rcx, r13
call fcn.1401fa1dc
add ebx, eax
movsxd rax, edi
add r13, rax
cmp r12d, 1
je 0x1401b23bf
lea rdx, [rbp - 0x31]
mov rcx, r13
call fcn.1401fa1dc
add edi, eax
mov esi, dword [rbp - 0x39]
lea rdx, [rbp - 0x31]
cmp dword [rbp - 0x31], esi
mov r14d, esi
mov eax, dword [rbp + 0x7f]
cmovl r14d, dword [rbp - 0x31]
mov rcx, qword [rbp - 0x21]
sub eax, r14d
add eax, esi
mov dword [rbp - 0x39], eax
movsxd rax, edi
add rcx, rax
call fcn.1401fa1dc
movsxd r11, dword [rbp - 0x39]
mov ecx, dword [rbp + 0x77]
add eax, r11d
add eax, edi
cmp eax, ecx
jg 0x1401b2493
movsxd rdi, dword [rbp + 0x7f]
lea eax, [rdi + rbx]
mov dword [rbp + 0x7f], eax
cmp eax, ecx
jg 0x1401b2493
mov eax, 1
cmp r12d, eax
je 0x1401b2429
movsxd rdx, r14d
mov rcx, r13
call fcn.1401fc3ec
add r15d, eax
mov r13, qword [rbp - 0x21]
mov rdx, r11
movsxd rcx, r15d
add rcx, r13
call fcn.1401fc3ec
add r15d, eax
mov rax, qword [rbp + 0x6f]
cmp esi, dword [rax + 0x68]
jle 0x1401b2454
mov rax, qword [rbp + 0x67]
mov dword [rax + 0x3c], 0x10b
jmp 0x1401b2474
cmp esi, r14d
jle 0x1401b2474
sub esi, r14d
movsxd rdx, r14d
add rdx, qword [rax + 0x60]
movsxd rcx, r15d
movsxd r8, esi
add rcx, r13
call fcn.140240685
add r15d, esi
movsxd rdx, ebx
mov r8, rdi
movsxd rcx, r15d
add rdx, r13
add rcx, r13
call sub.VCRUNTIME140.dll_memmove
mov ebx, dword [rbp + 0x7f]
add r15d, edi
jmp 0x1401b2db2
mov rcx, qword [rbp + 0x67]
mov r13, qword [rbp - 0x21]
mov dword [rcx + 0x3c], 0x10b
jmp 0x1401b2db6
cmp r15d, 4
jne 0x1401b2dae
dec eax
mov dword [rbp - 0x39], eax
cmp eax, dword [rsi + 0x38]
jle 0x1401b27cc
movsxd rbx, dword [rbp - 0x11]
mov r15, r12
shl rbx, 0x25
movsxd r12, eax
mov r13, r8
add r12, rbx
mov qword [rbp - 1], r8
cmp dword [r15], r8d
jne 0x1401b278c
mov rax, qword [rbp + 0x67]
mov edi, r8d
lea r14, [rax + 0x48]
mov rsi, qword [r14]
test rsi, rsi
je 0x1401b2563
mov rdx, r12
mov qword [r14], r8
mov rcx, rsi
call fcn.140188964
xor r8d, r8d
mov qword [r14], rsi
mov edi, eax
test eax, eax
je 0x1401b255f
mov qword [r14], r8
mov r13, qword [rsi + 0x20]
mov rax, qword [rsi + 0x18]
mov qword [rbp - 0x19], rax
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x1401b252b
call qword [0x14033e170]
mov rdx, rsi
mov rcx, r13
call fcn.1401eb5dc
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x1401b2545
call qword [0x14033e180]
mov rcx, qword [rbp - 0x19]
call fcn.14018519c
mov r13, qword [rbp - 1]
cmp edi, 4
mov r8d, 0
cmove edi, r8d
mov rax, qword [rbp + 0x67]
cmp qword [r14], r8
jne 0x1401b259a
test edi, edi
jne 0x1401b259a
mov rcx, qword [rax]
lea r9, str.block
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r8d
mov r8, qword [rax + 8]
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r12
call fcn.140188398
mov edi, eax
xor r8d, r8d
mov eax, 1
cmp edi, eax
jne 0x1401b25ad
mov edi, 0x10b
jmp 0x1401b276a
test edi, edi
jne 0x1401b276a
mov rax, qword [r14]
test rax, rax
je 0x1401b25c7
cmp qword [rax + 0x18], r8
je 0x1401b25c7
mov edi, dword [rax]
jmp 0x1401b25ca
mov edi, r8d
movsxd r12, edi
mov qword [rbp - 1], r12
lea rcx, [r12 + 0x24]
call fcn.140182558
xor r8d, r8d
mov r13, rax
test rax, rax
je 0x1401b2757
mov dword [rax + 8], edi
add rax, 0x10
mov qword [r13], rax
mov rsi, qword [r14]
test rsi, rsi
jne 0x1401b260e
mov ecx, 0x18eb4
call fcn.140204880
mov edi, eax
jmp 0x1401b2728
mov r14, qword [rsi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1401b2624
call qword [0x14033e170]
xor r8d, r8d
mov r12, qword [rsi + 0x18]
test edi, edi
js 0x1401b26d0
cmp edi, dword [rsi]
jg 0x1401b26d0
test r12, r12
jne 0x1401b2647
lea edi, [r12 + 4]
jmp 0x1401b26d5
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r8b
je 0x1401b266b
mov eax, 1
add dword [rcx + 0x14], eax
cmp byte [rcx + 0x12], r8b
jne 0x1401b266b
call fcn.1401932c8
xor r8d, r8d
mov rcx, qword [rsi + 0x10]
lea r9, [r13 + 0x10]
mov edx, dword [rsi + 4]
cmp byte [rcx], r8b
jne 0x1401b268a
mov dword [rsp + 0x20], r8d
mov r8d, edi
call fcn.14018d5d4
jmp 0x1401b2692
mov r8d, edi
call fcn.14018d9a4
mov edi, eax
xor r8d, r8d
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r8b
je 0x1401b26b3
sub dword [rcx + 0x14], 1
jne 0x1401b26b3
call fcn.14022b304
xor r8d, r8d
cmp edi, 4
jne 0x1401b26c9
mov rcx, r12
call fcn.14021d64c
xor r8d, r8d
mov qword [rsi + 0x18], r8
jmp 0x1401b26d5
mov dword [r12 + 0x34], edi
jmp 0x1401b26d5
mov edi, 1
mov dword [r14 + 0x50], edi
test edi, edi
jne 0x1401b26ed
cmp qword [r14 + 0x190], r8
jne 0x1401b26ed
or dword [r14 + 0x54], 0xffffffff
jmp 0x1401b26fa
mov edx, edi
mov rcx, r14
call fcn.1401ed8e4
xor r8d, r8d
cmp byte [r14 + 0x67], r8b
jne 0x1401b2709
test edi, edi
jne 0x1401b2709
mov edi, r8d
jmp 0x1401b2715
mov edx, edi
mov rcx, r14
call fcn.14018fce8
mov edi, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1401b2724
call qword [0x14033e180]
mov r12, qword [rbp - 1]
xor r8d, r8d
test edi, edi
jne 0x1401b275c
mov rax, qword [r13]
mov byte [r12 + rax], r8b
mov rax, qword [r13]
mov byte [rax + r12 + 1], r8b
mov rax, qword [r13]
movzx ecx, byte [rax + 2]
movzx eax, byte [rax + 3]
shl ecx, 8
add ecx, eax
mov dword [r13 + 0xc], ecx
jmp 0x1401b276a
mov edi, 7
mov rcx, r13
call fcn.1401825f0
xor r8d, r8d
mov r13d, r8d
mov rax, qword [rbp + 0x67]
mov esi, 1
mov dword [r15], edi
add dword [rax + 0x80], esi
test r13, r13
je 0x1401b2791
cmp dword [r13 + 8], 4
jne 0x1401b2791
mov edi, esi
jmp 0x1401b2794
mov esi, 1
mov edi, r8d
mov rcx, r13
call fcn.1401825f0
mov eax, dword [rbp - 0x39]
xor r8d, r8d
test edi, edi
je 0x1401b27ba
sub eax, esi
mov rsi, qword [rbp + 0x6f]
mov dword [rbp - 0x39], eax
cmp eax, dword [rsi + 0x38]
jg 0x1401b24ca
jmp 0x1401b27be
mov rsi, qword [rbp + 0x6f]
mov ebx, dword [rbp + 0x7f]
mov r15d, dword [rbp - 0x31]
mov r12, qword [rbp - 9]
cmp eax, dword [rsi + 0x38]
jne 0x1401b2dae
movsxd rdx, dword [rbp - 0x11]
mov r13, r8
movsxd rax, dword [rsi + 0x38]
shl rdx, 0x25
add rdx, rax
mov qword [rbp - 0x39], r8
mov qword [rbp - 0x19], rdx
cmp dword [r12], r8d
jne 0x1401b2da6
mov rax, qword [rbp + 0x67]
mov edi, r8d
lea r12, [rax + 0x48]
mov rsi, qword [r12]
test rsi, rsi
je 0x1401b2917
mov qword [r12], r8
mov r14, qword [rsi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1401b282c
call qword [0x14033e170]
mov rdx, qword [rbp - 0x19]
xor r8d, r8d
mov rax, qword [rsi + 0x18]
test rax, rax
jne 0x1401b283a
lea edi, [rax + 4]
jmp 0x1401b288d
mov dword [rax + 0x34], r8d
mov rcx, rsi
lea r8, [rbp + 0x7f]
call fcn.1401922d8
xor r8d, r8d
mov edi, eax
test eax, eax
je 0x1401b288d
mov r13, qword [rbp + 0x7f]
lea rax, [0x140327230]
mov rcx, r13
mov r9, r13
neg rcx
mov edx, edi
mov rcx, r14
sbb r8, r8
and r8, rax
call fcn.1401ed9cc
xor r8d, r8d
test r13, r13
je 0x1401b288d
mov rdx, r13
mov rcx, r14
call fcn.1401eb5dc
xor r8d, r8d
cmp byte [r14 + 0x67], r8b
jne 0x1401b289c
test edi, edi
jne 0x1401b289c
mov edi, r8d
jmp 0x1401b28ab
mov edx, edi
mov rcx, r14
call fcn.14018fce8
mov edi, eax
xor r8d, r8d
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1401b28bd
call qword [0x14033e180]
xor r8d, r8d
mov qword [r12], rsi
test edi, edi
je 0x1401b290f
mov qword [r12], r8
mov r14, qword [rsi + 0x20]
mov r13, qword [rsi + 0x18]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1401b28e0
call qword [0x14033e170]
mov rdx, rsi
mov rcx, r14
call fcn.1401eb5dc
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1401b28fa
call qword [0x14033e180]
mov rcx, r13
call fcn.14018519c
cmp edi, 4
mov r8d, 0
cmove edi, r8d
mov rax, qword [rbp + 0x67]
mov rdx, qword [rbp - 0x19]
cmp qword [r12], r8
jne 0x1401b294f
test edi, edi
jne 0x1401b294f
mov rcx, qword [rax]
lea r9, str.block
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r8d
mov r8, qword [rax + 8]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.140188398
mov edi, eax
xor r8d, r8d
mov eax, 1
cmp edi, eax
jne 0x1401b2a9d
mov eax, 0x10b
mov r13, qword [rbp - 0x39]
xor r12d, r12d
mov rcx, qword [rbp + 0x67]
mov dword [rcx + 0x3c], eax
mov eax, 1
add dword [rcx + 0x80], eax
test r13, r13
je 0x1401b2da6
mov rax, qword [rbp + 0x6f]
movsxd rcx, dword [r13 + 0xc]
cmp ecx, dword [rax + 0x3c]
jne 0x1401b2da6
mov rax, qword [rbp - 0x39]
lea rdx, [rbp + 0x7f]
mov r13, qword [r13]
mov esi, r12d
mov dword [rbp + 0x7f], r12d
mov edi, dword [rax + 8]
lea r14, [rcx + r13]
sub edi, ecx
mov rcx, r14
call fcn.1401fa1dc
mov r12d, dword [rbp + 0x7f]
mov ecx, eax
cmp eax, edi
jge 0x1401b29ea
xor r15d, r15d
add esi, ecx
mov dword [rbp + 0x7f], r15d
movsxd rcx, esi
lea rdx, [rbp + 0x7f]
add rcx, r14
call fcn.1401fa1dc
add r12d, dword [rbp + 0x7f]
mov ecx, eax
add eax, esi
cmp eax, edi
jl 0x1401b29c5
mov r15d, dword [rbp - 0x31]
movsxd rcx, r12d
mov rdx, r14
add rcx, r13
movsxd r8, esi
call sub.VCRUNTIME140.dll_memmove
mov r13, qword [rbp - 0x39]
movzx eax, r12w
shr ax, 8
xor r14d, r14d
mov rcx, qword [r13]
mov byte [rcx + 2], al
mov byte [rcx + 3], r12b
mov rcx, qword [rbp + 0x67]
mov rax, qword [r13]
mov qword [rbp + 0x7f], rax
cmp dword [rcx + 0x3c], r14d
jne 0x1401b2cd5
lea rdi, [rcx + 0x50]
cmp qword [rdi], r14
jne 0x1401b2c7f
mov rdx, qword [rcx]
lea rcx, str.REPLACE_INTO__q._q_data_id__block__VALUES_____
mov r8, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
call fcn.14018233c
mov r14, rax
xor edx, edx
mov rax, qword [rbp + 0x67]
cmp dword [rax + 0x3c], edx
jne 0x1401b2c6a
test r14, r14
je 0x1401b2c63
mov rcx, qword [rax]
mov r9d, 0x85
mov qword [rsp + 0x30], rdx
or r8d, 0xffffffff
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov rcx, qword [rcx]
call fcn.140203f38
mov rcx, qword [rbp + 0x67]
mov dword [rcx + 0x3c], eax
jmp 0x1401b2c6a
mov eax, edi
test edi, edi
jne 0x1401b2961
mov rax, qword [r12]
test rax, rax
je 0x1401b2aba
cmp qword [rax + 0x18], r8
je 0x1401b2aba
mov edi, dword [rax]
jmp 0x1401b2abd
mov edi, r8d
movsxd r14, edi
mov qword [rbp - 1], r14
lea rcx, [r14 + 0x24]
call fcn.140182558
mov qword [rbp - 0x39], rax
mov r13, rax
test rax, rax
je 0x1401b2c48
mov dword [rax + 8], edi
lea rax, [rax + 0x10]
mov qword [r13], rax
mov rsi, qword [r12]
xor r12d, r12d
test rsi, rsi
jne 0x1401b2b08
mov ecx, 0x18eb4
call fcn.140204880
mov edi, eax
mov dword [rbp + 0x7f], eax
jmp 0x1401b2c16
mov r14, qword [rsi + 0x20]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1401b2b1b
call qword [0x14033e170]
mov r13, qword [rsi + 0x18]
test edi, edi
js 0x1401b2bba
cmp edi, dword [rsi]
jg 0x1401b2bba
test r13, r13
jne 0x1401b2b3d
lea edi, [r13 + 4]
jmp 0x1401b2bbf
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r12b
je 0x1401b2b5e
mov eax, 1
add dword [rcx + 0x14], eax
cmp byte [rcx + 0x12], r12b
jne 0x1401b2b5e
call fcn.1401932c8
mov rcx, qword [rsi + 0x10]
mov r8d, edi
mov r9, qword [rbp - 0x39]
mov edx, dword [rsi + 4]
add r9, 0x10
cmp byte [rcx], r12b
jne 0x1401b2b81
mov dword [rsp + 0x20], r12d
call fcn.14018d5d4
jmp 0x1401b2b86
call fcn.14018d9a4
mov edi, eax
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], r12b
je 0x1401b2ba1
sub dword [rcx + 0x14], 1
jne 0x1401b2ba1
call fcn.14022b304
cmp edi, 4
jne 0x1401b2bb4
mov rcx, r13
call fcn.14021d64c
mov qword [rsi + 0x18], r12
jmp 0x1401b2bbf
mov dword [r13 + 0x34], edi
jmp 0x1401b2bbf
mov edi, 1
mov dword [r14 + 0x50], edi
test edi, edi
jne 0x1401b2bd7
cmp qword [r14 + 0x190], r12
jne 0x1401b2bd7
or dword [r14 + 0x54], 0xffffffff
jmp 0x1401b2be1
mov edx, edi
mov rcx, r14
call fcn.1401ed8e4
cmp byte [r14 + 0x67], r12b
jne 0x1401b2bf0
test edi, edi
jne 0x1401b2bf0
mov edi, r12d
jmp 0x1401b2bfc
mov edx, edi
mov rcx, r14
call fcn.14018fce8
mov edi, eax
mov rcx, qword [r14 + 0x18]
mov dword [rbp + 0x7f], edi
test rcx, rcx
je 0x1401b2c0e
call qword [0x14033e180]
mov r13, qword [rbp - 0x39]
mov r14, qword [rbp - 1]
test edi, edi
jne 0x1401b2c52
mov rax, qword [r13]
mov byte [r14 + rax], r12b
mov rax, qword [r13]
mov byte [rax + r14 + 1], r12b
mov rax, qword [r13]
movzx ecx, byte [rax + 3]
movzx eax, byte [rax + 2]
shl eax, 8
add ecx, eax
mov dword [r13 + 0xc], ecx
mov eax, dword [rbp + 0x7f]
jmp 0x1401b2968
mov dword [rbp + 0x7f], 7
xor r12d, r12d
mov rcx, r13
call fcn.1401825f0
mov r13, r12
mov qword [rbp - 0x39], r12
jmp 0x1401b2c40
mov dword [rax + 0x3c], 7
mov rcx, r14
call fcn.1401825f0
mov rcx, qword [rbp + 0x67]
xor r14d, r14d
cmp dword [rcx + 0x3c], r14d
jne 0x1401b2cd5
mov r8, qword [rbp - 0x19]
mov edx, 1
mov rcx, qword [rdi]
call fcn.140184150
mov r8, qword [rbp + 0x7f]
lea r9d, [r12 + rsi]
mov rcx, qword [rdi]
mov edx, 2
mov qword [rsp + 0x20], r14
call fcn.140184054
mov rcx, qword [rdi]
call fcn.140184e1c
mov rcx, qword [rdi]
call fcn.140185248
mov r12, qword [rbp - 9]
mov edx, 2
mov rcx, qword [rdi]
mov dword [r12], eax
call fcn.1401841d8
mov rcx, qword [rbp + 0x67]
jmp 0x1401b2cd9
mov r12, qword [rbp - 9]
test esi, esi
jne 0x1401b2da6
mov rax, qword [rbp + 0x6f]
lea edx, [rsi + 1]
movsxd r14, dword [rax + 0x38]
cmp r14d, edx
je 0x1401b2da6
lea rdi, [rcx + 0x88]
xor eax, eax
cmp qword [rdi], rax
jne 0x1401b2d70
mov rdx, qword [rcx]
lea rcx, str.DELETE_FROM__q._q_idx_WHERE__segid___pgno_2______1___2_
mov r8, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
call fcn.14018233c
xor edx, edx
mov rsi, rax
cmp dword [r12], edx
jne 0x1401b2d63
test rax, rax
je 0x1401b2d5b
mov rax, qword [rbp + 0x67]
mov r9d, 0x85
mov qword [rsp + 0x30], rdx
or r8d, 0xffffffff
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdx
mov rdx, rsi
mov rcx, qword [rax]
mov rcx, qword [rcx]
call fcn.140203f38
mov dword [r12], eax
jmp 0x1401b2d63
mov dword [r12], 7
mov rcx, rsi
call fcn.1401825f0
xor eax, eax
lea edx, [rax + 1]
cmp dword [r12], eax
jne 0x1401b2da6
movsxd r8, dword [rbp - 0x11]
mov rcx, qword [rdi]
call fcn.140184150
mov rcx, qword [rdi]
mov r8, r14
mov edx, 2
call fcn.140184150
mov rcx, qword [rdi]
call fcn.140184e1c
mov rcx, qword [rdi]
call fcn.140185248
mov dword [r12], eax
mov rcx, r13
call fcn.1401825f0
mov r13, qword [rbp - 0x21]
mov rcx, qword [rbp + 0x67]
xor eax, eax
cmp dword [rcx + 0x3c], eax
jne 0x1401b3008
mov r12d, eax
movsxd rdx, ebx
mov edi, eax
movsxd rcx, r15d
mov eax, dword [rbp + 0xf]
mov esi, ebx
sub eax, ebx
add rdx, r13
movsxd r8, eax
add rcx, r13
sub esi, r15d
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [rbp + 0x77]
sub ecx, esi
movzx eax, cx
mov dword [rbp + 0x77], ecx
shr ax, 8
mov r14d, ecx
mov byte [r13 + 2], al
xor eax, eax
mov ebx, eax
mov byte [r13 + 3], cl
cmp dword [rbp - 0x2d], eax
jle 0x1401b2f2d
movsxd rcx, ebx
lea rdx, [rbp + 0x7f]
add rcx, qword [rbp + 7]
mov dword [rbp + 0x7f], eax
call fcn.1401fa1dc
add edi, dword [rbp + 0x7f]
add ebx, eax
cmp edi, dword [rbp - 0x29]
je 0x1401b2e50
xor eax, eax
movsxd rcx, r14d
cmp edi, r15d
mov r11d, edi
cmovg eax, esi
add rcx, r13
sub r11d, eax
mov eax, r11d
sub eax, r12d
movsxd rdx, eax
call fcn.1401fc3ec
add r14d, eax
mov r12d, r11d
mov eax, 0
cmp ebx, dword [rbp - 0x2d]
jl 0x1401b2e0b
mov r15, qword [rbp + 0x67]
xor r12d, r12d
cmp dword [rbp + 0x77], r14d
jne 0x1401b2f31
mov rax, qword [rbp + 0x6f]
movsxd rsi, dword [rax + 0xc]
lea eax, [r12 + 1]
cmp esi, eax
je 0x1401b2f31
lea rbx, [r15 + 0x88]
cmp qword [rbx], r12
jne 0x1401b2ef3
mov rdx, qword [r15]
lea rcx, str.DELETE_FROM__q._q_idx_WHERE__segid___pgno_2______1___2_
mov r8, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
call fcn.14018233c
mov rdi, rax
cmp dword [r15 + 0x3c], r12d
jne 0x1401b2ee6
test rax, rax
je 0x1401b2ede
mov rcx, qword [r15]
mov r9d, 0x85
mov qword [rsp + 0x30], r12
or r8d, 0xffffffff
mov qword [rsp + 0x28], rbx
mov rdx, rax
mov qword [rsp + 0x20], r12
mov rcx, qword [rcx]
call fcn.140203f38
mov dword [r15 + 0x3c], eax
jmp 0x1401b2ee6
mov dword [r15 + 0x3c], 7
mov rcx, rdi
call fcn.1401825f0
mov eax, 1
cmp dword [r15 + 0x3c], r12d
jne 0x1401b2f31
movsxd r8, dword [rbp - 0x11]
mov edx, eax
mov rcx, qword [rbx]
call fcn.140184150
mov rcx, qword [rbx]
mov r8, rsi
mov edx, 2
call fcn.140184150
mov rcx, qword [rbx]
call fcn.140184e1c
mov rcx, qword [rbx]
call fcn.140185248
mov dword [r15 + 0x3c], eax
jmp 0x1401b2f31
mov r15, qword [rbp + 0x67]
mov rax, qword [rbp + 0x6f]
movsxd rdi, dword [rbp - 0x11]
shl rdi, 0x25
movsxd rax, dword [rax + 0xc]
add rdi, rax
cmp dword [r15 + 0x3c], r12d
jne 0x1401b3008
lea rbx, [r15 + 0x50]
cmp qword [rbx], r12
jne 0x1401b2fbf
mov rdx, qword [r15]
lea rcx, str.REPLACE_INTO__q._q_data_id__block__VALUES_____
mov r8, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
call fcn.14018233c
mov rsi, rax
cmp dword [r15 + 0x3c], r12d
jne 0x1401b2fb1
test rax, rax
je 0x1401b2fa9
mov rcx, qword [r15]
mov r9d, 0x85
mov qword [rsp + 0x30], r12
or r8d, 0xffffffff
mov qword [rsp + 0x28], rbx
mov rdx, rax
mov qword [rsp + 0x20], r12
mov rcx, qword [rcx]
call fcn.140203f38
mov dword [r15 + 0x3c], eax
jmp 0x1401b2fb1
mov dword [r15 + 0x3c], 7
mov rcx, rsi
call fcn.1401825f0
cmp dword [r15 + 0x3c], r12d
jne 0x1401b3008
mov rcx, qword [rbx]
mov r8, rdi
mov edx, 1
call fcn.140184150
mov rcx, qword [rbx]
mov r9d, r14d
mov r8, r13
mov qword [rsp + 0x20], r12
mov edx, 2
call fcn.140184054
mov rcx, qword [rbx]
call fcn.140184e1c
mov rcx, qword [rbx]
call fcn.140185248
mov rcx, qword [rbx]
mov edx, 2
mov dword [r15 + 0x3c], eax
call fcn.1401841d8
mov rcx, qword [rbp + 7]
call fcn.1401825f0
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret