Function at 0x180006aa0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xb0
mov rax, qword [0x18003acf8]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, r9
mov qword [rbp - 0x69], r9
mov eax, r8d
mov dword [rbp - 0x21], eax
mov r15, rdx
mov r9, rcx
mov qword [rbp - 0x41], rcx
mov r12, qword [rbp + 0x77]
mov rcx, qword [rbp + 0x7f]
mov qword [rbp - 0x71], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], 0
mov esi, r8d
add r8d, 0xa4b
mov dword [rbp - 0x75], r8d
lea r11, [0x180000000]
movzx ebx, byte [rbp - 0x79]
cmp eax, r8d
jae 0x180007092
mov edx, 0x54
mov r14, qword [rbp - 0x41]
mov r13d, dword [rbp - 0x21]
mov r10d, 0x48
cmp esi, 0x188
ja 0x180006d75
je 0x180006d5b
cmp esi, 0xdd
ja 0x180006cd8
je 0x180006caa
mov eax, esi
sub eax, 0x12
je 0x180006cc9
sub eax, 0x40
je 0x180006baa
sub eax, 0x5b
je 0x180006b7c
cmp eax, 0x17
jne 0x180006caa
mov r14, rdi
jmp 0x180006caa
mov dword [rbp - 0x16], 0x2e312f50
mov eax, 0x31
mov word [rbp - 0x12], ax
lea r8d, [rax - 0x2d]
lea rdx, [0x180031eeb]
lea rcx, [rbp + 7]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov r8d, dword [rbp - 0x75]
jmp 0x180006ca1
mov edx, 0x97
mov rcx, rdi
call fcn.180012280
test al, al
je 0x180006ba1
mov edi, 0x83
cmp edi, 0x83
je 0x180006c5f
cmp edi, 0x4598
jne 0x180006c87
mov rdi, qword [rbp - 0x59]
test rdi, rdi
je 0x1800073b7
mov rsi, qword [rbp - 0x51]
cmp rdi, rsi
je 0x180006c05
nop
mov rcx, rdi
call fcn.180002a70
add rdi, 0x28
cmp rdi, rsi
jne 0x180006bf0
mov rdi, qword [rbp - 0x59]
mov rcx, qword [rbp - 0x49]
sub rcx, rdi
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800073af
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800073af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov edx, 0xb9
mov rcx, qword [rbp - 0x69]
call fcn.180011540
test al, al
je 0x180007088
xor r8d, r8d
lea edx, [r8 + 0x7b]
mov rcx, qword [r12]
call fcn.18000eec0
mov ebx, eax
add edi, 0x4515
cmp edi, 0x8a2a
jbe 0x180006bc0
mov r8d, dword [rbp - 0x75]
mov rdi, qword [rbp - 0x69]
mov edx, 0x54
mov rcx, qword [rbp - 0x71]
add esi, 0x9b
lea r11, [0x180000000]
cmp esi, r8d
jae 0x18000708f
mov r9, qword [rbp - 0x41]
jmp 0x180006b2c
mov word [rbp - 0x19], r10w
mov word [rbp - 0x18], dx
mov word [rbp - 0x17], dx
jmp 0x180006caa
mov eax, esi
sub eax, 0xed
je 0x180006d3b
sub eax, 0x72
je 0x180006d2c
cmp eax, 0x19
jne 0x180006caa
mov r8, rdi
lea rdx, [rbp - 0x59]
mov ecx, 0xbe
call fcn.180009850
test al, al
je 0x180007088
mov edx, 0xffffffff
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [rdi + 0x18]
lea rdx, [rbp - 0x59]
call fcn.180003350
mov byte [rbp - 0x79], al
mov r8d, dword [rbp - 0x75]
jmp 0x180006ca1
mov dword [rbp - 0x61], 0
xor r13d, r13d
jmp 0x180006caa
xor r8d, r8d
xor edx, edx
mov ecx, 0xe8
call fcn.180004990
test al, al
je 0x180007088
mov r8d, dword [rbp - 0x75]
jmp 0x180006ca1
xor edx, edx
lea r8d, [rdx + 0x3a]
mov rcx, rdi
call fcn.180008970
movzx ebx, al
mov r8d, dword [rbp - 0x75]
jmp 0x180006ca1
cmp esi, 0x2ae
ja 0x180006fba
je 0x180006caa
mov eax, esi
sub eax, 0x1fa
je 0x180006dd1
sub eax, 0x19
je 0x180006dbe
sub eax, 0x10
je case.0x1800070e2.13
cmp eax, 0x72
jne 0x180006caa
test rcx, rcx
je 0x180006daf
mov dword [rcx], r13d
movsxd rax, r13d
mov byte [rax + r15], 0
mov bl, 1
jmp 0x180006caa
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov r8d, dword [rbp - 0x75]
jmp 0x180006ca1
movzx ecx, byte [r14]
test ecx, ecx
je 0x180006f6a
movsxd rdi, r13d
inc r14
mov eax, dword [r12]
lea edx, [rax - 1]
mov dword [r12], edx
test eax, eax
je 0x180006fa3
cmp ecx, 0x3d
jne 0x180006e68
movzx ecx, byte [r14]
cmp cl, 0x3d
je 0x180006f5b
mov eax, dword [rbp - 0x61]
and eax, 0x80000003
jge 0x180006e19
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 1
je 0x180007088
cmp byte [r9], 0
je 0x180006f5b
test edx, edx
je 0x180006f5b
nop dword [rax]
nop dword [rax + rax]
inc r14
movzx ecx, byte [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x180006e40
cmp byte [r14], al
jne 0x180007088
xor cl, cl
lea r11, [0x180000000]
jmp 0x180006f57
movsx edx, byte [rcx + r11 + 0x2d900]
mov r8d, edx
cmp byte [r9], 0
jne 0x180006e7e
test dl, dl
js 0x180006e84
cmp r8d, 0xffffffff
jne 0x180006e8d
movzx ecx, byte [r14]
jmp 0x180006f5b
cmp r8d, 0xfffffffe
je 0x180007088
mov r9d, dword [rbp - 0x61]
mov ecx, r9d
and ecx, 0x80000003
jge 0x180006ead
dec ecx
or ecx, 0xfffffffc
inc ecx
test ecx, ecx
je 0x180006f40
sub ecx, 1
je 0x180006ec9
sub ecx, 1
je 0x180006f0b
cmp ecx, 1
je 0x180006f21
jmp 0x180006f47
mov ecx, 0x109
nop
mov eax, ecx
sub eax, 0x109
je 0x180006ef1
sub eax, 1
je 0x180006ee5
cmp eax, 1
je 0x180006f47
jmp 0x180006f01
movzx eax, dl
shl al, 4
mov byte [r15 + rdi], al
jmp 0x180006f01
mov eax, r8d
sar eax, 4
or byte [r15 + rdi], al
inc r13d
inc rdi
inc ecx
cmp ecx, 0x10c
jb 0x180006ed0
mov eax, 0xee
cmp eax, 0xee
je 0x180006f2d
add eax, 0x2f
cmp eax, 0x11d
jb 0x180006f10
or byte [r15 + rdi], dl
inc r13d
inc rdi
jmp 0x180006f47
sar r8d, 2
or byte [r15 + rdi], r8b
inc r13d
inc rdi
shl dl, 6
jmp 0x180006f43
shl dl, 2
mov byte [r15 + rdi], dl
mov esi, 0x1fa
inc r9d
mov dword [rbp - 0x61], r9d
movzx ecx, byte [r14]
mov r9, qword [rbp - 0x41]
movzx ecx, cl
test ecx, ecx
jne 0x180006de0
mov r8d, dword [rbp - 0x75]
inc r14
mov edx, r13d
cmp ecx, 0x3d
jne 0x180006c9d
mov ecx, dword [rbp - 0x61]
and ecx, 0x80000003
jge 0x180006f8b
dec ecx
or ecx, 0xfffffffc
inc ecx
sub ecx, 1
je 0x180007088
sub ecx, 1
je 0x180006fa9
cmp ecx, 1
je 0x180006fad
jmp 0x180006c9d
mov r8d, dword [rbp - 0x75]
jmp 0x180006f6d
lea edx, [r13 + 1]
movsxd rax, edx
mov byte [rax + r15], 0
jmp 0x180006c9d
mov eax, esi
sub eax, 0x330
je case.0x1800070e2.13
sub eax, 0x19
je 0x18000701c
cmp eax, 0x9b
jne 0x180006caa
add rdi, 0x18
lea rax, [rbp - 0x59]
cmp rdi, rax
je 0x18000707f
mov rcx, rdi
call fcn.180018390
mov rax, qword [rbp - 0x59]
mov qword [rdi], rax
mov rax, qword [rbp - 0x51]
mov qword [rdi + 8], rax
mov rax, qword [rbp - 0x49]
mov qword [rdi + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], 0
jmp 0x180006c99
cmp byte [rbp - 0x79], 0
jne 0x1800070e4
lea rax, [rbp - 0x5d]
mov qword [rbp - 0x39], rax
mov ecx, 0x40
mov rax, 0xffffffffffffffff
nop word [rax + rax]
dec rcx
shr rax, 1
cmp rax, 0x7fff
ja 0x180007040
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x31], rcx
lea r8, [rbp - 0x39]
mov rdx, qword [rbp - 0x51]
mov rcx, qword [rbp - 0x59]
call fcn.180001b60
mov edx, 0xffffffff
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r8d, dword [rbp - 0x75]
jmp 0x180006ca1
mov rdi, qword [rbp - 0x69]
jmp 0x180006caa
xor bl, bl
jmp case.0x1800070e2.13
mov eax, dword [rbp - 0x21]
lea esi, [rax - 0x11]
cmp eax, esi
jbe case.0x1800070e2.13
lea edi, [rax - 6]
lea r15, [0x18003acc0]
mov edx, 0x6f
lea r10d, [rdx - 0x2e]
lea r14d, [rdx - 0x42]
lea r8d, [rdx + 4]
lea r9d, [rdx - 0xa]
mov r13d, 0x6c63
cmp edi, 0xd7
ja case.0x1800070e2.15
movzx eax, byte [r11 + rdi + 0x742c]
mov ecx, dword [r11 + rax*4 + 0x73e4]
add rcx, r11
jmp rcx
mov bl, 1
jmp case.0x1800070e2.13
mov rdx, r15
cmp qword [0x18003acd8], 0x10
cmovae rdx, qword [0x18003acc0]
mov r8, qword [0x18003acd0]
mov rcx, r12
call fcn.180018630
mov edx, 0x6f
lea r8d, [rdx + 4]
lea r9d, [rdx - 0xa]
lea r10d, [rdx - 0x2e]
jmp case.0x1800070e2.15
mov r8d, 3
lea rdx, [0x180031f04]
jmp 0x180007105
mov rdx, qword [rbp - 0x69]
add rdx, 0x40
cmp qword [rdx + 0x18], 0x10
jb 0x180007144
mov rdx, qword [rdx]
lea r9, [rbp - 9]
mov r8, r12
mov ecx, 0xf3
call fcn.180010900
jmp case.0x1800070e2.0
mov word [rbp - 4], r10w
mov r8d, 4
lea rdx, str.gent
lea rcx, [rbp - 9]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp 0x18000710d
movzx eax, word [0x180031f10]
mov word [rbp - 9], ax
movzx eax, byte [0x180031f12]
mov byte [rbp - 7], al
jmp case.0x1800070e2.15
mov r8d, 3
lea rdx, [0x180031f14]
lea rcx, [rbp - 7]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov word [rbp - 5], r14w
jmp 0x18000710d
mov r14, qword [rbp - 0x69]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rax, qword [r14 + 0x30]
test rax, rax
je 0x1800071cd
mov rcx, qword [r14 + 0x38]
call rax
mov edx, 0x6f
lea r8d, [rdx + 4]
lea r9d, [rdx - 0xa]
lea r10d, [rdx - 0x2e]
lea r14d, [rdx - 0x42]
jmp case.0x1800070e2.15
mov rax, qword [rbp - 0x69]
lea rdx, [rax + 0x20]
cmp qword [rax + 0x38], 0x10
jb 0x1800071fa
mov rdx, qword [rax + 0x20]
mov r8, qword [rax + 0x30]
mov rcx, r12
call fcn.180018630
mov rcx, qword [r12 + 0x10]
mov rdx, qword [r12 + 0x18]
cmp rcx, rdx
jae 0x180007233
lea rax, [rcx + 1]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 0x10
jb 0x18000722b
mov rax, qword [r12]
mov word [rax + rcx], 0x20
jmp 0x180007245
mov r9b, 0x20
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, r12
call fcn.180001dc0
lea rax, [rbp - 0x19]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180007250
lea rdx, [rbp - 0x19]
jmp 0x180007105
mov rax, qword [rbp - 0x69]
add rax, 0x20
cmp qword [rax + 0x18], 0x10
jb 0x180007275
mov rax, qword [rax]
cmp byte [rax], 0x2f
je case.0x1800070e2.15
mov rcx, qword [r12 + 0x10]
mov rdx, qword [r12 + 0x18]
cmp rcx, rdx
jae 0x1800072b3
lea rax, [rcx + 1]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 0x10
jb 0x1800072a3
mov rax, qword [r12]
mov word [rax + rcx], 0x2f
mov edx, 0x6f
jmp case.0x1800070e2.15
mov r9b, 0x2f
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, r12
call fcn.180001dc0
jmp 0x18000710d
mov rdx, r15
cmp qword [0x18003acd8], 0x10
cmovae rdx, qword [0x18003acc0]
mov r8, qword [0x18003acd0]
mov rcx, r12
call fcn.180018630
mov r14, qword [rbp - 0x69]
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1800072fd
mov rdx, qword [r14]
lea r9, [rbp + 7]
mov r8, r12
mov ecx, 0xf3
call fcn.180010900
jmp 0x1800071cd
mov word [rbp - 0x1f], dx
mov word [rbp - 0x1e], r8w
mov word [rbp - 0x1d], r9w
jmp case.0x1800070e2.15
mov rcx, qword [r12 + 0x10]
mov rdx, qword [r12 + 0x18]
cmp rcx, rdx
jae 0x180007355
lea rax, [rcx + 1]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 0x10
jb 0x180007348
mov rax, qword [r12]
mov word [rax + rcx], 0x20
mov edx, 0x6f
jmp case.0x1800070e2.15
mov r9b, 0x20
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, r12
call fcn.180001dc0
jmp 0x18000710d
lea r9, str.Connection
mov r8, r12
lea rdx, [rbp - 0x21]
mov ecx, 0xf3
call fcn.180010900
jmp 0x18000710d
mov byte [rbp + 0xb], 0
mov word [rbp - 0x21], r13w
jmp case.0x1800070e2.15
mov bl, 1
dec edi
lea eax, [rdi + 6]
cmp eax, esi
jbe case.0x1800070e2.13
lea r11, [0x180000000]
jmp 0x1800070c2
mov rcx, rdi
call fcn.180025494
movzx eax, bl
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1800259a0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret