Function at 0x1400956e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov rdi, rcx
lea rcx, [rbp - 0x48]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14009572b
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Enter_UpdateMBUninstaller
mov rcx, rax
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rbp - 0x48]
call fcn.140016400
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov r8d, 9
lea rdx, str.mbuns.exe
lea rcx, [rbp - 0x28]
call fcn.140030be0
nop
lea r8, [rbp - 0x28]
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.14009b580
nop
lea rcx, [rbp - 0x28]
call fcn.1400166f0
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x90]
call fcn.1400b21a0
test al, al
je 0x1400957e0
cmp dword [rsp + 0x40], 0
jne 0x1400957e0
mov al, 1
jmp 0x1400957e2
xor al, al
lea rcx, [rbp - 0x48]
test al, al
je 0x140095fde
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140095802
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Found_mbuns.exe
mov rcx, rax
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rbp - 0x48]
call fcn.140016400
xor esi, esi
mov dword [rsp + 0x40], esi
mov word [rbp - 0x4c], si
mov word [rsp + 0x48], si
mov word [rsp + 0x44], si
mov word [rbp - 0x50], si
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x4c]
lea rcx, [rbp + 0x90]
call fcn.1400b2df0
test al, al
jne 0x140095927
lea rcx, [rsp + 0x50]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400958bc
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Error
mov rcx, rax
call fcn.1400337c0
mov edx, dword [rsp + 0x40]
mov rcx, rax
call fcn.140032140
mov rcx, rax
lea rdx, str._calling_GetFileVersion
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x50]
jmp 0x14009603c
lea rcx, [rbp - 0x48]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14009593f
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Build_number_of_mbuns.exe_is:
mov rcx, rax
call fcn.1400337c0
movzx edi, word [rbp - 0x50]
movzx edx, di
mov rcx, rax
call fcn.140077540
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rbp - 0x48]
call fcn.140016400
mov eax, 0x102
cmp di, ax
jb 0x140095f7e
mov eax, 0x113
cmp di, ax
jae 0x140095f7e
lea rcx, [rsp + 0x50]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400959d2
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Updating_mbuns.exe...
mov rcx, rax
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x50]
call fcn.140016400
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x1f0]
call fcn.140306610
lea rdx, [rbp + 0x1f0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x140095ada
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x50]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140095a71
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Error
mov rcx, rax
call fcn.1400337c0
mov edx, ebx
mov rcx, rax
call fcn.140032140
mov rcx, rax
lea rdx, str._calling_GetTempPath
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x50]
jmp 0x14009603c
mov dword [rbp - 0x4c], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov r8d, 9
lea rdx, str.mbuns.exe
lea rcx, [rbp - 0x70]
call fcn.140030be0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp + 0x1f0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140095b21
lea rdx, [rbp + 0x1f0]
lea rcx, [rsp + 0x70]
call fcn.140030be0
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 8]
call fcn.14009b580
nop
lea rcx, [rsp + 0x70]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x70]
call fcn.1400166f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov r8d, 0x8b
lea rdx, str.https:__cdn.mwbsys.com_packages_mbam_c.installer.consumer_e_7_1_a_e71a2ac2a7571e9812f22cd6a8f58e6c_d95e2c6e_af07_4066_9430_363c94b08c31.exe
lea rcx, [rbp - 0x28]
call fcn.140015370
nop
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x48]
call fcn.14009c1c0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x28], 0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmm0, xmmword [0x14043caa0]
movdqa xmmword [rbp + 0x60], xmm0
mov byte [rbp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
movdqa xmmword [rbp + 0x80], xmm1
movdqa xmm0, xmmword [0x14043caa0]
movdqa xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov word [rbp + 0x20], 0
mov word [rbp + 0x48], si
xor edx, edx
mov r8d, 0x138
lea rcx, [rbp + 0xb0]
call fcn.140306610
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 9
lea rdx, str.MBUpdater
lea rcx, [rsp + 0x50]
call fcn.140015370
nop
lea r9, [rbp + 0x20]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0xb0]
call fcn.1400ba7a0
nop
lea rcx, [rsp + 0x50]
call fcn.140016400
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x140095c8f
mov edx, 0x1388
call fcn.1400f9410
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x140095c8f
mov edx, 0x2710
call fcn.1400f9470
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x20], 0
lea r9, [rbp - 0x4c]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0xb0]
call fcn.1400bc030
lea rcx, [rsp + 0x50]
test al, al
je 0x140095eb3
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140095cd7
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Successfully_downloaded_new_mbuns.exe
mov rcx, rax
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x50]
call fcn.140016400
mov byte [rbp - 0x50], 0
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 7
cmova rcx, qword [rbp - 8]
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x50]
call fcn.1400f0ac0
test eax, eax
jne 0x140095e52
cmp byte [rbp - 0x50], al
je 0x140095e52
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 8]
call fcn.1400b3400
lea rcx, [rsp + 0x50]
test al, al
je 0x140095dd8
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140095d8d
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Successfully_copied_new_mbuns.exe
mov rcx, rax
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
jmp 0x140095f18
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140095dec
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Error
mov rcx, rax
call fcn.1400337c0
mov edx, dword [rsp + 0x40]
mov rcx, rax
call fcn.140032140
mov rcx, rax
lea rdx, str._calling_Copy
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
jmp 0x140095f18
lea rcx, [rsp + 0x50]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140095e6b
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Failed_to_verify_file_mbuns.exe
mov rcx, rax
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
jmp 0x140095f18
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140095ec7
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Download_of_mbuns.exe_failed._Status_code:
mov rcx, rax
call fcn.1400337c0
mov edx, dword [rbp - 0x4c]
mov rcx, rax
call fcn.140045c80
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x50]
call fcn.140016400
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 8]
call fcn.1400b3640
nop
lea rcx, [rbp + 0xb0]
call fcn.1400ba8c0
nop
lea rcx, [rbp + 0x70]
call fcn.140016400
nop
lea rcx, [rbp + 0x50]
call fcn.140016400
nop
lea rcx, [rbp + 0x28]
call fcn.140016400
nop
lea rcx, [rbp - 0x48]
call fcn.140016400
nop
lea rcx, [rbp - 0x28]
call fcn.140016400
nop
lea rcx, [rbp - 8]
call fcn.1400166f0
jmp 0x140096042
lea rcx, [rbp - 0x48]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140095f96
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Not_updating_mbuns.exe__already_updated_
mov rcx, rax
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
jmp 0x140096038
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140095ff2
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.File_mbuns.exe_not_found
mov rcx, rax
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rbp - 0x48]
call fcn.140016400
nop
lea rcx, [rbp + 0x90]
call fcn.1400166f0
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.1402b5c00
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret