Function at 0x14004ded0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x140
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x1401b06f8]
xor rax, rsp
mov qword [rbp + 8], rax
mov rdi, rdx
mov qword [rsp + 0x30], rdx
xor r15d, r15d
mov dword [rbp - 0x70], r15d
call fcn.1400cb0a0
mov rsi, rax
xorps xmm0, xmm0
test rax, rax
jne 0x14004df8e
mov eax, dword [0x140188bc0]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140188bc4]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor al, 0x35
mov byte [rsp + 0x34], al
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], r15b
jne 0x14004df70
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140016340
jmp 0x14004e61f
movups xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1401927f0]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], r15b
movups xmm0, xmmword [str.YFGD]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140189e48]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x140189e50]
mov dword [rsp + 0x68], eax
movzx eax, word [0x140189e54]
mov word [rsp + 0x6c], ax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_79]
mov byte [rsp + 0x6e], al
mov r8d, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14004e13b
movdqa xmm5, xmmword [0x140192830]
movdqa xmm4, xmmword [0x140192b20]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x1401928f0]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x140192a30]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x30]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x14004e030
cmp r8d, 0x1f
jge 0x14004e183
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1f
jl 0x14004e150
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14004e1a2
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140016340
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae r8, qword [rsp + 0x70]
mov edx, 0x2712
mov rcx, rsi
call fcn.1400ce170
lea rcx, [rsp + 0x70]
call fcn.14000d220
lea r8, [0x14004d520]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.1400ce170
lea r8, [rbp - 0x28]
mov edx, 0x2711
mov rcx, rsi
call fcn.1400ce170
mov rcx, rsi
call fcn.1400cb110
mov rcx, rsi
test eax, eax
je 0x14004e27e
call fcn.1400cb040
mov eax, dword [0x140188bc0]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140188bc4]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor al, 0x35
mov byte [rsp + 0x34], al
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea rax, [rsp + 0x30]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004e260
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140016340
jmp 0x14004e616
call fcn.1400cb040
mov qword [rbp - 0x30], r15
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 8]
call fcn.14007a650
nop
movsd xmm0, qword [str.USGQA_Z_9]
movsd qword [rsp + 0x30], xmm0
movzx eax, byte [reloc.WS2_32.dll_gethostname]
mov byte [rsp + 0x30], 0x64
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor byte [rsp + 0x34], 0x35
xor byte [rsp + 0x35], 0x36
xor byte [rsp + 0x36], 0x37
xor byte [rsp + 0x37], 0x38
xor al, 0x39
mov byte [rsp + 0x38], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x30]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14004e2f5
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140016340
nop
mov dword [rbp - 0x70], 2
cmp byte [rbp - 8], 1
jne 0x14004e3f1
mov r14, qword [rbp]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140082de0
mov rsi, qword [rsp + 0x40]
cmp byte [rsi + 0x19], 0
jne 0x14004e353
lea r8, [rsi + 0x20]
lea rdx, [rsp + 0x50]
call fcn.1400884b0
test al, al
je 0x14004e356
mov rsi, qword [r14]
mov rax, qword [rbp]
cmp rsi, qword [rax]
je 0x14004e3f1
movsd xmm0, qword [str.USGQA_Z_9]
movsd qword [rsp + 0x30], xmm0
movzx eax, byte [reloc.WS2_32.dll_gethostname]
mov byte [rsp + 0x30], 0x64
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor byte [rsp + 0x34], 0x35
xor byte [rsp + 0x35], 0x36
xor byte [rsp + 0x36], 0x37
xor byte [rsp + 0x37], 0x38
xor al, 0x39
mov byte [rsp + 0x38], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
lea rax, [rsp + 0x30]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14004e3c0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140016340
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 8]
call fcn.1400773d0
cmp byte [rax], 3
jne 0x14004e3f1
mov sil, 1
jmp 0x14004e3f4
xor sil, sil
lea rcx, [rsp + 0x50]
call fcn.14000d220
test sil, sil
je 0x14004e518
movsd xmm0, qword [str.USGQA_Z_9]
movsd qword [rsp + 0x30], xmm0
movzx eax, byte [reloc.WS2_32.dll_gethostname]
mov byte [rsp + 0x30], 0x64
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor byte [rsp + 0x34], 0x35
xor byte [rsp + 0x35], 0x36
xor byte [rsp + 0x36], 0x37
xor byte [rsp + 0x37], 0x38
xor al, 0x39
mov byte [rsp + 0x38], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
lea rax, [rsp + 0x30]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004e460
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140016340
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 8]
call fcn.1400773d0
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14007a770
mov rbx, rax
lea rax, [rbp - 0x28]
cmp rax, rbx
je 0x14004e5de
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14004e4e4
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e4df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e4df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140129630
movdqa xmm0, xmmword [0x1401927f0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
jmp 0x14004e5de
mov eax, dword [0x140188bc0]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140188bc4]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor al, 0x35
mov byte [rsp + 0x34], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x30]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004e560
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140016340
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14004e5b9
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e5b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e5b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140129630
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x18], xmm1
movdqa xmm0, xmmword [0x1401927f0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.14000d220
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x1401927f0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
movzx edx, byte [rbp - 8]
lea rcx, [rbp]
call fcn.140079d30
nop
lea rcx, [rbp - 0x28]
call fcn.14000d220
mov rax, rdi
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1401292a0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret