Function at 0x180004550
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x1804a3780]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov esi, r9d
mov r14d, r8d
mov r15d, edx
mov ebx, ecx
mov edx, 0x104
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rcx, [rbp - 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
xor edx, edx
lea rcx, str.Progman
call qword [sym.imp.USER32.dll_FindWindowA]
mov rdi, rax
test ebx, ebx
je 0x1800045e6
test rax, rax
je 0x1800045dc
xor r9d, r9d
xor r8d, r8d
mov edx, 0x12
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageA]
jmp 0x180004ae7
mov ecx, 0xa
jmp 0x180004ae1
test r15d, r15d
je 0x18000483e
test rdi, rdi
jne 0x180004834
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x1800126c0]
movdqu xmmword [rsp + 0x78], xmm1
movsd xmm0, qword [str.explorer.exe]
movsd qword [rsp + 0x68], xmm0
mov eax, dword [0x180011bd8]
mov dword [rsp + 0x70], eax
mov byte [rsp + 0x74], dil
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180004645
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
call fcn.180001460
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1800126b0]
movdqu xmmword [rsp + 0x58], xmm1
movsd xmm0, qword [str.explorer]
movsd qword [rsp + 0x48], xmm0
movzx eax, byte [0x180011be8]
mov byte [rsp + 0x50], al
mov byte [rsp + 0x51], 0
lea r9, [rbp - 0x78]
lea r8, [rsp + 0x48]
movzx edx, byte [rsp + 0x20]
lea rcx, [rbp - 0x58]
call fcn.180001e60
nop
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x58]
movzx edx, byte [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.180001e60
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
xor r8d, r8d
xor edx, edx
call fcn.180003560
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x18000471c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004717
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004717
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000e5b8
movdqa xmm0, xmmword [0x180012640]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x18000476e
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004768
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004768
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000e5b8
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1800047af
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800047a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800047a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000e5b8
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1800047ee
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800047e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800047e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000e5b8
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x180004ae7
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004ab2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004ab2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 0x1392
jmp 0x180004ae1
test r14d, r14d
je 0x180004ab9
xor r9d, r9d
xor r8d, r8d
mov edx, 0x12
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageA]
nop dword [rax + rax]
lea rdx, [rsp + 0x24]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x24], 0x103
je 0x180004860
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movdqa xmm1, xmmword [0x1800126c0]
movdqu xmmword [rsp + 0x38], xmm1
movsd xmm0, qword [str.explorer.exe]
movsd qword [rsp + 0x28], xmm0
mov eax, dword [0x180011bd8]
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x34], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1800048d0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
call fcn.180001460
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1800126b0]
movdqu xmmword [rsp + 0x58], xmm1
movsd xmm0, qword [str.explorer]
movsd qword [rsp + 0x48], xmm0
movzx eax, byte [0x180011be8]
mov byte [rsp + 0x50], al
mov byte [rsp + 0x51], 0
lea r9, [rbp - 0x78]
lea r8, [rsp + 0x48]
movzx edx, byte [rsp + 0x20]
lea rcx, [rbp - 0x58]
call fcn.180001e60
nop
lea r9, [rsp + 0x28]
lea r8, [rbp - 0x58]
movzx edx, byte [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.180001e60
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rcx, qword [rsp + 0x68]
xor r8d, r8d
xor edx, edx
call fcn.180003560
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1800049a5
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800049a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800049a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000e5b8
movdqa xmm0, xmmword [0x180012640]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1800049f7
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800049f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800049f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000e5b8
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x180004a38
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004a32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004a32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000e5b8
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x180004a77
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004a71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004a71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000e5b8
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x180004ae7
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004ab2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004ab2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000e5b8
jmp 0x180004ae7
test esi, esi
je 0x180004adc
test rdi, rdi
je 0x1800045dc
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageA]
jmp 0x180004ae7
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.18000e740
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret