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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
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 - 0x58]
sub rsp, 0x158
mov rsi, qword [rdx]
xor r12d, r12d
movsxd r15, r8d
mov r14, rdx
mov r13, rcx
mov qword [rbp - 0x78], rsi
mov rdi, r15
mov qword [rsp + 0x60], r12
lea rbx, [r15 + 2]
shl rbx, 4
add rbx, rsi
mov qword [rbp - 0x80], rbx
test r9, r9
je 0x1402712c4
mov edx, dword [r9]
mov dword [rsp + 0x68], edx
jmp 0x1402712c9
mov dword [rsp + 0x68], r12d
mov rax, qword [rcx]
xorps xmm0, xmm0
mov dword [rsp + 0x54], r12d
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x58], r12d
mov eax, dword [rax + 0x5c]
mov dword [rbp + 0x10], eax
xor eax, eax
mov qword [rbp], rax
movups xmmword [rbp - 0x70], xmm0
mov dword [rsp + 0x6c], r12d
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov eax, dword [rbx]
mov dword [rsp + 0x50], eax
test eax, eax
je 0x140271360
mov r14, qword [rbp - 0x78]
lea eax, [r15 + 1]
movsxd rsi, eax
lea rdx, [rbp - 0x70]
add rsi, 2
shl rsi, 4
add rsi, r14
mov qword [rbp + 0x38], rsi
mov eax, dword [rsi + 4]
dec eax
cdqe
imul rdi, rax, 0x38
add rdi, qword [rsi + 8]
mov qword [rsp + 0x78], rdi
mov r8d, dword [rdi]
call fcn.140284f10
mov eax, dword [rdi + 8]
inc eax
mov dword [rbp], r12d
mov dword [rbp - 0x68], eax
jmp 0x140271761
mov rdx, rsi
call fcn.140264600
mov ecx, dword [rsi + 0x1c]
mov r12d, eax
dec ecx
mov dword [rsp + 0x50], eax
cmp r15d, ecx
jne 0x14027165c
cmp dword [r13 + 0x3c], 0
mov rsi, qword [r14]
jne 0x140271652
cmp dword [rsi], 1
jle 0x1402714df
mov eax, dword [rsi + 0x1c]
dec eax
movsxd rbx, eax
add rbx, 3
shl rbx, 4
call fcn.140319ef0
test eax, eax
je 0x1402713b2
xor r15d, r15d
jmp 0x1402713c2
mov rcx, rbx
call fcn.1402e5070
mov r15, rax
test rax, rax
jne 0x1402713da
test rbx, rbx
jle 0x1402713cf
mov dword [r13 + 0x3c], 7
test r15, r15
je 0x1402714d2
jmp 0x1402713e7
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
mov rdx, rsi
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rsi + 0x1c]
xor r8d, r8d
mov ecx, r8d
test edx, edx
jle 0x140271420
lea rax, [r15 + 0x28]
nop word [rax + rax]
mov qword [rax], r8
lea rax, [rax + 0x10]
mov edx, dword [rsi + 0x1c]
inc ecx
cmp ecx, edx
jl 0x140271410
mov r12d, r8d
test edx, edx
jle 0x1402714c9
mov r13, rsi
lea rdi, [r15 + 0x24]
sub r13, r15
movsxd rax, dword [rdi]
mov rbx, r8
imul r14, rax, 0x38
mov rax, qword [rbp + 0xa0]
cmp dword [rax + 0x3c], 0
jne 0x140271487
call fcn.140319ef0
test eax, eax
je 0x14027145d
xor r8d, r8d
mov ebx, r8d
jmp 0x140271474
mov rcx, r14
call fcn.1402e5070
mov rbx, rax
test rax, rax
jne 0x14027152d
xor r8d, r8d
test r14, r14
jle 0x140271487
mov rax, qword [rbp + 0xa0]
mov dword [rax + 0x3c], 7
mov qword [rdi + 4], rbx
test rbx, rbx
je 0x140271543
mov rdx, qword [rdi + r13 + 4]
mov r8, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
inc r12d
add rdi, 0x10
mov r8d, 0
cmp r12d, dword [rsi + 0x1c]
jl 0x140271435
mov r14, qword [rbp + 0xa8]
mov r13, qword [rbp + 0xa0]
dec dword [rsi]
mov dword [r15], 1
mov qword [r14], r15
mov rsi, r15
mov r15d, dword [rbp + 0xb0]
cmp dword [r13 + 0x3c], 0
jne 0x14027164d
movsxd rbx, dword [rsi + 0x1c]
call fcn.140319ef0
test eax, eax
jne 0x140271645
lea rdx, [rbx + 4]
mov rcx, rsi
shl rdx, 4
call fcn.1402eff10
test rax, rax
je 0x140271645
lea rcx, [rbx + 2]
xorps xmm0, xmm0
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
inc dword [rax + 0x1c]
mov qword [r14], rax
jmp 0x14027164d
mov r8, r14
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 4], rbx
jmp 0x140271494
cmp dword [rsi + 0x1c], 0
mov r14d, r8d
mov rcx, qword [0x140473800]
jle 0x1402715c7
lea rdi, [r15 + 0x28]
mov rbx, qword [rdi]
test rbx, rbx
je 0x1402715ba
cmp dword [0x14046b030], 0
je 0x1402715aa
test rcx, rcx
je 0x140271573
call qword [0x14046b0b0]
mov rcx, rbx
call qword [0x14046b068]
dec qword [0x140473788]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x140473740], rdx
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402715ba
call qword [0x14046b0c0]
jmp 0x1402715b3
mov rcx, rbx
call qword [0x14046b058]
mov rcx, qword [0x140473800]
inc r14d
add rdi, 0x10
cmp r14d, dword [rsi + 0x1c]
jl 0x140271557
cmp dword [0x14046b030], 0
je 0x140271626
test rcx, rcx
je 0x1402715db
call qword [0x14046b0b0]
mov rcx, r15
call qword [0x14046b068]
dec qword [0x140473788]
movsxd rcx, eax
sub qword [0x140473740], rcx
mov rcx, r15
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x14027162f
call qword [0x14046b0c0]
mov r14, qword [rbp + 0xa8]
mov r13, qword [rbp + 0xa0]
mov rsi, qword [r14]
jmp 0x1402714d8
mov rcx, r15
call qword [0x14046b058]
mov r14, qword [rbp + 0xa8]
mov r13, qword [rbp + 0xa0]
mov rsi, qword [r14]
jmp 0x1402714d8
mov dword [r13 + 0x3c], 7
mov r12d, dword [rsp + 0x50]
mov rsi, qword [r14]
mov qword [rbp - 0x78], rsi
movsxd rdi, r15d
cmp dword [r13 + 0x3c], 0
jne 0x14027234f
lea rbx, [rdi + 3]
shl rbx, 4
add rbx, rsi
mov eax, dword [rbx + 4]
mov r14, qword [rbx + 8]
inc eax
cdqe
imul rsi, rax, 0x38
call fcn.140319ef0
test eax, eax
jne 0x1402716bf
mov rdx, rsi
mov rcx, r14
call fcn.1402eff10
test rax, rax
je 0x1402716bf
movsxd rcx, dword [rbx + 4]
xorps xmm0, xmm0
imul rdx, rcx, 0x38
add rdx, rax
xor ecx, ecx
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
mov qword [rdx + 0x30], rcx
mov qword [rbx + 8], rax
jmp 0x1402716c7
mov dword [r13 + 0x3c], 7
cmp dword [r13 + 0x3c], 0
jne 0x14027234f
mov r14, qword [rbp - 0x78]
lea eax, [r15 + 1]
movsxd rsi, eax
lea rbx, [rdi + 2]
add rsi, 2
shl rbx, 4
shl rsi, 4
lea rdx, [rbp - 0x70]
add rsi, r14
add rbx, r14
mov r8d, r12d
mov qword [rbp + 0x38], rsi
mov rcx, r13
mov qword [rbp - 0x80], rbx
call fcn.140284f10
movsxd rcx, dword [rsi + 4]
imul rdi, rcx, 0x38
lea eax, [rcx + 1]
add rdi, qword [rsi + 8]
mov dword [rsi + 4], eax
mov qword [rsp + 0x78], rdi
mov dword [rdi + 4], 1
mov dword [rdi], r12d
inc dword [r14 + 0x18]
cmp qword [r14 + 0x10], 0
mov eax, dword [rbx + 4]
mov dword [rsp + 0x50], eax
jbe 0x14027175e
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x10]
mov qword [rdi + 0x10], rcx
movsxd rax, dword [rbx + 4]
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
mov rcx, qword [rcx + rax - 0x20]
mov qword [rdi + 0x18], rcx
xor r12d, r12d
cmp dword [rsi + 4], 1
jne 0x140271776
lea eax, [r15 + 2]
mov esi, 1
cmp dword [r14 + 0x1c], eax
je 0x140271779
mov rsi, r12
mov edi, dword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov dword [rsp + 0x38], edi
mov rdx, r14
mov dword [rsp + 0x30], r15d
mov rcx, r13
mov dword [rsp + 0x28], r12d
lea r8d, [r9 + 0x20]
mov qword [rsp + 0x20], r12
mov qword [rbp + 0xa8], rsi
call fcn.140277270
mov r14, qword [rsp + 0x60]
mov rcx, r13
mov rdx, r14
call fcn.140276f20
test eax, eax
jne 0x140271f60
nop dword [rax + rax]
mov rax, qword [r14 + 0x58]
lea r15, [r14 + 0x60]
movzx ecx, word [rax + 4]
imul rax, rcx, 0x88
add r15, rax
mov qword [rbp + 0x40], r15
mov edi, dword [rax + r14 + 0xd0]
mov r14, qword [rax + r14 + 0xc8]
cmp edi, dword [rsp + 0x58]
jne 0x1402719cf
test edi, edi
jle 0x140271823
mov rbx, qword [rsp + 0x70]
mov rcx, r14
mov rdx, rbx
movsxd r8, edi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1402719d4
mov edx, dword [rsp + 0x54]
cmp dword [r15 + 0x80], 0
jne 0x140271847
test rsi, rsi
jne 0x140271f2c
cmp byte [r15 + 0x84], sil
je 0x140271f2c
cmp dword [r13 + 0x3c], 0
lea rsi, [r13 + 0x3c]
mov rbx, rsi
jne 0x140271877
test edx, edx
jne 0x140271877
mov r9, r14
lea rdx, [rbp - 0x70]
mov r8d, edi
mov rcx, r13
call fcn.140284600
mov dword [rsp + 0x54], 1
lea rbx, [r13 + 0x3c]
mov rdi, qword [rsp + 0x60]
mov rax, qword [rdi + 0x58]
movzx ecx, word [rax + 4]
imul rax, rcx, 0x88
cmp dword [rsi], 0
mov rdi, qword [rax + rdi + 0xd8]
mov qword [rbp + 0x20], rdi
jne 0x140271d38
mov rax, qword [r13]
mov edx, dword [rbp - 0x48]
add edx, dword [rbp - 0x58]
cmp edx, dword [rax + 0x88]
jl 0x1402718c1
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.140284dd0
mov rsi, rbx
movzx eax, byte [rbp - 0x27]
test al, al
je 0x140271d0b
movzx edx, word [rbp - 0x58]
mov r15d, r12d
mov rcx, qword [rbp - 0x60]
movzx eax, dx
shr ax, 8
mov dword [rbp + 0xa0], r12d
mov byte [rcx], al
mov eax, r12d
mov byte [rcx + 1], dl
cmp dword [rsi], 0
mov dword [rbp + 0xb0], eax
jne 0x140271d03
mov rcx, r12
mov qword [rbp + 0x28], rcx
test eax, eax
jne 0x140271d03
mov rbx, qword [rbp - 0x18]
mov rax, qword [r13]
add rbx, rcx
mov ecx, dword [rax + 0x88]
cmp dword [rbx + 0x18], ecx
jl 0x140271c6f
mov rax, qword [rbx + 0x10]
movsxd r15, r15d
mov byte [rax], 1
movsxd rcx, dword [rbp - 0x70]
movsxd rax, dword [rbx]
mov r14, qword [rbx + 0x10]
mov r12d, dword [rbx + 0x18]
shl rcx, 6
add rcx, 0x20
mov qword [rbp + 0x18], r14
add r15, rcx
shl r15, 0x1f
add r15, rax
cmp dword [rsi], 0
jne 0x140271b50
cmp qword [r13 + 0x48], 0
lea rbx, [r13 + 0x48]
jne 0x140271aec
mov rdx, qword [r13]
lea rcx, str.REPLACE_INTO__q._q_data_id__block__VALUES_____
mov r8, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
call fcn.140225d20
cmp dword [rsi], 0
mov rdi, rax
jne 0x140271a79
test rax, rax
je 0x140271a71
mov rcx, qword [r13]
xor eax, eax
mov qword [rsp + 0x30], rax
mov r9d, 0x85
mov qword [rsp + 0x28], rbx
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx]
lea r8d, [rax - 1]
call fcn.1402e4b50
mov dword [rsi], eax
lea r14, [r13 + 0x48]
jmp 0x140271a81
mov rbx, qword [rsp + 0x70]
cmp qword [rbp + 0xb8], 0
je 0x1402719eb
mov eax, dword [rsp + 0x68]
cmp dword [rbp - 0x24], eax
jg 0x140271f57
mov dword [rsp + 0x58], r12d
test edi, edi
je 0x140271a51
mov ecx, dword [rsp + 0x6c]
cmp edi, ecx
jbe 0x140271a3f
test ecx, ecx
mov eax, 0x40
cmovne eax, ecx
movsxd rbx, eax
cmp rbx, rdi
jae 0x140271a18
nop
add rbx, rbx
cmp rbx, rdi
jb 0x140271a10
call fcn.140319ef0
test eax, eax
jne 0x140271a5d
mov rcx, qword [rsp + 0x70]
mov rdx, rbx
call fcn.1402eff10
test rax, rax
je 0x140271a5d
mov dword [rsp + 0x6c], ebx
mov rbx, rax
mov qword [rsp + 0x70], rax
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsp + 0x58], edi
mov edx, r12d
mov dword [rsp + 0x54], edx
jmp 0x140271827
mov edx, r12d
mov dword [r13 + 0x3c], 7
mov dword [rsp + 0x54], edx
jmp 0x140271827
mov dword [rsi], 7
jmp 0x140271ae7
mov r14, rbx
test rdi, rdi
je 0x140271ae3
cmp dword [0x14046b030], 0
je 0x140271ad7
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x140271a9c
call qword [0x14046b0b0]
mov rcx, rdi
call qword [0x14046b068]
dec qword [0x140473788]
movsxd rcx, eax
sub qword [0x140473740], rcx
mov rcx, rdi
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x140271ad1
call qword [0x14046b0c0]
lea rbx, [r13 + 0x48]
jmp 0x140271ae3
mov rcx, rdi
call qword [0x14046b058]
mov rbx, r14
mov r14, qword [rbp + 0x18]
cmp dword [rsi], 0
jne 0x140271b50
mov rcx, qword [rbx]
mov r8, r15
mov edx, 1
call fcn.140227ce0
mov rcx, qword [rbx]
mov r9d, r12d
mov r8, r14
mov qword [rsp + 0x20], 0
mov edx, 2
call fcn.140227a60
mov rcx, qword [rbx]
call fcn.140228410
mov rcx, qword [rbx]
call fcn.1402296c0
mov rbx, qword [rbx]
mov edx, 1
mov rcx, rbx
mov dword [rsi], eax
call fcn.140323900
test eax, eax
jne 0x140271b50
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140271b50
call qword [0x14046b0c0]
cmp dword [rsi], 0
mov r15d, dword [rbp + 0xa0]
lea ebx, [r15 + 2]
jne 0x140271bb8
cmp ebx, dword [rbp - 0x1c]
jl 0x140271bb8
mov rdi, qword [rbp - 0x18]
call fcn.140319ef0
test eax, eax
jne 0x140271bb2
movsxd rdx, ebx
mov rcx, rdi
shl rdx, 5
call fcn.1402eff10
mov rdi, rax
test rax, rax
je 0x140271bb2
movsxd rdx, dword [rbp - 0x1c]
mov ecx, ebx
sub ecx, edx
movsxd r8, ecx
mov rcx, rdx
shl rcx, 5
xor edx, edx
add rcx, rax
shl r8, 5
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x1c], ebx
jmp 0x140271bb8
mov dword [rsi], 7
mov rbx, qword [rbp - 0x18]
add rbx, qword [rbp + 0x28]
cmp dword [rsi], 0
jne 0x140271c56
cmp dword [rbx + 0x38], 0
jne 0x140271c56
mov rdi, qword [rbx + 0x10]
lea rdx, [rbp + 0x30]
lea rcx, [rdi + 1]
call fcn.1402d4020
movzx eax, al
lea rcx, [rdi + 1]
add rcx, rax
lea rdx, [rbp + 0x30]
call fcn.1402d4020
mov eax, dword [rbx]
mov dword [rbx + 0x20], eax
mov r8d, dword [rbx + 0x38]
add r8d, 9
cmp r8d, dword [rbx + 0x3c]
jbe 0x140271c1a
lea rdx, [rbx + 0x30]
mov rcx, rsi
call fcn.1402d1230
test eax, eax
jne 0x140271c29
movsxd rcx, dword [rbx + 0x38]
mov rax, qword [rbx + 0x30]
mov byte [rcx + rax], 0
inc dword [rbx + 0x38]
movsxd r8, dword [rbx]
lea rdx, [rbx + 0x30]
mov rcx, rsi
call fcn.1402d10b0
mov rdi, qword [rbp + 0x30]
lea rdx, [rbx + 0x30]
mov r8, rdi
mov rcx, rsi
call fcn.1402d10b0
mov dword [rbx + 0x24], 1
mov qword [rbx + 0x28], rdi
mov rdi, qword [rbp + 0x20]
xor r12d, r12d
inc dword [rbx]
mov eax, dword [rbp + 0xb0]
mov dword [rbx + 0x18], r12d
mov dword [rbx + 4], r12d
jmp 0x140271c7a
mov eax, 1
mov dword [rbp + 0xb0], eax
cmp dword [rbx + 4], 0
je 0x140271c8d
mov r8, rdi
lea rdi, [rbx + 0x10]
sub r8, qword [rbx + 8]
jmp 0x140271cc4
mov r14d, dword [rbp - 0x68]
test r15d, r15d
je 0x140271c9a
mov r14d, dword [rbx - 0x20]
test eax, eax
lea rdi, [rbx + 0x10]
mov r8, r12
mov rdx, rdi
sete r8b
mov rcx, rsi
call fcn.1402d10b0
movsxd r8, r14d
mov rdx, rdi
mov rcx, rsi
call fcn.1402d10b0
mov r8, qword [rbp + 0x20]
mov rdx, rdi
mov rcx, rsi
call fcn.1402d10b0
mov rcx, qword [rbp + 0x28]
inc r15d
mov rdi, qword [rbp + 0x20]
add rcx, 0x20
mov eax, dword [rbp + 0xb0]
mov dword [rbx + 4], 1
mov qword [rbx + 8], rdi
cmp dword [rsi], 0
mov dword [rbp + 0xa0], r15d
mov qword [rbp + 0x28], rcx
je 0x140271904
movzx eax, byte [rbp - 0x27]
mov r15, qword [rbp + 0x40]
cmp byte [rbp - 0x28], 0
jne 0x140271d1e
test al, al
jne 0x140271d1e
mov r8, rdi
sub r8, qword [rbp - 0x30]
jmp 0x140271d21
mov r8, rdi
lea rcx, [r13 + 0x3c]
lea rdx, [rbp - 0x60]
call fcn.1402d10b0
mov qword [rbp - 0x30], rdi
mov word [rbp - 0x28], 0
cmp dword [rbp + 0x10], 1
jne 0x140271e4f
cmp byte [r15 + 0x84], 0
je 0x140271f25
mov eax, dword [rbp - 0x58]
mov ecx, dword [rbp - 0x54]
lea edx, [rax + 9]
cmp edx, ecx
jbe 0x140271db2
test ecx, ecx
mov eax, 0x40
cmovne eax, ecx
movsxd rbx, eax
mov eax, edx
cmp rbx, rax
jae 0x140271d79
add rbx, rbx
cmp rbx, rax
jb 0x140271d71
mov rdi, qword [rbp - 0x60]
call fcn.140319ef0
test eax, eax
jne 0x140271da5
mov rdx, rbx
mov rcx, rdi
call fcn.1402eff10
mov rcx, rax
test rax, rax
je 0x140271da5
mov qword [rbp - 0x60], rax
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x54], ebx
jmp 0x140271db6
mov eax, dword [rbp - 0x58]
mov dword [r13 + 0x3c], 7
jmp 0x140271dc4
mov rcx, qword [rbp - 0x60]
cdqe
mov byte [rax + rcx], 0
mov eax, dword [rbp - 0x58]
inc eax
mov dword [rbp - 0x58], eax
cmp dword [r15 + 0x80], 0
jle 0x140271f25
mov ecx, dword [rbp - 0x54]
lea edx, [rax + 9]
cmp edx, ecx
jbe 0x140271e3d
test ecx, ecx
mov eax, 0x40
cmovne eax, ecx
movsxd rbx, eax
mov eax, edx
cmp rbx, rax
jae 0x140271df8
add rbx, rbx
cmp rbx, rax
jb 0x140271df0
mov rdi, qword [rbp - 0x60]
call fcn.140319ef0
test eax, eax
jne 0x140271e30
mov rdx, rbx
mov rcx, rdi
call fcn.1402eff10
mov rcx, rax
test rax, rax
je 0x140271e30
mov qword [rbp - 0x60], rax
mov eax, dword [rbp - 0x58]
cdqe
mov dword [rbp - 0x54], ebx
mov byte [rax + rcx], 0
inc dword [rbp - 0x58]
jmp 0x140271f25
mov dword [r13 + 0x3c], 7
jmp 0x140271f25
mov rcx, qword [rbp - 0x60]
cdqe
mov byte [rax + rcx], 0
inc dword [rbp - 0x58]
jmp 0x140271f25
mov ecx, dword [r15 + 0x80]
movzx eax, byte [r15 + 0x84]
mov r8d, dword [rbp - 0x58]
lea ecx, [rax + rcx*2]
movsxd rdi, ecx
lea edx, [r8 + 9]
mov ecx, dword [rbp - 0x54]
cmp edx, ecx
jbe 0x140271ec3
test ecx, ecx
mov eax, 0x40
cmovne eax, ecx
movsxd rbx, eax
mov eax, edx
cmp rbx, rax
jae 0x140271e8f
add rbx, rbx
cmp rbx, rax
jb 0x140271e87
mov rsi, qword [rbp - 0x60]
call fcn.140319ef0
test eax, eax
jne 0x140271eb9
mov rdx, rbx
mov rcx, rsi
call fcn.1402eff10
test rax, rax
je 0x140271eb9
mov r8d, dword [rbp - 0x58]
mov dword [rbp - 0x54], ebx
mov qword [rbp - 0x60], rax
jmp 0x140271ec7
mov dword [r13 + 0x3c], 7
jmp 0x140271f0f
mov rax, qword [rbp - 0x60]
movsxd rcx, r8d
add rcx, rax
cmp rdi, 0x7f
ja 0x140271ee1
and dil, 0x7f
mov eax, 1
mov byte [rcx], dil
jmp 0x140271f0c
cmp rdi, 0x3fff
ja 0x140271f04
mov rax, rdi
shr rax, 7
or al, 0x80
and dil, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dil
mov eax, 2
jmp 0x140271f0c
mov rdx, rdi
call fcn.14027a2a0
add dword [rbp - 0x58], eax
lea r9, [0x140275c20]
mov rdx, r15
lea r8, [rbp - 0x70]
mov rcx, r13
call fcn.1402658c0
mov rsi, qword [rbp + 0xa8]
mov r14, qword [rsp + 0x60]
xor r9d, r9d
mov rdx, r14
xor r8d, r8d
mov rcx, r13
call fcn.1402775d0
mov rdx, r14
mov rcx, r13
call fcn.140276f20
test eax, eax
je 0x1402717d0
jmp 0x140271f5c
mov r14, qword [rsp + 0x60]
mov edi, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x78]
lea rdx, [rbp - 0x70]
mov rcx, r13
lea r8, [rsi + 8]
call fcn.140284b50
cmp dword [r13 + 0x3c], 0
jne 0x140271f99
cmp byte [r14 + 0x14], 0
jne 0x140271f99
mov rdx, r14
mov rcx, r13
call fcn.140282920
mov rax, qword [rbp - 0x80]
mov dword [rax], edi
jmp 0x1402720d0
movsxd r15, edi
test edi, edi
jle 0x140272085
mov r14, r12
nop word [rax + rax]
mov rax, qword [rbp - 0x80]
mov rcx, r13
mov rbx, qword [rax + 8]
add rbx, r14
mov rax, qword [rbx + 0x30]
sub rax, qword [rbx + 0x28]
add qword [rsi + 0x30], rax
movsxd rsi, dword [rbx]
mov rdx, rsi
shl rdx, 0x25
lea eax, [rsi + 1]
movsxd r8, eax
shl r8, 0x25
dec r8
call fcn.140266d40
mov ecx, dword [rbx + 0x20]
test ecx, ecx
je 0x140272012
lea eax, [rsi + 0x10000]
movsxd rdx, eax
lea eax, [rcx - 1]
movsxd r8, eax
mov rcx, r13
mov rax, rdx
shl rdx, 0x25
shl rax, 0x25
add r8, rax
call fcn.140266d40
cmp qword [r13 + 0x60], 0
jne 0x140272040
mov rdx, qword [r13]
lea rcx, str.DELETE_FROM__q._q_idx_WHERE_segid_
mov r8, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
call fcn.140225d20
mov r8, rax
lea rdx, [r13 + 0x60]
mov rcx, r13
call fcn.140272630
cmp dword [r13 + 0x3c], 0
jne 0x14027206e
mov rcx, qword [r13 + 0x60]
mov r8, rsi
mov edx, 1
call fcn.140227ce0
mov rcx, qword [r13 + 0x60]
call fcn.140228410
mov rcx, qword [r13 + 0x60]
call fcn.1402296c0
mov dword [r13 + 0x3c], eax
mov rsi, qword [rsp + 0x78]
add r14, 0x38
sub r15, 1
jne 0x140271fb0
mov edi, dword [rsp + 0x50]
mov rbx, qword [rbp - 0x80]
mov eax, dword [rbx + 4]
cmp eax, edi
je 0x1402720ab
mov rcx, qword [rbx + 8]
sub eax, edi
imul eax, eax, 0x38
movsxd rdx, edi
imul rdx, rdx, 0x38
movsxd r8, eax
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
mov rdx, qword [rbp - 0x78]
xor r12d, r12d
mov r14, qword [rsp + 0x60]
sub dword [rdx + 0x18], edi
sub dword [rbx + 4], edi
mov dword [rbx], r12d
cmp dword [rsi + 8], r12d
jne 0x1402720d0
mov rcx, qword [rbp + 0x38]
dec dword [rcx + 4]
dec dword [rdx + 0x18]
test r14, r14
je 0x1402722d9
cmp dword [r14 + 0x40], 0
jle 0x140272275
lea rbx, [r14 + 0x70]
nop dword [rax + rax]
lea rcx, [rbx + 0x58]
call fcn.1402d1140
mov rdi, qword [rbx]
test rdi, rdi
je 0x14027215c
cmp dword [0x14046b030], 0
je 0x140272153
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x14027211c
call qword [0x14046b0b0]
mov rcx, rdi
call qword [0x14046b068]
dec qword [0x140473788]
mov rcx, rdi
movsxd rdx, eax
sub qword [0x140473740], rdx
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x140272163
call qword [0x14046b0c0]
jmp 0x14027215c
mov rcx, rdi
call qword [0x14046b058]
mov rcx, qword [0x140473800]
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x1402721c0
cmp dword [0x14046b030], 0
je 0x1402721b7
test rcx, rcx
je 0x140272180
call qword [0x14046b0b0]
mov rcx, rdi
call qword [0x14046b068]
dec qword [0x140473788]
mov rcx, rdi
movsxd rdx, eax
sub qword [0x140473740], rdx
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402721c0
call qword [0x14046b0c0]
jmp 0x1402721c0
mov rcx, rdi
call qword [0x14046b058]
mov edx, dword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
call fcn.14026f600
mov rcx, qword [rbx + 0x50]
call fcn.140267370
mov rdi, qword [rbx + 0x48]
test rdi, rdi
je 0x140272239
cmp dword [0x14046b030], 0
je 0x140272230
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402721f9
call qword [0x14046b0b0]
mov rcx, rdi
call qword [0x14046b068]
dec qword [0x140473788]
mov rcx, rdi
movsxd rdx, eax
sub qword [0x140473740], rdx
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x140272239
call qword [0x14046b0c0]
jmp 0x140272239
mov rcx, rdi
call qword [0x14046b058]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx - 0x10], xmm0
inc r12d
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
add rbx, 0x88
cmp r12d, dword [r14 + 0x40]
jl 0x1402720f0
lea rcx, [r14 + 0x20]
call fcn.1402d1140
cmp dword [0x14046b030], 0
je 0x1402722d0
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x140272299
call qword [0x14046b0b0]
mov rcx, r14
call qword [0x14046b068]
dec qword [0x140473788]
mov rcx, r14
movsxd rdx, eax
sub qword [0x140473740], rdx
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402722e0
call qword [0x14046b0c0]
jmp 0x1402722d9
mov rcx, r14
call qword [0x14046b058]
mov rcx, qword [0x140473800]
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14027233e
cmp dword [0x14046b030], 0
je 0x140272335
test rcx, rcx
je 0x1402722fe
call qword [0x14046b0b0]
mov rcx, rbx
call qword [0x14046b068]
dec qword [0x140473788]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x140473740], rdx
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x14027233e
call qword [0x14046b0c0]
jmp 0x14027233e
mov rcx, rbx
call qword [0x14046b058]
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x14027234f
mov eax, dword [rbp - 0x24]
sub dword [rcx], eax
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret