Function at 0x180005650
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 [0x18013cb10]
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 [0x1800f52f0]
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x1800f5580]
movdqa xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [0x1800f4c50]
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, [0x18014d528]
lea edx, [r13 + 0x26]
lea rcx, [rbp + 0x130]
call fcn.18004bbf0
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x1800f5380]
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x1800f5530]
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, [0x18014d500]
lea edx, [r13 + 0x24]
lea rcx, [rbp + 0x130]
call fcn.18004bbf0
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [0x1800f5910]
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x1800f58f0]
movdqa xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [0x1800f49c0]
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, [0x18014d4d8]
lea edx, [r13 + 0x23]
lea rcx, [rbp + 0x130]
call fcn.18004bbf0
mov qword [rsp + 0x40], rax
movdqa xmm0, xmmword [0x1800f5760]
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x1800f5730]
movdqa xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [0x1800f5770]
movdqa xmmword [rbp + 0x150], xmm0
movdqa xmm1, xmmword [0x1800f5710]
movdqa xmmword [rbp + 0x160], xmm1
movdqa xmm0, xmmword [0x1800f4cd0]
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, [0x18014d490]
lea edx, [r13 + 0x46]
lea rcx, [rbp + 0x130]
call fcn.18004bbf0
mov qword [rsp + 0x38], rax
lea rdx, str._1__2__3__4_
lea rcx, [rbp - 0x50]
call fcn.180008050
mov rbx, rax
cmp byte [rax + 0x44], r13b
je 0x1800058d0
mov rcx, rax
call fcn.18000ba20
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.18000c830
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x18000592c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x18000592c
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 0x18000592c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x180005900
cmp byte [rbx + 0x44], 0
je 0x18000593a
mov rcx, rbx
call fcn.18000ba20
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.18000c830
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x18000599c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x18000599c
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 0x18000599c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x180005970
cmp byte [rbx + 0x44], 0
je 0x1800059aa
mov rcx, rbx
call fcn.18000ba20
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.18000c830
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x180005a0c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x180005a0c
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 0x180005a0c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x1800059e0
cmp byte [rbx + 0x44], 0
je 0x180005a1a
mov rcx, rbx
call fcn.18000ba20
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18000c830
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x180005a7c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x180005a7c
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 0x180005a7c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x180005a50
mov rdx, rbx
lea rcx, [rbp + 0x110]
call fcn.180008210
nop
lea rcx, [rbp - 0x50]
call fcn.180005f90
mov qword [rdi], r13
mov qword [rdi + 8], r13
call fcn.180007740
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.1800973b4
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.18000a020
nop
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rbp + 0x130]
call fcn.1800a3760
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 0x180005bc1
mov rcx, qword [r12]
jmp 0x180005bc4
mov rcx, r12
mov rdx, qword [r12 + 0x10]
add rdx, rcx
cmp r8, 0x10
jb 0x180005bd8
mov rax, qword [r12]
jmp 0x180005bdb
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.18000a150
test al, al
je 0x180005eca
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 0x180005c46
mov r14, qword [rax + 8]
sub r14, qword [rax]
mov qword [rsp + 0x38], r14
jmp 0x180005c4e
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.180004b20
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.180004830
nop
cmp qword [rbp + 0xc0], 2
jb 0x180005cc7
lea rcx, [rbp + 0xb0]
call fcn.1800051d0
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.180051a00
nop
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.180051b00
nop
cmp qword [rbp - 0x80], 0x10
jb 0x180005cfa
mov rcx, qword [rsp + 0x68]
call fcn.18007e470
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 0x180005e5f
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 0x180005db9
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 0x180005d61
mov rcx, qword [rcx]
mov r8, rsi
cmp r14, rsi
cmovb r8, r14
test r8, r8
jne 0x180005d74
xor eax, eax
jmp 0x180005d79
call fcn.1800a4060
cdqe
test rax, rax
jne 0x180005d92
cmp r14, rsi
jae 0x180005d8a
or eax, 0xffffffff
jmp 0x180005d92
xor eax, eax
cmp r14, rsi
setne al
test eax, eax
sets al
test al, al
je 0x180005da1
mov rdi, qword [rdi + 0x10]
jmp 0x180005da7
mov r15, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
mov rax, qword [rbp + 0xf0]
je 0x180005d40
mov r14, qword [rsp + 0x38]
cmp r15, rbx
je 0x180005e25
lea rdx, [r15 + 0x20]
mov rdi, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180005dd0
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 0x180005df2
xor eax, eax
jmp 0x180005df7
call fcn.1800a4060
cdqe
test rax, rax
jne 0x180005e10
cmp rsi, rdi
jae 0x180005e08
or eax, 0xffffffff
jmp 0x180005e10
xor eax, eax
cmp rsi, rdi
setne al
test eax, eax
sets al
test al, al
jne 0x180005e25
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
jmp 0x180005e2f
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
cmp qword [rax], rbx
jne 0x180005e57
movzx eax, byte [0x18014c6ca]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xb0]
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.180008800
xor r13d, r13d
mov r15, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
add ebx, r14d
cmp qword [rbp + 0x108], 0x10
jb 0x180005e7d
mov rcx, qword [rbp + 0xf0]
call fcn.18007e470
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 0x180005eac
mov rcx, qword [rbp + 0xb0]
call fcn.18007e470
mov qword [rbp + 0xc8], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xc0], r13
mov byte [rbp + 0xb0], 0
jmp 0x180005ba6
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x180005eed
call fcn.18007e470
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], r13
lea rcx, [rbp + 0xd0]
call fcn.180006f00
nop
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x30], rax
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x180005f2c
mov rax, qword [rcx]
call qword [rax + select]
test rax, rax
je 0x180005f2c
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
cmp qword [rbp + 0x128], 0x10
jb 0x180005f42
mov rcx, qword [rbp + 0x110]
call fcn.18007e470
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.18009c2b0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret