Function at 0x1801739b0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov ebp, dword [rsp + 0x98]
xor edi, edi
mov eax, ebp
xor ebx, ebx
and eax, 0xfffffff9
xor r14d, r14d
xor r12d, r12d
xor esi, esi
mov r15, r9
mov r13, r8
mov r10, rdx
mov r11, rcx
cmp eax, 1
je 0x180173a06
call fcn.180174dd0
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x60]
mov eax, ebp
mov rbp, qword [rsp + 0x80]
and eax, 4
mov dword [rsp + 0x78], eax
test r15, r15
je 0x180173bea
movsx r9d, byte [rbx + r13]
mov ecx, 0x7a
sub ecx, r9d
mov r8d, r9d
test eax, eax
mov eax, r9d
lea edx, [r9 - 0x41]
je 0x180173aca
xor eax, 0x5f
xor r8d, 0x2d
neg eax
neg r8d
shr eax, 8
not eax
shr r8d, 8
not r8d
and r8d, 0xfffffffe
or r8d, eax
lea eax, [r9 - 0x61]
or ecx, eax
and r8d, 0x3f
shr ecx, 8
lea eax, [r9 - 0x47]
not ecx
and ecx, eax
lea eax, [r9 - 0x30]
or r8d, ecx
mov ecx, reloc.WS2_32.dll_gethostname
sub ecx, r9d
or ecx, eax
lea eax, [r9 + 4]
shr ecx, 8
not ecx
and ecx, eax
mov eax, 0x5a
sub eax, r9d
or r8d, ecx
or eax, edx
mov ecx, r9d
shr eax, 8
xor ecx, 0x41
not eax
neg ecx
and eax, edx
shr ecx, 8
or r8d, eax
movzx edx, r8b
mov eax, edx
neg eax
shr eax, 8
not eax
and ecx, eax
movzx eax, cl
or eax, edx
jmp 0x180173b52
xor eax, 0x2f
xor r8d, 0x2b
neg eax
neg r8d
shr eax, 8
not eax
shr r8d, 8
not r8d
and r8d, 0xfffffffe
or r8d, eax
lea eax, [r9 - 0x61]
or ecx, eax
and r8d, 0x3f
shr ecx, 8
lea eax, [r9 - 0x47]
not ecx
and ecx, eax
lea eax, [r9 - 0x30]
or r8d, ecx
mov ecx, reloc.WS2_32.dll_gethostname
sub ecx, r9d
or ecx, eax
lea eax, [r9 + 4]
shr ecx, 8
not ecx
and ecx, eax
mov eax, 0x5a
sub eax, r9d
or r8d, ecx
or eax, edx
mov ecx, r9d
shr eax, 8
xor ecx, 0x41
not eax
neg ecx
and eax, edx
shr ecx, 8
or r8d, eax
movzx r8d, r8b
mov eax, r8d
neg eax
shr eax, 8
not eax
and ecx, eax
movzx eax, cl
or eax, r8d
cmp eax, 0xff
jne 0x180173b70
test rbp, rbp
je 0x180173bc3
mov edx, r9d
mov rcx, rbp
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x180173bc3
jmp 0x180173b96
shl esi, 6
add rdi, 6
add esi, eax
cmp rdi, 8
jb 0x180173b96
sub rdi, 8
cmp r14, r10
jae 0x180173bb1
mov eax, esi
mov rcx, rdi
shr eax, cl
mov byte [r14 + r11], al
inc r14
inc rbx
cmp rbx, r15
jae 0x180173bc3
mov eax, dword [rsp + 0x78]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x60]
jmp 0x180173a20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r12d, 0xffffffff
mov dword [rax], 0x22
mov rcx, rdi
cmp rdi, 4
ja 0x180173c93
mov eax, 1
shl eax, cl
dec eax
test esi, eax
jne 0x180173c93
test r12d, r12d
jne 0x180173c99
test byte [rsp + 0x98], 2
jne 0x180173c35
shr rdi, 1
je 0x180173c32
nop dword [rax]
cmp rbx, r15
jae 0x180173c87
movsx edx, byte [rbx + r13]
cmp edx, 0x3d
jne 0x180173c18
dec rdi
jmp 0x180173c2a
test rbp, rbp
je 0x180173c70
mov rcx, rbp
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x180173c70
inc rbx
test rdi, rdi
jne 0x180173c00
xor r12d, r12d
test rbp, rbp
je 0x180173c5a
cmp rbx, r15
jae 0x180173c5a
nop
movsx edx, byte [rbx + r13]
mov rcx, rbp
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x180173c5a
inc rbx
cmp rbx, r15
jb 0x180173c40
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x180173c9e
lea rax, [rbx + r13]
mov qword [rcx], rax
jmp 0x180173cb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r12d, 0xffffffff
xor r14d, r14d
mov dword [rax], socket
jmp 0x180173c5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
mov r12d, 0xffffffff
xor r14d, r14d
jmp 0x180173c5a
cmp rbx, r15
je 0x180173cb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r12d, 0xffffffff
mov dword [rax], socket
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x180173cc5
mov qword [rax], r14
mov rbx, qword [rsp + 0x70]
mov eax, r12d
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret