Function at 0x14000a280
Capabilities:
Decode data using base64 via winapi
Encode data using xor
Receive data
Receive data on socket

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a48]
mov eax, 0x2b48
call fcn.14000d480
sub rsp, rax
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rbp + 0x2a30], rax
mov rax, qword [rbp + 0x2ac0]
mov rsi, r9
mov r13, qword [rbp + 0x2ab8]
mov r14, rdx
mov r9d, dword [rbp + 0x2ad0]
mov r15, rcx
mov rcx, qword [rcx]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x2ac8]
movzx ebx, r8w
movzx r8d, word [rbp + 0x2ab0]
mov qword [rsp + 0x50], rdx
mov rdx, rsi
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r13
call fcn.14000a0a4
test eax, eax
je 0x14000ac7c
movaps xmm0, xmmword [str.wZXY_ZNRSS]
lea r8, [rbp - 0x40]
movaps xmm1, xmmword [0x140013300]
xor edi, edi
mov eax, dword [0x140013348]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [0x140013310]
movaps xmmword [rbp - 0x30], xmm1
movaps xmm1, xmmword [0x140013320]
movaps xmmword [rbp - 0x20], xmm0
movaps xmm0, xmmword [0x140013330]
movaps xmmword [rbp - 0x10], xmm1
movsd xmm1, qword [0x140013340]
mov dword [rbp + 0x18], eax
movzx eax, word [0x14001334c]
movaps xmmword [rbp], xmm0
movsd qword [rbp + 0x10], xmm1
mov word [rbp + 0x1c], ax
mov eax, 0x29e4129f
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, dil
inc edi
sub al, cl
add al, 0x34
xor byte [r8], al
inc r8
cmp edi, 0x5e
jl 0x14000a366
xor edx, edx
lea rcx, [rbp + 0x230]
mov r8d, 0x800
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0xa30]
mov r8d, 0x2000
call sub.VCRUNTIME140.dll_memset
or r12, 0xffffffffffffffff
test r13, r13
je 0x14000a4f9
mov rax, r12
inc rax
cmp byte [rax + r13], 0
jne 0x14000a3ca
test rax, rax
je 0x14000a4f9
mov edi, 0x200
lea rcx, [rbp + 0x30]
mov r8d, edi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8, r13
lea rcx, [rbp + 0x30]
mov edx, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [0x1400131c8]
mov edx, edi
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8, qword [rbp - 0x58]
lea rcx, [rbp + 0x30]
mov edx, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
and dword [rbp + 0x20], 0
lea rax, [rbp + 0x30]
mov r9, r12
inc r9
cmp byte [rax + r9], 0
jne 0x14000a42d
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140006f0c
test al, al
je 0x14000ac7c
movups xmm0, xmmword [0x140013298]
mov al, byte [0x1400132d0]
xor edi, edi
movups xmm1, xmmword [0x1400132a8]
mov byte [rbp - 0x60], al
lea r8, [rsp + 0x68]
movups xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [0x1400132b8]
movups xmmword [rsp + 0x78], xmm1
movsd xmm1, qword [0x1400132c8]
movups xmmword [rbp - 0x78], xmm0
movsd qword [rbp - 0x68], xmm1
mov eax, 0x29e4129f
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, dil
inc edi
sub al, cl
add al, 0x34
xor byte [r8], al
inc r8
cmp edi, 0x39
jl 0x14000a491
mov rdi, qword [rsp + 0x60]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x68]
mov r9d, ebx
mov qword [rsp + 0x20], rdi
mov r8, r14
lea rcx, [rbp + 0x230]
mov r13d, ebx
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000a57e
movzx eax, word [0x140013398]
lea r8, [rsp + 0x68]
movups xmm0, xmmword [0x140013380]
xor edi, edi
mov word [rbp - 0x80], ax
movsd xmm1, qword [0x140013390]
mov al, byte [0x14001339a]
mov byte [rbp - 0x7e], al
movups xmmword [rsp + 0x68], xmm0
movsd qword [rsp + 0x78], xmm1
mov eax, 0x29e4129f
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, dil
inc edi
sub al, cl
add al, 0x34
xor byte [r8], al
inc r8
cmp edi, 0x1b
jl 0x14000a52e
lea rax, [rbp - 0x40]
mov r9d, ebx
mov r8, r14
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x68]
mov r13d, ebx
lea rcx, [rbp + 0x230]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rax, [rbp + 0x230]
mov r8, r12
xor ebx, ebx
inc r8
cmp byte [rax + r8], bl
jne 0x14000a58a
mov rcx, qword [r15]
lea rdx, [rbp + 0x230]
call fcn.14000a018
test eax, eax
je 0x14000ac7c
mov rcx, qword [r15]
mov edx, 0x13880
call fcn.140009ed8
test eax, eax
je 0x14000ac7c
mov rcx, qword [r15]
lea rdx, [rbp + 0xa30]
xor r9d, r9d
mov r8d, 0x2000
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x14000ac7c
mov eax, dword [0x1400132e0]
lea r8, [rsp + 0x40]
movsd xmm0, qword [0x1400132d8]
mov edi, ebx
mov dword [rsp + 0x48], eax
mov al, byte [0x1400132e4]
mov byte [rsp + 0x4c], al
movsd qword [rsp + 0x40], xmm0
mov eax, 0x29e4129f
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, dil
inc edi
sub al, cl
add al, 0x34
xor byte [r8], al
inc r8
cmp edi, 0xd
jl 0x14000a609
mov r8d, recv
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
je 0x14000aca9
mov eax, dword [0x140013368]
lea r8, [rsp + 0x40]
movsd xmm0, qword [0x140013360]
mov edi, ebx
mov dword [rsp + 0x48], eax
mov al, byte [0x14001336c]
mov byte [rsp + 0x4c], al
movsd qword [rsp + 0x40], xmm0
mov eax, 0x29e4129f
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, dil
inc edi
sub al, cl
add al, 0x34
xor byte [r8], al
inc r8
cmp edi, 0xd
jl 0x14000a67e
mov r8d, recv
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
je 0x14000aca9
mov rcx, qword [r15]
call fcn.14000b364
call fcn.140009d84
mov r9d, dword [rbp + 0x2ad0]
mov rdx, rsi
movzx r8d, word [rbp + 0x2ab0]
mov rcx, rax
mov qword [r15], rax
call fcn.14000a0a4
test eax, eax
je 0x14000ac7c
mov rdx, qword [rbp - 0x50]
lea r8, [rsp + 0x60]
mov rcx, r14
call fcn.140006fb8
test eax, eax
je 0x14000ac7c
movups xmm0, xmmword [str.wzxyzne]
mov edi, ebx
lea r8, [rsp + 0x68]
movups xmm1, xmmword [0x1400133b0]
movups xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [0x1400133c0]
movups xmmword [rsp + 0x78], xmm1
movsd xmm1, qword [0x1400133d0]
movups xmmword [rbp - 0x78], xmm0
movsd qword [rbp - 0x68], xmm1
mov eax, 0x29e4129f
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, dil
inc edi
sub al, cl
add al, 0x34
xor byte [r8], al
inc r8
cmp edi, 0x38
jl 0x14000a74c
mov rdi, qword [rsp + 0x60]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x68]
mov r9d, r13d
mov qword [rsp + 0x20], rdi
mov r8, r14
lea rcx, [rbp + 0x230]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rax, [rbp + 0x230]
mov r8, r12
inc r8
cmp byte [rax + r8], bl
jne 0x14000a7b6
mov rcx, qword [r15]
lea rdx, [rbp + 0x230]
call fcn.14000a018
test eax, eax
je 0x14000ac7c
mov rcx, qword [r15]
mov edx, 0x13880
call fcn.140009ed8
test eax, eax
je 0x14000ac7c
mov edi, 0x2000
lea rcx, [rbp + 0xa30]
mov r8d, edi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [r15]
lea rdx, [rbp + 0xa30]
xor r9d, r9d
mov r8d, edi
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x14000ac7c
mov eax, dword [0x140013378]
lea r8, [rsp + 0x40]
movsd xmm0, qword [str.abg]
mov edi, ebx
mov dword [rsp + 0x48], eax
mov r14d, 0x29e4129f
mov al, byte [0x14001337c]
mov byte [rsp + 0x4c], al
movsd qword [rsp + 0x40], xmm0
mov eax, r14d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, dil
inc edi
sub al, cl
add al, 0x34
xor byte [r8], al
inc r8
cmp edi, 0xd
jl 0x14000a84e
mov esi, recv
lea rdx, [rsp + 0x40]
mov r8d, esi
lea rcx, [rbp + 0xa30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
je 0x14000a906
mov eax, dword [0x140013358]
lea r8, [rsp + 0x40]
movsd xmm0, qword [0x140013350]
mov edi, ebx
mov dword [rsp + 0x48], eax
mov al, byte [0x14001335c]
mov byte [rsp + 0x4c], al
movsd qword [rsp + 0x40], xmm0
mov eax, r14d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, dil
inc edi
sub al, cl
add al, 0x34
xor byte [r8], al
inc r8
cmp edi, 0xd
jl 0x14000a8bf
mov r8, rsi
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
jne 0x14000ac7c
mov eax, dword [str.zazz]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], eax
mov edi, ebx
movzx eax, word [0x1400132ec]
mov word [rsp + 0x44], ax
mov eax, r14d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, dil
inc edi
sub al, cl
add al, 0x34
xor byte [r8], al
inc r8
cmp edi, 6
jl 0x14000a923
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa30]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rsi, rax
test rax, rax
je 0x14000ac7c
add rsi, 5
lea rdx, [0x14000e8e0]
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14000ac7c
mov byte [rax], bl
mov r14, r12
inc r14
cmp byte [rsi + r14], bl
jne 0x14000a98d
test rsi, rsi
je 0x14000ac7c
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rbx
mov edx, r14d
mov qword [rsp + 0x20], rax
mov rcx, rsi
lea r8d, [r9 + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x14000ac7c
mov ecx, dword [rbp + 0x20]
inc ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000ac7c
mov ecx, dword [rbp + 0x20]
mov rdi, rax
xor eax, eax
inc ecx
and qword [rsp + 0x30], rax
mov r9, rbx
and qword [rsp + 0x28], rax
mov r8d, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x20]
mov rcx, rsi
mov edx, r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov rcx, rbx
test eax, eax
je 0x14000aca1
cmp dword [rbp + 0x20], 0
jbe 0x14000aca1
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rsp + 0x78], xmm1
mov rax, qword [rbp - 0x80]
movups xmmword [rbp - 0x78], xmm0
mov qword [rsp + 0x40], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov r9, qword [rbp - 0x58]
mov rdx, rbx
mov r8, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.140007700
test eax, eax
je 0x14000ac7c
movups xmm0, xmmword [str.wzxyzne]
xor edi, edi
lea r10, [rsp + 0x68]
movups xmm1, xmmword [0x1400133b0]
mov esi, 0x29e4129f
mov r14b, reloc.WS2_32.dll_gethostbyname
movups xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [0x1400133c0]
movups xmmword [rsp + 0x78], xmm1
movsd xmm1, qword [0x1400133d0]
movups xmmword [rbp - 0x78], xmm0
movsd qword [rbp - 0x68], xmm1
mov eax, esi
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, dil
inc edi
sub al, cl
add al, r14b
xor byte [r10], al
inc r10
cmp edi, 0x38
jl 0x14000aac9
mov rdi, qword [rsp + 0x60]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x68]
mov r9d, r13d
mov qword [rsp + 0x20], rdi
mov r8, rbx
lea rcx, [rbp + 0x230]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rax, [rbp + 0x230]
inc r12
cmp byte [rax + r12], 0
jne 0x14000ab2e
mov rcx, qword [r15]
lea rdx, [rbp + 0x230]
mov r8, r12
call fcn.14000a018
test eax, eax
je 0x14000ac7c
mov rcx, qword [r15]
mov edx, 0x13880
call fcn.140009ed8
test eax, eax
je 0x14000ac7c
mov edi, 0x2000
lea rcx, [rbp + 0xa30]
mov r8d, edi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [r15]
lea rdx, [rbp + 0xa30]
xor r9d, r9d
mov r8d, edi
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x14000ac7c
mov eax, dword [0x1400132e0]
lea r8, [rsp + 0x50]
movsd xmm0, qword [0x1400132d8]
xor edi, edi
mov dword [rsp + 0x58], eax
mov al, byte [0x1400132e4]
mov byte [rsp + 0x5c], al
movsd qword [rsp + 0x50], xmm0
mov eax, esi
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, dil
inc edi
sub al, cl
add al, r14b
xor byte [r8], al
inc r8
cmp edi, 0xd
jl 0x14000abc4
mov ebx, recv
lea rdx, [rsp + 0x50]
mov r8d, ebx
lea rcx, [rbp + 0xa30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
je 0x14000aca9
mov eax, dword [0x140013368]
lea r9, [rsp + 0x50]
movsd xmm0, qword [0x140013360]
xor edi, edi
mov dword [rsp + 0x58], eax
mov al, byte [0x14001336c]
mov byte [rsp + 0x5c], al
movsd qword [rsp + 0x50], xmm0
mov eax, esi
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, dil
inc edi
sub al, cl
add al, r14b
xor byte [r9], al
inc r9
cmp edi, 0xd
jl 0x14000ac39
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xa30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
je 0x14000aca9
xor eax, eax
mov rcx, qword [rbp + 0x2a30]
xor rcx, rsp
call fcn.14000c390
add rsp, 0x2b48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000ac7c
mov eax, 1
jmp 0x14000ac7e