Function at 0x140066370
Capabilities:
Contain obfuscated stackstrings
Delete file
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1401a8080]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
imul eax, ebx
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str..Nal
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400664e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movdqa xmm0, xmmword [0x140189d10]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140189d70]
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x140189d40]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0x5f5d5752
mov dword [rsp + 0x74], 0x5051574a
mov byte [rsp + 0x78], bl
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x41], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x42], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x43], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x44], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x45], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x46], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x47], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x48], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x49], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x4a], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x4b], al
add rbx, 0xb
cmp rbx, 0x37
jb 0x140066441
mov byte [rsp + 0x78], 0
lea rdx, [rsp + 0x41]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140069170
lea rdx, [0x1400693d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rax, 0xffffffffffffffff
jmp 0x140066ac5
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1403957b0], xmm0
movups xmmword [0x1403957c0], xmm0
movups xmmword [0x1403957d0], xmm0
movups xmmword [0x1403957e0], xmm0
movups xmmword [0x1403957f0], xmm0
movups xmmword [0x140395800], xmm0
mov dword [0x140395810], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r8d, ecx
add r8d, 0xa
mov rdi, rbx
movsxd rsi, r8d
test r8d, r8d
jle 0x140066593
movabs r15, 0x4ec4ec4ec4ec4ec5
lea r14, [0x140000000]
nop dword [rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r15
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
movzx eax, byte [rcx + r14 + 0x188b88]
mov byte [rdi + r14 + 0x3957b0], al
inc rdi
cmp rdi, rsi
jl 0x140066560
movdqa xmm0, xmmword [0x140189fb0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x72642067
mov dword [rsp + 0x54], 0x72657669
mov word [rsp + 0x58], reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x41]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140069170
lea rdx, [0x1400693d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rcx, [rbp - 0x80]
call fcn.1400661a0
nop
cmp qword [rbp - 0x70], 0
jne 0x140066631
movdqa xmm0, xmmword [0x140189a20]
movdqa xmm1, xmmword [0x14018a090]
mov byte [rsp + 0x60], 0
movdqu xmmword [rsp + 0x50], xmm1
movdqu xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x41]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140069170
lea rdx, [0x1400693d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x140066ab2
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140069010
nop
mov r8d, 0x8708
lea rdx, [0x14017f560]
lea rcx, [rbp - 0x60]
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]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
lea rcx, [rbp - 0x58]
test al, al
je 0x140066735
call fcn.140009200
test rax, rax
jne 0x1400666c9
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call fcn.1400076f0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movdqa xmm0, xmmword [0x140189e70]
movdqa xmm1, xmmword [0x140189ec0]
mov dword [rsp + 0x60], 0x69662072
mov word [rsp + 0x64], 0x656c
mov byte [rsp + 0x66], 0
jmp 0x1400665ff
call fcn.140009200
test rax, rax
jne 0x14006675d
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call fcn.1400076f0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x80]
call fcn.14006b2a0
test al, al
jne 0x140066901
movdqa xmm0, xmmword [0x140189fe0]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140189fd0]
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x140189f90]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0x7f2b7964
mov dword [rsp + 0x74], 0x6f2b6e63
mov dword [rsp + 0x78], 0x6e7d6279
mov word [rsp + 0x7c], 0x79
nop word [rax + rax]
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x41], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x42], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x43], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x44], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x45], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x46], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x47], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x48], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x49], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x4a], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x4b], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x4c], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x4d], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x4e], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x4f], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x50], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x51], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x52], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x53], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x54], al
add rbx, 0x14
cmp rbx, 0x3c
jb 0x140066800
mov byte [rsp + 0x7d], 0
lea rdx, [rsp + 0x41]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140069170
lea rdx, [0x1400693d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
jmp 0x140066ab2
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str..Nal
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140066a76
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, recv
lea rdx, [0x140188a08]
lea rcx, [rsp + 0x40]
call fcn.14000b760
nop
lea rcx, [rsp + 0x40]
call fcn.14006bb50
mov qword [0x140395818], rax
lea rcx, [rsp + 0x40]
call fcn.1400099d0
cmp qword [0x140395818], 0
jne 0x1400669b5
movdqa xmm0, xmmword [0x140189e60]
movdqa xmm1, xmmword [0x140189f80]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0x6578652e
mov byte [rsp + 0x64], 0
jmp 0x140066a83
mov rcx, rdi
call fcn.140068a20
test al, al
jne 0x1400669fb
movdqa xmm0, xmmword [0x140189e80]
movdqa xmm1, xmmword [0x140189cf0]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0x42687361
mov dword [rsp + 0x64], 0x656b6375
mov dword [rsp + 0x68], 0x73694c74
mov word [rsp + 0x6c], reloc.WS2_32.dll_WSACleanup
jmp 0x140066a83
mov rcx, rdi
call fcn.140068030
test al, al
jne 0x140066a3a
movdqa xmm0, xmmword [0x140189e30]
movdqa xmm1, xmmword [0x140189e10]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0x44646564
mov dword [rsp + 0x64], 0x65766972
mov word [rsp + 0x68], 0x7372
mov byte [rsp + 0x6a], al
jmp 0x140066a83
mov rcx, rdi
call fcn.140066b00
test al, al
jne 0x140066ab9
movdqa xmm0, xmmword [0x140189e50]
movdqa xmm1, xmmword [0x140189eb0]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0x69724472
mov dword [rsp + 0x64], 0x4c726576
mov dword [rsp + 0x68], 0x747369
jmp 0x140066a83
movdqa xmm0, xmmword [0x140189e40]
mov byte [rsp + 0x50], 0
movdqu xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x41]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140069170
lea rdx, [0x1400693d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rdi
call fcn.1400674b0
mov rdi, 0xffffffffffffffff
lea rcx, [rbp - 0x80]
call fcn.140009960
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140145d90
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret