Function at 0x140032da0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov rbx, rcx
cmp byte [rdx + 0x4d], 0
jne 0x140032ef8
mov r12, qword [rdx + 0x10]
test r12, r12
je 0x140032ef8
mov qword [rsp + 0x88], rdx
movabs rax, 0x555555555555555
cmp r12, rax
ja 0x140034246
mov rax, qword [rsp + 0x88]
mov r13, qword [rax + 8]
movzx eax, byte [0x14034be90]
mov rcx, qword [0x14034bdf0]
test rcx, rcx
jne 0x140032e20
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140034246
mov rcx, rax
mov qword [0x14034bdf0], rax
lea rax, [r12*8]
lea rdi, [rax + rax*2]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140034246
mov rsi, rax
mov qword [rsp + 0x40], rbx
xor ebp, ebp
mov qword [rsp + 0x28], r12
jmp 0x140032ead
mov qword [0x14034bdf0], rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r15, rax
test rax, rax
je 0x140034246
dec r12
add r13, 0x18
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi + rbp], rbx
mov qword [rsi + rbp + 8], r15
mov qword [rsi + rbp + 0x10], rbx
add rbp, 0x18
test r12, r12
je 0x140032f0e
cmp rdi, rbp
je 0x140032f0e
mov r14, qword [r13 + 8]
mov rbx, qword [r13 + 0x10]
test rbx, rbx
je 0x140032ef0
js 0x140034246
movzx eax, byte [0x14034be90]
mov rax, qword [0x14034bdf0]
test rax, rax
jne 0x140032e67
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
jne 0x140032e60
jmp 0x140034246
mov r15d, 1
jmp 0x140032e81
movabs rax, 0x7ffffffffffffff8
add rax, 8
mov qword [rbx], rax
jmp 0x14003434e
mov rax, qword [rsp + 0x88]
mov rdi, qword [rax + 0x20]
mov rbx, qword [rax + 0x28]
test rbx, rbx
mov qword [rsp + 0x68], rbx
je 0x140032f86
mov rax, rbx
shr rax, 0x3d
jne 0x140034246
movzx eax, byte [0x14034be90]
mov rcx, qword [0x14034bdf0]
test rcx, rcx
jne 0x140032f61
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140034246
mov rcx, rax
mov qword [0x14034bdf0], rax
mov rbx, qword [rsp + 0x68]
lea r15, [rbx*4]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x140032f94
jmp 0x140034246
lea r15, [rbx*4]
mov r14d, 4
mov rcx, r14
mov rdx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x120], rbx
mov qword [rsp + 0x128], r14
mov qword [rsp + 0x130], rbx
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x88]
movdqu xmm0, xmmword [rax + 0x30]
movdqu xmmword [rsp + 0x138], xmm0
movzx eax, byte [rax + 0x48]
mov byte [rsp + 0x148], al
test al, al
mov rdi, rbx
je 0x14003303d
lea rax, [rsp + 0x108]
mov qword [rsp + 0x90], rax
cmp rdi, 0x15
jae 0x140033067
cmp rdi, 1
jbe 0x140033e74
lea r9, [rsp + 0x90]
mov r8d, 1
mov rcx, r14
mov rdx, rdi
call fcn.140028ed0
jmp 0x140033e74
cmp rdi, 0x15
jae 0x1400337bc
cmp rdi, 1
jbe 0x140033e74
mov r8d, 1
mov rcx, r14
mov rdx, rdi
call fcn.140028e40
jmp 0x140033e74
movzx eax, byte [0x14034be90]
mov rcx, qword [0x14034bdf0]
test rcx, rcx
jne 0x140033093
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140034246
mov rcx, rax
mov qword [0x14034bdf0], rax
movabs rax, 0x7ffffffffffffff8
lea r8, [rdi + rdi]
add rax, 4
and r8, rax
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140034246
movzx eax, byte [0x14034be90]
mov rcx, qword [0x14034bdf0]
test rcx, rcx
jne 0x1400330ea
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140034246
mov rcx, rax
mov qword [0x14034bdf0], rax
mov r8d, pe_nt_image_headers64
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140034246
mov rsi, rax
lea rax, [r14 - 0x10]
mov qword [rsp + 0xe0], rax
lea rax, [r14 + 0x10]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x30], r14
lea rax, [r14 - 4]
mov qword [rsp + 0x60], rax
mov eax, 0x10
mov qword [rsp + 0x78], rax
xor r14d, r14d
xor r15d, r15d
jmp 0x140033154
mov r15d, 1
mov r14, qword [rsp + 0x58]
cmp r14, rdi
jae 0x140033e4f
mov rax, rdi
sub rax, r14
mov rcx, qword [rsp + 0x30]
lea rcx, [rcx + r14*4]
cmp rax, 2
jae 0x1400331e0
mov r8, rax
mov rbx, rsi
lea rax, [r8 + r14]
mov rsi, rax
sub rsi, r14
jb 0x140034246
cmp rax, rdi
ja 0x140034246
jae 0x1400332a0
cmp r8, 0xa
jae 0x1400332a0
lea rsi, [r14 + 0xa]
cmp rsi, rdi
cmovae rsi, rdi
mov qword [rsp + 0x58], rsi
sub rsi, r14
jb 0x140034246
cmp r8, 1
adc r8, 0
mov rdx, rsi
lea r9, [rsp + 0x90]
call fcn.140028ed0
cmp r15, qword [rsp + 0x78]
je 0x1400332ac
jmp 0x140033328
mov r8d, dword [rcx + 4]
mov r9, qword [rsp + 0x90]
mov rdx, qword [r9 + 0x10]
cmp rdx, r8
jbe 0x140034246
mov r10d, dword [rcx]
cmp rdx, r10
jbe 0x140034246
mov r9, qword [r9 + 8]
lea r8, [r8 + r8*2]
mov r8, qword [r9 + r8*8 + 0x10]
lea r10, [r10 + r10*2]
cmp r8, qword [r9 + r10*8 + 0x10]
jbe 0x140033670
mov r8d, 2
cmp rax, 3
jb 0x14003326a
nop dword [rax]
mov r10d, dword [rcx + r8*4]
cmp rdx, r10
jbe 0x140034246
mov r11d, dword [rcx + r8*4 - 4]
cmp rdx, r11
jbe 0x140034246
lea r10, [r10 + r10*2]
mov r10, qword [r9 + r10*8 + 0x10]
lea r11, [r11 + r11*2]
cmp r10, qword [r9 + r11*8 + 0x10]
jbe 0x14003326a
inc r8
cmp rax, r8
jne 0x140033230
mov r8, rax
mov rax, r8
add rax, r14
jb 0x140034246
cmp rax, rdi
ja 0x140034246
cmp r8, 2
jae 0x1400336c0
mov rbx, rsi
jmp 0x140033173
mov qword [rsp + 0x58], rax
cmp r15, qword [rsp + 0x78]
jne 0x140033328
movzx eax, byte [0x14034be90]
mov rax, qword [0x14034bdf0]
test rax, rax
jne 0x1400332d5
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140034246
mov qword [0x14034bdf0], rax
mov r8, r15
shl r8, 5
mov rcx, rax
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140034246
mov rdi, rax
lea rax, [r15 + r15]
mov qword [rsp + 0x78], rax
mov r8, r15
shl r8, 4
mov rcx, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x14034bdf0]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rbx, rdi
mov rdi, qword [rsp + 0x68]
mov rax, r15
shl rax, 4
mov qword [rbx + rax], rsi
mov qword [rbx + rax + 8], r14
inc r15
mov rax, r15
cmp r15, 2
mov rsi, rbx
mov qword [rsp + 0x80], rbx
jae 0x1400333d4
jmp 0x140033146
mov rdi, rsi
mov rdx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x80]
add r13, rsi
add r14, rsi
sub r8, rdx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0xe8]
add rax, qword [rsp + 0x50]
mov qword [r14], rax
mov rax, qword [rsp + 0x48]
mov qword [r14 + 8], rax
lea rdx, [r13 + 0x10]
mov rax, qword [rsp + 0xf0]
not rax
mov r8, qword [rsp + 0x70]
add r8, rax
shl r8, 4
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rsp + 0xf8]
cmp rax, 1
mov rdi, qword [rsp + 0x68]
jbe 0x140033140
mov r15, rax
lea r10, [rax - 1]
mov rcx, r10
shl rcx, 4
mov rax, qword [rsi + rcx]
mov rcx, qword [rsi + rcx + 8]
add rcx, rax
cmp rcx, rdi
je 0x140033440
mov rdx, r15
shl rdx, 4
mov r8, qword [rdx + rsi - 0x20]
cmp r8, rax
jbe 0x140033440
cmp r15, 2
jbe 0x1400336d9
lea r11, [r15 - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [rsi + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x140033455
cmp r15, 3
jbe 0x1400337b1
add r8, rcx
cmp qword [rdx + rsi - 0x40], r8
jbe 0x140033455
jmp 0x140033146
cmp r15, 3
jb 0x14003345a
lea r11, [r15 - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [rsi + rcx]
cmp rcx, rax
jb 0x14003345e
lea r11, [r15 - 2]
cmp r15, r11
jbe 0x140034246
lea r14, [r11 + 1]
mov qword [rsp + 0x70], r15
cmp r15, r14
jbe 0x140034246
mov r13, r11
shl r13, 4
mov rcx, qword [rsi + r13 + 8]
shl r14, 4
mov rax, qword [rsi + r14]
mov rbx, qword [rsi + r14 + 8]
add rbx, rax
mov r12, rbx
sub r12, rcx
jb 0x140034246
cmp rbx, rdi
ja 0x140034246
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], r11
mov qword [rsp + 0xf8], r10
mov rdx, qword [rsi + r13]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rcx
lea rdi, [rax + rcx*4]
lea rsi, [rdi + rdx*4]
mov r15, r12
sub r15, rdx
cmp r15, rdx
mov qword [rsp + 0x50], rdx
jae 0x1400335b0
lea r8, [r15*4]
mov r12, qword [rsp + 0x28]
mov rcx, r12
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea r8, [r12 + r15*4]
cmp qword [rsp + 0x50], 0
jle 0x140033360
test r15, r15
jle 0x140033360
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
lea rcx, [rcx + rbx*4]
nop
mov edx, dword [r8 - 4]
mov r10, qword [rax + 0x10]
cmp r10, rdx
jbe 0x140034246
mov r9d, dword [rsi - 4]
cmp r10, r9
jbe 0x140034246
mov r10, qword [rax + 8]
lea rdx, [rdx + rdx*2]
mov rdx, qword [r10 + rdx*8 + 0x10]
lea r9, [r9 + r9*2]
mov r9, qword [r10 + r9*8 + 0x10]
xor r10d, r10d
xor r11d, r11d
cmp rdx, r9
setbe r10b
seta r11b
shl r11, 2
sub rsi, r11
shl r10, 2
sub r8, r10
cmp rdx, r9
mov rdx, r8
cmova rdx, rsi
mov edx, dword [rdx]
mov dword [rcx], edx
cmp rsi, rdi
jbe 0x140033360
add rcx, 0xfffffffffffffffc
cmp r8, qword [rsp + 0x28]
ja 0x140033530
jmp 0x140033360
lea r8, [rdx*4]
mov r15, qword [rsp + 0x28]
mov rcx, r15
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x50]
lea r8, [r15 + rax*4]
test rax, rax
jle 0x140033363
cmp r12, rax
jle 0x140033363
mov rax, qword [rsp + 0x30]
lea rax, [rax + rbx*4]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x28]
nop dword [rax]
mov r9d, dword [rsi]
mov r10, qword [rcx + 0x10]
cmp r10, r9
jbe 0x140034246
mov r11d, dword [rdx]
cmp r10, r11
jbe 0x140034246
mov rbx, qword [rcx + 8]
lea r10, [r9 + r9*2]
mov r15, qword [rbx + r10*8 + 0x10]
lea r12, [r11 + r11*2]
xor ebp, ebp
xor r10d, r10d
cmp r15, qword [rbx + r12*8 + 0x10]
setbe bpl
seta bl
cmovbe r9d, r11d
mov dword [rdi], r9d
add rdi, 4
lea rdx, [rdx + rbp*4]
cmp rdx, r8
jae 0x140033368
mov r10b, bl
lea rsi, [rsi + r10*4]
cmp rsi, rax
jb 0x140033600
jmp 0x140033368
mov r8d, 2
cmp rax, 3
jb 0x14003316c
mov r10d, dword [rcx + r8*4]
cmp rdx, r10
jbe 0x140034246
mov r11d, dword [rcx + r8*4 - 4]
cmp rdx, r11
jbe 0x140034246
lea r10, [r10 + r10*2]
mov r10, qword [r9 + r10*8 + 0x10]
lea r11, [r11 + r11*2]
cmp r10, qword [r9 + r11*8 + 0x10]
ja 0x14003316c
inc r8
cmp rax, r8
jne 0x140033680
jmp 0x140033169
mov r12, rax
mov rax, r8
shr rax, 1
mov rbx, rsi
cmp r8, 0x10
jae 0x1400336e4
xor edx, edx
jmp 0x140033766
mov r15d, 2
jmp 0x140033146
mov rdx, rax
movabs r9, 0x7ffffffffffffff8
and rdx, r9
mov r9, qword [rsp + 0xe0]
lea r9, [r9 + r12*4]
mov r10, qword [rsp + 0x100]
lea r10, [r10 + r14*4]
xor r11d, r11d
nop
movdqu xmm0, xmmword [r10 + r11*4 - 0x10]
movdqu xmm1, xmmword [r10 + r11*4]
movdqu xmm2, xmmword [r9 - 0x10]
movdqu xmm3, xmmword [r9]
pshufd xmm3, xmm3, 0x1b
pshufd xmm2, xmm2, 0x1b
movdqu xmmword [r10 + r11*4 - 0x10], xmm3
movdqu xmmword [r10 + r11*4], xmm2
pshufd xmm0, xmm0, 0x1b
movdqu xmmword [r9], xmm0
pshufd xmm0, xmm1, 0x1b
movdqu xmmword [r9 - 0x10], xmm0
add r11, 8
add r9, 0xffffffffffffffe0
cmp rdx, r11
jne 0x140033710
cmp rax, rdx
je 0x1400337a9
neg rax
mov r9, rdx
neg r9
shl rdx, 2
lea rdx, [rdx + r14*4]
add rdx, qword [rsp + 0x30]
mov r10, qword [rsp + 0x60]
lea r10, [r10 + r12*4]
nop word cs:[rax + rax]
mov r11d, dword [rdx]
mov esi, dword [r10 + r9*4]
mov dword [rdx], esi
mov dword [r10 + r9*4], r11d
dec r9
add rdx, 4
cmp rax, r9
jne 0x140033790
mov rax, r12
jmp 0x140033173
mov r15d, 3
jmp 0x140033146
movzx eax, byte [0x14034be90]
mov rcx, qword [0x14034bdf0]
test rcx, rcx
jne 0x1400337e8
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140034246
mov rcx, rax
mov qword [0x14034bdf0], rax
movabs rax, 0x7ffffffffffffff8
lea r8, [rdi + rdi]
add rax, 4
and r8, rax
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140034246
mov r13, rax
movzx eax, byte [0x14034be90]
mov rcx, qword [0x14034bdf0]
test rcx, rcx
jne 0x14003383d
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140034246
mov rcx, rax
mov qword [0x14034bdf0], rax
mov r8d, pe_nt_image_headers64
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140034246
lea rcx, [r14 - 0x10]
mov qword [rsp + 0x78], rcx
lea rcx, [r14 + 0x10]
mov qword [rsp + 0xe0], rcx
lea rcx, [r14 - 4]
mov qword [rsp + 0x80], rcx
mov ecx, 0x10
mov qword [rsp + 0x58], rcx
xor ebp, ebp
xor r15d, r15d
mov qword [rsp + 0x30], r14
jmp 0x1400338a4
mov r15d, 1
mov rbp, qword [rsp + 0x60]
cmp rbp, rdi
jae 0x140033e2c
mov r10, rdi
sub r10, rbp
lea rcx, [r14 + rbp*4]
cmp r10, 2
jae 0x140033920
mov r8, r10
lea r10, [r8 + rbp]
mov rsi, r10
sub rsi, rbp
jb 0x140034246
cmp r10, rdi
ja 0x140034246
jae 0x140033990
cmp r8, 0xa
jae 0x140033990
lea rsi, [rbp + 0xa]
cmp rsi, rdi
cmovae rsi, rdi
mov qword [rsp + 0x60], rsi
sub rsi, rbp
jb 0x140034246
mov rbx, rax
cmp r8, 1
adc r8, 0
mov rdx, rsi
call fcn.140028e40
mov rax, rbx
cmp r15, qword [rsp + 0x58]
je 0x14003399c
jmp 0x140033a1b
mov edx, dword [rcx + 4]
cmp edx, dword [rcx]
jae 0x140033d10
mov r8d, 2
cmp r10, 2
je 0x140033957
nop word [rax + rax]
mov r9d, edx
mov edx, dword [rcx + r8*4]
cmp edx, r9d
jae 0x140033957
inc r8
cmp r10, r8
jne 0x140033940
mov r8, r10
mov r10, r8
add r10, rbp
jb 0x140034246
cmp r10, rdi
ja 0x140034246
cmp r8, 2
jb 0x1400338bb
mov rbx, r8
shr rbx, 1
cmp r8, 0x10
jae 0x140033d48
mov r12, r10
xor edx, edx
jmp 0x140033dd6
mov qword [rsp + 0x60], r10
cmp r15, qword [rsp + 0x58]
jne 0x140033a1b
mov rbx, rax
movzx eax, byte [0x14034be90]
mov rax, qword [0x14034bdf0]
test rax, rax
jne 0x1400339c8
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140034246
mov qword [0x14034bdf0], rax
mov r8, r15
shl r8, 5
mov rcx, rax
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140034246
mov rdi, rax
lea rax, [r15 + r15]
mov qword [rsp + 0x58], rax
mov r8, r15
shl r8, 4
mov rcx, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x14034bdf0]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, rdi
mov rdi, qword [rsp + 0x68]
mov rcx, r15
shl rcx, 4
mov qword [rax + rcx], rsi
mov qword [rax + rcx + 8], rbp
inc r15
mov rcx, r15
cmp r15, 2
mov qword [rsp + 0xe8], rax
jae 0x140033ac1
jmp 0x140033896
mov r13, rsi
mov rdx, rsi
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
sub r8, rdx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0xf0]
add rax, r15
mov qword [rbx], rax
mov rax, qword [rsp + 0xf8]
mov qword [rbx + 8], rax
lea rdx, [rsi + 0x10]
mov rax, qword [rsp + 0x50]
not rax
mov r8, qword [rsp + 0x28]
add r8, rax
shl r8, 4
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov rcx, qword [rsp + 0x70]
cmp rcx, 1
mov rdi, qword [rsp + 0x68]
mov rax, qword [rsp + 0xe8]
jbe 0x140033890
mov r15, rcx
lea r11, [rcx - 1]
mov rcx, r11
shl rcx, 4
mov r10, qword [rax + rcx]
mov rcx, qword [rax + rcx + 8]
add rcx, r10
cmp rcx, rdi
je 0x140033b30
mov rdx, r15
shl rdx, 4
mov r8, qword [rdx + rax - 0x20]
cmp r8, r10
jbe 0x140033b30
cmp r15, 2
jbe 0x140033d3d
lea rbp, [r15 - 3]
mov rcx, rbp
shl rcx, 4
mov rcx, qword [rax + rcx]
lea r9, [r8 + r10]
cmp rcx, r9
jbe 0x140033b45
cmp r15, 3
jbe 0x140033e21
add r8, rcx
cmp qword [rdx + rax - 0x40], r8
jbe 0x140033b45
jmp 0x140033896
cmp r15, 3
jb 0x140033b4a
lea rbp, [r15 - 3]
mov rcx, rbp
shl rcx, 4
mov rcx, qword [rax + rcx]
cmp rcx, r10
jb 0x140033b4e
lea rbp, [r15 - 2]
cmp r15, rbp
jbe 0x140034246
lea rbx, [rbp + 1]
cmp r15, rbx
jbe 0x140034246
mov rsi, r13
mov rcx, rbp
shl rcx, 4
mov rdx, qword [rax + rcx + 8]
shl rbx, 4
mov r8, qword [rax + rbx]
mov r12, qword [rax + rbx + 8]
add r12, r8
mov r13, r12
sub r13, rdx
jb 0x140034246
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x28], r15
cmp r12, rdi
ja 0x140034246
mov qword [rsp + 0xf0], r8
mov qword [rsp + 0x70], r11
lea r8, [rax + rcx]
mov qword [rsp + 0x48], r8
mov r15, qword [rax + rcx]
add rbx, rax
mov qword [rsp + 0xf8], rdx
lea rdi, [r14 + rdx*4]
lea rbp, [rdi + r15*4]
mov r14, r13
sub r14, r15
cmp r14, r15
jae 0x140033c70
lea r8, [r14*4]
mov r13, rsi
mov rcx, rsi
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rsi + r14*4]
test r15, r15
jle 0x140033d00
test r14, r14
jle 0x140033d00
mov rax, qword [rsp + 0x80]
lea rax, [rax + r12*4]
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
mov ecx, dword [r8 - 4]
mov edx, dword [rbp - 4]
cmp ecx, edx
mov r9d, 0
sbb r9, r9
cmp ecx, edx
mov r10d, 0
adc r10, 0xffffffffffffffff
cmp ecx, edx
lea rbp, [rbp + r9*4]
lea r8, [r8 + r10*4]
mov rcx, r8
cmovb rcx, rbp
mov ecx, dword [rcx]
mov dword [rax], ecx
cmp rbp, rdi
jbe 0x140033c62
add rax, 0xfffffffffffffffc
cmp r8, r13
ja 0x140033c20
mov rdi, rbp
mov rdx, r13
jmp 0x140033a60
lea r8, [r15*4]
mov r14, rsi
mov rcx, rsi
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rsi + r15*4]
test r15, r15
jle 0x140033a50
cmp r13, r15
jle 0x140033a50
mov rax, qword [rsp + 0x30]
lea rax, [rax + r12*4]
mov r13, rsi
mov rdx, rsi
mov rsi, qword [rsp + 0x48]
mov r10d, dword [rbp]
mov r11d, dword [rdx]
xor r14d, r14d
xor ecx, ecx
cmp r10d, r11d
setae r14b
setb r9b
cmovb r11d, r10d
mov dword [rdi], r11d
add rdi, 4
lea rdx, [rdx + r14*4]
cmp rdx, r8
jae 0x140033ce8
mov cl, r9b
lea rbp, [rbp + rcx*4]
cmp rbp, rax
jb 0x140033cb0
mov r14, qword [rsp + 0x30]
jmp 0x140033a60
mov rdi, rbp
mov rdx, r13
jmp 0x140033a56
mov r8d, 2
cmp r10, 2
je 0x1400338b7
mov r9d, edx
mov edx, dword [rcx + r8*4]
cmp edx, r9d
jb 0x1400338b7
inc r8
cmp r10, r8
jne 0x140033d20
jmp 0x1400338b4
mov r15d, 2
jmp 0x140033896
mov rdx, rbx
movabs r9, 0x7ffffffffffffff8
and rdx, r9
mov r9, qword [rsp + 0x78]
mov r12, r10
lea r9, [r9 + r10*4]
mov r10, qword [rsp + 0xe0]
lea r10, [r10 + rbp*4]
xor r11d, r11d
nop word cs:[rax + rax]
movdqu xmm0, xmmword [r10 + r11*4 - 0x10]
movdqu xmm1, xmmword [r10 + r11*4]
movdqu xmm2, xmmword [r9 - 0x10]
movdqu xmm3, xmmword [r9]
pshufd xmm3, xmm3, 0x1b
pshufd xmm2, xmm2, 0x1b
movdqu xmmword [r10 + r11*4 - 0x10], xmm3
movdqu xmmword [r10 + r11*4], xmm2
pshufd xmm0, xmm0, 0x1b
movdqu xmmword [r9], xmm0
pshufd xmm0, xmm1, 0x1b
movdqu xmmword [r9 - 0x10], xmm0
add r11, 8
add r9, 0xffffffffffffffe0
cmp rdx, r11
jne 0x140033d80
cmp rbx, rdx
je 0x140033e19
neg rbx
mov r9, rdx
neg r9
shl rdx, 2
lea rdx, [rdx + rbp*4]
add rdx, r14
mov r10, qword [rsp + 0x80]
lea r10, [r10 + r12*4]
nop word cs:[rax + rax]
mov r11d, dword [rdx]
mov esi, dword [r10 + r9*4]
mov dword [rdx], esi
mov dword [r10 + r9*4], r11d
dec r9
add rdx, 4
cmp rbx, r9
jne 0x140033e00
mov r10, r12
jmp 0x1400338bb
mov r15d, 3
jmp 0x140033896
mov rcx, qword [0x14034bdf0]
xor edx, edx
mov r8, rax
mov rsi, qword [sym.imp.kernel32.dll_HeapFree]
call rsi
mov rcx, qword [0x14034bdf0]
xor edx, edx
mov r8, r13
jmp 0x140033e72
mov rcx, qword [0x14034bdf0]
xor edx, edx
mov r8, rsi
mov rsi, qword [sym.imp.kernel32.dll_HeapFree]
call rsi
mov rcx, qword [0x14034bdf0]
xor edx, edx
mov r8, qword [rsp + 0x28]
call rsi
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0xd0], rax
movdqu xmm0, xmmword [rsp + 0x108]
movdqu xmm1, xmmword [rsp + 0x118]
movdqu xmm2, xmmword [rsp + 0x128]
movdqu xmm3, xmmword [rsp + 0x138]
movdqa xmmword [rsp + 0xc0], xmm3
movdqa xmmword [rsp + 0xb0], xmm2
movdqa xmmword [rsp + 0xa0], xmm1
movdqa xmmword [rsp + 0x90], xmm0
movzx eax, byte [0x14034be90]
mov rcx, qword [0x14034bdf0]
test rcx, rcx
jne 0x140033ef8
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140034246
mov rcx, rax
mov qword [0x14034bdf0], rax
mov r8d, 0x58
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140034246
mov rbx, rax
mov qword [rax], 1
mov qword [rax + 8], 1
movdqa xmm0, xmmword [rsp + 0x90]
movdqa xmm1, xmmword [rsp + 0xa0]
movdqa xmm2, xmmword [rsp + 0xb0]
movdqa xmm3, xmmword [rsp + 0xc0]
movdqu xmmword [rax + 0x10], xmm0
movdqu xmmword [rax + 0x20], xmm1
movdqu xmmword [rax + 0x30], xmm2
movdqu xmmword [rax + 0x40], xmm3
mov rax, qword [rsp + 0xd0]
mov qword [rbx + 0x50], rax
cmp qword [rbx + 0x20], 0
je 0x140034246
mov r8, qword [rbx + 0x40]
mov rsi, r8
cmp r8, 1
je 0x140033fc8
test r8, r8
je 0x140034246
lea rcx, [r8 - 1]
lea rdx, [r8 - 2]
mov eax, ecx
and eax, 7
cmp rdx, 7
jae 0x140033fa0
mov esi, 1
jmp 0x140033fba
and rcx, 0xfffffffffffffff8
mov esi, 1
nop dword [rax]
shl rsi, 8
add rcx, 0xfffffffffffffff8
jne 0x140033fb0
test rax, rax
je 0x140033fc8
nop
add rsi, rsi
dec rax
jne 0x140033fc0
lock inc qword [rbx]
jle 0x140034246
mov qword [rsp + 0x28], r8
movzx eax, byte [0x14034be90]
mov rcx, qword [0x14034bdf0]
test rcx, rcx
jne 0x140034003
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140034246
mov rcx, rax
mov qword [0x14034bdf0], rax
mov r8d, 0x600
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140034246
mov r14, rax
mov qword [rsp + 0x70], rsi
xor eax, eax
nop word cs:[rax + rax]
mov qword [r14 + rax], 0
mov qword [r14 + rax + 8], 8
mov qword [r14 + rax + 0x10], 0
add rax, 0x18
cmp rax, 0x5e8
jne 0x140034030
mov qword [r14 + rax], 0
mov qword [r14 + rax + 8], 8
mov qword [r14 + rax + 0x10], 0
mov r10, qword [rsp + 0x28]
lea r12, [r10 - 1]
mov r13d, r10d
and r13d, 7
mov rax, r10
and rax, 0xfffffffffffffff8
mov qword [rsp + 0x50], rax
xor edi, edi
jmp 0x1400340a7
inc rdi
mov rax, qword [rsi + 8]
shl rdx, 4
mov qword [rax + rdx], r15
mov dword [rax + rdx + 8], ebp
inc qword [rsi + 0x10]
mov rsi, qword [rbx + 0x20]
cmp rdi, rsi
mov rax, qword [rsp + 0x88]
jae 0x1400341b3
cmp rdi, qword [rbx + 0x38]
jae 0x140034246
mov rax, qword [rbx + 0x30]
mov ebp, dword [rax + rdi*4]
cmp rsi, rbp
jbe 0x140034246
mov rax, qword [rbx + 0x18]
lea rcx, [rbp*2]
add rcx, rbp
cmp r10, qword [rax + rcx*8 + 0x10]
ja 0x140034246
mov rax, qword [rax + rcx*8 + 8]
cmp r12, 7
jae 0x140034100
xor r15d, r15d
jmp 0x140034168
mov rcx, qword [rsp + 0x50]
xor r15d, r15d
nop dword [rax + rax]
movzx edx, byte [rax]
movzx r8d, byte [rax + 1]
add rdx, rdx
lea rdx, [rdx + r15*4]
add rdx, r8
movzx r8d, byte [rax + 2]
movzx r9d, byte [rax + 3]
add r8, r8
lea rdx, [r8 + rdx*4]
add rdx, r9
movzx r8d, byte [rax + 4]
movzx r9d, byte [rax + 5]
add r8, r8
lea rdx, [r8 + rdx*4]
add rdx, r9
movzx r8d, byte [rax + 6]
movzx r9d, byte [rax + 7]
add rax, 8
add r8, r8
lea r15, [r8 + rdx*4]
add r15, r9
add rcx, 0xfffffffffffffff8
jne 0x140034110
test r13, r13
je 0x140034180
xor ecx, ecx
nop
movzx edx, byte [rax + rcx]
lea r15, [rdx + r15*2]
inc rcx
cmp r13, rcx
jne 0x140034170
mov eax, r15d
and eax, 0x3f
lea rax, [rax + rax*2]
lea rsi, [r14 + rax*8]
mov rdx, qword [r14 + rax*8 + 0x10]
cmp rdx, qword [r14 + rax*8]
jne 0x140034090
mov rcx, rsi
call fcn.140181d80
mov r10, qword [rsp + 0x28]
mov rdx, qword [rsi + 0x10]
jmp 0x140034090
test byte [rax + 0x4a], 1
jne 0x140034238
lock inc qword [rbx]
jle 0x140034246
movzx ebp, byte [rax + 0x49]
movzx r15d, byte [rax + 0x4c]
movzx r13d, byte [rax + 0x4b]
mov qword [rsp + 0x38], rbx
test bpl, bpl
je 0x1400341e5
cmp rsi, 0x40
ja 0x1400342c1
mov rax, qword [rbx + 0x40]
cmp rax, 4
mov r12d, 4
cmovb r12, rax
mov rdi, qword [0x14034be88]
test rdi, rdi
je 0x140034251
and rdi, 0x8000
jne 0x140034267
mov rax, qword [0x14034be88]
test rax, rax
je 0x14003452a
test r15b, 1
jne 0x1400342c1
cmp r15b, 2
jne 0x140034248
test eax, 0x200
jne 0x140034275
jmp 0x1400342c1
xor eax, eax
xor ecx, ecx
mov rsi, qword [rsp + 0x40]
jmp 0x14003430e
ud2
test eax, 0x200
je 0x1400342c1
jmp 0x14003427c
call fcn.14027a2b0
mov r10, qword [rsp + 0x28]
mov rdi, rax
and rdi, 0x8000
je 0x14003420c
mov al, 1
test r15b, 1
jne 0x14003427e
cmp r15b, 2
jne 0x14003427c
shr edi, 0xf
mov eax, edi
jmp 0x14003427e
xor eax, eax
test r13d, r13d
je 0x140034299
cmp r13d, 2
jne 0x14003429d
cmp rsi, 0x21
setae dl
test al, al
setne cl
and cl, dl
jmp 0x1400342a3
xor ecx, ecx
jmp 0x1400342a3
mov cl, 1
test al, al
je 0x1400342c1
test bpl, bpl
je 0x1400343df
cmp r12, 1
jne 0x1400343df
cmp qword [rbx + 0x20], 0x10
jbe case.0x1400343fa.1
mov qword [rsp + 0x90], 0
lock dec qword [rbx]
mov rsi, qword [rsp + 0x40]
jne 0x1400342e7
dec r12
cmp r12, 3
ja case.default.0x1400343fa
lea rdx, [0x140337c24]
movsxd r8, dword [rdx + r12*4]
add r8, rdx
jmp r8
test al, al
je 0x140034436
test cl, cl
je 0x140034469
mov rax, qword [0x14034be88]
test rax, rax
je 0x1400345e6
add dword [rax], eax
invalid
test ax, ax
mov rsi, qword [rsp + 0x40]
jns 0x140034487
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x38]
call fcn.140017fa0
jmp 0x14003462d
invalid
add dword [rax], eax
invalid
mov rax, qword [0x14034be88]
mov rax, qword [0x14034be88]
test rax, rax
je 0x140034603
add dword [rax], eax
invalid
test ax, ax
mov rsi, qword [rsp + 0x40]
js 0x14003461b
mov qword [rsp + 0x90], 0
mov rsi, qword [rsp + 0x40]
jmp 0x140034632
test al, al
mov rsi, qword [rsp + 0x40]
je 0x140034543
test cl, cl
je 0x140034588
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x38]
call fcn.1400191b0
jmp 0x14003462d
test al, al
mov rsi, qword [rsp + 0x40]
je 0x14003455a
test cl, cl
je 0x14003459f
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x38]
call fcn.14001a380
jmp 0x14003462d
test al, al
mov rsi, qword [rsp + 0x40]
je 0x140034571
test cl, cl
je 0x1400345b3
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x38]
call fcn.14001b6a0
jmp 0x14003462d
call fcn.14027a2b0
mov r10, qword [rsp + 0x28]
test r15b, 1
je 0x140034226
jmp 0x1400342c1
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x38]
call fcn.140009f80
jmp 0x14003462d
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x38]
call fcn.14000afa0
jmp 0x14003462d
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x38]
call fcn.14000c220
jmp 0x14003462d
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x38]
call fcn.14000fa70
jmp 0x14003462d
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x38]
call fcn.1400121b0
jmp 0x14003462d
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x38]
call fcn.140014d70
jmp 0x14003462d
call fcn.14027a2b0
mov r10, qword [rsp + 0x28]
test ax, ax
mov rsi, qword [rsp + 0x40]
jns 0x140034487
jmp 0x14003441f
call fcn.14027a2b0
mov r10, qword [rsp + 0x28]
test ax, ax
mov rsi, qword [rsp + 0x40]
jns 0x140034487
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x38]
call fcn.14000d7e0