Function at 0x140004060
Capabilities:
Execute command
Self delete

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14000f040]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov rbx, r9
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], rbx
xor r15d, r15d
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
cmp qword [rsi + 0x18], 0xf
jbe 0x1400040c0
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140005d20
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], r12
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x1400043c8
lea rcx, [0x14000a8b8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._n_____Failed_to_validate_file__Deleting
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006490
mov rcx, qword [rdi + 0x10]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140004145
mov rax, qword [rdi]
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rcx
call fcn.140007750
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x70], xmm0
lea r8, [rbp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140001d10
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
call fcn.140007e20
mov rdx, rax
shr rdx, 0x20
movzx ecx, al
mov qword [rbp + 0x90], rcx
mov dword [rbp + 0x70], edx
lea rsi, [0x14000f0c8]
mov qword [rbp + 0x78], rsi
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x70], xmm0
cmp edx, 0x91
jne 0x1400041c7
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140003540
cmp dword [rbp + 0x70], 0
jne 0x1400044fd
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140004216
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004211
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004211
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400083e4
mov rcx, qword [rbx + 0x10]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140004227
mov rax, qword [rbx]
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rcx
call fcn.140007750
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x70], xmm0
lea r8, [rbp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140001d10
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
call fcn.140007e20
mov rdx, rax
shr rdx, 0x20
movzx ecx, al
mov qword [rbp + 0x90], rcx
mov dword [rbp + 0x70], edx
mov qword [rbp + 0x78], rsi
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x70], xmm0
cmp edx, 0x91
jne 0x1400042a2
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140003540
cmp dword [rbp + 0x70], 0
jne 0x1400044e7
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400042f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400042ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400083e4
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r12
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.1400058f0
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140004378
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140004373
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400044d9
mov rcx, r8
call fcn.1400083e4
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400043c1
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400043bc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400044e0
mov rcx, r8
call fcn.1400083e4
mov al, 1
jmp 0x1400044a9
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rcx, qword [rax + 8]
add rcx, qword [rax]
cmp rcx, r14
sete sil
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r12
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.1400058f0
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140004460
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000445b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400044d9
mov rcx, r8
call fcn.1400083e4
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400044a5
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400044a0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400044e0
mov rcx, r8
call fcn.1400083e4
movzx eax, sil
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r15
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.140008140
add rsp, 0x1a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x70]
lea rcx, str.remove_all
call fcn.140002d60
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x70]
lea rcx, str.remove_all
call fcn.140002d60
int3