Function at 0x7ff72e2ebb90
Capabilities:
Get common file path

Disassembly:
push r13
sub rsp, 0x170
mov rax, qword [0x7ff72e3c3a28]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov r13d, ecx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.7ff72e32b9a0
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, eax
cmp rdx, 0xa
jb 0x7ff72e2ebc17
lfence
lea rcx, [rsp + 0x30]
add rcx, rdx
cmp byte [rcx], 0x5c
je 0x7ff72e2ebbf3
dec rcx
add eax, 0xffffffff
jne 0x7ff72e2ebbe6
mov eax, eax
lea rcx, [rsp + 0x30]
add rcx, rax
lea rdx, str.mfpmp.exe
mov r8d, 7
call fcn.7ff72e3696a0
test eax, eax
je 0x7ff72e2ec19b
cmp qword [0x7ff72e3c65b0], 0
jne 0x7ff72e2ec19b
cmp qword [0x7ff72e3c6490], 0
jne 0x7ff72e2ec19b
cmp qword [0x7ff72e3c65a0], 0
jne 0x7ff72e2ec19b
cmp qword [0x7ff72e3c65b8], 0
jne 0x7ff72e2ec19b
cmp qword [0x7ff72e3c65c0], 0
jne 0x7ff72e2ec19b
cmp qword [0x7ff72e3c65c8], 0
jne 0x7ff72e2ec19b
mov qword [rsp + 0x188], rbx
mov r8d, 0x800
xor ebx, ebx
mov qword [rsp + 0x190], rbp
mov qword [rsp + 0x198], rsi
test r13d, r13d
mov qword [rsp + 0x168], rdi
mov ebp, ebx
mov qword [rsp + 0x160], r12
cmovne r8d, ebx
mov qword [rsp + 0x158], r14
mov r12d, ebx
mov qword [rsp + 0x150], r15
mov r14d, ebx
mov dword [rsp + 0x20], r8d
mov r15d, ebx
mov dword [0x7ff72e3c39f8], ebx
je 0x7ff72e2ebd59
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
lea ecx, [rax + 1]
lea rdx, [rcx*2 + 0x14]
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x28], rax
mov rsi, rax
test rax, rax
jne 0x7ff72e2ebd04
mov esi, ebx
mov qword [rsp + 0x28], rbx
jmp 0x7ff72e2ebd65
mov edx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r9d, eax
lea ecx, [r9 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x7ff72e2ebd2a
mov eax, 0x5c
mov word [rsi + r9*2], ax
inc r9d
mov edx, ebx
lea r8, str.msasn1.dll
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8]
lea ecx, [rdx + r9]
inc edx
mov word [rsi + rcx*2], ax
lea r8, [r8 + 2]
cmp edx, 0xa
jb 0x7ff72e2ebd40
jmp 0x7ff72e2ebd65
lea rsi, str.msasn1.dll
mov qword [rsp + 0x28], rsi
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x7ff72e3c65b0], rax
test rax, rax
jne 0x7ff72e2ebd90
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x7ff72e2ec128
test r13d, r13d
je 0x7ff72e2ebe1a
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
lea ecx, [rax + 1]
lea rdx, [rcx*2 + 0x18]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
jne 0x7ff72e2ebdc8
mov r14, rbx
jmp 0x7ff72e2ebe21
mov edx, edi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r9d, eax
lea ecx, [r9 - 1]
cmp word [r14 + rcx*2], 0x5c
je 0x7ff72e2ebdef
mov eax, 0x5c
mov word [r14 + r9*2], ax
inc r9d
mov edx, ebx
lea r8, str.cryptnet.dll
nop dword [rax + rax]
movzx eax, word [r8]
lea ecx, [rdx + r9]
inc edx
mov word [r14 + rcx*2], ax
lea r8, [r8 + 2]
cmp edx, 0xc
jb 0x7ff72e2ebe00
jmp 0x7ff72e2ebe21
lea r14, str.cryptnet.dll
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x7ff72e3c65a8], rax
test rax, rax
jne 0x7ff72e2ebe4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x7ff72e2ec128
test r13d, r13d
je 0x7ff72e2ebeca
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
lea ecx, [rax + 1]
lea rdx, [rcx*2 + 0x18]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r15, rax
test rax, rax
jne 0x7ff72e2ebe80
mov r15, rbx
jmp 0x7ff72e2ebed1
mov edx, edi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r9d, eax
lea ecx, [r9 - 1]
cmp word [r15 + rcx*2], 0x5c
je 0x7ff72e2ebea7
mov eax, 0x5c
mov word [r15 + r9*2], ax
inc r9d
mov edx, ebx
lea r8, str.drvstore.dll
movzx eax, word [r8]
lea ecx, [rdx + r9]
inc edx
mov word [r15 + rcx*2], ax
lea r8, [r8 + 2]
cmp edx, 0xc
jb 0x7ff72e2ebeb0
jmp 0x7ff72e2ebed1
lea r15, str.drvstore.dll
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x7ff72e3c65b8], rax
test rax, rax
jne 0x7ff72e2ebefc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x7ff72e2ec128
test r13d, r13d
je 0x7ff72e2ebf7a
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
lea ecx, [rax + 1]
lea rdx, [rcx*2 + 0x14]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r12, rax
test rax, rax
jne 0x7ff72e2ebf30
mov r12, rbx
jmp 0x7ff72e2ebf81
mov edx, edi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r9d, eax
lea ecx, [r9 - 1]
cmp word [r12 + rcx*2], 0x5c
je 0x7ff72e2ebf57
mov eax, 0x5c
mov word [r12 + r9*2], ax
inc r9d
mov edx, ebx
lea r8, str.devobj.dll
movzx eax, word [r8]
lea ecx, [rdx + r9]
inc edx
mov word [r12 + rcx*2], ax
lea r8, [r8 + 2]
cmp edx, 0xa
jb 0x7ff72e2ebf60
jmp 0x7ff72e2ebf81
lea r12, str.devobj.dll
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x7ff72e3c65c0], rax
test rax, rax
jne 0x7ff72e2ebfac
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x7ff72e2ec128
test r13d, r13d
je 0x7ff72e2ec02b
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
lea ecx, [rax + 1]
lea rdx, [rcx*2 + 0x10]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbp, rax
test rax, rax
jne 0x7ff72e2ebfe0
mov rbp, rbx
jmp 0x7ff72e2ec032
mov edx, edi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r9d, eax
lea ecx, [r9 - 1]
cmp word [rbp + rcx*2], 0x5c
je 0x7ff72e2ec008
mov eax, 0x5c
mov word [rbp + r9*2], ax
inc r9d
mov edx, ebx
lea r8, str.wldp.dll
movzx eax, word [r8]
lea ecx, [rdx + r9]
inc edx
mov word [rbp + rcx*2], ax
lea r8, [r8 + 2]
cmp edx, 8
jb 0x7ff72e2ec011
jmp 0x7ff72e2ec032
lea rbp, str.wldp.dll
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x7ff72e3c65c8], rax
test rax, rax
jne 0x7ff72e2ec05d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x7ff72e2ec128
test r13d, r13d
je 0x7ff72e2ec0f0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, 0x40
mov esi, eax
lea edx, [rax + 1]
lea rdx, [rdx*2 + 0x1a]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
jne 0x7ff72e2ec097
mov rsi, qword [rsp + 0x28]
jmp 0x7ff72e2ec0f7
mov edx, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rdi + rcx*2], 0x5c
je 0x7ff72e2ec0bd
mov eax, 0x5c
mov word [rdi + r8*2], ax
inc r8d
mov edx, ebx
lea rbx, str.cryptbase.dll
nop word [rax + rax]
movzx eax, word [rbx]
lea ecx, [rdx + r8]
inc edx
mov word [rdi + rcx*2], ax
lea rbx, [rbx + 2]
cmp edx, 0xd
jb 0x7ff72e2ec0d0
mov rsi, qword [rsp + 0x28]
mov rbx, rdi
jmp 0x7ff72e2ec0f7
lea rbx, str.cryptbase.dll
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x7ff72e3c65a0], rax
test rax, rax
jne 0x7ff72e2ec11e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x7ff72e2ec128
mov dword [0x7ff72e3c39f8], 1
mov rdi, qword [rsp + 0x168]
test r13d, r13d
je 0x7ff72e2ec16b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x158]
mov r12, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x198]
mov rbp, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x188]
mov r15, qword [rsp + 0x150]
mov eax, dword [0x7ff72e3c39f8]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.7ff72e329d50
add rsp, 0x170
pop r13
ret