Function at 0x140076d10
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov byte [rax + 0x10], dl
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov r12, rcx
mov r13b, r8b
mov edi, 0x68
lea rcx, [rbp - 0x20]
xor edx, edx
mov r8d, edi
movaps xmmword [rax - 0x48], xmm6
mov rbx, r9
call fcn.140014d40
xor esi, esi
lea eax, [rdi - 0x67]
mov dword [rbp - 0x20], edi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x58], rsi
mov dword [rbp + 0xb0], esi
mov dword [rbp + 0x1c], eax
mov word [rbp + 0x20], ax
mov edi, esi
mov r15d, esi
test r13b, r13b
je 0x140076db2
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x18]
call fcn.14000eb70
cmp qword [rbx + 0x10], 7
mov dword [rbp + 0xb0], eax
jbe 0x140076de4
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x38]
call fcn.14000eb70
mov edi, eax
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x38]
jmp 0x140076dd0
cmp qword [rbx + 0x10], 3
jbe 0x140076dfa
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x18]
call fcn.14000eb70
mov edi, eax
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x18]
and edi, 0xffff0000
call fcn.14000eb70
movzx r15d, ax
test r13b, r13b
je 0x140076dfa
cmp qword [rbx + 0x10], 6
jbe 0x140076df5
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x30]
jmp 0x140076e09
test r13b, r13b
jne 0x140076e12
cmp qword [rbx + 0x10], 2
jbe 0x140076e12
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x10]
call fcn.14000eb70
mov word [rbp + 0x20], ax
mov eax, reloc.WSOCK32.dll_recv
bt edi, 0x10
mov r14d, esi
cmovb r14d, eax
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
call fcn.14005ffe0
mov rcx, rax
call fcn.140013610
test r13b, r13b
je 0x140076f04
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x60], rax
mov rcx, qword [rcx + 8]
call fcn.14005ffe0
mov rcx, rax
call fcn.140013610
mov rcx, qword [rbx + 8]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x68], rax
call fcn.14005ffe0
mov rcx, rax
call fcn.140013610
mov rcx, qword [rbx + 8]
mov rcx, qword [rcx + 0x20]
mov qword [rsp + 0x58], rax
call fcn.14005ffe0
mov rcx, rax
call fcn.140013610
cmp qword [rbx + 0x10], 5
mov rdi, rax
mov qword [rsp + 0x50], rax
jbe 0x140076eca
mov rcx, qword [rbx + 8]
mov rcx, qword [rcx + 0x28]
call fcn.14005ffe0
mov rcx, rax
call fcn.140013610
mov rsi, rax
test rax, rax
je 0x140076eca
mov rcx, rax
call fcn.140014cc4
test rax, rax
jne 0x140076f7e
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov rcx, 0xffffffffffffffff
lea edx, [rax + 1]
mov edi, eax
mov eax, 2
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.140014e9c
mov edx, edi
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x140076f79
mov rdi, rax
mov qword [rsp + 0x50], rax
mov eax, 1
cmp qword [rbx + 0x10], rax
jbe 0x140076f41
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 8]
call fcn.14005ffe0
mov rcx, rax
call fcn.140013610
mov rsi, rax
test rax, rax
je 0x140076f41
mov rcx, rax
call fcn.140014cc4
test rax, rax
jne 0x140076fbe
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rcx, 0xffffffffffffffff
lea edx, [rax + 1]
mov edi, eax
mov eax, 2
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.140014e9c
mov ecx, edi
mov rdx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rdi, qword [rsp + 0x50]
test r13b, r13b
je 0x140076fbe
mov rcx, qword [rbx + 8]
lea rdx, [0x140098da0]
mov rcx, qword [rcx]
call fcn.140010e90
mov rcx, qword [rbx + 8]
lea rdx, [0x140098da0]
mov rcx, qword [rcx + 8]
call fcn.140010e90
mov rcx, qword [rbx + 8]
lea rdx, [0x140098da0]
mov rcx, qword [rcx + 0x10]
call fcn.140010e90
lea rcx, [rbp - 0x70]
mov edx, r15d
call fcn.140039d20
test r15d, r15d
je 0x140077033
lea rcx, [rbp - 0x70]
call fcn.14004d0d0
mov ecx, 1
or rbx, 0xffffffffffffffff
lea r15d, [rcx - 1]
movzx edi, cl
cmp rax, rbx
lea rcx, [rbp - 0x70]
cmove edi, r15d
mov qword [rbp + 0x38], rax
call fcn.14004d070
lea rcx, [rbp - 0x70]
cmp rax, rbx
mov qword [rbp + 0x40], rax
cmove edi, r15d
call fcn.14004d060
or rcx, 0xffffffffffffffff
movzx ebx, dil
mov rdi, qword [rsp + 0x50]
cmp rax, rcx
cmove ebx, r15d
mov qword [rbp + 0x30], rax
test bl, bl
je 0x140077039
bts dword [rbp + 0x1c], 8
jmp 0x140077039
xor r15d, r15d
mov bl, r15b
test r13b, r13b
je 0x1400770e4
mov r15, qword [rsp + 0x68]
mov r9d, dword [rbp + 0xb0]
mov r8, qword [rsp + 0x58]
lea rax, [rsp + 0x70]
mov rdx, r15
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], r14d
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdi
mov rcx, r14
call fcn.140061eb0
mov rcx, r14
mov r13b, al
call fcn.140014cc4
mov rdi, r14
mov rcx, rax
xor eax, eax
rep stosb byte [rdi], al
mov rcx, r15
call fcn.140014cc4
mov rdi, r15
mov rcx, rax
xor eax, eax
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call fcn.140014cc4
mov rcx, rax
xor eax, eax
rep stosb byte [rdi], al
mov rcx, r14
call fcn.14001488c
mov rcx, r15
call fcn.14001488c
mov rcx, qword [rsp + 0x58]
call fcn.14001488c
mov rdi, qword [rsp + 0x50]
xor r15d, r15d
jmp 0x140077124
lea rcx, [rsp + 0x70]
movzx eax, bl
xor r9d, r9d
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r15
mov rdx, rdi
xor ecx, ecx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne r13b
mov rcx, rdi
call fcn.14001488c
mov rcx, rsi
call fcn.14001488c
test r13b, r13b
jne 0x140077187
mov rax, qword [r12]
xor r8d, r8d
movsxd rcx, dword [rax + 4]
lea ebx, [r8 + 1]
add rcx, r12
mov edx, ebx
call fcn.14000e000
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r8d, r8d
mov edx, eax
mov rax, qword [r12]
movsxd rcx, dword [rax + 4]
add rcx, r12
call fcn.14000df90
mov rdi, qword [rbp + 0xc0]
mov rcx, rdi
call fcn.1400077f0
mov dword [rdi + 8], ebx
mov dword [rdi], r15d
jmp 0x140077208
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x1400771bf
lea rcx, [rbp - 0x70]
call fcn.14004cfe0
mov edx, dword [rbp - 0x80]
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x6c], edx
call fcn.140056a50
lea rcx, [r12 + 0x7d8]
lea rdx, [rbp - 0x70]
call fcn.1400553f0
cmp byte [rbp + 0xa8], r15b
je 0x1400771d7
mov rax, qword [rsp + 0x70]
mov qword [r12 + 0x7a8], rax
jmp 0x140077208
mov eax, dword [rbp - 0x80]
mov rdi, qword [rbp + 0xc0]
pxor xmm6, xmm6
mov rcx, rdi
cvtsi2sd xmm6, rax
call fcn.1400077f0
mov rcx, qword [rsp + 0x70]
movsd qword [rdi], xmm6
mov dword [rdi + 8], 3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x70]
call fcn.140056b40
lea r11, [rsp + 0x160]
xor eax, eax
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret