Function at 0x1400d63e0
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 [0x1401114a8]
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.1400daa80
cmp qword [rsi + 0x10], rbx
je 0x1400d6500
movsd xmm0, qword [str.dump_path]
lea rdx, [rbp]
movzx eax, byte [0x1400f9c20]
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.1400d6190
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.1400daa80
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1400d64b2
mov rcx, qword [rbp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d64ad
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d64f4
call fcn.1400d4a4c
mov rdx, qword [rbp + 0x18]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], bx
cmp rdx, 0x10
jb 0x1400d6500
mov rcx, qword [rbp]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d64fb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d64fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4a4c
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 0x1400d659d
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.1400700c0
lea ebx, [rdi + 1]
jmp 0x1400d6674
lea rdx, str.Run_post_handler_process_successfully
lea rcx, str.server
call fcn.1400700c0
lea rcx, str.server
test dil, dil
jne 0x1400d65e8
lea rdx, str.No_need_to_wait_authorization__just_return
call fcn.1400700c0
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 0x1400d6674
mov r8d, r14d
lea rdx, str.Need_to_wait_authorization.Timeout:__d_s
call fcn.1400700c0
mov rcx, qword [rsp + 0x58]
imul edx, r14d, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400d6640
lea rdx, str.Wait_post_handler_process_timeout.
lea rcx, str.server
call fcn.1400700c0
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 0x1400d6674
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 0x1400d66b7
mov rcx, qword [rbp - 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d66b2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d66b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4a4c
mov eax, ebx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400d4b20
add rsp, 0x150
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret