Function at 0x140096080
Capabilities:
Get common file path
Move file

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 - 8]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400960cb
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Enter_UpdateARWUninstaller
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 - 8]
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 0x140096180
cmp dword [rsp + 0x40], 0
jne 0x140096180
mov al, 1
jmp 0x140096182
xor al, al
lea rcx, [rbp - 8]
test al, al
je 0x140096990
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400961a2
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Found_ARW_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 - 8]
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
lea rcx, [rsp + 0x50]
test al, al
jne 0x1400962c3
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140096258
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 0x1400969ee
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400962d7
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Build_number_of_ARW_mbuns.exe_is:
mov rcx, rax
call fcn.1400337c0
movzx edx, word [rbp - 0x50]
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, [rsp + 0x50]
call fcn.140016400
cmp word [rbp - 0x50], 0x3f
jae 0x140096930
lea rcx, [rsp + 0x70]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140096357
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Updating_ARW_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 + 0x70]
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 0x14009645f
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 0x1400963f6
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 0x1400969ee
mov dword [rbp - 0x4c], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 9
lea rdx, str.mbuns.exe
lea rcx, [rsp + 0x70]
call fcn.140030be0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea rax, [rbp + 0x1f0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400964b0
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp - 0x70]
call fcn.140030be0
nop
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x48]
call fcn.14009b580
nop
lea rcx, [rbp - 0x70]
call fcn.1400166f0
nop
lea rcx, [rsp + 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_mbrw_c.installer.consumer_8_2_6_6_8266a6d1cc285f664567c2899563194f_54262803_45a0_4aec_8620_07c9bdac6b56.exe
lea rcx, [rbp - 0x28]
call fcn.140015370
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 8]
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 0x14009661d
mov edx, 0x1388
call fcn.1400f9410
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x14009661d
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 - 8]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0xb0]
call fcn.1400bc030
lea rcx, [rsp + 0x50]
test al, al
je 0x140096865
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140096665
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Successfully_downloaded_new_ARW_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
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rcx, qword [rbp - 0x48]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1400966d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rbp - 0x50], 0
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rcx, qword [rbp - 0x48]
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x50]
call fcn.1400f0ac0
test eax, eax
jne 0x140096804
cmp byte [rbp - 0x50], al
je 0x140096804
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x48]
call fcn.1400b3400
lea rcx, [rsp + 0x50]
test al, al
je 0x14009678a
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14009673f
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Successfully_copied_new_ARW_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 0x1400968ca
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14009679e
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 0x1400968ca
lea rcx, [rsp + 0x50]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14009681d
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Failed_to_verify_file_ARW_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 0x1400968ca
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140096879
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Download_of_ARW_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 - 0x48]
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 - 8]
call fcn.140016400
nop
lea rcx, [rbp - 0x28]
call fcn.140016400
nop
lea rcx, [rbp - 0x48]
call fcn.1400166f0
jmp 0x1400969f4
lea rcx, [rbp - 8]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140096948
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.Not_updating_ARW_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 0x1400969ea
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400969a4
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, str.File_ARW_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 - 8]
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