Function at 0x140004990
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x140
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1419761c8]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r14, rcx
xor eax, eax
mov qword [rbp + 0x28], rax
lea edx, [rax + 0x14]
lea rcx, [0x1402b8508]
call fcn.140031e10
mov qword [rbp + 0x28], rax
mov edx, 0xf
lea rcx, [0x1402b8520]
call fcn.140031e10
mov qword [rsp + 0x28], rax
mov edx, 6
lea rcx, [0x1402b8530]
call fcn.140031e10
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x28]
call fcn.140034660
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140004230
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
or rbx, 0xffffffffffffffff
test eax, eax
je 0x140004a56
cmp eax, ebx
je 0x140004a65
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140004a65
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140004a85
cmp eax, 0xffffffff
je 0x140004a94
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140004a94
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x140004ab4
cmp eax, 0xffffffff
je 0x140004ac2
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140004ac2
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
call fcn.140124708
mov esi, eax
mov eax, 0x10624dd3
imul esi
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x3e8
sub esi, ecx
xor edi, edi
test esi, esi
jle 0x140004baa
lea r15, [0x1402b8538]
nop dword [rax]
nop word [rax + rax]
xor eax, eax
mov qword [rbp + 0x20], rax
mov rdx, rbx
nop dword [rax]
inc rdx
cmp byte [r15 + rdx], al
jne 0x140004b10
mov rcx, r15
call fcn.140031e10
mov qword [rbp + 0x20], rax
mov r8d, 0xa
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.140032f70
nop
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.14002f590
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x140004b65
cmp eax, 0xffffffff
je 0x140004b74
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140004b74
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
nop
mov rcx, qword [rbp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140004b92
cmp eax, 0xffffffff
je 0x140004ba0
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140004ba0
mov rcx, qword [rbp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
inc edi
cmp edi, esi
jl 0x140004b00
mov dword [rbp - 0x50], 0x70
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rbp - 0x4c]
call fcn.140123900
mov dword [rbp - 0x4c], 0x40
lea rax, [0x1402b8550]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], r14
lea rax, [0x1402b8b2c]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x20], 0
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne dil
test dil, dil
je 0x140004c14
or edx, 0xffffffff
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rax, [0x1402b84e0]
test sil, 1
jne 0x140004cb8
mov qword [rsp + 0x60], 2
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140025fb0
mov rsi, rax
mov r8d, ebx
lea rdx, [0x1402b8560]
lea rcx, [rsp + 0x40]
call fcn.140004290
nop
mov rdx, rax
mov rcx, qword [rsi]
call fcn.14003ffd0
nop
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x140004c8f
cmp eax, 0xffffffff
je 0x140004c9d
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140004c9d
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
mov rcx, qword [rsi]
cmp byte [rcx + 0x20], 0
je 0x140004cae
mov dl, 0x20
call fcn.140040050
nop
lea rcx, [rsp + 0x50]
jmp 0x140004d3f
mov qword [rbp - 0x80], 2
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.140025fb0
mov rsi, rax
mov r8d, ebx
lea rdx, [0x1402b8588]
lea rcx, [rsp + 0x48]
call fcn.140004290
nop
mov rdx, rax
mov rcx, qword [rsi]
call fcn.14003ffd0
nop
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x140004d1b
cmp eax, 0xffffffff
je 0x140004d29
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140004d29
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
mov rcx, qword [rsi]
cmp byte [rcx + 0x20], 0
je 0x140004d3a
mov dl, 0x20
call fcn.140040050
nop
lea rcx, [rsp + 0x58]
call fcn.1400380f0
nop
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x140004d61
cmp eax, 0xffffffff
je 0x140004d6f
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140004d6f
mov rcx, qword [rbp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140039ba0
movzx eax, dil
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1401202c0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret