Function at 0x140039cc0
Capabilities:
Create process on windows
Encode data using xor
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x378]
sub rsp, 0x470
mov rax, qword [0x140116080]
xor rax, rsp
mov qword [rbp + 0x360], rax
lea rcx, [rbp + 0x58]
call fcn.14003a0ac
lea rdx, [rsp + 0x60]
call fcn.14003a004
mov r10, rax
mov esi, 0x51eb851f
xor edi, edi
cmp byte [rax + 0x10], dil
je 0x140039d3c
mov r8d, edi
mov r9, rax
mov eax, esi
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x11
jl 0x140039d18
mov rdx, r10
lea rcx, [rsp + 0x78]
call fcn.14003cea8
mov r8, rax
lea rdx, [rbp - 0x68]
lea rcx, [0x140163e90]
call fcn.140058020
mov r8, rax
lea rdx, [rbp + 0x58]
lea rcx, [0x140163e90]
call fcn.14004d0c0
nop
lea rdx, [0x1401640c8]
lea rcx, [rbp + 0xb0]
call fcn.14003cedc
nop
lea rcx, [rbp + 0x140]
call fcn.14003931c
lea rdx, [rsp + 0x50]
call fcn.14003a01c
mov r10, rax
cmp byte [rax + 0xd], dil
je 0x140039dce
mov r8d, edi
mov r9, rax
mov eax, esi
mul r8d
shr edx, 4
movsx ecx, dl
imul eax, ecx, 0x32
mov cl, r8b
sub cl, al
add cl, 0x31
xor byte [r9], cl
inc r8d
inc r9
cmp r8d, 0xe
jl 0x140039da9
mov rdx, r10
lea rcx, [rbp + 0x140]
call fcn.14003bd48
nop
lea rcx, [rbp + 0x58]
call fcn.14003c8c8
mov r8, rax
lea rcx, [rbp + 0x58]
call fcn.14003c8d0
mov rdx, rax
lea rcx, [rbp + 0x140]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x140]
call fcn.14003bd14
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x104
lea rdx, [rbp + 0x250]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x70]
call fcn.14003dc74
nop
lea rdx, [rsp + 0x60]
call fcn.14003a01c
mov r10, rax
cmp byte [rax + 0xd], dil
je 0x140039e7d
mov r8d, edi
mov r9, rax
mov eax, esi
mul r8d
shr edx, 4
movsx ecx, dl
imul edx, ecx, 0x32
mov al, r8b
sub al, dl
add al, 0x31
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0xe
jl 0x140039e59
mov qword [rsp + 0x50], r10
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.14003dcac
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x70]
call fcn.140038980
nop
lea r8, [rsp + 0x78]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.140038a2c
nop
lea rcx, [rbp - 0x68]
call fcn.140038a70
nop
lea rcx, [rsp + 0x78]
call fcn.140038a70
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp + 0xd4]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xd0], WSAGetLastError
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rax
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x90]
call fcn.140038934
mov rcx, rax
call fcn.14003ccf8
mov rcx, rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
lea rcx, [rbp - 0x48]
call fcn.14003cd74
test ebx, ebx
jne 0x140039fe4
lea rdx, [rsp + 0x60]
call fcn.14003a088
mov r11, rax
cmp word [rax + 0xc], di
je 0x140039f98
mov r8d, edi
mov r9, rax
mov eax, esi
mul r8d
shr edx, 4
movzx ecx, dx
imul eax, ecx, 0x32
movzx ecx, r8w
sub cx, ax
add cx, 0x31
xor word [r9], cx
inc r8d
lea r9, [r9 + 2]
cmp r8d, 7
jl 0x140039f6e
lea rdx, [rbp - 0x20]
call fcn.14003a040
mov r10, rax
cmp word [rax + 0x56], di
je 0x140039fd3
mov r8, rax
mov eax, esi
mul edi
shr edx, 4
movzx ecx, dx
imul edx, ecx, 0x32
movzx eax, di
sub ax, dx
add ax, 0x31
xor word [r8], ax
inc edi
lea r8, [r8 + 2]
cmp edi, 0x2c
jl 0x140039fad
xor r9d, r9d
mov r8, r11
mov rdx, r10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3