Function at 0x140003530
Capabilities:
Create directory
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 - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140123240]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r13, rcx
mov qword [rsp + 0x38], rcx
xor ebx, ebx
xor edx, edx
lea rcx, str.C:userspublic
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov r8d, 0x104
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], bl
lea rax, [rbp + 0xd0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x1400035b7
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x68]
call fcn.1400078b0
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r14, qword [rbp - 0x58]
sub rax, r14
cmp rax, 0x13
jb 0x140003ad5
lea r15, [rbp - 0x68]
mov r12, qword [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae r15, r12
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
lea rsi, [r14 + 0x13]
mov edi, reloc.WS2_32.dll_ntohs
lea rbx, [rsp + 0x40]
cmp rsi, rdi
jbe 0x14000369f
mov rdi, rsi
or rdi, 0xf
cmp rdi, rcx
jbe 0x140003633
mov rdi, rcx
jmp 0x14000363f
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rdi, rax
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x140003689
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003acf
mov rcx, rax
call fcn.1400b802c
test rax, rax
je 0x140003682
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000369a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140003698
call fcn.1400b802c
mov rbx, rax
jmp 0x14000369a
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
movups xmm0, xmmword [str.certutil__hashfile]
movups xmmword [rbx], xmm0
movzx eax, word [0x140111020]
mov word [rbx + 0x10], ax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_32]
mov byte [rbx + 0x12], al
lea rcx, [rbx + 0x13]
mov r8, r14
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1f
jb 0x14000372c
lea rax, [rcx + 0x1f]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x40]
add rbx, rcx
mov r8d, Ordinal_35
lea rdx, str._MD5____C:ProgramDatahash.txt
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1f], 0
lea rax, [rsp + 0x40]
jmp 0x14000374b
mov qword [rsp + 0x20], Ordinal_35
lea r9, str._MD5____C:ProgramDatahash.txt
mov edx, Ordinal_35
lea rcx, [rsp + 0x40]
call fcn.140008b40
xor esi, esi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], sil
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400037b9
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b79bc
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x40]
call fcn.1400064d0
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
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 + 0x40]
lea rcx, [rbp - 0x40]
call fcn.14000cf90
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
test byte [rcx + rdx + 0x10], 6
jne 0x1400038bd
nop word [rax + rax]
mov rax, qword [rsp + 0x68]
cmp rax, qword [rsp + 0x70]
je 0x140003871
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140006c60
add qword [rsp + 0x68], 0x20
jmp 0x140003883
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400087b0
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
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 + 0x40]
lea rcx, [rbp - 0x40]
call fcn.14000cf90
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
test byte [rcx + rdx + 0x10], 6
je 0x140003850
lea rcx, [rbp - 0x30]
call fcn.140006f00
test rax, rax
jne 0x1400038e7
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
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]
lea rcx, str.C:ProgramDatahash.txt
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x60]
add rdx, 0x20
mov rcx, r13
call fcn.140006c60
nop
lea rcx, [rbp - 0x40]
call fcn.140003ae0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140003951
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000394b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000394b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b79bc
nop
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140003a0d
mov rdi, qword [rsp + 0x68]
cmp rbx, rdi
je 0x1400039c3
nop dword [rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400039a6
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400039a1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400039f0
mov rcx, r8
call fcn.1400b79bc
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rdi
jne 0x140003970
mov rbx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400039f7
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400b79bc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140003a4c
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a47
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b79bc
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rax, qword [rbp - 0x50]
cmp rax, 0x10
jb 0x140003a9c
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x140003a94
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1400b79bc
mov rax, r13
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400b7e00
lea r11, [rsp + 0x2f0]
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.140001a60
nop
call fcn.140001b00
int3