Function at 0x1400a5250
Capabilities:
Delete file
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1401e9060]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
mov r8d, 0x104
lea rdx, [rbp + 0xc0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor r13d, r13d
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], r13b
lea rax, [rbp + 0xc0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400a52d0
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x70]
call fcn.140092f40
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r15, qword [rbp - 0x80]
sub rax, r15
cmp rax, 0x13
jb 0x1400a563d
lea r12, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae r12, qword [rsp + 0x70]
mov qword [rsp + 0x38], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea r14, [r15 + 0x13]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rsp + 0x38]
cmp r14, rbx
jbe 0x1400a53b9
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400a534c
mov rbx, rcx
jmp 0x1400a5358
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x1400a53a2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400a5637
mov rcx, rax
call fcn.1400fcca0
test rax, rax
je 0x1400a539b
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400a53b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400a53b1
call fcn.1400fcca0
mov rdi, rax
jmp 0x1400a53b4
mov rdi, r13
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rbx
movups xmm0, xmmword [str.certutil__hashfile]
movups xmmword [rdi], xmm0
movzx eax, word [0x1401cb308]
mov word [rdi + 0x10], ax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_32]
mov byte [rdi + 0x12], al
lea rcx, [rdi + 0x13]
mov r8, r15
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov r8d, Ordinal_32
lea rdx, str._MD5____C:ProgramDatahash.txt
lea rcx, [rsp + 0x38]
call fcn.140090b30
mov qword [rbp - 0x70], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x38]
call fcn.140092cd0
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x38], r13
movdqa xmm0, xmmword [0x1401cb6b0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov r8d, 1
lea rdx, str.C:ProgramDatahash.txt
lea rcx, [rbp - 0x50]
call fcn.14008fbe0
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140098b90
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
test byte [rcx + rdx + 0x10], 6
jne 0x1400a554d
nop dword [rax]
mov rax, qword [rsp + 0x60]
cmp rax, qword [rsp + 0x68]
je 0x1400a5501
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140090c90
add qword [rsp + 0x60], 0x20
jmp 0x1400a5513
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400941d0
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140098b90
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
test byte [rcx + rdx + 0x10], 6
je 0x1400a54e0
lea rcx, [rbp - 0x40]
call fcn.140092260
test rax, rax
jne 0x1400a5577
mov rax, qword [rbp - 0x50]
movsxd rdx, dword [rax + 4]
lea rcx, [rbp - 0x50]
add rcx, rdx
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]
lea rcx, str.C:ProgramDatahash.txt
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x58]
add rdx, 0x20
mov rcx, rsi
call fcn.140090c90
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call fcn.14008fb70
lea rcx, [rbp - 0x38]
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 + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x38]
call fcn.140092cd0
nop
lea rcx, [rsp + 0x58]
call fcn.1400923e0
nop
lea rcx, [rbp - 0x70]
call fcn.140092cd0
nop
lea rcx, [rsp + 0x70]
call fcn.140092cd0
mov rax, rsi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400fcc80
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400026e0
nop
call fcn.140049c20
int3