Function at 0x140008320
Capabilities:
Encode data using base64
Get hostname

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x348
movdqa xmmword [rsp + 0x330], xmm8
movdqa xmmword [rsp + 0x320], xmm7
movdqa xmmword [rsp + 0x310], xmm6
lea rsi, [rsp + 0x240]
mov rcx, rsi
call fcn.140043f00
mov rcx, rsi
call fcn.1400441d0
mov dword [rsp + 0xb0], 0
lea r8, [rsp + 0xb0]
mov ecx, 5
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x1400083b3
mov edi, dword [rsp + 0xb0]
test rdi, rdi
je 0x1400083c5
lea rdx, [rdi + rdi]
mov ecx, 8
call fcn.14003d220
test rax, rax
je 0x14000af66
mov rbx, rax
jmp 0x1400083ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [rsp + 0xb0]
test rdi, rdi
jne 0x140008397
mov ebx, 2
movabs r12, 0x8000000000000000
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdi
lea rsi, [rsp + 0xb0]
mov ecx, 5
mov rdx, rbx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140008423
test rdi, rdi
je 0x140008445
lea rax, [rdi + rdi]
xor r14d, r14d
nop dword [rax]
cmp word [rbx + r14*2], 0
je 0x140008449
inc r14
add rax, 0xfffffffffffffffe
jne 0x140008410
jmp 0x14000845d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rdi, rdi
je 0x140008440
mov rcx, qword [0x141db1a00]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r13, r12
jmp 0x1400084a2
xor edi, edi
jmp 0x14000845d
mov r15, r14
sub r15, rdi
ja 0x14000ae6f
mov qword [rsp + 0x60], r14
mov rdi, r14
lea rcx, [rsp + 0xe0]
mov rdx, rbx
mov r8, rdi
call fcn.140012590
mov r13, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
mov r14, qword [rsp + 0xf0]
cmp qword [rsp + 0x50], 0
je 0x1400084a2
mov rcx, qword [0x141db1a00]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rax, [0x141d9c7da]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
movabs rax, 0xa2e958977bf539de
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x50]
mov rdx, qword [rsp + 0x50]
call fcn.1400071f0
movabs rcx, 0xdd9e1b50785bb61c
xor rcx, qword [rax]
mov edx, 0xc076916a
xor edx, dword [rax + 8]
movzx r8d, byte [rax + 0xe]
movzx eax, word [rax + 0xc]
mov r9d, eax
shr r9d, 8
xor al, 0xa7
xor r9b, 0xd0
xor r8b, 0x20
mov r10d, 1
mov qword [rsp + 0xe0], rcx
mov dword [rsp + 0xe8], edx
mov byte [rsp + 0xec], al
mov byte [rsp + 0xed], r9b
mov byte [rsp + 0xee], r8b
cmp r13, r12
cmovne r10, rdi
je 0x140008560
cmp r14, 0xf
jne 0x140008560
mov rax, qword [rdi]
xor rax, qword [rsp + 0xe0]
mov rcx, qword [rdi + 7]
xor rcx, qword [rsp + 0xe7]
or rcx, rax
je 0x140009542
mov qword [rsp + 0x228], r10
lea rcx, [rsp + 0xe0]
call fcn.140044f40
cmp byte [rsp + 0xe0], 0x12
jne 0x14000af66
lea rsi, [rsp + 0xc0]
lea rax, [0x141d9bab1]
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0xe0], eax
lea rax, [0x141d9dd08]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0xe0]
mov rcx, qword [rsp + 0xe0]
movabs rax, 0x693bc72c1eb57030
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0xe0]
mov rdx, qword [rsp + 0xe0]
call fcn.1400069e0
movabs rcx, 0x6d35da54035ffe92
xor rcx, qword [rax]
movabs rdx, 0x791441e719991c0b
xor rdx, qword [rax + 8]
movabs r8, 0xf0e98d1bd433f713
xor r8, qword [rax + 0x10]
movabs r9, 0x65c30754e81b3a7e
xor r9, qword [rax + 0x18]
movzx r10d, byte [rax + 0x22]
movzx eax, word [rax + 0x20]
mov r11d, eax
shr r11d, 8
xor al, 0xc0
xor r11b, 0x3d
xor r10b, 0x19
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov byte [rsp + 0x70], al
mov byte [rsp + 0x71], r11b
mov byte [rsp + 0x72], r10b
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], 0x23
mov qword [rsp + 0x38], rsi
lea rax, [0x1400040e0]
mov qword [rsp + 0x40], rax
lea rax, [0x14005a6d8]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], 2
mov qword [rsp + 0x100], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 1
lea rcx, [rsp + 0xe0]
call fcn.140032db0
test r13, r13
je 0x14000a7cb
mov rcx, qword [0x141db1a00]
xor edx, edx
mov r8, rdi
jmp 0x14000a7c5
mov qword [rsp + 0x20], 2
lea rcx, [rsp + 0x50]
mov r9d, 2
mov rdx, rdi
mov r8, r15
call fcn.1400580b0
mov rbx, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
lea rcx, [rbx + r12*2]
cmp r15, 2
jb 0x14000aec7
not rdi
add r14, rdi
add r14, r14
xor edx, edx
mov r8, r14
call fcn.140053f10
lea rax, [r12 + r15]
lea rcx, [rbx + rax*2]
add rcx, 0xfffffffffffffffe
add r12, r15
dec r12
mov word [rcx], 0
inc r12
mov r14, r12
movabs r12, 0x8000000000000000
jmp 0x140008455