Function at 0x140084360
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 r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1401ce080]
xor rax, rsp
mov qword [rbp + 0xa8], 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 dword [rsp + 0x4c], WSAStartup
mov dword [rsp + 0x40], 0x5c005c
mov dword [rsp + 0x44], 0x5c002e
mov dword [rsp + 0x48], 0x61004e
mov byte [rsp + 0x50], bl
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, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140084421
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, 0xffffffffffffffff
jmp 0x140084e62
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1401e9170], xmm0
movups xmmword [0x1401e9180], xmm0
movups xmmword [0x1401e9190], xmm0
movups xmmword [0x1401e91a0], xmm0
movups xmmword [0x1401e91b0], xmm0
movups xmmword [0x1401e91c0], xmm0
mov dword [0x1401e91d0], 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
movsxd rsi, r8d
test r8d, r8d
jle 0x1400844d3
mov rdi, rbx
movabs r12, 0x4ec4ec4ec4ec4ec5
lea r14, [0x140000000]
nop word [rax + rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r12
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
movzx eax, byte [rcx + r14 + 0x1b0210]
mov byte [rdi + r14 + 0x1e9170], al
inc rdi
cmp rdi, rsi
jl 0x1400844a0
lea rcx, [rbp + 0x88]
call fcn.140084050
nop
cmp qword [rbp + 0x98], 0
jne 0x140084587
mov dword [rsp + 0x60], 0x35a935d8
mov dword [rsp + 0x64], 0x35a635d8
mov dword [rsp + 0x68], 0x35e935c4
mov dword [rsp + 0x6c], 0x35ad35e7
mov dword [rsp + 0x70], 0x35ac35ff
mov dword [rsp + 0x74], 0x35e735eb
mov dword [rsp + 0x78], 0x35f435e1
mov dword [rsp + 0x7c], 0x35c635b1
mov dword [rbp - 0x80], 0x35d935d6
mov dword [rbp - 0x7c], 0x35b635c5
mov dword [rbp - 0x78], 0x35f735f1
mov dword [rbp - 0x74], 0x35fe35f5
mov dword [rbp - 0x70], 0x35ee35fe
mov word [rbp - 0x6c], bx
mov byte [rbp - 0x6a], 1
lea rcx, [rsp + 0x60]
call fcn.140084ea0
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14008c660
lea rdx, [0x14008c840]
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 0x140084e0f
lea rcx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 7
cmova rcx, qword [rbp + 0x88]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 7
cmova rdx, qword [rbp + 0x88]
lea rcx, [rsp + 0x60]
call fcn.14008be90
nop
mov r8d, 0x8708
lea rdx, [0x1401a6140]
lea rcx, [rsp + 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, [rsp + 0x68]
test al, al
je 0x140084626
call fcn.140023a80
test rax, rax
jne 0x140084621
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 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
xor dil, dil
jmp 0x140084653
call fcn.140023a80
test rax, rax
jne 0x140084650
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 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 dil, 1
lea rcx, [rsp + 0x60]
call fcn.1400858d0
test dil, dil
jne 0x14008471b
mov dword [rsp + 0x60], 0x35a935d8
mov dword [rsp + 0x64], 0x35a635d8
mov dword [rsp + 0x68], 0x35e935c1
mov dword [rsp + 0x6c], 0x35e635e0
mov dword [rsp + 0x70], 0x35e835ee
mov dword [rsp + 0x74], 0x35fa35ad
mov dword [rsp + 0x78], 0x35b035e0
mov dword [rsp + 0x7c], 0x35e035f2
mov dword [rbp - 0x80], 0x35f535f6
mov dword [rbp - 0x7c], 0x35f335e1
mov dword [rbp - 0x78], 0x35ee35b7
mov dword [rbp - 0x74], 0x35f635ec
mov dword [rbp - 0x70], 0x35f935f5
mov dword [rbp - 0x6c], 0x35ff35ef
mov dword [rbp - 0x68], 0x35cc35fd
mov dword [rbp - 0x64], 0x358235c4
mov dword [rbp - 0x60], 0x35d635c7
mov dword [rbp - 0x5c], 0x35d035cc
mov dword [rbp - 0x58], 0x35da35c2
mov dword [rbp - 0x54], 0x35cc3589
mov dword [rbp - 0x50], 0x35c035c2
mov dword [rbp - 0x4c], 0x35c8
mov byte [rbp - 0x48], 1
lea rcx, [rsp + 0x60]
call fcn.140083b40
jmp 0x140084563
lea rcx, [rbp + 0x88]
call fcn.140094120
test al, al
jne 0x140084998
mov dword [rsp + 0x60], 0x35a935d8
mov dword [rsp + 0x64], 0x35a635d8
mov dword [rsp + 0x68], 0x35e935c1
mov dword [rsp + 0x6c], 0x35e635e0
mov dword [rsp + 0x70], 0x35e835ee
mov dword [rsp + 0x74], 0x35fa35ad
mov dword [rsp + 0x78], 0x35b035e0
mov dword [rsp + 0x7c], 0x35f735e3
mov dword [rbp - 0x80], 0x35fd35f4
mov dword [rbp - 0x7c], 0x35e235e6
mov dword [rbp - 0x78], 0x35ea35f2
mov dword [rbp - 0x74], 0x35fb35b9
mov dword [rbp - 0x70], 0x35f835f5
mov dword [rbp - 0x6c], 0x35ed35bd
mov dword [rbp - 0x68], 0x35c135eb
mov dword [rbp - 0x64], 0x35d635d3
mov edi, 0x3583
mov dword [rbp - 0x60], 0x35d73583
mov dword [rbp - 0x5c], 0x35d435c0
mov dword [rbp - 0x58], 0x35c135d1
mov esi, 0x35ca
mov dword [rbp - 0x54], 0x35cf35ca
mov dword [rbp - 0x50], 0x35ca358b
mov dword [rbp - 0x4c], 0x35dc35c2
mov dword [rbp - 0x48], 0x35c4358f
mov dword [rbp - 0x44], 0x35d735d9
mov dword [rbp - 0x40], 0x35c23593
mov dword [rbp - 0x3c], 0x35da35c0
mov dword [rbp - 0x38], 0x35dd35d9
mov dword [rbp - 0x34], 0x35db35cb
mov dword [rbp - 0x30], 0x35d035d9
mov dword [rbp - 0x2c], 0x359e35d8
mov dword [rbp - 0x28], 0x35b235db
mov dword [rbp - 0x24], 0x35b435a8
mov dword [rbp - 0x20], 0x35b635a6
mov word [rbp - 0x1c], bx
mov byte [rbp - 0x1a], 1
movdqa xmm3, xmmword [0x1401b0b90]
movdqa xmm4, xmmword [0x1401b0d90]
mov ecx, 0x358a
nop word [rax + rax]
movq xmm2, rbx
punpcklqdq xmm2, xmm2
paddq xmm2, xmm4
movd xmm1, dword [rsp + rbx*2 + 0x60]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rsp + rbx*2 + 0x60], xmm1
lea rax, [rcx - 5]
movq xmm2, rax
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
movd xmm1, dword [rsp + rbx*2 + 0x64]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rsp + rbx*2 + 0x64], xmm1
lea rax, [rcx - 3]
movq xmm2, rax
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
movd xmm1, dword [rsp + rbx*2 + 0x68]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rsp + rbx*2 + 0x68], xmm1
lea rax, [rcx - 1]
movq xmm0, rcx
movq xmm2, rax
punpcklqdq xmm2, xmm0
movd xmm1, dword [rsp + rbx*2 + 0x6c]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rsp + rbx*2 + 0x6c], xmm1
add rbx, 8
add rcx, 8
cmp rcx, rsi
jb 0x140084850
cmp rbx, 0x42
jae 0x140084951
nop dword [rax + rax]
lea eax, [rdi + rbx]
xor word [rsp + rbx*2 + 0x60], ax
inc rbx
cmp rbx, 0x42
jb 0x140084940
mov byte [rbp - 0x1a], 0
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14008c660
lea rdx, [0x14008c840]
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 + 0x88]
cmp qword [rbp + 0xa0], 7
cmova rcx, qword [rbp + 0x88]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
jmp 0x140084e0f
mov dword [rbp + 0x7c], WSAGetLastError
mov dword [rbp + 0x70], 0x5c005c
mov dword [rbp + 0x74], 0x5c002e
mov dword [rbp + 0x78], 0x61004e
mov byte [rbp + 0x80], 0
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, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140084d4d
mov word [rsp + 0x4b], 0x65
mov dword [rsp + 0x40], 0x736f746e
mov dword [rsp + 0x44], 0x6c6e726b
mov word [rsp + 0x48], 0x652e
mov byte [rsp + 0x4a], 0x78
mov byte [rsp + 0x4d], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140084a40
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14001a010
nop
lea rcx, [rsp + 0x60]
call fcn.1400951d0
mov qword [0x1401e9160], rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140084ab2
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084aa6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084aa6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401045ac
mov rax, qword [0x1401e9160]
test rax, rax
jne 0x140084b43
mov dword [rsp + 0x60], 0x35a935d8
mov dword [rsp + 0x64], 0x35a635d8
mov dword [rsp + 0x68], 0x35e935c1
mov dword [rsp + 0x6c], 0x35e635e0
mov dword [rsp + 0x70], 0x35e835ee
mov dword [rsp + 0x74], 0x35fa35ad
mov dword [rsp + 0x78], 0x35b035e0
mov dword [rsp + 0x7c], 0x35f735f6
mov dword [rbp - 0x80], 0x35b435e7
mov dword [rbp - 0x7c], 0x35e235fb
mov dword [rbp - 0x78], 0x35eb35f8
mov dword [rbp - 0x74], 0x35e835f2
mov dword [rbp - 0x70], 0x35f035f5
mov dword [rbp - 0x6c], 0x35fb35b3
mov dword [rbp - 0x68], 0x35c535e7
mov word [rbp - 0x64], bx
mov byte [rbp - 0x62], 1
lea rcx, [rsp + 0x60]
call fcn.140085140
jmp 0x140084de8
mov rcx, rdi
call fcn.140088d40
test al, al
jne 0x140084be9
mov dword [rsp + 0x60], 0x35a935d8
mov dword [rsp + 0x64], 0x35a635d8
mov dword [rsp + 0x68], 0x35e935c1
mov dword [rsp + 0x6c], 0x35e635e0
mov dword [rsp + 0x70], 0x35e835ee
mov dword [rsp + 0x74], 0x35fa35ad
mov dword [rsp + 0x78], 0x35b035e0
mov dword [rsp + 0x7c], 0x35fe35d2
mov dword [rbp - 0x80], 0x35f535f6
mov dword [rbp - 0x7c], 0x35c635e7
mov dword [rbp - 0x78], 0x35dc35fe
mov dword [rbp - 0x74], 0x35d835dd
mov dword [rbp - 0x70], 0x35fd35d8
mov dword [rbp - 0x6c], 0x35f635fe
mov dword [rbp - 0x68], 0x35f435fa
mov dword [rbp - 0x64], 0x35c035c0
mov dword [rbp - 0x60], 0x35c135cf
mov word [rbp - 0x5c], bx
mov byte [rbp - 0x5a], 1
lea rcx, [rsp + 0x60]
call fcn.140085290
jmp 0x140084de8
mov rcx, rdi
call fcn.140089480
test al, al
jne 0x140084ca0
mov dword [rsp + 0x60], 0x35a935d8
mov dword [rsp + 0x64], 0x35a635d8
mov dword [rsp + 0x68], 0x35e935c1
mov dword [rsp + 0x6c], 0x35e635e0
mov dword [rsp + 0x70], 0x35e835ee
mov dword [rsp + 0x74], 0x35fa35ad
mov dword [rsp + 0x78], 0x35b035e0
mov dword [rsp + 0x7c], 0x35fe35d2
mov dword [rbp - 0x80], 0x35f535f6
mov dword [rbp - 0x7c], 0x35dd35e7
mov dword [rbp - 0x78], 0x35ea35f2
mov dword [rbp - 0x74], 0x35ff35f7
mov dword [rbp - 0x70], 0x35d435f7
mov dword [rbp - 0x6c], 0x35ed35fc
mov dword [rbp - 0x68], 0x35e235f7
mov dword [rbp - 0x64], 0x35c135d4
mov dword [rbp - 0x60], 0x35c135c8
mov dword [rbp - 0x5c], 0x35ea35d1
mov dword [rbp - 0x58], 0x35db35ce
mov dword [rbp - 0x54], 0x35dd
mov byte [rbp - 0x50], 1
lea rcx, [rsp + 0x60]
call fcn.1400853e0
jmp 0x140084de8
mov rcx, rdi
call fcn.1400875d0
test al, al
jne 0x140084e16
mov dword [rsp + 0x60], 0x35a535d8
mov dword [rsp + 0x64], 0x35a635d8
mov dword [rsp + 0x68], 0x35e935c1
mov dword [rsp + 0x6c], 0x35e635e0
mov dword [rsp + 0x70], 0x35e835ee
mov dword [rsp + 0x74], 0x35fa35ad
mov dword [rsp + 0x78], 0x35b035e0
mov dword [rsp + 0x7c], 0x35fe35d2
mov dword [rbp - 0x80], 0x35f535f6
mov dword [rbp - 0x7c], 0x35db35e7
mov dword [rbp - 0x78], 0x35cd35fa
mov dword [rbp - 0x74], 0x35f635f7
mov dword [rbp - 0x70], 0x35fd35f4
mov dword [rbp - 0x6c], 0x35fb35f9
mov dword [rbp - 0x68], 0x35e435fb
mov dword [rbp - 0x64], 0x35cb35d3
mov dword [rbp - 0x60], 0x35c135d5
mov dword [rbp - 0x5c], 0x35d535d7
mov word [rbp - 0x58], bx
mov byte [rbp - 0x56], 1
lea rcx, [rsp + 0x60]
call fcn.140085530
jmp 0x140084de8
mov dword [rsp + 0x60], 0x35a935d8
mov dword [rsp + 0x64], 0x35a635d8
mov dword [rsp + 0x68], 0x35e935c1
mov dword [rsp + 0x6c], 0x35e635e0
mov dword [rsp + 0x70], 0x35e835ee
mov dword [rsp + 0x74], 0x35fa35ad
mov dword [rsp + 0x78], 0x35b035e0
mov dword [rsp + 0x7c], 0x35fd35fd
mov dword [rbp - 0x80], 0x35f035f2
mov dword [rbp - 0x7c], 0x35f235b5
mov dword [rbp - 0x78], 0x35f135e5
mov dword [rbp - 0x74], 0x35ff35ef
mov dword [rbp - 0x70], 0x35bc35e9
mov dword [rbp - 0x6c], 0x35ef35f4
mov dword [rbp - 0x68], 0x35d735e9
mov dword [rbp - 0x64], 0x35963597
mov dword [rbp - 0x60], 0x358a35c6
mov dword [rbp - 0x5c], 0x35df35d6
mov dword [rbp - 0x58], 0x35d4
mov byte [rbp - 0x54], 1
lea rcx, [rsp + 0x60]
call fcn.140084ff0
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14008c660
lea rdx, [0x14008c840]
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.140085680
mov rdi, 0xffffffffffffffff
mov rdx, qword [rbp + 0xa0]
cmp rdx, 7
jbe 0x140084e5f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084e5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084e5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401045ac
mov rax, rdi
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1401041f0
lea r11, [rsp + 0x1b0]
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