Function at 0x140060b90
Capabilities:
Create process on windows
Get file attributes
Set current directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1680
call fcn.140100df0
sub rsp, rax
lea rbp, [rsp + 0x50]
mov rsi, rcx
mov rcx, qword [rbp + 0x16a0]
lea rax, [rbp + 0x48]
test rcx, rcx
mov qword [rbp + 0x1680], rbx
mov r15, r9
cmovne rax, rcx
xor r14d, r14d
mov r13, r8
mov qword [rax], r14
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x16b8]
mov rbx, rdx
test rax, rax
je 0x140060bf5
mov rcx, rax
call fcn.14002f9e0
test rbx, rbx
je 0x1400614e0
movzx edx, word [rbx]
test dx, dx
je 0x1400614e0
test r15, r15
je 0x140060c17
cmp word [r15], r14w
cmove r15, r14
mov r9, r14
mov qword [rbp + 0x10], r14
mov rdi, rbx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x20], r14
mov eax, SafeArrayAllocDescriptor
movabs r8, 0xffffffffffffff0
test r13, r13
je 0x140060ce0
lea rdx, str.find
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x140060cc5
lea rdx, str.explore
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x140060cc5
lea rdx, str.open
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x140060cc5
lea rdx, str.edit
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x140060cc5
lea rdx, str.print
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x140060cc5
lea rdx, str.properties
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x140060cc5
mov qword [rbp + 0x20], r13
mov r9, r14
jmp 0x140060e01
mov r9, rbx
mov qword [rbp + 0x10], rbx
mov rdi, r13
mov qword [rbp + 8], r13
jmp 0x140060e01
lea rcx, [0x140107c20]
cmp dx, ax
je 0x140060d10
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140060ce7
movzx edx, word [rdi + 2]
add rdi, 2
mov eax, SafeArrayAllocDescriptor
test dx, dx
jne 0x140060ce0
jmp 0x140060dfe
sub rdi, rbx
sar rdi, 1
lea r12, [rdi + rdi]
lea rax, [r12 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140060d2b
mov rcx, r8
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140100df0
sub rsp, rcx
mov r8, r12
lea rdi, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call sub.MSVCR100.dll_memcpy
mov word [r12 + rdi], r14w
cmp word [rdi], 0x2a
jne 0x140060d5e
lea r9, [rdi + 2]
jmp 0x140060dd9
lea rdx, str.find
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x140060dd6
lea rdx, str.explore
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x140060dd6
lea rdx, str.open
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x140060dd6
lea rdx, str.edit
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x140060dd6
lea rdx, str.print
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x140060dd6
lea rdx, str.properties
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
jne 0x140060df4
mov r9, rdi
mov rsi, qword [rbp + 0x1670]
mov qword [rbp + 0x10], r9
test r9, r9
je 0x140060dfe
lea rdi, [r12 + rbx + 2]
mov qword [rbp + 8], rdi
jmp 0x140060e01
mov rsi, qword [rbp + 0x1670]
mov r9, r14
mov rdi, rbx
mov r8d, r14d
mov byte [rbp], r14b
mov dword [rbp + 0x28], r14d
cmp byte [rbp + 0x16b0], r8b
je 0x140060e7d
mov rax, qword [rsi + 0xc08]
test rax, rax
je 0x140060e27
cmp qword [rax + 0x10], r8
jne 0x140060e4b
mov rax, qword [rsi + 0xc20]
test rax, rax
je 0x140060e39
cmp qword [rax + 0x10], r8
jne 0x140060e4b
mov rax, qword [rsi + 0xc38]
test rax, rax
je 0x140060e7d
cmp qword [rax + 0x10], r8
je 0x140060e7d
mov byte [rbp + 0x1678], 1
test r9, r9
je 0x140060e84
cmp byte [rbp + 0x1690], r8b
je 0x140060e76
lea r8, [0x1401035ac]
lea rdx, str.System_verbs_unsupported_with_RunAs.
mov rcx, rsi
call fcn.14005f7b0
xor eax, eax
jmp 0x1400614e5
mov byte [rbp + 0x1678], r8b
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r12, rcx
cmp rcx, 0x4001
jb 0x140060ec4
cmp byte [rbp + 0x1690], al
je 0x140060ebd
lea r8, [0x1401035ac]
lea rdx, str.String_too_long.
mov rcx, rsi
call fcn.14005f7b0
xor eax, eax
jmp 0x1400614e5
mov rsi, qword [rbp + 0x1698]
mov r14d, 1
test r9, r9
jne 0x1400610d8
lea r8d, [r14 + 0x5f]
lea rcx, [rbp + 0xc8]
xor edx, edx
call sub.MSVCR100.dll_memset
mov dword [rbp + 0xc0], WSASetLastError
mov dword [rbp + 0xfc], r14d
test rsi, rsi
je 0x140060f19
cmp word [rsi], 0
je 0x140060f19
mov rcx, rsi
call fcn.1400333c0
mov word [rbp + 0x100], ax
jmp 0x140060f21
mov word [rbp + 0x100], r14w
xor eax, eax
xor edx, edx
mov qword [rbp + 0x30], rdx
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
test r13, r13
je 0x140060f93
cmp word [r13], ax
je 0x140060f93
or rcx, 0xffffffffffffffff
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
dec rcx
add rcx, r12
lea rcx, [rcx + rcx + 0x14]
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x140060f68
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140100df0
sub rsp, rax
lea rdx, str._s__s
lea rdi, [rsp + 0x50]
mov r9, r13
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll__swprintf]
xor edx, edx
jmp 0x140060fe1
lea rax, [r12 + r12 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140060fab
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140100df0
sub rsp, rcx
lea rdi, [rsp + 0x50]
mov rcx, rdi
sub rcx, rbx
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
mov word [rbx + rcx - 2], ax
test ax, ax
jne 0x140060fd0
movzx r13d, byte [rbp + 0x1678]
test r13b, r13b
je 0x14006105f
movzx r9d, byte [rbp + 0x1690]
mov rcx, qword [rbp + 0x1670]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x18]
mov r8, r15
mov qword [rsp + 0x40], rax
lea rax, [rbp]
mov rdx, rdi
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x16b8]
mov qword [rsp + 0x28], rax
movzx eax, word [rbp + 0x100]
mov word [rsp + 0x20], ax
call fcn.14009fa20
test eax, eax
je 0x140060e76
cmp byte [rbp], 0
jne 0x140061360
mov r8d, dword [rbp + 0x28]
jmp 0x1400610e0
lea rax, [rbp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xc0]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400610d0
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400610aa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x18]
mov qword [rdx], rax
mov rax, qword [rbp + 0x16b8]
test rax, rax
je 0x140061364
mov edx, dword [rbp + 0x40]
mov rcx, rax
jmp 0x140061358
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400610e9
movzx r13d, byte [rbp + 0x1678]
test r13b, r13b
jne 0x1400613a4
xor edx, edx
lea rcx, [rbp + 0x54]
lea r8d, [rdx + 0x6c]
call sub.MSVCR100.dll_memset
mov dword [rbp + 0x50], reloc.WSOCK32.dll_WSASetLastError
mov dword [rbp + 0x54], 0x440
mov qword [rbp + 0x78], r15
test rsi, rsi
je 0x140061125
cmp word [rsi], 0
je 0x140061125
mov rcx, rsi
call fcn.1400333c0
mov dword [rbp + 0x80], eax
jmp 0x14006112c
mov dword [rbp + 0x80], r14d
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x140061151
lea rdx, str.properties
mov rcx, rax
mov qword [rbp + 0x60], rax
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
jne 0x140061151
or dword [rbp + 0x54], 0xc
mov rsi, qword [rbp + 0x20]
test rsi, rsi
jne 0x1400612ce
lea rax, [r12 + r12 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140061176
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140100df0
mov r12, qword [rbp + 8]
sub rsp, rcx
lea rbx, [rsp + 0x50]
mov rcx, r12
mov rdx, rbx
sub rdx, r12
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
mov word [rcx + rdx - 2], ax
test ax, ax
jne 0x1400611a0
cmp word [rbx], 0x22
jne 0x1400611f6
lea rcx, [rbx + 2]
mov edx, SafeArrayAllocDescriptor
call qword [sym.imp.MSVCR100.dll_wcschr]
test rax, rax
je 0x1400611f6
xor ecx, ecx
lea r12, [rbx + 2]
mov word [rax], cx
cmp word [rax + 2], cx
je 0x1400612d2
cmp word [rax + 2], 0x20
lea rsi, [rax + 2]
jne 0x1400612d2
add rsi, 2
jmp 0x1400612d2
test r15, r15
je 0x140061204
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, SafeArrayAllocDescriptor
lea rcx, [rbx + 2]
call qword [sym.imp.MSVCR100.dll_wcschr]
mov rsi, rax
test rax, rax
je 0x1400612b6
lea rdi, [rax - 2]
cmp rdi, rbx
jbe 0x14006124e
nop dword [rax + rax]
movzx edx, word [rdi]
lea rcx, [0x1401217d8]
call qword [sym.imp.MSVCR100.dll_wcschr]
test rax, rax
jne 0x14006124e
sub rdi, 2
cmp rdi, rbx
ja 0x140061230
cmp word [rdi], 0x2e
jne 0x14006129d
xor eax, eax
mov word [rsi], ax
mov rax, rsi
sub rax, rdi
and rax, 0xfffffffffffffffe
cmp rax, 8
jne 0x14006127d
lea rcx, str..exe.bat.com.cmd.hta
mov rdx, rdi
call fcn.1400e0a80
test rax, rax
jne 0x1400612ad
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x1400612ad
mov eax, SafeArrayAllocDescriptor
lea rcx, [rsi + 2]
mov word [rsi], ax
mov edx, eax
jmp 0x14006120d
mov eax, SafeArrayAllocDescriptor
lea rcx, [rsi + 2]
mov edx, eax
jmp 0x14006120d
mov r12, rbx
add rsi, 2
jmp 0x1400612ba
mov rsi, qword [rbp + 0x20]
test r15, r15
je 0x1400612d2
lea rcx, [0x140140270]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x1400612d2
mov r12, qword [rbp + 8]
lea rcx, [rbp + 0x50]
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], rsi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140061399
mov eax, dword [0x140144508]
test r14b, al
jne 0x140061326
or eax, r14d
lea rcx, str.kernel32.dll
mov dword [0x140144508], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetProcessId
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140144500], rax
jmp 0x14006132d
mov rax, qword [0x140144500]
mov rcx, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0x18]
mov qword [rdx], rcx
test rcx, rcx
je 0x140061364
mov rdi, qword [rbp + 0x16b8]
test rdi, rdi
je 0x140061364
test rax, rax
je 0x140061364
call rax
mov rcx, rdi
mov edx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140001090
mov rdx, qword [rbp + 0x18]
cmp byte [rbp + 0x16a8], 0
je 0x140061379
mov rcx, qword [0x14013b0f8]
xor eax, eax
mov dword [rcx + 0x40], eax
cmp qword [rbp + 0x16a0], 0
jne 0x140061391
mov rcx, qword [rdx]
test rcx, rcx
je 0x140061391
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
jmp 0x1400614e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
jmp 0x1400613ac
mov rsi, qword [rbp + 0x20]
mov r12, qword [rbp + 8]
cmp byte [rbp + 0x16a8], 0
je 0x1400613c0
mov rcx, qword [0x14013b0f8]
mov dword [rcx + 0x40], r8d
cmp byte [rbp + 0x1690], 0
je 0x1400614dc
lea rax, [rbp + 0x230]
xor edi, edi
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor edx, edx
mov ecx, 0x1200
mov dword [rsp + 0x28], 0x1ff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov r9, qword [rbp + 0x10]
test r9, r9
je 0x14006141b
lea r8, str._nVerb:___s_
lea rcx, [rbp + 0x130]
mov edx, 0x80
call fcn.1400e0640
jmp 0x140061422
mov word [rbp + 0x130], di
test rsi, rsi
lea r10, [0x1401035ac]
lea r9, [0x14011ba10]
mov r8, r10
mov rdx, r10
cmovne r8, rsi
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r8
repne scasw ax, word [rdi]
mov rdi, r12
not rcx
dec rcx
cmp rcx, 0x190
cmova rdx, r9
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r8
not rcx
lea rax, str.Launch_Error__possibly_related_to_RunAs_:
lea r8, str._s_nAction:____0.400s_s__s_nParams:____0.400s_s_
dec rcx
mov edx, 0x800
cmp rcx, 0x190
lea rcx, [rbp + 0x630]
cmova r10, r9
lea r9, str.Failed_attempt_to_launch_program_or_document:
test r13b, r13b
cmovne r9, rax
lea rax, [rbp + 0x130]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r12
call fcn.1400e0640
mov rcx, qword [rbp + 0x1670]
lea r8, [rbp + 0x230]
lea rdx, [rbp + 0x630]
call fcn.14005f7b0
xor eax, eax
jmp 0x1400614e5
mov eax, 1
mov rbx, qword [rbp + 0x1680]
lea rsp, [rbp + 0x1630]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret