Function at 0x140098050
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 - 0x420]
sub rsp, 0x520
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rdi, rcx
lea rcx, [rbp - 8]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14009809b
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, str.Enter_UpdateARWUninstaller
mov rcx, rax
call fcn.140034a00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
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.140031e00
nop
lea r8, [rbp - 0x28]
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.1400a2f80
nop
lea rcx, [rbp - 0x28]
call fcn.1400166f0
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x90]
call fcn.1400b93b0
test al, al
je 0x140098150
cmp dword [rsp + 0x40], 0
jne 0x140098150
mov al, 1
jmp 0x140098152
xor al, al
lea rcx, [rbp - 8]
test al, al
je 0x140098974
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140098172
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, str.Found_ARW_mbuns.exe
mov rcx, rax
call fcn.140034a00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
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.1400ba000
lea rcx, [rsp + 0x50]
test al, al
jne 0x140098293
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140098228
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, str.Error
mov rcx, rax
call fcn.140034a00
mov edx, dword [rsp + 0x40]
mov rcx, rax
call fcn.140033380
mov rcx, rax
lea rdx, str._calling_GetFileVersion
call fcn.140034a00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x50]
jmp 0x1400989d2
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400982a7
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, str.Build_number_of_ARW_mbuns.exe_is:
mov rcx, rax
call fcn.140034a00
movzx edx, word [rbp - 0x50]
mov rcx, rax
call fcn.140079500
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x50]
call fcn.140016400
cmp word [rbp - 0x50], 0x3f
jae 0x140098914
lea rcx, [rsp + 0x70]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140098327
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, str.Updating_ARW_mbuns.exe...
mov rcx, rax
call fcn.140034a00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x70]
call fcn.140016400
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x200]
call fcn.14030b3a0
lea rdx, [rbp + 0x200]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x14009842f
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 0x1400983c6
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, str.Error
mov rcx, rax
call fcn.140034a00
mov edx, ebx
mov rcx, rax
call fcn.140033380
mov rcx, rax
lea rdx, str._calling_GetTempPath
call fcn.140034a00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x50]
jmp 0x1400989d2
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.140031e00
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea rax, [rbp + 0x200]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140098480
lea rdx, [rbp + 0x200]
lea rcx, [rbp - 0x70]
call fcn.140031e00
nop
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x48]
call fcn.1400a2f80
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.1400a3bc0
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 [0x1404459a0]
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 [0x1404459a0]
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, 0x148
lea rcx, [rbp + 0xb0]
call fcn.14030b3a0
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.1400c18f0
nop
lea rcx, [rsp + 0x50]
call fcn.140016400
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x140098601
mov edx, 0x1388
call fcn.140100850
mov dword [rbp + 0xbc], 0x1388
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x140098601
mov edx, 0x2710
call fcn.1401008b0
mov dword [rbp + 0xc4], 0x2710
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.1400c3330
lea rcx, [rsp + 0x50]
test al, al
je 0x140098849
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140098649
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, str.Successfully_downloaded_new_ARW_mbuns.exe
mov rcx, rax
call fcn.140034a00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
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 0x1400986bd
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.1400f7f00
test eax, eax
jne 0x1400987e8
cmp byte [rbp - 0x50], al
je 0x1400987e8
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x48]
call fcn.1400ba610
lea rcx, [rsp + 0x50]
test al, al
je 0x14009876e
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140098723
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, str.Successfully_copied_new_ARW_mbuns.exe
mov rcx, rax
call fcn.140034a00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
jmp 0x1400988ae
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140098782
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, str.Error
mov rcx, rax
call fcn.140034a00
mov edx, dword [rsp + 0x40]
mov rcx, rax
call fcn.140033380
mov rcx, rax
lea rdx, str._calling_Copy
call fcn.140034a00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
jmp 0x1400988ae
lea rcx, [rsp + 0x50]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140098801
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, str.Failed_to_verify_file_ARW_mbuns.exe
mov rcx, rax
call fcn.140034a00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
jmp 0x1400988ae
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14009885d
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, str.Download_of_ARW_mbuns.exe_failed._Status_code:
mov rcx, rax
call fcn.140034a00
mov edx, dword [rbp - 0x4c]
mov rcx, rax
call fcn.140047c40
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x50]
call fcn.140016400
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.1400ba850
nop
lea rcx, [rbp + 0xb0]
call fcn.1400c1ac0
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 0x1400989d8
lea rcx, [rbp - 8]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14009892c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, str.Not_updating_ARW_mbuns.exe__already_updated_
mov rcx, rax
call fcn.140034a00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
jmp 0x1400989ce
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140098988
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, str.File_ARW_mbuns.exe_not_found
mov rcx, rax
call fcn.140034a00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rbp - 8]
call fcn.140016400
nop
lea rcx, [rbp + 0x90]
call fcn.1400166f0
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1402ba9b0
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret