Function at 0x180064450
Capabilities:
Get common file path

Disassembly:
push rbp
mov eax, 0x1070
call fcn.1800e0a50
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x70], r8
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x60], rcx
mov rax, qword [0x1800eb0a8]
xor rax, rbp
mov qword [rbp + 0xfe8], rax
mov dword [rbp - 0x54], 0xe9fa5370
mov eax, dword [rbp - 0x54]
mov dword [rbp - 0x74], eax
sub eax, 0x9260047c
je 0x18006474f
jmp 0x1800644a0
mov eax, dword [rbp - 0x74]
sub eax, 0x9714a6b6
je 0x180064995
jmp 0x1800644b3
mov eax, dword [rbp - 0x74]
sub eax, 0x9bc5e1c7
je 0x180064926
jmp 0x1800644c6
mov eax, dword [rbp - 0x74]
sub eax, 0xa3ffb862
je 0x180064989
jmp 0x1800644d9
mov eax, dword [rbp - 0x74]
sub eax, 0xba94cf8e
je 0x18006484f
jmp 0x1800644ec
mov eax, dword [rbp - 0x74]
sub eax, 0xc5904f4b
je 0x1800645fd
jmp 0x1800644ff
mov eax, dword [rbp - 0x74]
sub eax, 0xc89a0511
je 0x18006494a
jmp 0x180064512
mov eax, dword [rbp - 0x74]
sub eax, 0xdc00a9be
je 0x18006464c
jmp 0x180064525
mov eax, dword [rbp - 0x74]
sub eax, 0xe2558276
je 0x18006487c
jmp 0x180064538
mov eax, dword [rbp - 0x74]
sub eax, 0xe700b2bc
je 0x1800648d7
jmp 0x18006454b
mov eax, dword [rbp - 0x74]
sub eax, 0xe9fa5370
je 0x1800645d5
jmp 0x18006455e
mov eax, dword [rbp - 0x74]
sub eax, 0xbadf07e
je 0x180064708
jmp 0x180064571
mov eax, dword [rbp - 0x74]
sub eax, 0x4c7c690e
je 0x180064714
jmp 0x180064584
mov eax, dword [rbp - 0x74]
sub eax, 0x4ed1753b
je 0x18006477c
jmp 0x180064597
mov eax, dword [rbp - 0x74]
sub eax, 0x5b0eb9cb
je 0x180064888
jmp 0x1800645aa
mov eax, dword [rbp - 0x74]
sub eax, 0x63b8216a
je 0x18006485b
jmp 0x1800645bd
mov eax, dword [rbp - 0x74]
sub eax, 0x6bfb54ad
je 0x1800647f8
jmp 0x1800645d0
jmp 0x18006499c
mov eax, 0x10
call fcn.1800e0a50
sub rsp, rax
mov rax, qword [rbp - 0x70]
mov rcx, rsp
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x54], 0xc5904f4b
jmp 0x18006499c
mov eax, dword [0x18184c894]
mov ecx, dword [0x18184c890]
mov edx, eax
sub edx, 0xfcb2ce45
sub edx, 1
add edx, 0xfcb2ce45
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xc89a0511
mov ecx, 0xdc00a9be
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x54], eax
jmp 0x18006499c
mov rax, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x20]
xor edx, edx
mov r8d, 0x1000
sub rsp, 0x20
call sub.msvcrt.dll_memset
add rsp, 0x20
mov rax, qword [rbp - 0x38]
mov dword [rax], 0
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
mov ecx, dword [0x18184c894]
mov eax, dword [0x18184c890]
mov edx, ecx
add edx, 0x6af17921
sub edx, 1
sub edx, 0x6af17921
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and r11b, cl
mov r9b, r8b
and r9b, 0
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0xc89a0511
mov ecx, 0xbadf07e
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x54], eax
jmp 0x18006499c
mov dword [rbp - 0x54], 0x4c7c690e
jmp 0x18006499c
mov rdx, qword [rbp - 0x30]
mov ecx, 0x800
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add rsp, 0x20
mov ecx, eax
mov rax, qword [rbp - 0x38]
mov dword [rax], ecx
mov rdx, qword [rbp - 0x38]
mov eax, 0x5b0eb9cb
mov ecx, 0x9260047c
cmp dword [rdx], 0
cmova eax, ecx
mov dword [rbp - 0x54], eax
jmp 0x18006499c
mov rax, qword [rbp - 0x40]
mov dword [rax + 0x20], 0x13
mov rcx, qword [rbp - 0x40]
mov edx, 0x800
sub rsp, 0x20
call fcn.1800379c0
add rsp, 0x20
mov dword [rbp - 0x54], 0x4ed1753b
jmp 0x18006499c
mov ecx, dword [0x18184c894]
mov eax, dword [0x18184c890]
xor r8d, r8d
sub r8d, 1
mov edx, ecx
add edx, r8d
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and r11b, cl
mov r9b, r8b
and r9b, 0xff
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xa3ffb862
mov ecx, 0x6bfb54ad
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x54], eax
jmp 0x18006499c
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x28], rax
mov eax, dword [0x18184c894]
mov ecx, dword [0x18184c890]
mov edx, eax
sub edx, 0xf101c027
sub edx, 1
add edx, 0xf101c027
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xa3ffb862
mov ecx, 0xba94cf8e
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x54], eax
jmp 0x18006499c
mov dword [rbp - 0x54], 0x63b8216a
jmp 0x18006499c
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
sub rsp, 0x20
call fcn.180038f30
add rsp, 0x20
mov dword [rbp - 0x54], 0xe2558276
jmp 0x18006499c
mov dword [rbp - 0x54], 0x5b0eb9cb
jmp 0x18006499c
mov eax, dword [0x18184c894]
mov ecx, dword [0x18184c890]
mov edx, eax
sub edx, 0x2405459
sub edx, 1
add edx, 0x2405459
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x9714a6b6
mov ecx, 0xe700b2bc
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x54], eax
jmp 0x18006499c
mov eax, dword [0x18184c894]
mov ecx, dword [0x18184c890]
mov edx, eax
add edx, 0x6d7e8f72
sub edx, 1
sub edx, 0x6d7e8f72
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x9714a6b6
mov ecx, 0x9bc5e1c7
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x54], eax
jmp 0x18006499c
xor eax, eax
mov dword [rbp - 0x78], eax
mov rcx, qword [rbp + 0xfe8]
xor rcx, rbp
sub rsp, 0x20
call fcn.1800e09d0
mov eax, dword [rbp - 0x78]
lea rsp, [rbp + 0xff0]
pop rbp
ret
mov rax, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x20]
xor edx, edx
mov r8d, 0x1000
sub rsp, 0x20
call sub.msvcrt.dll_memset
add rsp, 0x20
mov rax, qword [rbp - 0x38]
mov dword [rax], 0
mov dword [rbp - 0x54], 0xdc00a9be
jmp 0x18006499c
mov dword [rbp - 0x54], 0x6bfb54ad
jmp 0x18006499c
mov dword [rbp - 0x54], 0xe700b2bc
jmp 0x18006448a