Function at 0x140094580
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rsi
push r13
sub rsp, 0x190
mov rax, qword [0x140634590]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov ebx, r8d
mov r13, rdx
mov qword [rsp + 0x30], rdx
mov rsi, r9
lea r9d, [r8 + r8*4 + 0xa]
mov eax, 0x55555556
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
imul r9d
mov r8d, edx
shr r8d, 0x1f
add r8d, edx
lea eax, [r8 + r8]
cdq
idiv dword [rcx + 8]
mov rcx, rsi
lea edx, [rax + r8 + 3]
mov r8d, 0x3f1
call fcn.140068630
test ebx, ebx
je 0x140094851
test r13, r13
je 0x140094851
mov qword [rsp + 0x188], rbp
mov qword [rsp + 0x180], rdi
mov qword [rsp + 0x178], r12
mov qword [rsp + 0x170], r14
mov eax, 0x55555556
xor r12d, r12d
xor r14d, r14d
xor r11d, r11d
mov qword [rsp + 0x168], r15
imul ebx
mov ebp, edx
lea r15, [0x1404a8420]
shr ebp, 0x1f
add ebp, edx
test ebp, ebp
jle 0x14009475d
mov r15, r13
mov r13, qword [rsp + 0x28]
mov edi, ebp
lea rbx, [0x1404a8420]
nop word [rax + rax]
movzx r8d, byte [r15]
movzx r10d, byte [r15 + 1]
movzx r9d, byte [r15 + 2]
movsxd rcx, r11d
mov eax, r8d
inc r11d
sar rax, 2
and r8d, 3
mov edx, r10d
and eax, 0x3f
sar rdx, 4
shl r8d, 4
movzx eax, byte [rax + rbx]
and edx, 0xf
and r10d, 0xf
mov byte [rsp + rcx + 0x40], al
movsxd rax, r8d
movsxd rcx, r11d
or rdx, rax
inc r11d
shl r10d, 2
movzx eax, byte [rdx + rbx]
mov r8d, r9d
movsxd rdx, r10d
mov byte [rsp + rcx + 0x40], al
movsxd rcx, r11d
inc r11d
and r8d, 0x3f
mov eax, r9d
add r12d, 4
sar rax, 6
add r14d, 3
add r15, 3
and eax, 3
or rdx, rax
movzx eax, byte [rdx + rbx]
mov byte [rsp + rcx + 0x40], al
movzx eax, byte [r8 + rbx]
movsxd rcx, r11d
inc r11d
mov byte [rsp + rcx + 0x40], al
cmp r12d, dword [r13 + 8]
jl 0x140094713
movsxd rax, r11d
inc r11d
mov byte [rsp + rax + 0x40], reloc.WS2_32.dll_listen
movsxd rax, r11d
inc r11d
mov byte [rsp + rax + 0x40], 0xa
xor r12d, r12d
cmp r11d, 0x100
jl 0x14009472f
lea rdx, [rsp + 0x40]
mov r8d, r11d
mov rcx, rsi
call fcn.140068990
xor r11d, r11d
dec rdi
jne 0x140094660
mov ebx, dword [rsp + 0x20]
mov r13, qword [rsp + 0x30]
test r11d, r11d
je 0x140094756
lea rdx, [rsp + 0x40]
mov r8d, r11d
mov rcx, rsi
call fcn.140068990
lea r15, [0x1404a8420]
mov r12, qword [rsp + 0x178]
lea eax, [rbp + rbp*2]
mov rbp, qword [rsp + 0x188]
sub ebx, eax
je 0x140094825
dec ebx
je 0x1400947dd
dec ebx
jne 0x140094839
movsxd rax, r14d
mov rcx, rsi
movzx ebx, byte [rax + r13]
movzx edi, byte [rax + r13 + 1]
mov eax, ebx
sar rax, 2
and eax, 0x3f
movzx edx, byte [rax + r15]
call fcn.140068030
mov r11d, edi
and ebx, 3
sar r11, 4
shl ebx, 4
mov rcx, rsi
and r11d, 0xf
movsxd rax, ebx
or r11, rax
movzx edx, byte [r11 + r15]
call fcn.140068030
and edi, 0xf
shl edi, 2
movsxd rax, edi
movzx edx, byte [rax + r15]
jmp 0x140094813
movsxd rax, r14d
mov rcx, rsi
movzx ebx, byte [rax + r13]
mov eax, ebx
sar rax, 2
and eax, 0x3f
movzx edx, byte [rax + r15]
call fcn.140068030
and ebx, 3
mov rcx, rsi
shl ebx, 4
movsxd rax, ebx
movzx edx, byte [rax + r15]
call fcn.140068030
mov dl, 0x3d
mov rcx, rsi
call fcn.140068030
mov dl, 0x3d
mov rcx, rsi
call fcn.140068030
mov dl, reloc.WS2_32.dll_listen
mov rcx, rsi
call fcn.140068030
mov dl, 0xa
mov rcx, rsi
call fcn.140068030
mov r14, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x180]
mov r15, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140360fe0
add rsp, 0x190
pop r13
pop rsi
pop rbx
ret