Function at 0x14005b100
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x318
mov rbx, r9
mov rbp, r8
mov r13, rdx
mov rdi, rcx
mov r15, qword [rsp + 0x3b0]
mov r14, qword [rsp + 0x3a0]
mov r12, qword [0x1400f6380]
mov rax, qword [r12]
xor rax, rsp
mov qword [rsp + 0x310], rax
call fcn.1400614a0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14006a0b0
test al, al
je 0x14005b1b9
mov rax, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0x398]
mov edx, dword [rsp + 0x390]
mov esi, dword [rsp + 0x388]
mov r9, qword [rsp + 0x380]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], esi
mov rcx, r13
mov rdx, rbp
mov r8, rbx
call rdi
mov ebx, 1
test eax, eax
jne 0x14005b416
lea rcx, str.CreateProcessA
mov rdx, r13
call fcn.14001c450
call fcn.1400614a0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14006a090
xor ebx, ebx
test al, al
je 0x14005b416
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, 0x18
mov rcx, r15
mov r8d, 1
call fcn.140061990
test al, al
je 0x14005b40c
call fcn.1400615c0
test rax, rax
je 0x14005b40c
mov rsi, rax
test rbp, rbp
je 0x14005b24f
mov rcx, rbp
call fcn.1400621f0
mov rbx, rax
test rax, rax
je 0x14005b40c
test r13, r13
je 0x14005b256
mov rcx, r13
call fcn.1400621f0
mov rbp, rax
test rax, rax
jne 0x14005b258
mov rcx, rbx
jmp 0x14005b27a
xor ebx, ebx
test r13, r13
jne 0x14005b23a
xor ebp, ebp
test r14, r14
je 0x14005b286
mov rcx, r14
call fcn.1400621f0
mov r14, rax
test rax, rax
jne 0x14005b289
mov rcx, rbx
xor edx, edx
call fcn.140062310
mov rcx, rbp
xor edx, edx
call fcn.140062310
jmp 0x14005b40c
xor r14d, r14d
test rbx, rbx
je 0x14005b294
mov rax, qword [rbx + 8]
jmp 0x14005b296
xor eax, eax
mov qword [rsp + 0x98], rax
test rbp, rbp
je 0x14005b2a9
mov rax, qword [rbp + 8]
jmp 0x14005b2ab
xor eax, eax
mov qword [rsp + 0x90], rax
test r14, r14
mov qword [rsp + 0x58], rbx
je 0x14005b2c3
mov rax, qword [r14 + 8]
jmp 0x14005b2c5
xor eax, eax
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], 0
lea rbx, [rsp + 0x100]
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xffffffff
cmp eax, 0x102
ja 0x14005b306
mov qword [rsp + 0x80], rbx
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov rdx, rsi
call fcn.1400654d0
xorps xmm0, xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xf0], 0
mov dword [rsp + 0x60], 0x18
mov qword [rsp + 0x68], r15
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x90]
lea r9, [rsp + 0x98]
mov rcx, rbx
mov edx, 0xd
call fcn.14005b450
mov ebp, eax
xor ebx, ebx
mov rcx, qword [rsp + 0x58]
xor edx, edx
call fcn.140062310
mov rcx, qword [rsp + 0x50]
xor edx, edx
call fcn.140062310
mov rcx, r14
xor edx, edx
call fcn.140062310
test ebp, ebp
je 0x14005b3d6
mov al, 1
jmp 0x14005b408
mov ecx, dword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [rsp + 0xa8], 0
mov eax, 0
jne 0x14005b408
lea rcx, str.CreateProcessA
mov rdx, r13
call fcn.14001c6c0
mov ebx, 1
xor eax, eax
test al, al
je 0x14005b416
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
mov rax, qword [rsp + 0x310]
xor rax, rsp
mov rcx, qword [r12]
cmp rcx, rax
jne 0x14005b440
mov eax, ebx
add rsp, 0x318
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140072349
int3