Function at 0x140001740
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x140001c27
test rdx, rdx
je 0x140001c27
xor edx, edx
lea rcx, [rbp - 0x30]
mov r8d, 0x104
call fcn.140001fb0
xor edx, edx
lea rcx, [rbp + 0xe0]
mov r8d, 0x208
call fcn.140001fb0
xor ebx, ebx
lea rdx, [0x140004170]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rbx
mov ecx, 0xe0762feb
mov qword [rsp + 0x70], rbx
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x6c], ebx
mov r15d, ebx
mov dword [rbp - 0x54], ebx
mov r14d, ebx
mov dword [rsp + 0x7c], ebx
mov qword [rbp + 0x338], rbx
mov qword [rbp + 0x330], rbx
mov qword [rbp - 0x78], rbx
mov qword [rsp + 0x68], rbx
mov dword [rbp + 0x320], ebx
call section..text
test eax, eax
je 0x140001c27
lea rdx, [0x140004188]
mov ecx, 0x5c2d1a97
call section..text
test eax, eax
je 0x140001c27
lea rdx, [0x1400041a0]
mov ecx, 0x2073465a
call section..text
test eax, eax
je 0x140001c27
lea rdx, [0x1400041b8]
mov ecx, 0xdd554681
call section..text
test eax, eax
je 0x140001c27
lea rdx, [0x1400041d0]
mov ecx, 0x3ee6cc56
call section..text
test eax, eax
je 0x140001c27
lea rdx, [0x1400041e8]
mov ecx, 0x9eee4b80
call section..text
test eax, eax
je 0x140001c27
lea rdx, [0x140004200]
mov ecx, 0xa4163ebc
call section..text
test eax, eax
je 0x140001c27
lea rdx, [0x140004188]
mov ecx, 0x5c2d1a97
call section..text
test eax, eax
je 0x140001c27
lea rdx, [0x140004218]
mov ecx, 0x90483ff6
call section..text
test eax, eax
je 0x140001c27
lea rdx, [0x140004230]
mov ecx, 0xd09c750
call section..text
test eax, eax
je 0x140001c27
mov edx, 0x82
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x140001c27
mov r9, rdi
lea r8, [rbp - 0x30]
lea rdx, str.___sSystem32_s
lea rcx, [rbp + 0xe0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0xe0]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x140001912
mov rdx, qword [0x1400041e0]
add ax, ax
mov ecx, dword [0x1400041d0]
xorps xmm0, xmm0
mov word [rsp + 0x78], ax
add ax, 2
mov word [rsp + 0x7a], ax
lea rax, [rbp + 0xe0]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x70], 0x30
mov qword [rbp - 0x68], rbx
mov dword [rbp - 0x58], 0x40
movdqu xmmword [rbp - 0x50], xmm0
call fcn.140001fe0
mov dword [rsp + 0x50], ebx
lea r9, [rbp - 0x40]
mov qword [rsp + 0x48], rbx
lea r8, [rbp - 0x70]
mov dword [rsp + 0x40], 0x800
lea rcx, [rsp + 0x60]
mov edi, 1
mov edx, 0x120089
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rbx
call fcn.140002002
test eax, eax
js 0x140001c27
cmp qword [rsp + 0x60], rbx
je 0x140001c27
mov rdx, qword [0x1400041f8]
mov ecx, dword [0x1400041e8]
call fcn.140001fe0
mov rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x11000000
xor r8d, r8d
mov edx, 0xf001f
mov dword [rsp + 0x20], 2
call fcn.140002002
test eax, eax
js 0x140001b9d
mov rdx, qword [0x140004210]
mov ecx, dword [0x140004200]
call fcn.140001fe0
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x78]
mov dword [rsp + 0x48], 2
lea r8, [rbp + 0x338]
mov dword [rsp + 0x40], ebx
lea rdx, [rdi - 2]
mov dword [rsp + 0x38], edi
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.140002002
test eax, eax
js 0x140001b9d
mov r9, qword [rbp + 0x338]
test r9, r9
je 0x140001bd2
movsxd rdx, dword [rsi + 0x3c]
add rdx, rsi
cmp dword [rdx], 0x4550
jne 0x140001ba4
movzx r11d, word [rdx + 0x14]
mov r8d, ebx
movzx r10d, word [rdx + 6]
add r11, rdx
lea rcx, [r11 + 0x18]
test r10, r10
je 0x140001ae7
mov rdx, rbx
nop
mov eax, dword [rcx]
or eax, 0x20202020
cmp eax, 0x7865742e
je 0x140001abf
inc r8d
inc rdx
add rcx, 0x28
cmp rdx, r10
jl 0x140001aa0
jmp 0x140001ae7
movsxd rax, r8d
lea rcx, [rax + rax*4]
mov eax, dword [r11 + rcx*8 + 0x24]
add rax, rsi
mov qword [rbp + 0x330], rax
mov ebx, dword [r11 + rcx*8 + 0x24]
mov r15d, dword [r11 + rcx*8 + 0x20]
add rbx, r9
mov qword [rsp + 0x68], r15
cmp qword [rbp + 0x330], r14
je 0x140001ba4
test rbx, rbx
je 0x140001ba4
cmp qword [rsp + 0x68], r14
je 0x140001ba4
mov rdx, qword [0x140004198]
mov ecx, dword [0x140004188]
call fcn.140001fe0
lea rax, [rbp + 0x320]
mov r9d, 0x40
lea r8, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x330]
mov rcx, 0xffffffffffffffff
call fcn.140002002
test eax, eax
js 0x140001b9d
mov rcx, qword [rbp + 0x330]
mov r8, r15
mov rdx, rbx
call fcn.140001f50
mov rdx, qword [0x140004198]
mov ecx, dword [0x140004188]
call fcn.140001fe0
mov r9d, dword [rbp + 0x320]
lea rax, [rbp + 0x320]
lea r8, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x330]
mov rcx, 0xffffffffffffffff
call fcn.140002002
test eax, eax
cmovns r14d, edi
mov r9, qword [rbp + 0x338]
test r9, r9
je 0x140001bd2
mov rdx, qword [0x140004228]
mov ecx, dword [0x140004218]
call fcn.140001fe0
mov rdx, qword [rbp + 0x338]
mov rcx, 0xffffffffffffffff
call fcn.140002002
test eax, eax
js 0x140001c27
cmp qword [rsp + 0x70], 0
je 0x140001bfa
mov rdx, qword [0x140004240]
mov ecx, dword [0x140004230]
call fcn.140001fe0
mov rcx, qword [rsp + 0x70]
call fcn.140002002
test eax, eax
js 0x140001c27
cmp qword [rsp + 0x60], 0
je 0x140001c22
mov rdx, qword [0x140004240]
mov ecx, dword [0x140004230]
call fcn.140001fe0
mov rcx, qword [rsp + 0x60]
call fcn.140002002
test eax, eax
js 0x140001c27
mov eax, r14d
jmp 0x140001c29
xor eax, eax
mov rbx, qword [rsp + 0x428]
add rsp, 0x3f0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret