Function at 0x14004ff88
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x200
mov rax, qword [0x140141480]
xor rax, rsp
mov qword [rbp + 0xf8], rax
xor r13d, r13d
mov edi, r13d
mov dword [rsp + 0x30], r13d
movdqa xmm0, xmmword [str.j_P6]
movdqu xmmword [rbp + 0x40], xmm0
mov dword [rbp + 0x50], 0x131e0318
mov word [rbp + 0x54], gethostname
mov ecx, r13d
mov al, byte [rbp + 0x40]
xor byte [rbp + rcx + 0x41], al
inc rcx
cmp rcx, 0x14
jb 0x14004ffe7
mov byte [rbp + 0x55], r13b
lea rax, [rbp + 0x41]
mov qword [rsp + 0x70], rax
mov r8b, r13b
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xd8]
call fcn.140041458
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
xor r8d, r8d
lea rdx, [rbp + 0xd8]
lea rcx, [rsp + 0x40]
call fcn.140041f68
test eax, eax
jne 0x140050581
lea rcx, [rbp + 0xd8]
call fcn.14004e654
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x140050061
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
mov edi, dword [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
test rbx, rbx
je 0x14005007e
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
or r12, 0xffffffffffffffff
test rbx, rbx
je 0x1400500cf
mov eax, r12d
lock xadd dword [rbx + 8], eax
add eax, r12d
jne 0x1400500c6
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x1400500c6
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400500cb
mov rbx, qword [rsp + 0x48]
mov edi, dword [rsp + 0x30]
mov esi, 2
mov r15, qword [rsp + 0x60]
test r15, r15
je 0x1400504ca
lea rcx, [r15 + 0x20]
cmp qword [r15 + 0x38], 7
jbe 0x1400500f1
mov rcx, qword [r15 + 0x20]
mov rax, qword [r15 + 0x30]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.14004dc7c
mov r8b, r13b
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.140041494
or edi, 0x10
or edi, 1
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x90], r13
lea rdx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 7
cmova rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc8]
lea rcx, [rbp + 0x78]
call fcn.1400412c8
or edi, 0x20
or edi, esi
mov dword [rsp + 0x30], edi
movzx ecx, si
mov word [rbp + 0x10], cx
mov dword [rbp + 0x12], 0x71002c
mov dword [rbp + 0x16], 0x71007b
mov word [rbp + 0x1a], si
movzx eax, word [0x1400d2db2]
xor ax, si
mov word [rbp + 0x1c], ax
movzx eax, word [0x1400d2db4]
xor ax, si
mov word [rbp + 0x1e], ax
movzx eax, word [0x1400d2db6]
xor ax, si
mov word [rbp + 0x20], ax
movzx eax, word [str..exe]
xor ax, si
mov word [rbp + 0x22], ax
xor eax, eax
mov word [rbp + 0x24], ax
mov rax, r13
xor word [rbp + rax*2 + 0x12], cx
inc rax
cmp rax, 9
jae 0x1400501e2
movzx ecx, word [rbp + 0x10]
jmp 0x1400501ce
mov word [rbp + 0x24], r13w
lea rcx, [rbp + 0x12]
mov rax, r12
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1400501ee
lea rcx, [rbp + 0x78]
cmp qword [rbp + 0x90], 7
cmova rcx, qword [rbp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x12]
xor r8d, r8d
mov rdx, qword [rbp + 0x88]
call fcn.140043180
cmp rax, r12
jne 0x140050370
lea rcx, [r15 + 0x20]
cmp qword [r15 + 0x38], 7
jbe 0x140050239
mov rcx, qword [r15 + 0x20]
mov rax, qword [r15 + 0x30]
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rax
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.14004dc7c
mov r8b, r13b
mov rdx, rax
lea rcx, [rbp + 0x98]
call fcn.140041494
bts edi, 7
or edi, 4
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], r13
lea rdx, [rbp + 0x98]
cmp qword [rbp + 0xb0], 7
cmova rdx, qword [rbp + 0x98]
mov r8, qword [rbp + 0xa8]
lea rcx, [rbp + 0x58]
call fcn.1400412c8
or edi, 0x48
mov dword [rsp + 0x30], edi
mov edx, 0x67
movzx ecx, dx
mov dword [rbp + 0x28], 0x490067
mov dword [rbp + 0x2c], 0x1f0002
mov dword [rbp + 0x30], 0x670002
movzx eax, word [0x1400d2dc2]
xor ax, dx
mov word [rbp + 0x34], ax
movzx eax, word [0x1400d2dc4]
xor ax, dx
mov word [rbp + 0x36], ax
movzx eax, word [0x1400d2dc6]
xor ax, dx
mov word [rbp + 0x38], ax
movzx eax, word [0x1400d2dc8]
xor ax, dx
mov word [rbp + 0x3a], ax
xor eax, eax
mov word [rbp + 0x3c], ax
mov rax, r13
xor word [rbp + rax*2 + 0x2a], cx
inc rax
cmp rax, 9
jae 0x140050327
movzx ecx, word [rbp + 0x28]
jmp 0x140050313
mov word [rbp + 0x3c], r13w
lea rcx, [rbp + 0x2a]
mov rax, r12
inc rax
cmp word [rcx + rax*2], r13w
jne 0x140050333
lea rcx, [rbp + 0x58]
mov rsi, qword [rbp + 0x58]
mov r14, qword [rbp + 0x70]
cmp r14, 7
cmova rcx, rsi
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x2a]
xor r8d, r8d
mov rdx, qword [rbp + 0x68]
call fcn.140043180
cmp rax, r12
jne 0x140050378
mov r12b, r13b
jmp 0x14005037b
mov r14, qword [rbp + 0x70]
mov rsi, qword [rbp + 0x58]
mov r12b, 1
test dil, 8
je 0x1400503d4
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
cmp r14, 7
jbe 0x1400503c3
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400503bb
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400504bc
mov rcx, rsi
call fcn.1400c1e64
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r13w
test dil, 4
je 0x1400503ee
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x98]
call fcn.14004e654
nop
mov esi, 2
test sil, dil
je 0x140050459
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0x90]
cmp rdx, 7
jbe 0x140050442
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005043d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400504c3
call fcn.1400c1e64
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r13w
test dil, 1
je 0x140050472
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0xb8]
call fcn.14004e654
test r12b, r12b
je 0x1400504a1
lea rsi, [r15 + 0x20]
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140050488
mov rcx, qword [rsi]
call fcn.1400c1aac
mov qword [rsp + 0x50], rax
shr rax, 0x20
test eax, eax
jne 0x140050597
lea esi, [rax + 2]
lea rcx, [rsp + 0x60]
call fcn.14004cb0c
test eax, eax
jne 0x140050572
or r12, 0xffffffffffffffff
jmp 0x1400500d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14005050b
mov eax, r12d
lock xadd dword [rcx + 8], eax
add eax, r12d
jne 0x140050506
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x140050506
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x140050542
mov eax, r12d
lock xadd dword [rbx + 8], eax
add eax, r12d
jne 0x140050542
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x140050542
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0xf8]
xor rcx, rsp
call fcn.1400c1f80
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, eax
lea rcx, str.directory_iterator::operator
call fcn.14004e128
nop
lea r8, [rbp + 0xd8]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14004e184
nop
mov r8, rsi
mov edx, dword [rsp + 0x54]
lea rcx, [0x1400d2cf0]
call fcn.14004e184
int3