Function at 0x180002850
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 [0x180113a00]
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 0x1800028d7
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x68]
call fcn.180005c20
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r15, qword [rbp - 0x58]
sub rax, r15
cmp rax, 0x13
jb 0x180002d39
lea r12, [rbp - 0x68]
mov rsi, qword [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae r12, rsi
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
lea r14, [r15 + 0x13]
mov edi, reloc.WS2_32.dll_ntohs
lea rbx, [rsp + 0x58]
cmp r14, rdi
jbe 0x1800029bf
mov rdi, r14
or rdi, 0xf
cmp rdi, rcx
jbe 0x180002953
mov rdi, rcx
jmp 0x18000295f
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 0x1800029a9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180002d33
mov rcx, rax
call fcn.1800a3364
test rax, rax
je 0x1800029a2
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1800029ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1800029b8
call fcn.1800a3364
mov rbx, rax
jmp 0x1800029ba
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rdi
movups xmm0, xmmword [str.certutil__hashfile]
movups xmmword [rbx], xmm0
movzx eax, word [0x1800fae28]
mov word [rbx + 0x10], ax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_32]
mov byte [rbx + 0x12], al
lea rcx, [rbx + 0x13]
mov r8, r15
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14], 0
mov r8d, Ordinal_33
lea rdx, str._MD5____C:ProgramDatahash.txt
lea rcx, [rsp + 0x58]
call fcn.180005270
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x180002a80
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002a7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002a7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a33a0
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 + 0x40], xmm1
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x40]
call fcn.180004be0
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 + 0x58]
lea rcx, [rbp - 0x40]
call fcn.18000ae70
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
test byte [rcx + rdx + 0x10], 6
jne 0x180002b7e
mov rax, qword [rsp + 0x48]
cmp rax, qword [rsp + 0x50]
je 0x180002b32
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.180005430
add qword [rsp + 0x48], 0x20
jmp 0x180002b44
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180006600
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 + 0x58]
lea rcx, [rbp - 0x40]
call fcn.18000ae70
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
test byte [rcx + rdx + 0x10], 6
je 0x180002b11
lea rcx, [rbp - 0x30]
call fcn.1800056d0
test rax, rax
jne 0x180002ba8
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 + 0x40]
add rdx, 0x20
mov rcx, r13
call fcn.180005430
nop
lea rcx, [rbp - 0x40]
call fcn.180002d40
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x180002c12
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002c0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002c0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a33a0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180002c72
mov rdx, qword [rsp + 0x48]
call fcn.180006e60
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002c5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002c5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a33a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180002cb1
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002cac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002cac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a33a0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rax, qword [rbp - 0x50]
cmp rax, 0x10
jb 0x180002d00
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180002cf8
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002cf8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800a33a0
mov rax, r13
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1800a3bf0
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.1800014b0
nop
call fcn.180001550
int3