Function at 0x140002f00
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4a8]
sub rsp, 0x580
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14021ca50]
xor rax, rsp
mov qword [rbp + 0x470], rax
call fcn.140012980
mov rdx, rax
xor r13d, r13d
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x140002f62
mov ecx, 0x80004005
call fcn.14000a340
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov edx, 0x208
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
or r12, 0xffffffffffffffff
mov rcx, r12
lea rdi, [rbp + 0x50]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x140003000
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140003083
cmp dword [rdx + 0x10], eax
jge 0x140002fd2
cmp dword [rbx - 0xc], eax
jge 0x140002fc5
mov ecx, 0x80070057
call fcn.14000a340
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x140003083
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140002fe9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
jmp 0x140003083
mov r13d, dword [rbx - 0x10]
lea rsi, [rbp + 0x50]
sub rsi, rbx
sar rsi, 1
test ecx, ecx
jns 0x14000301d
mov ecx, 0x80070057
call fcn.14000a340
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14000303f
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.14000a1c0
mov rbx, qword [rsp + 0x50]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp rsi, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x140003063
lea r8, [rbx + rsi*2]
call fcn.140161bac
jmp 0x14000306c
lea r8, [rbp + 0x50]
call fcn.140161b24
cmp edi, dword [rbx - 0xc]
jg 0x140003fe2
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r13 + rbx], ax
xor r13d, r13d
mov r9d, 0xa
xor r8d, r8d
xor edx, edx
lea rcx, [0x1401dc310]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rsi, rax
mov qword [rbp - 0x80], rax
cmp rax, 0xffffffffffffffff
je 0x140003fc0
mov dword [rbp + 0x28], 0x20
mov r14d, r13d
nop word [rax + rax]
lea r8, [rbp + 0x28]
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
mov r15d, eax
cmp eax, 1
jne 0x1400032c6
mov dword [rsp + 0x68], r13d
call fcn.140012980
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
je 0x140003fb0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x208
lea rax, [rbp + 0x260]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
lea r8d, [r15 + 3]
lea rdx, [rbp + 0x28]
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
cmp eax, r15d
jne 0x1400032a4
xor eax, eax
mov rcx, r12
lea rdi, [rbp + 0x260]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x1400031ba
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140003240
cmp dword [rdx + 0x10], eax
jge 0x14000318c
cmp dword [rbx - 0xc], eax
jl 0x1400032d7
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x140003240
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400031a3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
jmp 0x140003240
mov r13d, dword [rbx - 0x10]
lea rsi, [rbp + 0x260]
sub rsi, rbx
sar rsi, 1
test ecx, ecx
js 0x140003fa5
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400031f5
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.14000a1c0
mov rbx, qword [rsp + 0x60]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp rsi, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x140003219
lea r8, [rbx + rsi*2]
call fcn.140161bac
jmp 0x140003225
lea r8, [rbp + 0x260]
call fcn.140161b24
cmp edi, dword [rbx - 0xc]
jg 0x140003f9a
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r13 + rbx], ax
mov rsi, qword [rbp - 0x80]
xor r13d, r13d
movsxd rdi, dword [rbx - 0x10]
test edi, edi
js 0x140003f8f
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or ecx, eax
jge 0x14000326e
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.14000a1c0
mov rbx, qword [rsp + 0x60]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.1401623e4
cmp edi, dword [rbx - 0xc]
jg 0x140003f84
mov dword [rbx - 0x10], edi
mov word [rbx + rdi*2], r13w
lea rdx, str.etdsmbus
lea rcx, [rsp + 0x60]
call fcn.1400092f0
test al, al
jne 0x1400032e2
jmp 0x1400032ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400032c6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r14d
test r15d, r15d
je 0x140003fbb
jmp 0x1400030c0
mov ecx, 0x80070057
call fcn.14000a340
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400032fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [rbp + 0x28]
mov rdx, rsi
mov ecx, 5
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
jne 0x14000331e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140003fbb
cmp eax, 1
jne 0x140003fbb
call fcn.140012980
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x140003347
mov ecx, 0x80004005
call fcn.14000a340
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
lea r14, [0x1401dd9e8]
mov rsi, r14
shr rsi, 0x10
test rsi, rsi
jne 0x14000338e
movzx edi, r14w
mov ecx, edi
call fcn.1400148dc
test rax, rax
je 0x1400033a3
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140009df0
jmp 0x14000339e
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.14000a220
mov rbx, qword [rsp + 0x48]
call fcn.140012980
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400033c3
mov ecx, 0x80004005
call fcn.14000a340
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x40], rdi
test rsi, rsi
jne 0x1400033fc
movzx esi, r14w
mov ecx, esi
call fcn.1400148dc
test rax, rax
je 0x140003411
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140009df0
jmp 0x14000340c
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.14000a220
mov rdi, qword [rsp + 0x40]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetControlElantechSMBus
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400035e1
lea rdx, str.InstallDir
lea rcx, [rbp - 0x18]
call fcn.140009ae0
mov r8, rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x48]
call fcn.1400047f0
nop
mov r14, qword [rax]
lea rcx, [r14 - 0x18]
lea rdi, [rbx - 0x18]
cmp rcx, rdi
je 0x1400035ad
cmp dword [rdi + 0x10], 0
jl 0x1400034af
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x1400034af
call fcn.140009f10
mov rbx, rax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400034a6
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
jmp 0x1400035a8
movsxd rsi, dword [r14 - 0x10]
test esi, esi
jne 0x140003514
mov rsi, qword [rdi]
cmp dword [rdi + 8], 0
je 0x1400035ad
cmp dword [rdi + 0x10], 0
jge 0x1400034e8
cmp dword [rbx - 0xc], 0
jge 0x1400034db
mov ecx, 0x80070057
call fcn.14000a340
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x1400035ad
mov eax, r12d
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x140003502
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
add rax, 0x18
jmp 0x1400035a8
test r14, r14
jne 0x140003524
mov ecx, 0x80070057
call fcn.14000a340
int3
mov r15d, dword [rbx - 0x10]
mov r13, r14
sub r13, rbx
sar r13, 1
test esi, esi
jns 0x140003540
mov ecx, 0x80070057
call fcn.14000a340
int3
mov ecx, 1
sub ecx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
sub eax, esi
or eax, ecx
jge 0x140003562
mov edx, esi
lea rcx, [rsp + 0x48]
call fcn.14000a1c0
mov rbx, qword [rsp + 0x48]
lea rdi, [rsi + rsi]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
mov r9, rdi
add rdx, rdx
cmp r13, r15
ja 0x140003583
lea r8, [rbx + r13*2]
call fcn.140161bac
jmp 0x14000358b
mov r8, r14
call fcn.140161b24
cmp esi, dword [rbx - 0xc]
jg 0x14000359d
mov dword [rbx - 0x10], esi
xor r13d, r13d
mov word [rdi + rbx], r13w
jmp 0x1400035ad
mov ecx, 0x80070057
call fcn.14000a340
int3
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400035cc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
lea rdx, [0x1401dce10]
lea rcx, [rsp + 0x48]
call fcn.140009410
test al, al
je 0x140003eda
call fcn.140012980
mov r11, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14000361a
mov ecx, 0x80004005
call fcn.14000a340
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x58], rsi
movsxd r13, dword [rbx - 0x10]
test r13d, r13d
jns 0x140003640
mov ecx, 0x80070057
call fcn.14000a340
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r13d
or eax, ecx
jge 0x140003664
mov edx, r13d
lea rcx, [rsp + 0x48]
call fcn.14000a1c0
mov rbx, qword [rsp + 0x48]
lea eax, [r13 + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.1401621a4
cmp r13d, dword [rbx - 0xc]
jg 0x140003ecf
mov dword [rbx - 0x10], r13d
mov rax, r13
xor r13d, r13d
mov word [rbx + rax*2], r13w
cmp dword [0x140229a00], 2
jl 0x140003803
lea r8, str.ETDSMBus.inf
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call fcn.140009c80
nop
mov r14, qword [rax]
lea rcx, [r14 - 0x18]
lea rbx, [rdi - 0x18]
cmp rcx, rbx
je 0x1400037fa
cmp dword [rbx + 0x10], r13d
jl 0x1400036fc
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400036fc
call fcn.140009f10
mov rdi, rax
mov ecx, r12d
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400036f3
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rdi + 0x18]
jmp 0x1400037f5
movsxd rsi, dword [r14 - 0x10]
test esi, esi
jne 0x140003761
mov rsi, qword [rbx]
cmp dword [rbx + 8], 0
je 0x1400037fa
cmp dword [rbx + 0x10], 0
jge 0x140003735
cmp dword [rdi - 0xc], 0
jge 0x140003728
mov ecx, 0x80070057
call fcn.14000a340
int3
mov dword [rdi - 0x10], r13d
mov word [rdi], r13w
jmp 0x1400037fa
mov eax, r12d
lock xadd dword [rbx + 0x10], eax
dec eax
test eax, eax
jg 0x14000374f
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
add rax, 0x18
jmp 0x1400037f5
test r14, r14
jne 0x140003771
mov ecx, 0x80070057
call fcn.14000a340
int3
mov r15d, dword [rdi - 0x10]
mov r13, r14
sub r13, rdi
sar r13, 1
test esi, esi
jns 0x14000378d
mov ecx, 0x80070057
call fcn.14000a340
int3
mov ecx, 1
sub ecx, dword [rbx + 0x10]
mov eax, dword [rbx + 0xc]
sub eax, esi
or eax, ecx
jge 0x1400037af
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.14000a1c0
mov rdi, qword [rsp + 0x40]
lea rbx, [rsi + rsi]
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
mov r9, rbx
add rdx, rdx
cmp r13, r15
ja 0x1400037d0
lea r8, [rdi + r13*2]
call fcn.140161bac
jmp 0x1400037d8
mov r8, r14
call fcn.140161b24
cmp esi, dword [rdi - 0xc]
jg 0x1400037ea
mov dword [rdi - 0x10], esi
xor r13d, r13d
mov word [rbx + rdi], r13w
jmp 0x1400037fa
mov ecx, 0x80070057
call fcn.14000a340
int3
mov qword [rsp + 0x40], rax
mov rdx, qword [rbp - 0x60]
jmp 0x140003998
cmp dword [rbx - 0x10], r13d
jl 0x1400039bd
lea rdx, str.WINDOWSSYSTEM32DRVSTORE
mov rcx, rbx
call fcn.140161e64
test rax, rax
je 0x1400039bd
sub rax, rbx
sar rax, 1
test eax, eax
jle 0x1400039bd
lea r8, str.ETDSMBus.inf
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.140009c80
nop
mov r14, qword [rax]
lea rcx, [r14 - 0x18]
lea rbx, [rdi - 0x18]
cmp rcx, rbx
je 0x140003994
cmp dword [rbx + 0x10], 0
jl 0x140003896
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140003896
call fcn.140009f10
mov rdi, rax
mov ecx, r12d
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14000388d
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rdi + 0x18]
jmp 0x14000398f
movsxd rsi, dword [r14 - 0x10]
test esi, esi
jne 0x1400038fb
mov rsi, qword [rbx]
cmp dword [rbx + 8], 0
je 0x140003994
cmp dword [rbx + 0x10], 0
jge 0x1400038cf
cmp dword [rdi - 0xc], 0
jge 0x1400038c2
mov ecx, 0x80070057
call fcn.14000a340
int3
mov dword [rdi - 0x10], r13d
mov word [rdi], r13w
jmp 0x140003994
mov eax, r12d
lock xadd dword [rbx + 0x10], eax
dec eax
test eax, eax
jg 0x1400038e9
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
add rax, 0x18
jmp 0x14000398f
test r14, r14
jne 0x14000390b
mov ecx, 0x80070057
call fcn.14000a340
int3
mov r15d, dword [rdi - 0x10]
mov r13, r14
sub r13, rdi
sar r13, 1
test esi, esi
jns 0x140003927
mov ecx, 0x80070057
call fcn.14000a340
int3
mov ecx, 1
sub ecx, dword [rbx + 0x10]
mov eax, dword [rbx + 0xc]
sub eax, esi
or eax, ecx
jge 0x140003949
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.14000a1c0
mov rdi, qword [rsp + 0x40]
lea rbx, [rsi + rsi]
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
mov r9, rbx
add rdx, rdx
cmp r13, r15
ja 0x14000396a
lea r8, [rdi + r13*2]
call fcn.140161bac
jmp 0x140003972
mov r8, r14
call fcn.140161b24
cmp esi, dword [rdi - 0xc]
jg 0x140003984
mov dword [rdi - 0x10], esi
xor r13d, r13d
mov word [rbx + rdi], r13w
jmp 0x140003994
mov ecx, 0x80070057
call fcn.14000a340
int3
mov qword [rsp + 0x40], rax
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400039b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
lea rcx, [rbp - 0x10]
call fcn.14001f838
nop
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.14001f940
test eax, eax
jne 0x140003d01
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
cmp dword [0x140229a00], 2
jl 0x140003b66
call fcn.140009f10
add rax, 0x18
mov qword [rbp - 0x50], rax
mov r8b, 1
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x28]
call fcn.1400069a0
nop
mov r14, qword [rax]
lea rcx, [r14 - 0x18]
lea rbx, [rdi - 0x18]
cmp rcx, rbx
je 0x140003b5d
cmp dword [rbx + 0x10], 0
jl 0x140003a5f
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140003a5f
call fcn.140009f10
mov rdi, rax
mov ecx, r12d
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140003a56
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rdi + 0x18]
jmp 0x140003b58
movsxd rsi, dword [r14 - 0x10]
test esi, esi
jne 0x140003ac4
mov rsi, qword [rbx]
cmp dword [rbx + 8], 0
je 0x140003b5d
cmp dword [rbx + 0x10], 0
jge 0x140003a98
cmp dword [rdi - 0xc], 0
jge 0x140003a8b
mov ecx, 0x80070057
call fcn.14000a340
int3
mov dword [rdi - 0x10], r13d
mov word [rdi], r13w
jmp 0x140003b5d
mov eax, r12d
lock xadd dword [rbx + 0x10], eax
dec eax
test eax, eax
jg 0x140003ab2
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
add rax, 0x18
jmp 0x140003b58
test r14, r14
jne 0x140003ad4
mov ecx, 0x80070057
call fcn.14000a340
int3
mov r15d, dword [rdi - 0x10]
mov r13, r14
sub r13, rdi
sar r13, 1
test esi, esi
jns 0x140003af0
mov ecx, 0x80070057
call fcn.14000a340
int3
mov ecx, 1
sub ecx, dword [rbx + 0x10]
mov eax, dword [rbx + 0xc]
sub eax, esi
or eax, ecx
jge 0x140003b12
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.14000a1c0
mov rdi, qword [rsp + 0x40]
lea rbx, [rsi + rsi]
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
mov r9, rbx
add rdx, rdx
cmp r13, r15
ja 0x140003b33
lea r8, [rdi + r13*2]
call fcn.140161bac
jmp 0x140003b3b
mov r8, r14
call fcn.140161b24
cmp esi, dword [rdi - 0xc]
jg 0x140003b4d
mov dword [rdi - 0x10], esi
xor r13d, r13d
mov word [rbx + rdi], r13w
jmp 0x140003b5d
mov ecx, 0x80070057
call fcn.14000a340
int3
mov qword [rsp + 0x40], rax
mov rdx, qword [rbp - 0x28]
jmp 0x140003cd0
call fcn.140009f10
add rax, 0x18
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140005010
nop
mov r14, qword [rax]
lea rcx, [r14 - 0x18]
lea rbx, [rdi - 0x18]
cmp rcx, rbx
je 0x140003ccc
cmp dword [rbx + 0x10], 0
jl 0x140003bce
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140003bce
call fcn.140009f10
mov rdi, rax
mov ecx, r12d
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140003bc5
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rdi + 0x18]
jmp 0x140003cc7
movsxd rsi, dword [r14 - 0x10]
test esi, esi
jne 0x140003c33
mov rsi, qword [rbx]
cmp dword [rbx + 8], 0
je 0x140003ccc
cmp dword [rbx + 0x10], 0
jge 0x140003c07
cmp dword [rdi - 0xc], 0
jge 0x140003bfa
mov ecx, 0x80070057
call fcn.14000a340
int3
mov dword [rdi - 0x10], r13d
mov word [rdi], r13w
jmp 0x140003ccc
mov eax, r12d
lock xadd dword [rbx + 0x10], eax
dec eax
test eax, eax
jg 0x140003c21
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
add rax, 0x18
jmp 0x140003cc7
test r14, r14
jne 0x140003c43
mov ecx, 0x80070057
call fcn.14000a340
int3
mov r15d, dword [rdi - 0x10]
mov r13, r14
sub r13, rdi
sar r13, 1
test esi, esi
jns 0x140003c5f
mov ecx, 0x80070057
call fcn.14000a340
int3
mov ecx, 1
sub ecx, dword [rbx + 0x10]
mov eax, dword [rbx + 0xc]
sub eax, esi
or eax, ecx
jge 0x140003c81
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.14000a1c0
mov rdi, qword [rsp + 0x40]
lea rbx, [rsi + rsi]
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
mov r9, rbx
add rdx, rdx
cmp r13, r15
ja 0x140003ca2
lea r8, [rdi + r13*2]
call fcn.140161bac
jmp 0x140003caa
mov r8, r14
call fcn.140161b24
cmp esi, dword [rdi - 0xc]
jg 0x140003cbc
mov dword [rdi - 0x10], esi
xor r13d, r13d
mov word [rbx + rdi], r13w
jmp 0x140003ccc
mov ecx, 0x80070057
call fcn.14000a340
int3
mov qword [rsp + 0x40], rax
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140003ceb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.14001f940
mov rsi, qword [rsp + 0x58]
cmp eax, 1
jne 0x140003e9e
lea r8, [rsp + 0x40]
lea rdx, str.Uninstall_128
lea rcx, [rbp - 0x70]
call fcn.140009a10
nop
mov r14, qword [rax]
lea rcx, [r14 - 0x18]
lea rdi, [rsi - 0x18]
cmp rcx, rdi
je 0x140003e69
cmp dword [rdi + 0x10], 0
jl 0x140003d6d
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140003d6d
call fcn.140009f10
mov rbx, rax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140003d64
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
jmp 0x140003e64
movsxd rbx, dword [r14 - 0x10]
test ebx, ebx
jne 0x140003dd2
mov rbx, qword [rdi]
cmp dword [rdi + 8], 0
je 0x140003e69
cmp dword [rdi + 0x10], 0
jge 0x140003da6
cmp dword [rsi - 0xc], 0
jge 0x140003d99
mov ecx, 0x80070057
call fcn.14000a340
int3
mov dword [rsi - 0x10], r13d
mov word [rsi], r13w
jmp 0x140003e69
mov eax, r12d
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x140003dc0
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
add rax, 0x18
jmp 0x140003e64
test r14, r14
jne 0x140003de2
mov ecx, 0x80070057
call fcn.14000a340
int3
mov r15d, dword [rsi - 0x10]
mov r13, r14
sub r13, rsi
sar r13, 1
test ebx, ebx
jns 0x140003dfe
mov ecx, 0x80070057
call fcn.14000a340
int3
mov ecx, 1
sub ecx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
sub eax, ebx
or eax, ecx
jge 0x140003e20
mov edx, ebx
lea rcx, [rsp + 0x58]
call fcn.14000a1c0
mov rsi, qword [rsp + 0x58]
lea rdi, [rbx + rbx]
movsxd rdx, dword [rsi - 0xc]
mov rcx, rsi
mov r9, rdi
add rdx, rdx
cmp r13, r15
ja 0x140003e41
lea r8, [rsi + r13*2]
call fcn.140161bac
jmp 0x140003e49
mov r8, r14
call fcn.140161b24
cmp ebx, dword [rsi - 0xc]
jg 0x140003e59
mov dword [rsi - 0x10], ebx
xor eax, eax
mov word [rdi + rsi], ax
jmp 0x140003e69
mov ecx, 0x80070057
call fcn.14000a340
int3
mov qword [rsp + 0x58], rax
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140003e88
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r9d, r9d
mov rsi, qword [rsp + 0x58]
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_InstallHinfSectionW]
nop
lea rcx, [rbp - 0x10]
call fcn.14001f898
nop
lea rdx, [rsi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140003ec3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
jmp 0x140003eda
mov ecx, 0x80070057
call fcn.14000a340
nop
cmp dword [0x140229a00], 2
jl 0x140003f06
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
call fcn.140009f10
add rax, 0x18
mov qword [rbp - 0x68], rax
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.1400071b0
jmp 0x140003f46
lea rax, [rsp + 0x78]
mov qword [rbp - 0x80], rax
lea rcx, [rbx - 0x18]
call fcn.140009f10
add rax, 0x18
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
call fcn.140009f10
add rax, 0x18
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x58]
call fcn.140005800
nop
lea rdx, [rdi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140003f62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140003fbb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140003fbb
mov ecx, 0x80070057
call fcn.14000a340
int3
mov ecx, 0x80070057
call fcn.14000a340
int3
mov ecx, 0x80070057
call fcn.14000a340
int3
mov ecx, 0x80070057
call fcn.14000a340
nop
mov ecx, 0x80004005
call fcn.14000a340
int3
mov rbx, qword [rsp + 0x50]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x140003fdb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
jmp 0x140003fed
mov ecx, 0x80070057
call fcn.14000a340
nop
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.140161940
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret