Function at 0x140001a70
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x878]
sub rsp, 0x960
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140022020]
xor rax, rsp
mov qword [rbp + 0x850], rax
mov rbx, qword [0x140024058]
xor r15d, r15d
mov edi, r15d
mov dword [rsp + 0x50], r15d
mov rcx, qword [0x140024468]
mov rax, qword [rcx]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0xf8]
test eax, eax
je 0x140001b1c
cmp dword [rsp + 0x50], r15d
jne 0x140001b1c
mov qword [rbp - 0x80], r15
mov rcx, qword [0x140024468]
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
call qword [rax + 0x70]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
lea rdx, [rbp]
call qword [rax + 0x40]
lea rdx, [rbp]
mov rcx, rbx
call fcn.140001850
nop
mov rcx, qword [rbp - 0x80]
jmp 0x140001f41
mov edi, 1
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
or rsi, 0xffffffffffffffff
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
nop
mov qword [rsp + 0x78], r15
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x14001e628]
xor edx, edx
lea r8d, [rdi + 3]
lea rcx, [0x14001e618]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
sete al
test al, al
je 0x140001f41
mov r8d, 0x104
lea rdx, [rbp + 0x640]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0x104
lea r9, [rbp + 0x430]
lea r8d, [rdi + 9]
lea rdx, [rbp + 0x410]
lea rcx, [rbp + 0x640]
call fcn.140007e64
call fcn.140002ee0
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140001c01
mov ecx, 0x80004005
call fcn.140002fe0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rcx, [rbp + 0x410]
lea rax, [rbp + 0x410]
test rax, 0xffffffffffff0000
jne 0x140001c4c
movzx ebx, cx
xor edx, edx
mov ecx, ebx
call fcn.140002a70
test rax, rax
je 0x140001c75
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400024f0
jmp 0x140001c75
lea rcx, [rbp + 0x410]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140001c56
mov r8d, eax
lea rdx, [rbp + 0x410]
lea rcx, [rsp + 0x58]
call fcn.140002400
nop
lea rcx, [rbp + 0x430]
mov rax, rsi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140001c80
mov r8d, eax
lea rdx, [rbp + 0x430]
lea rcx, [rsp + 0x58]
call fcn.140002720
call fcn.140002ee0
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140001cbe
mov ecx, 0x80004005
call fcn.140002fe0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdx, str.open
test rdx, 0xffffffffffff0000
jne 0x140001d03
movzx ebx, dx
xor edx, edx
mov ecx, ebx
call fcn.140002a70
test rax, rax
je 0x140001d14
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400024f0
jmp 0x140001d14
mov r8d, 4
lea rcx, [rsp + 0x70]
call fcn.140002400
nop
call fcn.140002ee0
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140001d34
mov ecx, 0x80004005
call fcn.140002fe0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, str.DiscSoftBusServiceLite.exe
test rdx, 0xffffffffffff0000
jne 0x140001d79
movzx ebx, dx
xor edx, edx
mov ecx, ebx
call fcn.140002a70
test rax, rax
je 0x140001d8a
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400024f0
jmp 0x140001d8a
mov r8d, 0x1a
lea rcx, [rsp + 0x68]
call fcn.140002400
nop
call fcn.140002ee0
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140001daa
mov ecx, 0x80004005
call fcn.140002fe0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
lea rdx, str._service
test rdx, 0xffffffffffff0000
jne 0x140001df1
movzx r14d, dx
xor edx, edx
mov ecx, r14d
call fcn.140002a70
test rax, rax
je 0x140001e06
mov r8d, r14d
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400024f0
jmp 0x140001e01
mov r8d, 8
lea rcx, [rsp + 0x60]
call fcn.140002400
mov rbx, qword [rsp + 0x60]
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rbp - 0x6c]
call fcn.140006aa0
mov dword [rbp - 0x70], 0x70
mov dword [rbp - 0x6c], 0x40
mov qword [rbp - 0x68], r15
mov rax, qword [rsp + 0x70]
cmp dword [rax - 8], 1
jle 0x140001e3f
mov edx, dword [rax - 0x10]
lea rcx, [rsp + 0x70]
call fcn.1400021e0
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x60], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax - 8], 1
jle 0x140001e60
mov edx, dword [rax - 0x10]
lea rcx, [rsp + 0x68]
call fcn.1400021e0
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x58], rax
cmp dword [rbx - 8], 1
jle 0x140001e81
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400021e0
mov rbx, qword [rsp + 0x60]
mov qword [rbp - 0x50], rbx
mov rax, qword [rsp + 0x58]
cmp dword [rax - 8], 1
jle 0x140001ea2
mov edx, dword [rax - 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400021e0
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], r15d
mov qword [rbp - 0x38], r15
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, 0x1388
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140001ee2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140001f01
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140001f20
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140001f3c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140001f4c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, 2
cmp dword [rsp + 0x50], 0
cmovne edi, eax
mov eax, edi
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.140003970
lea r11, [rsp + 0x960]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret