Function at 0x1400cb0d0
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push r12
push r13
sub rsp, 0x50
xor r13b, r13b
lea rcx, str.wdc.dll
xor r12d, r12d
mov dword [rsp + 0x90], r13d
mov esi, r12d
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
test rax, rax
je 0x1400cb3f6
mov eax, 0x5a4d
cmp word [rbp], ax
jne 0x1400cb3eb
mov ecx, dword [rbp + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0xffffffe
ja 0x1400cb3eb
cmp dword [rcx + rbp], 0x4550
jne 0x1400cb3eb
lea r8, [rbp + 0x88]
add r8, rcx
mov eax, dword [r8]
test eax, eax
je 0x1400cb3eb
nop
cmp dword [r8 + 4], esi
je 0x1400cb3eb
lea r9, [rax + rbp]
mov word [rsp + 0x28], r12w
lea rax, str.WdcRunTaskAsInteractiveUser
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.140104bd0
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400cb3eb
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x40], r15
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r15, rax
test rax, rax
je 0x1400cb3c7
mov rcx, qword [rax]
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x48], r14
call sym.ProcessHacker.exe_PhCreateString
lea edi, [r12 - 1]
mov rbx, rax
test rax, rax
je 0x1400cb31c
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhDoesFileExistsWin32
test al, al
jne 0x1400cb215
mov rcx, qword [rbx + 8]
call fcn.1401034e0
mov rcx, rax
test rax, rax
je 0x1400cb2df
mov rax, rbx
mov rbx, rcx
lea rcx, [rax - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400cb215
nop
call fcn.140106290
mov r8, qword ds:[rbx + 8]
lea r9, [0x1401b4408]
lea rdx, [0x1401b4408]
mov ecx, 3
call sym.ProcessHacker.exe_PhConcatStrings
mov rsi, rax
lea rcx, [rbx - 0x10]
mov r14, rax
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400cb255
nop dword [rax + rax]
call fcn.140106290
cmp dword [rsp + 0x80], 2
jne 0x1400cb303
mov rcx, qword [r15 + 8]
call sym.ProcessHacker.exe_PhCreateString
lea r9, [0x1401b4408]
mov ecx, 3
lea rdx, [0x1401b4408]
mov rbx, rax
mov r8, qword [rax + 8]
call sym.ProcessHacker.exe_PhConcatStrings
mov r13, rax
lea rcx, [rbx - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400cb2a3
call fcn.140106290
mov r9, qword [r13 + 8]
lea r8, [0x1401b440c]
mov rdx, qword [rsi + 8]
mov ecx, 3
call sym.ProcessHacker.exe_PhConcatStrings
mov rsi, rax
lea rcx, [r13 - 0x10]
mov edx, edi
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1400cb2d5
nop
call fcn.140106290
mov r13d, dword [rsp + 0x90]
jmp 0x1400cb307
lea rcx, [rbx - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400cb31c
nop
call fcn.140106290
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400cb3ba
lock inc dword [rsi - 8]
lea rcx, [r14 - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400cb31c
call fcn.140106290
mov rcx, r15
mov rbx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
test rsi, rsi
je 0x1400cb3ba
cmp qword [rsi], r12
je 0x1400cb3a4
xor ecx, ecx
call fcn.1400caee0
mov r14, rax
test rax, rax
je 0x1400cb353
mov rdx, qword [rax + 8]
jmp 0x1400cb356
mov rdx, r12
test rbx, rbx
je 0x1400cb35f
mov r12, qword [rsi + 8]
mov rax, qword ds:[rsp + 0x30]
xor r8d, r8d
mov rcx, r12
call qword [case.0x140101f48.0]
movzx r13d, r13b
mov ecx, 1
test eax, eax
cmove r13d, ecx
test r14, r14
je 0x1400cb39f
lea rcx, [r14 - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400cb39f
call fcn.140106290
test rsi, rsi
je 0x1400cb3ba
lea rcx, ds:[rsi - 0x10]
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x1400cb3ba
call fcn.140106290
mov rdi, qword [rsp + 0x88]
mov r14, qword [rsp + 0x48]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r15, qword [rsp + 0x40]
movzx eax, r13b
add rsp, 0x50
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
add rsp, 0x50
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret