Function at 0x180013330
Capabilities:
Encode data using base64

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x310], rbx
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r15, r8
mov qword [rsp + 0x58], r8
mov r12, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov qword [rbp - 0x78], rcx
xor r13d, r13d
mov dword [rsp + 0x50], r13d
movdqa xmm0, xmmword [0x18010ca10]
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x18010cc10]
movdqa xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [0x18010c380]
movdqa xmmword [rbp + 0x150], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x160], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x170], xmm0
movdqa xmmword [rbp + 0x180], xmm1
movdqa xmmword [rbp + 0x190], xmm0
movdqa xmmword [rbp + 0x1a0], xmm1
mov r9b, 0x3d
lea r8, [0x1800eda58]
lea edx, [r13 + 0x26]
lea rcx, [rbp + 0x130]
call fcn.180057f50
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [str.__72_72_x7_20_.3_.43]
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x18010cbe0]
movdqa xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [str._7_b]
movdqa xmmword [rbp + 0x150], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x160], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x170], xmm0
movdqa xmmword [rbp + 0x180], xmm1
movdqa xmmword [rbp + 0x190], xmm0
movdqa xmmword [rbp + 0x1a0], xmm1
mov r9b, 8
lea r8, [0x1800eda30]
lea edx, [r13 + 0x24]
lea rcx, [rbp + 0x130]
call fcn.180057f50
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [0x18010cfe0]
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x18010cfc0]
movdqa xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [0x18010c0f0]
movdqa xmmword [rbp + 0x150], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x160], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x170], xmm0
movdqa xmmword [rbp + 0x180], xmm1
movdqa xmmword [rbp + 0x190], xmm0
movdqa xmmword [rbp + 0x1a0], xmm1
mov r9b, 0xd2
lea r8, [0x1800eda08]
lea edx, [r13 + 0x23]
lea rcx, [rbp + 0x130]
call fcn.180057f50
mov qword [rsp + 0x40], rax
movdqa xmm0, xmmword [0x18010ce80]
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x18010ce10]
movdqa xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [0x18010ce90]
movdqa xmmword [rbp + 0x150], xmm0
movdqa xmm1, xmmword [0x18010ce00]
movdqa xmmword [rbp + 0x160], xmm1
movdqa xmm0, xmmword [0x18010c3e0]
movdqa xmmword [rbp + 0x170], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x180], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x190], xmm0
movdqa xmmword [rbp + 0x1a0], xmm1
mov r9b, 0x9d
lea r8, [0x1800ed9c0]
lea edx, [r13 + 0x46]
lea rcx, [rbp + 0x130]
call fcn.180057f50
mov qword [rsp + 0x38], rax
lea rdx, str._1__2__3__4_
lea rcx, [rbp - 0x50]
call fcn.180015d30
mov rbx, rax
cmp byte [rax + 0x44], r13b
je 0x1800135b0
mov rcx, rax
call fcn.180019700
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.18001a510
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x18001360c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x18001360c
mov r10, qword [rbx + 0x18]
nop dword [rax]
movsxd r8, dword [rbx + 0x3c]
mov rcx, r8
mov rax, r8
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x18001360c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x1800135e0
cmp byte [rbx + 0x44], 0
je 0x18001361a
mov rcx, rbx
call fcn.180019700
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.18001a510
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x18001367c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x18001367c
mov r10, qword [rbx + 0x18]
nop dword [rax]
nop word [rax + rax]
movsxd r8, dword [rbx + 0x3c]
mov rcx, r8
mov rax, r8
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x18001367c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x180013650
cmp byte [rbx + 0x44], 0
je 0x18001368a
mov rcx, rbx
call fcn.180019700
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.18001a510
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x1800136ec
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x1800136ec
mov r10, qword [rbx + 0x18]
nop dword [rax]
nop word [rax + rax]
movsxd r8, dword [rbx + 0x3c]
mov rcx, r8
mov rax, r8
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x1800136ec
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x1800136c0
cmp byte [rbx + 0x44], 0
je 0x1800136fa
mov rcx, rbx
call fcn.180019700
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18001a510
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x18001375c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x18001375c
mov r10, qword [rbx + 0x18]
nop dword [rax]
nop word [rax + rax]
movsxd r8, dword [rbx + 0x3c]
mov rcx, r8
mov rax, r8
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x18001375c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x180013730
mov rdx, rbx
lea rcx, [rbp + 0x110]
call fcn.180015ef0
nop
lea rcx, [rbp - 0x50]
call fcn.180013c70
mov qword [rdi], r13
mov qword [rdi + 8], r13
call fcn.180015420
mov qword [rdi], rax
mov dword [rsp + 0x50], 1
xor eax, eax
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xd0], r13
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd8], xmm0
mov cl, 1
call fcn.1800a8b2c
mov qword [rbp + 0xe8], rax
lea r8, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae r8, qword [rbp + 0x110]
add r8, qword [rbp + 0x120]
lea rdx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rdx, qword [rbp + 0x110]
lea rcx, [rbp + 0xd0]
call fcn.180017d00
nop
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rbp + 0x130]
call fcn.1800b6830
mov qword [rbp + 0x130], r13
mov byte [rbp + 0x138], 0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], r13
mov qword [rbp + 0x158], r13
mov qword [rbp + 0x160], r13
mov byte [rbp + 0x168], 0
movdqa xmmword [rbp + 0x170], xmm0
mov byte [rbp + 0x180], 0
mov qword [rbp + 0x188], r13
mov qword [rbp + 0x190], r13
mov byte [rbp + 0x198], 0
mov ebx, r13d
movabs rsi, 0x2aaaaaaaaaaaaaab
mov r8, qword [r12 + 0x18]
cmp r8, 0x10
jb 0x1800138a1
mov rcx, qword [r12]
jmp 0x1800138a4
mov rcx, r12
mov rdx, qword [r12 + 0x10]
add rdx, rcx
cmp r8, 0x10
jb 0x1800138b8
mov rax, qword [r12]
jmp 0x1800138bb
mov rax, r12
movsxd rbx, ebx
lea rcx, [rbx + rax]
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0xd0]
lea r8, [rbp + 0x130]
call fcn.180017e30
test al, al
je 0x180013baa
mov rcx, qword [rbp + 0x148]
mov r8, qword [rbp + 0x140]
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rbp + 0x188]
cmovne rax, r8
cmp byte [rax + 0x10], 0
je 0x180013926
mov r14, qword [rax + 8]
sub r14, qword [rax]
mov qword [rsp + 0x38], r14
jmp 0x18001392e
mov r14, r13
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x188]
test rdx, rdx
cmovne rax, r8
mov rsi, qword [rax]
sub rsi, qword [rbp + 0x130]
add rsi, rbx
mov qword [rsp + 0x40], rsi
mov rcx, r12
call fcn.1800127a0
lea rdx, [rsi + rax]
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], r13
mov qword [rbp + 0xc8], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xc0], r13
mov byte [rbp + 0xb0], 0
mov r8, r14
lea rcx, [rbp + 0xb0]
call fcn.180012050
nop
cmp qword [rbp + 0xc0], 2
jb 0x1800139a7
lea rcx, [rbp + 0xb0]
call fcn.180012eb0
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.18005e8c0
nop
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.18005e9c0
nop
cmp qword [rbp - 0x80], 0x10
jb 0x1800139da
mov rcx, qword [rsp + 0x68]
call fcn.18008b820
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x78], r13
mov byte [rsp + 0x68], 0
mov rsi, qword [rbp + 0x100]
test rsi, rsi
je 0x180013b3f
mov rbx, qword [r15]
mov rdi, qword [rbx + 8]
mov r15, rbx
mov r13, qword [rbp + 0x108]
mov rax, qword [rbp + 0xf0]
cmp byte [rdi + 0x19], 0
jne 0x180013a99
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0xf0]
cmp r13, 0x10
cmovae rdx, rax
mov r14, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x180013a41
mov rcx, qword [rcx]
mov r8, rsi
cmp r14, rsi
cmovb r8, r14
test r8, r8
jne 0x180013a54
xor eax, eax
jmp 0x180013a59
call fcn.1800b4eb0
cdqe
test rax, rax
jne 0x180013a72
cmp r14, rsi
jae 0x180013a6a
or eax, 0xffffffff
jmp 0x180013a72
xor eax, eax
cmp r14, rsi
setne al
test eax, eax
sets al
test al, al
je 0x180013a81
mov rdi, qword [rdi + 0x10]
jmp 0x180013a87
mov r15, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
mov rax, qword [rbp + 0xf0]
je 0x180013a20
mov r14, qword [rsp + 0x38]
cmp r15, rbx
je 0x180013b05
lea rdx, [r15 + 0x20]
mov rdi, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180013ab0
mov rdx, qword [rdx]
lea rcx, [rbp + 0xf0]
cmp r13, 0x10
cmovae rcx, rax
mov r8, rdi
cmp rsi, rdi
cmovb r8, rsi
test r8, r8
jne 0x180013ad2
xor eax, eax
jmp 0x180013ad7
call fcn.1800b4eb0
cdqe
test rax, rax
jne 0x180013af0
cmp rsi, rdi
jae 0x180013ae8
or eax, 0xffffffff
jmp 0x180013af0
xor eax, eax
cmp rsi, rdi
setne al
test eax, eax
sets al
test al, al
jne 0x180013b05
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
jmp 0x180013b0f
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
cmp qword [rax], rbx
jne 0x180013b37
movzx eax, byte [0x1800ecb9c]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xb0]
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.1800164e0
xor r13d, r13d
mov r15, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
add ebx, r14d
cmp qword [rbp + 0x108], 0x10
jb 0x180013b5d
mov rcx, qword [rbp + 0xf0]
call fcn.18008b820
mov qword [rbp + 0x108], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x100], r13
mov byte [rbp + 0xf0], 0
cmp qword [rbp + 0xc8], 0x10
jb 0x180013b8c
mov rcx, qword [rbp + 0xb0]
call fcn.18008b820
mov qword [rbp + 0xc8], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xc0], r13
mov byte [rbp + 0xb0], 0
jmp 0x180013886
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x180013bcd
call fcn.18008b820
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], r13
lea rcx, [rbp + 0xd0]
call fcn.180014be0
nop
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x30], rax
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x180013c0c
mov rax, qword [rcx]
call qword [rax + select]
test rax, rax
je 0x180013c0c
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
cmp qword [rbp + 0x128], 0x10
jb 0x180013c22
mov rcx, qword [rbp + 0x110]
call fcn.18008b820
mov qword [rbp + 0x128], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x120], r13
mov byte [rbp + 0x110], 0
mov rax, rdi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1800ad750
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret