Function at 0x14001ad30
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 [0x140116080]
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, [0x1400f0a70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14001aea0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movdqa xmm0, xmmword [0x140100440]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1401003b0]
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x140100420]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0x24262c29
mov dword [rsp + 0x74], 0x2b2a2c31
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 0x14001ae01
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.14001e030
lea rdx, [0x14001e290]
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 0x14001b4df
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1403f4dd0], xmm0
movups xmmword [0x1403f4de0], xmm0
movups xmmword [0x1403f4df0], xmm0
movups xmmword [0x1403f4e00], xmm0
movups xmmword [0x1403f4e10], xmm0
movups xmmword [0x1403f4e20], xmm0
mov dword [0x1403f4e30], 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 0x14001af53
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 + 0xfe128]
mov byte [rdi + r14 + 0x3f4dd0], al
inc rdi
cmp rdi, rsi
jl 0x14001af20
movdqa xmm0, xmmword [0x140100a80]
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.14001e030
lea rdx, [0x14001e290]
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.14001ab60
nop
cmp qword [rbp - 0x70], 0
jne 0x14001aff1
movdqa xmm0, xmmword [0x140100350]
movdqa xmm1, xmmword [0x140100b00]
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.14001e030
lea rdx, [0x14001e290]
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 0x14001b4cc
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.14001dd90
nop
mov r8d, 0x8708
lea rdx, [0x1400f0c10]
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 0x14001b0f4
call fcn.140009590
test rax, rax
jne 0x14001b088
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 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.140007b50
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 [0x140100870]
movdqa xmm1, xmmword [0x140100960]
mov dword [rsp + 0x60], 0x69662072
mov word [rsp + 0x64], 0x656c
mov byte [rsp + 0x66], 0
jmp 0x14001afbf
call fcn.140009590
test rax, rax
jne 0x14001b11b
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 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.140007b50
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.140020170
test al, al
jne 0x14001b31b
movdqa xmm0, xmmword [0x140100700]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140100710]
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x1401006e0]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0x5602504d
mov dword [rsp + 0x74], 0x4602474a
mov dword [rsp + 0x78], 0x47544b50
mov word [rsp + 0x7c], 0x50
nop dword [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
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x55], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x56], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x57], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x58], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x59], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x5a], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x5b], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x5c], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x5d], al
movzx eax, byte [rsp + 0x40]
xor byte [rsp + rbx + 0x5e], al
add rbx, 0x1e
cmp rbx, 0x3c
jb 0x14001b1c0
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.14001e030
lea rdx, [0x14001e290]
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 0x14001b4cc
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, [0x1400f0a70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14001b490
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, recvfrom
lea rdx, [0x1400f0a80]
lea rcx, [rsp + 0x40]
call fcn.14000bb30
nop
lea rcx, [rsp + 0x40]
call fcn.140020aa0
mov qword [0x1403f4dc8], rax
lea rcx, [rsp + 0x40]
call fcn.140009d60
cmp qword [0x1403f4dc8], 0
jne 0x14001b3cf
movdqa xmm0, xmmword [0x140100820]
movdqa xmm1, xmmword [0x140100a50]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0x6578652e
mov byte [rsp + 0x64], 0
jmp 0x14001b49d
mov rcx, rdi
call fcn.14001d7b0
test al, al
jne 0x14001b415
movdqa xmm0, xmmword [0x140100830]
movdqa xmm1, xmmword [0x140100750]
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 0x14001b49d
mov rcx, rdi
call fcn.14001cdd0
test al, al
jne 0x14001b454
movdqa xmm0, xmmword [0x140100860]
movdqa xmm1, xmmword [0x1401007f0]
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 0x14001b49d
mov rcx, rdi
call fcn.14001b510
test al, al
jne 0x14001b4d3
movdqa xmm0, xmmword [0x140100840]
movdqa xmm1, xmmword [0x140100950]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0x69724472
mov dword [rsp + 0x64], 0x4c726576
mov dword [rsp + 0x68], 0x747369
jmp 0x14001b49d
movdqa xmm0, xmmword [0x140100850]
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.14001e030
lea rdx, [0x14001e290]
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.14001c270
mov rdi, 0xffffffffffffffff
lea rcx, [rbp - 0x80]
call fcn.140009cf0
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400da3c0
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