Function at 0x14002df00
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x318
lea rbp, [rsp + 0x80]
mov rdi, r9
mov r15, r8
mov rsi, rdx
mov rbx, rcx
mov r13, qword [rbp + 0x330]
mov r14, qword [rbp + 0x320]
call fcn.1400527c0
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x10]
mov rcx, rax
mov rax, rdx
call qword [0x14006a010]
cmp byte [rax + 4], 0
je 0x14002dfad
mov rax, qword [rbp + 0x328]
mov rcx, qword [rbp + 0x318]
mov edx, dword [rbp + 0x310]
mov r8d, dword [rbp + 0x308]
mov r9, qword [rbp + 0x300]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
mov rcx, rsi
mov rdx, r15
mov r8, rdi
mov rax, rbx
call qword [0x14006a010]
mov edi, 1
test eax, eax
jne 0x14002dfdb
lea rcx, str.CreateProcessA
mov rdx, rsi
call fcn.14003b450
call fcn.1400527c0
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x10]
mov rcx, rax
mov rax, rdx
call qword [0x14006a010]
xor edi, edi
cmp dword [rax], 0
jg 0x14002dff1
mov eax, edi
add rsp, 0x318
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov edx, 0x18
mov rcx, r13
mov r8d, 1
call fcn.14004e310
call fcn.14004e190
test al, al
je 0x14002e21c
mov rbx, qword [0x140066a28]
test rbx, rbx
je 0x14002e21c
test r15, r15
je 0x14002e04b
mov rcx, r15
call fcn.14004e9d0
mov rcx, rax
mov qword [rbp + 0x288], rax
test rax, rax
jne 0x14002e054
jmp 0x14002e21c
xor eax, eax
mov qword [rbp + 0x288], rax
test rsi, rsi
je 0x14002e06f
mov rcx, rsi
call fcn.14004e9d0
test rax, rax
jne 0x14002e071
mov rcx, qword [rbp + 0x288]
jmp 0x14002e0a2
xor eax, eax
mov qword [rbp + 0x270], rax
test r14, r14
je 0x14002e0ae
mov rcx, r14
call fcn.14004e9d0
mov rcx, rax
test rax, rax
jne 0x14002e0b0
mov rcx, qword [rbp + 0x288]
xor edx, edx
call fcn.14004eaa0
mov rcx, qword [rbp + 0x270]
xor edx, edx
call fcn.14004eaa0
jmp 0x14002e21c
xor ecx, ecx
mov rax, qword [rbp + 0x288]
test rax, rax
je 0x14002e0c2
mov rdx, qword [rax + 8]
jmp 0x14002e0c4
xor edx, edx
mov rax, qword [rbp + 0x270]
test rax, rax
je 0x14002e0d6
mov r14, qword [rax + 8]
jmp 0x14002e0d9
xor r14d, r14d
test rcx, rcx
mov dword [rbp + 0x294], r12d
mov qword [rbp + 0x258], rdx
mov qword [rbp + 0x280], rcx
je 0x14002e0f9
mov rax, qword [rcx + 8]
jmp 0x14002e0fb
xor eax, eax
mov qword [rbp + 0x278], rax
lea r15, [rbp - 0x30]
mov ecx, 0x104
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefc
xor r12d, r12d
mov dword [rbp + 0x26c], eax
cmp eax, 0xfffffefd
mov eax, 0
cmovae rax, r15
mov qword [rbp + 0x260], rax
lea rcx, [rbp + 0x248]
mov qword [rcx], rbx
add rbx, qword [rbx + 0x10]
mov qword [rcx + 8], rbx
xorps xmm0, xmm0
movaps xmmword [rbp + 0x220], xmm0
movaps xmmword [rbp + 0x210], xmm0
movaps xmmword [rbp + 0x200], xmm0
movaps xmmword [rbp + 0x1f0], xmm0
movaps xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x230], 0
call fcn.14004fee0
test rax, rax
je 0x14002e1db
mov rbx, rax
mov qword [rax], 0xd
mov dword [rax + 0x60], 5
mov dword [rax + 0x6c], 0xb0
test r14, r14
je 0x14002e1c0
mov rcx, r14
call fcn.140042600
mov r12, rax
add r12d, r12d
cmp r12d, 0x400
ja 0x14002e1db
mov r8d, r12d
mov eax, dword [rbx + 0x6c]
jmp 0x14002e1c8
mov eax, 0xb0
xor r8d, r8d
mov ecx, eax
mov eax, 0x400
sub rax, r8
cmp rax, rcx
jae 0x14002e27a
mov r12d, dword [rbp + 0x294]
mov rcx, qword [rbp + 0x288]
mov r14, qword [rbp + 0x280]
mov r15d, 4
xor ebx, ebx
xor edx, edx
call fcn.14004eaa0
mov rcx, qword [rbp + 0x270]
xor edx, edx
call fcn.14004eaa0
mov rcx, r14
xor edx, edx
call fcn.14004eaa0
test r15d, r15d
je 0x14002e22a
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14002dfdb
mov ecx, dword [rbp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [rbp + 0x1e8], 0
jne 0x14002e273
mov rax, qword [0x140064e08]
mov ebx, 1
test rax, rax
je 0x14002e273
mov qword [rsp + 0x20], 0
lea rcx, str.Broker_ALLOWED
lea rdx, str.CreateProcessA
mov r8, rsi
xor r9d, r9d
call qword [0x14006a010]
mov edi, ebx
jmp 0x14002dfdb
add rcx, rbx
mov rdx, r14
call fcn.14002e8c0
mov eax, dword [rbx + 0x6c]
add eax, r12d
add eax, 7
and eax, 0xfffffff8
mov dword [rbx + 0x78], eax
mov dword [rbx + 0x70], r12d
mov dword [rbx + 0x68], 1
mov rdx, qword [rbp + 0x258]
test rdx, rdx
je 0x14002e2dc
mov rcx, rdx
mov r12d, dword [rbp + 0x294]
call fcn.140042600
mov r15, rax
add r15d, r15d
cmp r15d, 0x400
ja 0x14002e1e2
mov r8d, r15d
mov eax, dword [rbx + 0x78]
mov rdx, qword [rbp + 0x258]
jmp 0x14002e2e9
xor r8d, r8d
xor r15d, r15d
mov r12d, dword [rbp + 0x294]
mov ecx, eax
mov eax, 0x400
sub rax, r8
cmp rax, rcx
jb 0x14002e1e2
add rcx, rbx
call fcn.14002e8c0
mov eax, dword [rbx + 0x78]
add eax, r15d
add eax, 7
and eax, 0xfffffff8
mov dword [rbx + 0x84], eax
mov dword [rbx + 0x7c], r15d
mov dword [rbx + 0x74], 1
cmp dword [rbp + 0x26c], 0xfffffefd
jae 0x14002e335
xor r8d, r8d
xor r14d, r14d
jmp 0x14002e35d
mov rcx, qword [rbp + 0x260]
call fcn.140042600
mov r14, rax
add r14d, r14d
cmp r14d, 0x400
ja 0x14002e1e2
mov r8d, r14d
mov eax, dword [rbx + 0x84]
mov ecx, eax
mov eax, 0x400
sub rax, r8
cmp rax, rcx
jb 0x14002e1e2
add rcx, rbx
mov rdx, qword [rbp + 0x260]
call fcn.14002e8c0
mov eax, dword [rbx + 0x84]
add eax, r14d
add eax, 7
and eax, 0xfffffff8
mov dword [rbx + 0x90], eax
mov dword [rbx + 0x88], r14d
mov dword [rbx + 0x80], 1
cmp qword [rbp + 0x278], 0
mov r12, rbx
je 0x14002e3de
mov rcx, qword [rbp + 0x278]
call fcn.140042600
mov r14, rax
add r14d, r14d
cmp r14d, 0x400
ja 0x14002e1db
mov r8d, r14d
mov eax, dword [r12 + 0x90]
jmp 0x14002e3e4
xor r8d, r8d
xor r14d, r14d
mov ecx, eax
mov eax, 0x400
sub rax, r8
cmp rax, rcx
jb 0x14002e1db
add rcx, r12
mov rdx, qword [rbp + 0x278]
call fcn.14002e8c0
mov rcx, r12
mov eax, dword [r12 + 0x90]
add eax, r14d
add eax, 7
and eax, 0xfffffff8
mov dword [r12 + 0x9c], eax
mov dword [r12 + 0x94], r14d
mov dword [r12 + 0x8c], 1
mov dword [rbp + 0x238], 0x18
mov qword [rbp + 0x240], r13
mov ebx, 4
test r13, r13
je 0x14002e513
cmp eax, 0x3e8
ja 0x14002e513
mov ecx, eax
add rcx, r12
mov r8d, 0x18
mov rdx, r13
call fcn.14002e8c0
mov rdx, r12
mov dword [r12 + 4], 1
mov eax, dword [r12 + 0x9c]
add eax, 0x1f
and eax, 0xfffffff8
mov dword [r12 + 0xa8], eax
mov dword [r12 + 0xa0], 0x18
mov dword [r12 + 0x98], 6
lea rcx, [rbp + 0x248]
lea r8, [rbp + 0x1e0]
call fcn.140050060
mov ebx, 0xa
cmp eax, 0xa
je 0x14002e513
mov r14d, eax
mov ebx, dword [r12 + 0x9c]
lea rcx, [rbp + 0x238]
call fcn.14003c0b0
mov r15d, eax
lea rcx, [rbp + 0x238]
call fcn.14003c0c0
mov rdx, r12
add rdx, rbx
mov r8d, r15d
mov rcx, rax
call fcn.14002e8c0
lea rcx, [rbp + 0x248]
mov rdx, r12
call fcn.140050020
mov ebx, r14d
mov r12d, dword [rbp + 0x294]
mov rcx, qword [rbp + 0x288]
mov r14, qword [rbp + 0x280]
mov r15d, ebx
jmp 0x14002e1f6