Function at 0x14005c8f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x460
mov rax, qword [0x1401cf518]
xor rax, rsp
mov qword [rsp + 0x450], rax
lea rdx, [0x1401576dc]
lea rcx, [rsp + 0x70]
call fcn.140003570
nop
lea rdx, [rsp + 0x70]
lea rcx, [0x1401d7c10]
call fcn.1400bc030
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x70]
call fcn.140003860
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x14005c963
lea rcx, str._nDumpMemory
call fcn.14000ad70
lea rax, [rsp + 0x240]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
lea rax, [rsp + 0x230]
mov rdi, rax
xor eax, eax
mov ecx, 0xa
rep stosb byte [rdi], al
lea rax, [rsp + 0x340]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x488]
mov rcx, qword [rsp + 0x480]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov r8d, dword [rsp + 0x478]
lea rdx, str._PID_d
lea rcx, [rsp + 0x230]
call fcn.14002e6a0
mov rcx, qword [rsp + 0x490]
call fcn.140004b60
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x480]
lea rdx, str.0x_016llx_0x_016llx__S.bin
lea rcx, [rsp + 0x340]
call fcn.14002e7c0
lea rdx, [0x1401d6c50]
lea rcx, [rsp + 0x240]
call fcn.14010e840
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x240]
call fcn.14010e7a0
xor r8d, r8d
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x90]
call fcn.14000ae20
nop
lea rcx, [rsp + 0x90]
call fcn.1400bc1b0
movzx eax, al
test eax, eax
jne 0x14005ca69
mov dword [rsp + 0x40], 1
jmp 0x14005ca71
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x32], al
lea rcx, [rsp + 0x90]
call fcn.14003e0f0
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x14005cac4
xor r8d, r8d
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0xb0]
call fcn.14000ae20
nop
lea rcx, [rsp + 0xb0]
call fcn.1400b6ff0
nop
lea rcx, [rsp + 0xb0]
call fcn.14003e0f0
lea rdx, [0x14015771c]
lea rcx, [rsp + 0x240]
call fcn.14010e7a0
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x240]
call fcn.14010e7a0
xor r8d, r8d
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0xd0]
call fcn.14000ae20
nop
lea rcx, [rsp + 0xd0]
call fcn.1400bc1b0
movzx eax, al
test eax, eax
jne 0x14005cb24
mov dword [rsp + 0x44], 1
jmp 0x14005cb2c
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x33], al
lea rcx, [rsp + 0xd0]
call fcn.14003e0f0
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x14005cd43
mov edx, 0x108
lea rcx, [rsp + 0x120]
call fcn.1400079b0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x120]
call fcn.140031be0
nop
lea rax, [rsp + 0xf0]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x480]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14005cd27
mov r9d, 0x30
lea r8, [rsp + 0xf0]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x470]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x14005cd20
cmp dword [rsp + 0x110], 0x1000
jne 0x14005cd06
mov rcx, qword [rsp + 0x108]
call fcn.140102250
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x108]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x470]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14005ccb3
mov rax, qword [rsp + 0x108]
dec rax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jle 0x14005cc97
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
xor eax, 0xe
mov byte [rsp + 0x30], al
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
movzx edx, byte [rsp + 0x30]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jge 0x14005cc56
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x120]
call fcn.1400c4ab0
jmp 0x14005cccc
xor edx, edx
mov rcx, qword [rsp + 0x470]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x14005cccc
jmp 0x14005cd27
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140101c84
cmp qword [rsp + 0x58], 0
jne 0x14005ccf3
mov qword [rsp + 0x68], 0
jmp 0x14005cd06
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
jmp 0x14005cd22
jmp 0x14005cd27
jmp 0x14005cbac
lea rcx, [rsp + 0x120]
call fcn.1400b6d00
nop
lea rcx, [rsp + 0x120]
call fcn.1400438a0
nop
mov rcx, qword [rsp + 0x490]
call fcn.140003890
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140101e00
add rsp, 0x460
pop rdi
ret