Function at 0x140041d40
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa20]
sub rsp, 0xb20
mov rax, qword [0x1400e0038]
xor rax, rsp
mov qword [rbp + 0xa10], rax
mov rbx, rcx
mov dword [rcx], edx
add rcx, 8
mov rsi, r9
mov edi, r8d
mov r12d, edx
cmp rcx, r9
je 0x140041d9d
cmp qword [r9 + 0x18], 8
mov rdx, r9
jb 0x140041d94
mov rdx, qword [r9]
mov r8, qword [r9 + 0x10]
call fcn.140012890
xor edx, edx
mov dword [rbx + 0x28], edi
mov r8d, 0x20a
lea rcx, [rbp]
call fcn.140083680
mov r8d, 0x104
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xorps xmm0, xmm0
lea rax, [rbp]
xor r13d, r13d
mov rbx, 0xffffffffffffffff
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r13
inc rbx
cmp word [rax + rbx*2], r13w
jne 0x140041de6
movabs r14, 0x7ffffffffffffffe
cmp rbx, r14
ja 0x14004201b
mov qword [rbp - 8], 7
cmp rbx, 8
jae 0x140041e30
mov qword [rbp - 0x10], rbx
lea rdx, [rbp]
add rbx, rbx
lea rcx, [rbp - 0x20]
mov r8, rbx
call fcn.140082e70
mov word [rbp + rbx - 0x20], r13w
jmp 0x140041e7e
mov rax, rbx
or rax, 7
cmp rax, r14
ja 0x140041e4b
mov ecx, 0xa
mov r14, rax
cmp rax, rcx
cmovb r14, rcx
lea rdx, [r14 + 1]
lea rcx, [rbp - 0x20]
call fcn.14000dc20
mov qword [rbp - 0x10], rbx
lea rdx, [rbp]
add rbx, rbx
mov qword [rbp - 0x20], rax
mov r8, rbx
mov qword [rbp - 8], r14
mov rcx, rax
mov rdi, rax
call fcn.140082e70
mov word [rbx + rdi], r13w
mov r8d, 0x1f
lea rdx, str.crashpad_handler_extension.exe
lea rcx, [rbp - 0x20]
call fcn.14000d740
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
movups xmmword [rbp - 0x58], xmm0
xor eax, eax
mov dword [rbp - 0x54], 1
xor edx, edx
mov word [rbp - 0x50], r13w
mov r8d, 0x800
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 0x210]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
call fcn.140083680
cmp qword [rsi + 0x18], 8
jb 0x140041eee
mov rsi, qword [rsi]
movzx eax, byte [rbp + 0xa80]
lea r9, str.__process_id
mov dword [rsp + 0x40], eax
lea r8, str._s_u__s_s__s_d
lea rax, str.__is_need_attach_info
mov edx, 0x400
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x210]
lea rax, str.__dump_file
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
call fcn.140041290
cmp qword [rbp - 8], 8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rcx, [rbp - 0x20]
cmovae rcx, qword [rbp - 0x20]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x210]
mov qword [rsp + 0x38], r13
xor r9d, r9d
mov qword [rsp + 0x30], r13
xor r8d, r8d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140041fad
mov rcx, qword [rsp + 0x50]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140041fe9
mov rcx, qword [rbp - 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041fe4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042015
call fcn.1400809f0
mov al, 1
mov rcx, qword [rbp + 0xa10]
xor rcx, rsp
call fcn.1400809d0
mov rbx, qword [rsp + 0xb70]
add rsp, 0xb20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140087b78
int3
call fcn.140001c80
int3