Function at 0x10006b50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100180b3
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x1001f220]
xor eax, esp
mov dword [esp + 0x27c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001f220]
xor eax, esp
push eax
lea eax, [esp + 0x294]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2ac]
mov ebp, dword [esp + 0x2a8]
push 0x104
lea ecx, [esp + 0x190]
push ecx
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str._tempcoinlog.log
lea edx, [esp + 0x190]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
sub esp, 0x1c
mov edi, esp
xor ebx, ebx
mov esi, 0xf
lea eax, [esp + 0x1a8]
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov dword [esp + 0x34], esp
mov byte [edi + 4], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x10006be6
sub eax, ecx
push eax
lea eax, [esp + 0x1ac]
push eax
mov ecx, edi
call fcn.10001d80
lea ecx, [esp + 0x3f]
call fcn.1000c4a0
lea ecx, [esp + 0x17]
call fcn.1000a950
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x29c], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x48]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xe
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.UseCoinstaller
mov byte [esp + 0x2c4], 1
mov byte [ecx + 4], bl
call fcn.10001d80
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x12
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.SoftwareIntelIIF
mov byte [esp + 0x2e0], 2
mov byte [ecx + 4], bl
call fcn.10001d80
push 0x80000002
lea ecx, [esp + 0x57]
mov byte [esp + 0x2dc], 1
call fcn.1000b050
lea edx, [esp + 0x2c]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x14
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.UseCoinstallerExport
mov byte [ecx + 4], bl
call fcn.10001d80
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x12
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.SoftwareIntelIIF
mov byte [esp + 0x2e0], 3
mov byte [ecx + 4], bl
call fcn.10001d80
push 0x80000002
lea ecx, [esp + 0x57]
mov byte [esp + 0x2dc], 1
call fcn.1000b050
lea eax, [esp + 0x48]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
push 0x12
push str.DisableCoinstaller
call fcn.10001d80
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x16
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.SoftwareIntelVolatile
mov byte [esp + 0x2e0], 4
mov byte [ecx + 4], bl
call fcn.10001d80
push 0x80000002
lea ecx, [esp + 0x57]
mov byte [esp + 0x2dc], 1
call fcn.1000b050
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x4c]
mov edi, 0x10
cmp eax, edi
mov ecx, edx
jae 0x10006d6e
lea ecx, [esp + 0x4c]
cmp byte [ecx], 0x59
je 0x10006f64
cmp eax, edi
mov eax, edx
jae 0x10006d81
lea eax, [esp + 0x4c]
cmp byte [eax], 0x79
je 0x10006f64
mov eax, dword [esp + 0x2a4]
cmp eax, 0x20
jne 0x10006da8
push str.___DIF_INSTALLINTERFACES
call fcn.100010e0
add esp, 4
jmp 0x10006f31
cmp eax, 2
jne 0x10006e3a
push str.___DIF_INSTALLDEVICE
call fcn.100010e0
add esp, 4
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x10019ae0
call fcn.10001f80
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push str.DisableCoinstaller
mov byte [esp + 0x2dc], 5
call fcn.10001f80
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x80], esp
push str.SoftwareIntelVolatile
mov byte [esp + 0x2f8], 6
call fcn.10001f80
push 0x80000002
lea ecx, [esp + 0x73]
mov byte [esp + 0x2f8], 1
call fcn.1000ab10
mov ecx, dword [esp + 0x2b0]
mov edi, dword [esp + 0x24]
push ecx
push edi
push ebp
call fcn.10003560
jmp 0x10006edb
cmp eax, 0x1e
jne 0x10006e51
push str.___DIF_NEWDEVICEWIZARD_FINISHINSTALL
call fcn.100010e0
add esp, 4
jmp 0x10006f31
cmp eax, 5
jne 0x10006f0f
push str.___DIF_REMOVE
call fcn.100010e0
add esp, 4
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x10019ae0
call fcn.10001f80
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push str.DisableCoinstaller
mov byte [esp + 0x2dc], 7
call fcn.10001f80
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push str.SoftwareIntelVolatile
mov byte [esp + 0x2f8], 8
call fcn.10001f80
push 0x80000002
lea ecx, [esp + 0x73]
mov byte [esp + 0x2f8], 1
call fcn.1000ab10
mov ecx, dword [esp + 0x2b0]
mov edi, dword [esp + 0x24]
push ecx
push edi
push ebp
call fcn.10001170
add esp, 0xc
lea edx, [esp + 0x64]
push edx
push edi
push ebp
mov dword [esp + 0x70], 0x128
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstallParamsA]
or dword [esp + 0x68], 0x100
lea eax, [esp + 0x64]
push eax
push edi
push ebp
call dword [sym.imp.SETUPAPI.dll_SetupDiSetDeviceInstallParamsA]
mov edi, 0x10
jmp 0x10006f31
cmp eax, 0xc
jne 0x10006f23
push str.___DIF_DESTROYPRIVATEDATA
call fcn.100010e0
add esp, 4
jmp 0x10006f31
push eax
push str.___DIF_Code:__d
call fcn.100010e0
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esp + 0x44], edi
jb 0x10006f4b
mov ecx, dword [esp + 0x30]
push ecx
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x60], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x10006f9d
mov edx, dword [esp + 0x4c]
push edx
jmp 0x10006f95
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esp + 0x44], edi
jb 0x10006f7e
mov eax, dword [esp + 0x30]
push eax
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x60], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x10006f9d
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.1000cb22
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x27c]
xor ecx, esp
call fcn.1000d030
add esp, 0x28c
ret 0x10