Function at 0x14000b770
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x1b0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402aa768]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rsi, rcx
call fcn.14002e420
call fcn.140028df4
mov rcx, rax
test rax, rax
jne 0x14000b7c6
mov ecx, 0x80004005
call fcn.140009a10
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
call fcn.140028df4
mov rcx, rax
test rax, rax
jne 0x14000b7ed
mov ecx, 0x80004005
call fcn.140009a10
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
call fcn.140028df4
mov rcx, rax
test rax, rax
jne 0x14000b814
mov ecx, 0x80004005
call fcn.140009a10
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
call fcn.140028df4
mov rcx, rax
test rax, rax
jne 0x14000b83b
mov ecx, 0x80004005
call fcn.140009a10
int3
mov rax, qword [rax]
call qword [rax + 0x18]
mov r15, rax
lea rcx, [rax + 0x18]
mov qword [rsp + 0x80], rcx
lea rdx, [rsp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov rcx, qword [0x1402bc480]
add rcx, 0x26f1
lea r8, [rsp + 0x90]
lea rdx, str._ssupd_
call fcn.140009880
lea r8, [rsp + 0x90]
lea rdx, [0x140264d30]
lea rcx, [rsp + 0x68]
call fcn.140009880
lea r8, str.MicrosoftWindowsApps_
lea rdx, str.Temp_
lea rcx, [rsp + 0x68]
call fcn.14000be10
mov rcx, qword [0x1402bc480]
add rcx, 0x26f9
mov r8, qword [rsp + 0x68]
lea rdx, [0x140264d30]
call fcn.140009880
mov rax, qword [0x1402bc480]
mov byte [rax + 0x1031], 0
lea rdx, str.Asmedia_4242_Show_Firmware_Version_v2.1
lea rcx, [rsp + 0x70]
call fcn.140009880
mov rdx, qword [rsp + 0x70]
mov rcx, rsi
call fcn.1400264cc
lea r8, [0x1402642b0]
mov edx, 0x401
mov rcx, rsi
call fcn.140026308
lea r8, [0x1402642b0]
mov edx, 0x405
mov rcx, rsi
call fcn.140026308
lea r8, [0x1402642b0]
mov edx, 0x406
mov rcx, rsi
call fcn.140026308
lea r8, [0x1402642b0]
mov edx, 0x407
mov rcx, rsi
call fcn.140026308
lea r8, [0x1402642b0]
mov edx, 0x408
mov rcx, rsi
call fcn.140026308
mov rcx, qword [0x1402bc480]
call fcn.1400187f0
cmp al, 1
je 0x14000b97e
lea rcx, str.Extract_DLL_fail._Please_close_the_tool_and_try_it_again.
jmp 0x14000b9dd
lea rcx, str.XL_
call fcn.140009d30
cmp eax, 1
jne 0x14000b9d6
call qword [0x1402ab3b9]
mov rcx, qword [0x1402bc480]
call fcn.140018030
cmp al, 1
je 0x14000b9bb
xor r8d, r8d
xor edx, edx
lea rcx, str.Extract_IO_Driver_fail._Please_close_the_tool_and_try_it_again.
call fcn.14002cac8
jmp 0x14000bb82
call qword [0x1402ab3b1]
movsx ecx, al
cmp ecx, 2
jne 0x14000b9d1
call qword [0x1402ab3b1]
jmp 0x14000b9ec
cmp ecx, 1
je 0x14000b9ec
lea rcx, str.Load_IO_Driver_fail._Please_close_the_tool_and_try_it_again.
xor r8d, r8d
xor edx, edx
call fcn.14002cac8
jmp 0x14000bb82
call qword [0x1402ab4c9]
call fcn.14000b4a0
mov rcx, qword [0x1402bc480]
call fcn.140017550
mov rcx, qword [0x1402bc480]
cmp byte [rcx + 0x106c], 0xff
jne 0x14000ba4d
cmp byte [rcx + 0x1076], 0xff
jne 0x14000ba4d
cmp byte [rcx + 0x1080], 0xff
jne 0x14000ba4d
cmp byte [rcx + 0x108a], 0xff
jne 0x14000ba4d
cmp byte [rcx + 0x1094], 0xff
jne 0x14000ba4d
xor r8d, r8d
xor edx, edx
lea rcx, str.Read_hardware_IO_fail._Please_close_the_tool_and_try_it_again.
call fcn.14002cac8
jmp 0x14000bb82
add rcx, 0x26e9
call fcn.14000bd60
mov rcx, qword [0x1402bc480]
add rcx, 0x26e9
mov rdx, rax
call fcn.140009480
mov r8, qword [0x1402bc480]
movzx eax, byte [r8 + 0x1031]
test al, al
je 0x14000bb7b
xor ebp, ebp
test al, al
je 0x14000bb7b
mov r14d, ebp
movzx eax, byte [r14 + r8 + 0x1071]
movzx ecx, byte [r14 + r8 + 0x1070]
movzx edx, byte [r14 + r8 + 0x106f]
movzx r10d, byte [r14 + r8 + 0x106e]
movzx r11d, byte [r14 + r8 + 0x106d]
movzx ebx, byte [r14 + r8 + 0x106c]
movzx edi, byte [r14 + r8 + 0x1034]
movzx r9d, byte [r14 + r8 + 0x1033]
movzx r8d, byte [r14 + r8 + 0x1032]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
lea rdx, str.Bus:__02d__Device:__02d__Func:__02d____FW_:__02X_02X_02X__02X_02X__02X
lea rcx, [rsp + 0x60]
call fcn.140009880
mov eax, ebp
test ebp, ebp
je 0x14000bb49
sub eax, 1
je 0x14000bb42
sub eax, 1
je 0x14000bb3b
sub eax, 1
je 0x14000bb34
cmp eax, 1
jne 0x14000bb5b
mov edx, 0x408
jmp 0x14000bb4e
mov edx, 0x407
jmp 0x14000bb4e
mov edx, 0x406
jmp 0x14000bb4e
mov edx, 0x405
jmp 0x14000bb4e
mov edx, 0x401
mov r8, qword [rsp + 0x60]
mov rcx, rsi
call fcn.140026308
inc ebp
add r14, 0x40e
mov r8, qword [0x1402bc480]
movzx eax, byte [r8 + 0x1031]
cmp ebp, eax
jl 0x14000ba93
call qword [0x1402ab3b9]
nop
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [r15 + 0x10], eax
sub eax, 1
jg 0x14000bb9f
mov rcx, qword [r15]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000bbbe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000bbdd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14000bbf9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401d0680
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret