Function at 0x14000a040
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140089040]
xor rax, rsp
mov qword [rbp + 0x90], rax
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000a080
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x30]
call fcn.140008440
nop
mov rcx, rax
call fcn.14000f140
movzx ebx, al
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14000a0db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a0d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a0d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067254
test bl, bl
je 0x14000a29a
lea rcx, [rsp + 0x60]
call fcn.140008660
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.14000b930
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rbx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
imul rcx, rbx
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x13
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x1e8480
sub rcx, rax
add ecx, 0x8af0
movsxd rsi, ecx
mov rcx, rsi
call fcn.14006725c
mov rdi, rax
xor ebx, ebx
test rsi, rsi
je 0x14000a1a3
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x80808081
imul r8d
add edx, r8d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r8d, ecx
mov byte [rdi + rbx], r8b
inc rbx
cmp rbx, rsi
jb 0x14000a170
lea rcx, [rbp - 0x78]
call fcn.140003c90
test rax, rax
jne 0x14000a1ce
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
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]
mov rcx, rdi
call fcn.140067254
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
test eax, eax
je 0x14000a24b
movdqa xmm0, xmmword [0x14007b820]
movdqu xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x14007b780]
movdqu xmmword [rsp + 0x40], xmm1
mov dword [rsp + 0x50], 0x6e752079
mov dword [rsp + 0x54], 0x64616f6c
mov word [rsp + 0x58], 0x6465
mov byte [rsp + 0x5a], 0
lea rdx, [rsp + 0x31]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000bad0
lea rdx, [0x14000bd40]
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]
nop
lea rcx, [rbp - 0x80]
call fcn.14000a2d0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14000a29a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a295
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a295
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067254
xor al, al
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400671f0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret