Function at 0x7ff7c008b0d0
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, [0x7ff7c0185238]
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 0x7ff7c008b3f6
mov eax, 0x5a4d
cmp word [rbp], ax
jne 0x7ff7c008b3eb
mov ecx, dword [rbp + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0xffffffe
ja 0x7ff7c008b3eb
cmp dword [rcx + rbp], 0x4550
jne 0x7ff7c008b3eb
lea r8, [rbp + 0x88]
add r8, rcx
mov eax, dword [r8]
test eax, eax
je 0x7ff7c008b3eb
nop
cmp dword [r8 + 4], esi
je 0x7ff7c008b3eb
lea r9, [rax + rbp]
mov word [rsp + 0x28], r12w
lea rax, [0x7ff7c0185248]
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.7ff7c00c4bd0
mov qword [rsp + 0x30], rax
test rax, rax
je 0x7ff7c008b3eb
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 0x7ff7c008b3c7
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 0x7ff7c008b31c
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhDoesFileExistsWin32
test al, al
jne 0x7ff7c008b215
mov rcx, qword [rbx + 8]
call fcn.7ff7c00c34e0
mov rcx, rax
test rax, rax
je 0x7ff7c008b2df
mov rax, rbx
mov rbx, rcx
lea rcx, [rax - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7c008b215
nop
call fcn.7ff7c00c6290
mov r8, qword ds:[rbx + 8]
lea r9, [0x7ff7c0174408]
lea rdx, [0x7ff7c0174408]
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 0x7ff7c008b255
nop dword [rax + rax]
call fcn.7ff7c00c6290
cmp dword [rsp + 0x80], 2
jne 0x7ff7c008b303
mov rcx, qword [r15 + 8]
call sym.ProcessHacker.exe_PhCreateString
lea r9, [0x7ff7c0174408]
mov ecx, 3
lea rdx, [0x7ff7c0174408]
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 0x7ff7c008b2a3
call fcn.7ff7c00c6290
mov r9, qword [r13 + 8]
lea r8, [0x7ff7c017440c]
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 0x7ff7c008b2d5
nop
call fcn.7ff7c00c6290
mov r13d, dword [rsp + 0x90]
jmp 0x7ff7c008b307
lea rcx, [rbx - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7c008b31c
nop
call fcn.7ff7c00c6290
mov rcx, r15
call qword [sym.imp.kernel32.dll_LocalFree]
jmp 0x7ff7c008b3ba
lock inc dword [rsi - 8]
lea rcx, [r14 - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7c008b31c
call fcn.7ff7c00c6290
mov rcx, r15
mov rbx, rsi
call qword [sym.imp.kernel32.dll_LocalFree]
nop dword [rax + rax]
test rsi, rsi
je 0x7ff7c008b3ba
cmp qword [rsi], r12
je 0x7ff7c008b3a4
xor ecx, ecx
call fcn.7ff7c008aee0
mov r14, rax
test rax, rax
je 0x7ff7c008b353
mov rdx, qword [rax + 8]
jmp 0x7ff7c008b356
mov rdx, r12
test rbx, rbx
je 0x7ff7c008b35f
mov r12, qword [rsi + 8]
mov rax, qword ds:[rsp + 0x30]
xor r8d, r8d
mov rcx, r12
call qword [case.0x7ff7c00c1f48.0]
movzx r13d, r13b
mov ecx, 1
test eax, eax
cmove r13d, ecx
test r14, r14
je 0x7ff7c008b39f
lea rcx, [r14 - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7c008b39f
call fcn.7ff7c00c6290
test rsi, rsi
je 0x7ff7c008b3ba
lea rcx, ds:[rsi - 0x10]
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x7ff7c008b3ba
call fcn.7ff7c00c6290
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