Function at 0x140065810
Capabilities:
Encode data using base64

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, 0xd8
mov eax, dword [rcx + 0x70]
xor r14d, r14d
mov r15, qword [rcx]
mov r12, rdx
mov dword [rbp - 0x39], eax
mov rdi, rcx
mov ebx, 1
mov qword [rbp - 0x29], r14
mov rcx, r15
mov dword [rbp - 0x71], r14d
mov eax, dword [r15 + 0x34]
mov esi, r14d
mov edx, eax
mov dword [rbp - 0x41], r14d
shl edx, 8
mov r13d, r14d
or edx, 0x34
mov dword [rbp + 0x7f], ebx
mov dword [rbp + 0x77], r14d
mov dword [rbp - 0x6d], eax
mov dword [rbp - 0x3d], eax
call fcn.140052f70
mov ecx, dword [rbp - 0x6d]
mov dword [r12], ecx
mov dword [r12 + 8], select
mov qword [r12 + 0xc], 0xffffffffffffffff
mov edx, dword [r15 + 0x34]
mov dword [rbp - 0x49], eax
inc edx
movzx eax, byte [r15 + 0x5a]
cmp edx, eax
jbe 0x1400658b7
cmp edx, 0xfa
jae 0x14006688f
mov byte [r15 + 0x5a], dl
inc ecx
mov dword [r15 + 0x34], edx
cmp dword [rdi + 0x34], 0x7b
mov dword [rbp - 0x6d], ecx
jne 0x14006689e
mov ecx, dword [rdi + 0x38]
lea r12, [rdi + 0x10]
mov eax, dword [rdi + 0x70]
mov qword [rbp - 0x21], r12
mov dword [rdi + 0x74], eax
cmp ecx, 0x121
jne 0x1400658f2
mov rdx, r12
mov rcx, rdi
call fcn.14006fbe0
mov ecx, eax
jmp 0x140065901
mov rax, qword [rdi + 0x18]
mov qword [r12], rax
mov dword [rdi + 0x38], 0x121
mov dword [rdi + 0x34], ecx
mov dword [rbp - 0x45], listen
cmp ecx, 0x7d
je 0x140066680
mov ecx, dword [rdi + 0x34]
nop word [rax + rax]
mov dword [rbp - 0x69], r14d
cmp ecx, 0x5b
jne 0x140065acf
mov ecx, dword [rdi + 0x38]
mov eax, dword [rdi + 0x70]
mov dword [rdi + 0x74], eax
cmp ecx, 0x121
jne 0x14006594d
mov rdx, r12
mov rcx, rdi
call fcn.14006fbe0
mov ecx, eax
jmp 0x14006595c
mov rax, qword [rdi + 0x18]
mov qword [r12], rax
mov dword [rdi + 0x38], 0x121
mov dword [rdi + 0x34], ecx
lea rdx, [rsp + 0x30]
mov rcx, rdi
xor r8d, r8d
call fcn.140063e40
mov eax, dword [rbp - 0x79]
lea rdx, [rsp + 0x30]
mov rbx, qword [rdi]
mov rcx, rbx
cmp dword [rbp - 0x7d], eax
je 0x140065a05
call fcn.140064780
cmp dword [rsp + 0x38], 0xc
jne 0x1400659b4
mov eax, dword [rbp - 0x79]
cmp dword [rbp - 0x7d], eax
je 0x140065a0a
mov r8d, dword [rsp + 0x30]
cmp r8d, dword [rbx + 0x38]
jb 0x1400659b4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140066a40
jmp 0x140065a0a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140064780
cmp dword [rsp + 0x38], 0xc
jne 0x1400659d4
mov eax, dword [rbx + 0x38]
cmp dword [rsp + 0x30], eax
jb 0x1400659d4
dec dword [rbx + 0x34]
mov r8d, dword [rbx + 0x34]
movzx eax, byte [rbx + 0x5a]
lea ecx, [r8 + 1]
cmp ecx, eax
jbe 0x1400659f3
cmp ecx, 0xfa
jae 0x1400668ac
mov byte [rbx + 0x5a], cl
mov dword [rbx + 0x34], ecx
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140066a40
jmp 0x140065a0a
call fcn.140064780
cmp dword [rdi + 0x34], 0x5d
jne 0x1400668c9
mov ecx, dword [rdi + 0x38]
mov eax, dword [rdi + 0x70]
mov dword [rdi + 0x74], eax
cmp ecx, 0x121
jne 0x140065a34
mov rdx, r12
mov rcx, rdi
call fcn.14006fbe0
mov ecx, eax
jmp 0x140065a43
mov rax, qword [rdi + 0x18]
mov qword [r12], rax
mov dword [rdi + 0x38], 0x121
mov dword [rdi + 0x34], ecx
cmp dword [rsp + 0x38], 4
jle 0x140065a63
mov rdx, qword [rbp + 0x6f]
lea r8, [rsp + 0x30]
mov rcx, r15
call fcn.140065150
cmp dword [rsp + 0x38], 4
jne 0x140065a80
movabs rax, 0x7fffffffffffffff
test qword [rsp + 0x30], rax
jne 0x140065a80
mov ebx, 1
mov dword [rbp - 0x71], ebx
jmp 0x140065a88
inc dword [rbp + 0x77]
mov ebx, 1
cmp dword [rdi + 0x34], 0x3d
jne 0x1400668bb
mov ecx, dword [rdi + 0x38]
mov eax, dword [rdi + 0x70]
mov dword [rdi + 0x74], eax
cmp ecx, 0x121
jne 0x140065ab8
mov rdx, r12
mov rcx, rdi
call fcn.14006fbe0
mov ecx, eax
mov dword [rdi + 0x34], eax
jmp 0x140065b94
mov rax, qword [rdi + 0x18]
mov qword [r12], rax
mov dword [rdi + 0x38], 0x121
mov dword [rdi + 0x34], ecx
jmp 0x140065b94
cmp ecx, 0x11f
jne 0x140065b68
lea rdx, [rdi + 0x18]
mov rcx, rdi
call fcn.14006fbe0
mov dword [rdi + 0x38], eax
cmp eax, 0x3d
jne 0x140065b63
cmp dword [rdi + 0x34], 0x11f
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], r14d
mov qword [rbp - 0x7d], 0xffffffffffffffff
jne 0x1400668d7
mov rcx, qword [r12]
movabs rax, 0x7fffffffffff
and rcx, rax
mov dword [rdi + 0x38], 0x121
mov eax, dword [rdi + 0x70]
mov rdx, r12
mov dword [rdi + 0x74], eax
mov rax, qword [rdi + 0x18]
mov qword [r12], rax
mov dword [rdi + 0x34], 0x3d
mov qword [rsp + 0x30], rcx
mov rcx, rdi
call fcn.14006fbe0
mov r13d, dword [rbp + 0x77]
mov ebx, 1
inc r13d
mov dword [rdi + 0x34], eax
mov dword [rbp + 0x77], r13d
jmp 0x140065b98
mov ebx, 1
mov eax, dword [rbp + 0x7f]
mov dword [rsp + 0x38], 4
mov qword [rbp - 0x7d], 0xffffffffffffffff
mov dword [rbp - 0x69], ebx
movd xmm0, eax
inc eax
cvtdq2pd xmm0, xmm0
mov dword [rbp + 0x7f], eax
mov dword [rbp - 0x71], ebx
movsd qword [rsp + 0x30], xmm0
mov r13d, dword [rbp + 0x77]
xor r8d, r8d
lea rdx, [rbp - 0x61]
mov rcx, rdi
call fcn.140063e40
mov ecx, dword [rsp + 0x38]
cmp ecx, 4
jg 0x140065d94
test ecx, ecx
je 0x140065d94
cmp ecx, 3
je 0x140065bd7
cmp dword [rbp - 0x59], 4
jg 0x140065d94
mov eax, dword [rbp - 0x51]
cmp dword [rbp - 0x55], eax
jne 0x140065d94
test rsi, rsi
jne 0x140065cca
test r13d, r13d
je 0x140065bfd
cmp r13d, 1
jne 0x140065bf0
mov r8d, ebx
jmp 0x140065c00
lea eax, [r13 - 1]
bsr r8d, eax
inc r8d
jmp 0x140065c00
mov r8d, r14d
cmp dword [rbp - 0x71], 0
mov edx, r14d
mov rcx, qword [r15 + 0x10]
cmovne edx, dword [rbp + 0x7f]
call fcn.140091780
mov rsi, rax
mov qword [rbp - 0x29], rax
mov edx, dword [rax + 0x30]
test edx, edx
je 0x140065c39
mov rcx, qword [rax + 0x10]
mov r8d, edx
shl r8, 3
mov rdx, 0xffffffffffffffff
call fcn.1400cccc0
mov edx, dword [rsi + 0x34]
test edx, edx
je 0x140065c6d
mov rcx, qword [rsi + 0x28]
add rcx, 8
inc edx
nop word [rax + rax]
mov qword [rcx + 8], r14
mov qword [rcx], 0xffffffffffffffff
mov qword [rcx - 8], 0xffffffffffffffff
lea rcx, [rcx + 0x18]
sub rdx, 1
jne 0x140065c50
mov rdx, qword [r15]
lea r8, [rbp - 0x69]
movabs rcx, 0xfffa000000000000
mov rax, rsi
or rax, rcx
mov rcx, qword [r15 + 0x10]
mov qword [rbp - 0x69], rax
call fcn.140087490
mov rcx, rax
cmp dword [rax + 4], 0
jne 0x140065c9e
mov edx, dword [rax]
jmp 0x140065cb0
mov eax, dword [r15 + 0x40]
mov qword [rcx], rax
mov edx, dword [r15 + 0x40]
lea eax, [rdx + 1]
mov dword [r15 + 0x40], eax
mov ecx, dword [rbp - 0x49]
mov rax, qword [r15 + 0x48]
shl edx, 8
or edx, dword [rbp - 0x3d]
shl edx, 8
or edx, 0x35
mov dword [rax + rcx*8], edx
mov ecx, dword [rsp + 0x38]
mov dword [rbp - 0x69], r14d
mov r13d, r14d
cmp ecx, 2
jg 0x140065ce1
mov eax, ecx
shl rax, 0x2f
not rax
jmp 0x140065cf8
mov rax, qword [rsp + 0x30]
cmp ecx, 3
jne 0x140065cf8
movabs rcx, 0xfffd800000000000
or rax, rcx
mov rcx, qword [r15 + 0x10]
lea r8, [rbp - 0x31]
mov rdx, rsi
mov qword [rbp - 0x31], rax
call fcn.140087490
movzx r8d, byte [rsi + 8]
mov r9, rax
test r8b, 4
je 0x140065d36
mov rcx, qword [r15 + 0x10]
and r8b, 0xfb
mov rdx, qword [rcx + 0x10]
mov byte [rsi + 8], r8b
mov rcx, qword [rdx + 0x40]
mov qword [rsi + 0x18], rcx
mov qword [rdx + 0x40], rsi
mov ecx, dword [rbp - 0x59]
cmp ecx, 4
jg 0x140065d7a
mov eax, dword [rbp - 0x51]
cmp dword [rbp - 0x55], eax
jne 0x140065d7a
cmp ecx, 2
jg 0x140065d5c
mov eax, ecx
shl rax, 0x2f
not rax
mov qword [r9], rax
jmp 0x140066628
mov rax, qword [rbp - 0x61]
cmp ecx, 3
jne 0x140065d72
movabs rcx, 0xfffd800000000000
or rax, rcx
mov qword [r9], rax
jmp 0x140066628
movabs rcx, 0xfffa000000000000
mov dword [rbp - 0x41], ebx
mov rax, rsi
or rax, rcx
mov qword [r9], rax
mov ecx, dword [rsp + 0x38]
cmp dword [rbp - 0x59], 0xd
je 0x140065e1f
lea rdx, [rbp - 0x61]
mov rcx, r15
call fcn.140064780
cmp dword [rbp - 0x59], 0xc
jne 0x140065dc7
mov eax, dword [rbp - 0x51]
cmp dword [rbp - 0x55], eax
je 0x140065e17
mov rax, qword [rbp - 0x61]
cmp eax, dword [r15 + 0x38]
jb 0x140065dc7
mov r8d, eax
jmp 0x140065e0b
lea rdx, [rbp - 0x61]
mov rcx, r15
call fcn.140064780
cmp dword [rbp - 0x59], 0xc
jne 0x140065de6
mov eax, dword [r15 + 0x38]
cmp dword [rbp - 0x61], eax
jb 0x140065de6
dec dword [r15 + 0x34]
mov r8d, dword [r15 + 0x34]
movzx eax, byte [r15 + 0x5a]
lea ecx, [r8 + 1]
cmp ecx, eax
jbe 0x140065e07
cmp ecx, 0xfa
jae 0x1400668e5
mov byte [r15 + 0x5a], cl
mov dword [r15 + 0x34], ecx
lea rdx, [rbp - 0x61]
mov rcx, r15
call fcn.140066a40
mov ecx, dword [rsp + 0x38]
mov dword [rbp - 0x69], r14d
mov rbx, qword [rbp + 0x6f]
cmp ecx, 4
jg 0x140066615
mov dword [rbx + 8], 9
jne 0x140065e70
movsd xmm1, qword [rsp + 0x30]
cvttsd2si ecx, xmm1
movzx eax, cl
cmp ecx, eax
jne 0x140065fb4
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
ucomisd xmm1, xmm0
jp 0x140065fb4
jne 0x140065fb4
lea eax, [rcx + 0x100]
mov dword [rbx + 4], eax
jmp 0x140066615
movabs r13, 0xfffd800000000000
cmp ecx, 3
jne 0x140065ed0
mov rax, qword [rsp + 0x30]
lea r8, [rbp - 0x19]
mov rdx, qword [r15]
or rax, r13
mov rcx, qword [r15 + 0x10]
mov qword [rbp - 0x19], rax
call fcn.140087490
mov rcx, rax
cmp dword [rax + 4], 0
jne 0x140065ea8
mov ecx, dword [rax]
jmp 0x140065eba
mov eax, dword [r15 + 0x40]
mov qword [rcx], rax
mov ecx, dword [r15 + 0x40]
lea eax, [rcx + 1]
mov dword [r15 + 0x40], eax
cmp ecx, 0xff
ja 0x140065ecc
not ecx
mov dword [rbx + 4], ecx
jmp 0x140066615
mov ecx, dword [rsp + 0x38]
cmp ecx, 7
jne 0x140065ee4
mov edx, dword [rsp + 0x30]
shl edx, 0x10
or edx, 0x2d
jmp 0x140065fa0
cmp ecx, 8
jne 0x140065f35
mov rax, qword [rsp + 0x30]
lea r8, [rbp - 0x11]
mov rdx, qword [r15]
or rax, r13
mov rcx, qword [r15 + 0x10]
mov qword [rbp - 0x11], rax
call fcn.140087490
mov rcx, rax
cmp dword [rax + 4], 0
jne 0x140065f1b
mov edx, dword [rax]
shl edx, 0x10
or edx, 0x36
jmp 0x140065fa0
mov eax, dword [r15 + 0x40]
mov qword [rcx], rax
mov edx, dword [r15 + 0x40]
lea eax, [rdx + 1]
shl edx, 0x10
or edx, 0x36
mov dword [r15 + 0x40], eax
jmp 0x140065fa0
cmp ecx, 9
jne 0x14006601c
mov eax, dword [rsp + 0x34]
test eax, eax
jns 0x140065f5b
mov ecx, dword [rsp + 0x30]
not eax
mov edx, ecx
shl edx, 8
or edx, eax
shl edx, 0x10
or edx, 0x39
jmp 0x140065f96
cmp eax, 0xff
jbe 0x140065f7b
mov ecx, dword [rsp + 0x30]
lea edx, [rax - 0x100]
mov eax, ecx
shl eax, 8
or edx, eax
shl edx, 0x10
or edx, 0x3a
jmp 0x140065f96
cmp eax, dword [r15 + 0x38]
jb 0x140065f85
dec dword [r15 + 0x34]
mov ecx, dword [rsp + 0x30]
mov edx, ecx
shl edx, 8
or edx, eax
shl edx, 0x10
or edx, 0x38
cmp ecx, dword [r15 + 0x38]
jb 0x140065fa0
dec dword [r15 + 0x34]
mov rcx, r15
call fcn.140052f70
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x38], select
mov r14d, dword [r15 + 0x34]
movzx eax, byte [r15 + 0x5a]
lea ecx, [r14 + 1]
cmp ecx, eax
jbe 0x140065fd5
cmp ecx, 0xfa
jae 0x140066921
mov byte [r15 + 0x5a], cl
mov dword [r15 + 0x34], ecx
lea rdx, [rsp + 0x30]
mov rcx, r15
mov r8d, r14d
call fcn.140066c10
mov r9d, dword [rsp + 0x38]
cmp r9d, 0xa
jne 0x140066381
mov r8d, dword [rsp + 0x30]
cmp r8d, 0xffffffff
je 0x140066381
mov ecx, dword [rbp - 0x7d]
cmp ecx, 0xffffffff
jne 0x140066338
mov dword [rbp - 0x7d], r8d
jmp 0x140066381
cmp ecx, 0xd
jne 0x140066035
mov r14d, dword [rsp + 0x34]
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x38], select
jmp 0x140066052
cmp ecx, 6
jne 0x140066044
mov dword [rsp + 0x38], select
jmp 0x14006604d
cmp ecx, 0xc
jne 0x140065fb4
mov r14d, dword [rsp + 0x30]
mov eax, dword [rbp - 0x79]
cmp dword [rbp - 0x7d], eax
je 0x14006660e
cmp r14d, dword [r15 + 0x38]
jb 0x140065fb4
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140066c10
mov r9d, dword [rsp + 0x38]
cmp r9d, 0xa
jne 0x1400660e1
mov r8d, dword [rsp + 0x30]
cmp r8d, 0xffffffff
je 0x1400660e1
mov ecx, dword [rbp - 0x7d]
cmp ecx, 0xffffffff
jne 0x14006609c
mov dword [rbp - 0x7d], r8d
jmp 0x1400660e1
mov r9, qword [r15 + 0x48]
mov edx, ecx
movzx eax, word [r9 + rdx*8 + 2]
add eax, 0xffff8000
cmp eax, 0xffffffff
je 0x1400660bf
inc eax
add eax, ecx
cmp eax, 0xffffffff
je 0x1400660bf
mov ecx, eax
jmp 0x1400660a0
sub r8d, ecx
add r8d, 0x7fff
cmp r8d, 0xffff
ja 0x1400668f4
mov word [r9 + rdx*8 + 2], r8w
mov r9d, dword [rsp + 0x38]
mov r11d, dword [rbp - 0x79]
mov edx, dword [rbp - 0x7d]
cmp edx, r11d
je 0x1400665f9
mov r12d, 0xffffffff
mov r13d, r12d
cmp edx, r12d
je 0x140066152
mov r8, qword [r15 + 0x48]
nop dword [rax]
nop word [rax + rax]
cmp edx, 1
lea eax, [rdx - 1]
cmovb eax, edx
mov ecx, dword [r8 + rax*8]
movzx eax, cl
sub eax, 0xc
cmp eax, 1
jbe 0x140066136
and ecx, 0xff00
cmp ecx, 0xff00
jne 0x1400661b4
mov eax, edx
movzx ecx, word [r8 + rax*8 + 2]
add ecx, 0xffff8000
cmp ecx, r12d
je 0x140066152
inc edx
add edx, ecx
cmp edx, r12d
jne 0x140066110
mov edx, r11d
cmp r11d, r12d
je 0x140066225
mov r8, qword [r15 + 0x48]
nop dword [rax]
nop word [rax + rax]
cmp edx, 1
lea eax, [rdx - 1]
cmovb eax, edx
mov ecx, dword [r8 + rax*8]
movzx eax, cl
sub eax, 0xc
cmp eax, 1
jbe 0x140066196
and ecx, 0xff00
cmp ecx, 0xff00
jne 0x1400661b4
mov eax, edx
movzx ecx, word [r8 + rax*8 + 2]
add ecx, 0xffff8000
cmp ecx, r12d
je 0x140066225
inc edx
add edx, ecx
cmp edx, r12d
jne 0x140066170
jmp 0x140066225
cmp r9d, 0xa
jne 0x1400661bf
mov edi, r12d
jmp 0x1400661c9
mov rcx, r15
call fcn.1400535b0
mov edi, eax
mov ebx, r14d
mov rcx, r15
shl ebx, 8
mov edx, ebx
or edx, 0x1002b
call fcn.140052f70
mov edx, dword [r15 + 0x34]
mov rcx, r15
shl edx, 8
mov r12d, eax
or edx, 0x80010058
call fcn.140052f70
or ebx, 0x2002b
mov rcx, r15
mov edx, ebx
call fcn.140052f70
mov ecx, dword [r15 + 0x28]
lea rdx, [r15 + 0x30]
mov dword [r15 + 0x2c], ecx
mov r8d, edi
mov rcx, r15
mov r13d, eax
call fcn.14006ef20
mov r11d, dword [rbp - 0x79]
mov esi, dword [r15 + 0x28]
mov dword [r15 + 0x2c], esi
cmp r11d, 0xffffffff
je 0x1400665d3
nop word [rax + rax]
mov rcx, qword [r15 + 0x48]
mov edi, r11d
mov r9d, dword [rcx + rdi*8]
mov eax, r9d
shr eax, 0x10
add eax, 0xffff8000
cmp eax, 0xffffffff
jne 0x14006625f
mov ebx, eax
jmp 0x140066265
lea ebx, [rax + 1]
add ebx, r11d
cmp r11d, 1
lea eax, [r11 - 1]
cmovb eax, r11d
mov edx, eax
mov r8d, dword [rcx + rax*8]
movzx r10d, r8b
lea eax, [r10 - 0xc]
cmp eax, 1
jbe 0x1400662e1
shr r8d, 8
cmp r8b, 0xff
jne 0x1400662c4
cmp r14d, 0xff
jne 0x1400662ab
and r9d, 0xff00
or r9d, 0x80000058
mov dword [rcx + rdx*8], r9d
jmp 0x140066307
movzx eax, byte [rcx + rdx*8 + 9]
mov byte [rcx + rdx*8 + 1], r14b
cmp r14d, eax
jb 0x140066307
lea eax, [r14 + 1]
mov byte [rcx + rdx*8 + 9], al
jmp 0x140066307
mov eax, r12d
sub eax, r11d
add eax, 0x7fff
cmp eax, 0xffff
ja 0x140066903
mov word [rcx + rdi*8 + 2], ax
jmp 0x140066327
cmp r14d, 0xff
je 0x1400662fa
shr r8d, 0x10
cmp r14d, r8d
je 0x1400662fa
mov byte [rcx + rdx*8 + 1], r14b
jmp 0x140066307
add r10b, 2
mov byte [rcx + rdx*8 + 1], 0
mov byte [rcx + rdx*8], r10b
mov ecx, esi
sub ecx, r11d
add ecx, 0x7fff
cmp ecx, 0xffff
ja 0x140066912
mov rax, qword [r15 + 0x48]
mov word [rax + rdi*8 + 2], cx
mov r11d, ebx
cmp ebx, 0xffffffff
jne 0x140066240
jmp 0x1400665d3
mov r9, qword [r15 + 0x48]
nop dword [rax]
mov edx, ecx
movzx eax, word [r9 + rdx*8 + 2]
add eax, 0xffff8000
cmp eax, 0xffffffff
je 0x14006635f
inc eax
add eax, ecx
cmp eax, 0xffffffff
je 0x14006635f
mov ecx, eax
jmp 0x140066340
sub r8d, ecx
add r8d, 0x7fff
cmp r8d, 0xffff
ja 0x140066930
mov word [r9 + rdx*8 + 2], r8w
mov r9d, dword [rsp + 0x38]
mov r11d, dword [rbp - 0x79]
mov edx, dword [rbp - 0x7d]
cmp edx, r11d
je 0x1400665f9
mov r12d, 0xffffffff
mov r13d, r12d
cmp edx, r12d
je 0x1400663f2
mov r8, qword [r15 + 0x48]
nop dword [rax]
nop word [rax + rax]
cmp edx, 1
lea eax, [rdx - 1]
cmovb eax, edx
mov ecx, dword [r8 + rax*8]
movzx eax, cl
sub eax, 0xc
cmp eax, 1
jbe 0x1400663d6
and ecx, 0xff00
cmp ecx, 0xff00
jne 0x140066454
mov eax, edx
movzx ecx, word [r8 + rax*8 + 2]
add ecx, 0xffff8000
cmp ecx, r12d
je 0x1400663f2
inc edx
add edx, ecx
cmp edx, r12d
jne 0x1400663b0
mov edx, r11d
cmp r11d, r12d
je 0x1400664c5
mov r8, qword [r15 + 0x48]
nop dword [rax]
nop word [rax + rax]
cmp edx, 1
lea eax, [rdx - 1]
cmovb eax, edx
mov ecx, dword [r8 + rax*8]
movzx eax, cl
sub eax, 0xc
cmp eax, 1
jbe 0x140066436
and ecx, 0xff00
cmp ecx, 0xff00
jne 0x140066454
mov eax, edx
movzx ecx, word [r8 + rax*8 + 2]
add ecx, 0xffff8000
cmp ecx, r12d
je 0x1400664c5
inc edx
add edx, ecx
cmp edx, r12d
jne 0x140066410
jmp 0x1400664c5
cmp r9d, 0xa
jne 0x14006645f
mov edi, r12d
jmp 0x140066469
mov rcx, r15
call fcn.1400535b0
mov edi, eax
mov ebx, r14d
mov rcx, r15
shl ebx, 8
mov edx, ebx
or edx, 0x1002b
call fcn.140052f70
mov edx, dword [r15 + 0x34]
mov rcx, r15
shl edx, 8
mov r12d, eax
or edx, 0x80010058
call fcn.140052f70
or ebx, 0x2002b
mov rcx, r15
mov edx, ebx
call fcn.140052f70
mov ecx, dword [r15 + 0x28]
lea rdx, [r15 + 0x30]
mov dword [r15 + 0x2c], ecx
mov r8d, edi
mov rcx, r15
mov r13d, eax
call fcn.14006ef20
mov r11d, dword [rbp - 0x79]
mov esi, dword [r15 + 0x28]
mov dword [r15 + 0x2c], esi
cmp r11d, 0xffffffff
je 0x1400665d3
nop word [rax + rax]
mov rcx, qword [r15 + 0x48]
mov edi, r11d
mov r9d, dword [rcx + rdi*8]
mov eax, r9d
shr eax, 0x10
add eax, 0xffff8000
cmp eax, 0xffffffff
jne 0x1400664ff
mov ebx, eax
jmp 0x140066505
lea ebx, [rax + 1]
add ebx, r11d
cmp r11d, 1
lea eax, [r11 - 1]
cmovb eax, r11d
mov edx, eax
mov r8d, dword [rcx + rax*8]
movzx r10d, r8b
lea eax, [r10 - 0xc]
cmp eax, 1
jbe 0x140066581
shr r8d, 8
cmp r8b, 0xff
jne 0x140066564
cmp r14d, 0xff
jne 0x14006654b
and r9d, 0xff00
or r9d, 0x80000058
mov dword [rcx + rdx*8], r9d
jmp 0x1400665a7
movzx eax, byte [rcx + rdx*8 + 9]
mov byte [rcx + rdx*8 + 1], r14b
cmp r14d, eax
jb 0x1400665a7
lea eax, [r14 + 1]
mov byte [rcx + rdx*8 + 9], al
jmp 0x1400665a7
mov eax, r12d
sub eax, r11d
add eax, 0x7fff
cmp eax, 0xffff
ja 0x14006693f
mov word [rcx + rdi*8 + 2], ax
jmp 0x1400665c7
cmp r14d, 0xff
je 0x14006659a
shr r8d, 0x10
cmp r14d, r8d
je 0x14006659a
mov byte [rcx + rdx*8 + 1], r14b
jmp 0x1400665a7
add r10b, 2
mov byte [rcx + rdx*8 + 1], 0
mov byte [rcx + rdx*8], r10b
mov ecx, esi
sub ecx, r11d
add ecx, 0x7fff
cmp ecx, 0xffff
ja 0x14006694e
mov rax, qword [r15 + 0x48]
mov word [rax + rdi*8 + 2], cx
mov r11d, ebx
cmp ebx, 0xffffffff
jne 0x1400664e0
mov edx, dword [rbp - 0x7d]
mov r9d, r14d
mov r8d, esi
mov dword [rsp + 0x20], r13d
mov rcx, r15
call fcn.14006f0c0
mov rdi, qword [rbp + 0x67]
mov rbx, qword [rbp + 0x6f]
mov r12, qword [rbp - 0x21]
mov rsi, qword [rbp - 0x29]
mov dword [rsp + 0x38], select
mov dword [rsp + 0x30], r14d
mov qword [rbp - 0x7d], 0xffffffffffffffff
mov dword [rbx + 4], r14d
xor r14d, r14d
lea r8, [rbp - 0x61]
mov rdx, rbx
mov rcx, r15
call fcn.140053910
mov r13d, dword [rbp - 0x69]
mov eax, dword [rbp - 0x6d]
mov dword [r15 + 0x34], eax
mov ecx, dword [rdi + 0x34]
cmp ecx, 0x2c
je 0x14006663c
cmp ecx, 0x3b
jne 0x140066680
mov ecx, dword [rdi + 0x38]
mov eax, dword [rdi + 0x70]
mov dword [rdi + 0x74], eax
cmp ecx, 0x121
jne 0x14006665c
mov rdx, r12
mov rcx, rdi
call fcn.14006fbe0
mov ecx, eax
jmp 0x14006666b
mov rax, qword [rdi + 0x18]
mov qword [r12], rax
mov dword [rdi + 0x38], 0x121
mov dword [rdi + 0x34], ecx
cmp ecx, 0x7d
je 0x14006667d
mov ebx, 1
jmp 0x140065920
mov ecx, dword [rdi + 0x34]
mov eax, dword [rdi + 0x70]
cmp ecx, 0x7d
jne 0x140066849
mov ecx, dword [rdi + 0x38]
mov dword [rdi + 0x74], eax
cmp ecx, 0x121
jne 0x1400666a9
mov rdx, r12
mov rcx, rdi
call fcn.14006fbe0
mov ecx, eax
jmp 0x1400666b8
mov rax, qword [rdi + 0x18]
mov qword [r12], rax
mov dword [rdi + 0x38], 0x121
mov dword [rdi + 0x34], ecx
mov edi, dword [rbp + 0x7f]
test r13d, r13d
je 0x14006673e
mov edx, dword [r15 + 0x28]
mov rax, qword [r15 + 0x48]
dec edx
mov dword [rbp - 1], 4
mov qword [rbp + 3], 0xffffffffffffffff
mov dword [rbp - 5], 0x43300000
lea rbx, [rax + rdx*8]
lea eax, [rdi - 1]
mov dword [rbp - 9], eax
cmp edi, 0x100
jbe 0x1400666fd
mov dword [r15 + 0x28], edx
sub rbx, 8
mov rdx, qword [r15]
lea r8, [rbp - 9]
mov rcx, qword [r15 + 0x10]
call fcn.140087490
mov rcx, rax
cmp dword [rax + 4], 0
jne 0x14006671a
mov ecx, dword [rax]
jmp 0x14006672c
mov eax, dword [r15 + 0x3c]
mov qword [rcx], rax
mov ecx, dword [r15 + 0x3c]
lea eax, [rcx + 1]
mov dword [r15 + 0x3c], eax
shl ecx, 8
or ecx, dword [rbp - 0x6d]
shl ecx, 8
or ecx, 0x3f
mov byte [rbx - 5], 0
mov dword [rbx], ecx
mov eax, dword [r15 + 0x28]
mov ecx, dword [rbp - 0x49]
dec eax
cmp ecx, eax
mov rax, qword [rbp + 0x6f]
jne 0x140066757
mov dword [rax], ecx
dec dword [r15 + 0x34]
jmp 0x14006675e
mov dword [rbp - 0x45], select
mov edx, dword [rbp - 0x45]
mov dword [rax + 8], edx
test rsi, rsi
jne 0x1400667d3
mov rdx, rcx
mov r8, qword [r15 + 0x48]
cmp dword [rbp - 0x71], esi
jne 0x14006677a
mov r9d, r14d
jmp 0x140066795
cmp edi, 3
jae 0x140066787
mov r9d, 3
jmp 0x140066795
mov eax, 0x7ff
mov r9d, edi
cmp edi, eax
cmova r9d, eax
mov eax, dword [rbp + 0x77]
test eax, eax
je 0x1400667ae
cmp eax, 1
jne 0x1400667a5
mov ecx, eax
jmp 0x1400667b1
dec eax
bsr ecx, eax
inc ecx
jmp 0x1400667b1
mov ecx, r14d
shl cx, 0xb
or cx, r9w
mov word [r8 + rdx*8 + 2], cx
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rbp - 0x71], 0
je 0x1400667fe
cmp dword [rsi + 0x30], edi
jae 0x1400667fe
mov eax, dword [rsi + 0x34]
test eax, eax
je 0x1400667ec
bsr r14d, eax
inc r14d
mov rcx, qword [r15 + 0x10]
mov r9d, r14d
mov r8d, edi
mov rdx, rsi
call fcn.140087210
cmp dword [rbp - 0x41], 0
je 0x14006682d
mov edx, dword [rsi + 0x34]
mov rcx, qword [rsi + 0x28]
inc edx
nop dword [rax]
mov rax, qword [rcx]
sar rax, 0x2f
cmp eax, 0xfffffff4
jne 0x140066823
mov qword [rcx], 0xffffffffffffffff
add rcx, 0x18
sub rdx, 1
jne 0x140066810
mov rcx, qword [r15 + 0x10]
mov rdx, qword [rcx + 0x10]
mov rax, qword [rdx + 0x18]
cmp qword [rdx + 0x10], rax
jb 0x1400667bf
call fcn.140079ff0
jmp 0x1400667bf
mov esi, dword [rbp - 0x39]
mov edx, 0x7d
mov rcx, rdi
cmp esi, eax
je 0x14006695d
call fcn.14007b780
mov edx, 0x7b
mov rcx, rdi
mov rbx, rax
call fcn.14007b780
mov edx, dword [rdi + 0x34]
mov r9, rbx
mov r8d, 0xa36
mov dword [rsp + 0x28], esi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14007b190
int3
mov rcx, qword [r15 + 8]
mov edx, 0x9a2
call fcn.140063ac0
int3
mov edx, 0x7b
mov rcx, rdi
call fcn.140063ad0
int3
mov rcx, qword [rbx + 8]
mov edx, 0x9a2
call fcn.140063ac0
int3
mov edx, 0x3d
mov rcx, rdi
call fcn.140063ad0
int3
mov edx, 0x5d
mov rcx, rdi
call fcn.140063ad0
int3
mov edx, 0x11f
mov rcx, rdi
call fcn.140063ad0
int3
mov rcx, qword [r15 + 8]
mov edx, 0x9a2
call fcn.140063ac0
int3
mov rcx, qword [r15 + 8]
mov edx, 0x987
call fcn.140063ac0
int3
mov rcx, qword [r15 + 8]
mov edx, 0x987
call fcn.140063ac0
int3
mov rcx, qword [r15 + 8]
mov edx, 0x987
call fcn.140063ac0
int3
mov rcx, qword [r15 + 8]
mov edx, 0x9a2
call fcn.140063ac0
int3
mov rcx, qword [r15 + 8]
mov edx, 0x987
call fcn.140063ac0
int3
mov rcx, qword [r15 + 8]
mov edx, 0x987
call fcn.140063ac0
int3
mov rcx, qword [r15 + 8]
mov edx, 0x987
call fcn.140063ac0
int3
call fcn.140063ad0
int3