Function at 0x14000b140
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov qword [rax - 0x150], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402c8768]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rbp, rcx
call fcn.140034d00
mov r9, qword [rbp + 0x171]
mov edx, 0x80
lea r8d, [rdx - 0x7f]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_SendMessageA]
mov r9, qword [rbp + 0x171]
xor r8d, r8d
mov edx, 0x80
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_SendMessageA]
call fcn.14002ef9c
mov rcx, rax
test rax, rax
jne 0x14000b1cf
mov ecx, 0x80004005
call fcn.1400093e0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
call fcn.14002ef9c
mov rcx, rax
test rax, rax
jne 0x14000b1f6
mov ecx, 0x80004005
call fcn.1400093e0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov byte [rbp + 0x170], 0
call fcn.14002ef9c
mov rcx, rax
test rax, rax
jne 0x14000b224
mov ecx, 0x80004005
call fcn.1400093e0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov rcx, qword [0x1402db120]
add rcx, 0x26f0
lea r8, [rsp + 0x90]
lea rdx, str._ssupd_
call fcn.140009250
lea r8, [rsp + 0x90]
lea rdx, [0x14027f4f0]
lea rcx, [rsp + 0x68]
call fcn.140009250
lea r8, str.MicrosoftWindowsApps_
lea rdx, str.Temp_
lea rcx, [rsp + 0x68]
call fcn.14000bc60
mov rcx, qword [0x1402db120]
add rcx, 0x26f8
mov r8, qword [rsp + 0x68]
lea rdx, [0x14027f4f0]
call fcn.140009250
mov rax, qword [0x1402db120]
mov byte [rax + 0x1031], 0
lea rdx, str.Asmedia_4242_Show_Firmware_Version_v4.6
lea rcx, [rsp + 0x78]
call fcn.140009250
mov rdx, qword [rsp + 0x78]
mov rcx, rbp
call fcn.14002c73c
mov rcx, qword [0x1402db120]
call fcn.1400174d0
or r13, 0xffffffffffffffff
cmp al, 1
je 0x14000b304
lea rcx, str.Extract_DLL_fail._Please_close_the_tool_and_try_it_again.
jmp 0x14000b387
lea rcx, vtable.CLoadDLL.0
call fcn.140009700
cmp eax, 1
jne 0x14000b380
call qword [0x1402c9459]
mov rcx, qword [0x1402db120]
call fcn.140016b60
xor edx, edx
cmp al, 1
je 0x14000b341
xor r8d, r8d
lea rcx, str.Extract_IO_Driver_fail._Please_close_the_tool_and_try_it_again.
call fcn.140032c64
jmp 0x14000b742
call fcn.140019c20
test eax, eax
jne 0x14000b35b
xor r8d, r8d
xor edx, edx
lea rcx, str.Disable_PowerSaving_fail.
call fcn.140032c64
call fcn.14001b590
call qword [0x1402c9451]
movsx ecx, al
cmp ecx, 2
jne 0x14000b37b
call fcn.14001bfe0
call qword [0x1402c9451]
jmp 0x14000b396
cmp ecx, 1
je 0x14000b396
lea rcx, str.Load_IO_Driver_fail._Please_close_the_tool_and_try_it_again.
xor r8d, r8d
xor edx, edx
call fcn.140032c64
jmp 0x14000b742
call fcn.14001bad0
call qword [0x1402c9569]
call fcn.14001b520
call fcn.14000ae70
mov rcx, qword [0x1402db120]
call fcn.1400160c0
mov rcx, qword [0x1402db120]
cmp byte [rcx + 0x106c], 0xff
jne 0x14000b401
cmp byte [rcx + 0x1076], 0xff
jne 0x14000b401
cmp byte [rcx + 0x1080], 0xff
jne 0x14000b401
cmp byte [rcx + 0x108a], 0xff
jne 0x14000b401
cmp byte [rcx + 0x1094], 0xff
jne 0x14000b401
xor r8d, r8d
xor edx, edx
lea rcx, str.Read_hardware_IO_fail._Please_close_the_tool_and_try_it_again.
call fcn.140032c64
jmp 0x14000b742
add rcx, 0x26e8
call fcn.14000bbb0
mov rdx, rax
mov rcx, qword [0x1402db120]
add rcx, 0x26e8
call fcn.140008e50
call fcn.14002ef9c
mov rcx, rax
test rax, rax
jne 0x14000b43b
mov ecx, 0x80004005
call fcn.1400093e0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x80], rbx
mov r14, qword [0x1402db120]
mov rcx, qword [r14 + 0x26e8]
cmp dword [rcx - 0x10], 0
jl 0x14000b4ba
lea rdx, [0x14027f61c]
call fcn.1401e5f34
test rax, rax
je 0x14000b4b3
sub eax, dword [r14 + 0x26e8]
js 0x14000b4b3
mov byte [rbp + 0x170], 1
mov rax, qword [0x1402db120]
movzx edx, byte [rax + 0x1031]
test dl, dl
je 0x14000b49b
call fcn.14000b7e0
jmp 0x14000b4ab
call fcn.14000bb00
mov ecx, 2
call qword [sym.imp.USER32.dll_PostQuitMessage]
mov rcx, rbp
call fcn.14000ba30
mov r14, qword [0x1402db120]
mov rcx, qword [r14 + 0x26e8]
cmp dword [rcx - 0x10], 0
jl 0x14000b536
lea rdx, [0x14027f620]
call fcn.1401e5f34
test rax, rax
je 0x14000b52f
sub eax, dword [r14 + 0x26e8]
js 0x14000b52f
lea rdx, str.Use_command_ASM4242ShowFW__V_to_output_FW_version.
mov rax, r13
nop dword [rax + rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x14000b4f0
mov r8d, eax
lea rcx, [rsp + 0x80]
call fcn.140008cd0
xor r8d, r8d
xor edx, edx
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call fcn.140032c64
mov rcx, rbp
call fcn.14000ba30
mov r14, qword [0x1402db120]
jmp 0x14000b53d
mov r14, qword [0x1402db120]
mov byte [rbp + 0x170], 0
movzx eax, byte [r14 + 0x1031]
test al, al
je 0x14000b704
xor r15d, r15d
test al, al
je 0x14000b704
mov r12d, r15d
nop dword [rax + rax]
movzx eax, byte [r12 + r14 + 0x1071]
movzx ecx, byte [r12 + r14 + 0x1070]
movzx edx, byte [r12 + r14 + 0x106f]
movzx r10d, byte [r12 + r14 + 0x106e]
movzx r11d, byte [r12 + r14 + 0x106d]
movzx edi, byte [r12 + r14 + 0x106c]
movzx esi, byte [r12 + r14 + 0x1034]
movzx r9d, byte [r12 + r14 + 0x1033]
movzx r8d, byte [r12 + r14 + 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], edi
mov dword [rsp + 0x20], esi
lea rdx, str.Bus:__02d__Device:__02d__Func:__02d____FW_:__02X_02X_02X__02X_02X__02X
lea rcx, [rsp + 0x60]
call fcn.140009250
mov ecx, r15d
test r15d, r15d
je 0x14000b628
sub ecx, 1
je 0x14000b619
sub ecx, 1
je 0x14000b60a
cmp ecx, 1
jne 0x14000b6e2
mov r8, qword [rsp + 0x60]
mov edx, 0x404
jmp 0x14000b6da
mov r8, qword [rsp + 0x60]
mov edx, 0x403
jmp 0x14000b6da
mov r8, qword [rsp + 0x60]
mov edx, 0x402
jmp 0x14000b6da
mov r8, qword [rsp + 0x60]
mov edx, 0x401
mov rcx, rbp
call fcn.14002c578
mov rax, qword [0x1402db120]
mov r8, qword [r12 + rax + 0x1330]
mov edx, 0x405
mov rcx, rbp
call fcn.14002c578
mov rax, qword [0x1402db120]
mov r8, qword [r12 + rax + 0x1368]
mov edx, 0x406
mov rcx, rbp
call fcn.14002c578
mov rax, qword [0x1402db120]
mov r8, qword [r12 + rax + 0x13b0]
mov edx, 0x407
mov rcx, rbp
call fcn.14002c578
mov rax, qword [0x1402db120]
mov r8, qword [r12 + rax + 0x13f8]
mov edx, 0x408
mov rcx, rbp
call fcn.14002c578
mov rax, qword [0x1402db120]
mov r8, qword [r12 + rax + 0x12bf]
mov edx, 0x409
mov rcx, rbp
call fcn.14002c578
mov rax, qword [0x1402db120]
mov r8, qword [r12 + rax + 0x12f4]
mov edx, 0x40a
mov rcx, rbp
call fcn.14002c578
inc r15d
add r12, 0x40e
mov r14, qword [0x1402db120]
movzx eax, byte [r14 + 0x1031]
cmp r15d, eax
jl 0x14000b560
mov dl, 1
call fcn.140019c20
test eax, eax
jne 0x14000b720
xor r8d, r8d
xor edx, edx
lea rcx, str.ENABLE_PowerSaving_fail.
call fcn.140032c64
call qword [0x1402c9459]
nop
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000b742
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000b762
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000b782
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], r13d
sub r13d, 1
jg 0x14000b7a1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401d66f0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret