Function at 0x1400bf650
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140100258]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rsi, rdx
movzx edi, r8b
xor ebx, ebx
mov qword [rbp - 8], 7
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x10], rbx
mov r14d, r9d
call fcn.1400c43b0
cmp qword [rsi + 0x10], rbx
je 0x1400bf771
movsd xmm0, qword [str.dump_path]
lea rdx, [rbp]
movzx eax, byte [0x1400eaf40]
lea rcx, [rbp + 0x20]
mov r8, rsi
movsd qword [rbp], xmm0
mov byte [rbp + 8], al
mov qword [rbp + 0x18], 0xf
mov qword [rbp + 0x10], 9
mov byte [rbp + 9], bl
call fcn.1400bf400
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.1400c43b0
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1400bf726
mov rcx, qword [rbp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bf721
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bf943
call fcn.14008df80
mov rdx, qword [rbp + 0x18]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], bx
cmp rdx, 0x10
jb 0x1400bf771
mov rcx, qword [rbp]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bf76c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bf943
call fcn.14008df80
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
mov dword [rbp - 0x2c], eax
cmovae rdx, qword [rbp - 0x20]
xor r9d, r9d
mov qword [rsp + 0x68], rax
xor r8d, r8d
lea rax, [rsp + 0x58]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400bf80e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Run_post_handler_process_fail_error:_d_
lea rcx, str.server
call fcn.14005df40
lea ebx, [rdi + 1]
jmp 0x1400bf8e5
lea rdx, str.Run_post_handler_process_successfully
lea rcx, str.server
call fcn.14005df40
lea rcx, str.server
test dil, dil
jne 0x1400bf859
lea rdx, str.No_need_to_wait_authorization__just_return
call fcn.14005df40
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
jmp 0x1400bf8e5
mov r8d, r14d
lea rdx, str.Need_to_wait_authorization.Timeout:__d_s
call fcn.14005df40
mov rcx, qword [rsp + 0x58]
imul edx, r14d, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400bf8b1
lea rdx, str.Wait_post_handler_process_timeout.
lea rcx, str.server
call fcn.14005df40
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 2
jmp 0x1400bf8e5
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], ebx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x50], 1
setne bl
inc ebx
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x1400bf921
mov rcx, qword [rbp - 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bf91c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bf93d
call fcn.14008df80
mov eax, ebx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14008e050
add rsp, 0x150
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14009464c
int3
call fcn.14009464c
int3