Function at 0x1006bcb0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x1009b37a
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push ebp
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x45c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x470]
push 0x206
xor ebx, ebx
lea ecx, [esp + 0x4a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x50], ax
call fcn.10079c60
add esp, 0xc
lea edx, [esp + 0x10]
push edx
call fcn.1000ffe0
mov dword [esp + 0x464], ebx
mov eax, dword [esp + 0x46c]
add eax, 0xffffff9b
cmp eax, 0x10
ja case.default.0x1006bd31
jmp dword [eax*4 + 0x1006c2bc]
lea eax, [esp + 0x14]
push eax
call fcn.1000ffe0
mov byte [esp + 0x464], 1
lea ecx, [esp + 0x14]
push ecx
push 0x68
call fcn.1006bcb0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, 0x104
add esp, 8
or eax, edx
jge 0x1006bd83
mov ecx, 0x104
lea eax, [esp + 0x14]
call fcn.10002ca0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], 0x104
mov eax, ecx
jge 0x1006bd98
push 0x80070057
call fcn.10002030
mov dword [ecx - 0xc], 0x104
mov ecx, dword [esp + 0x14]
xor edx, edx
push eax
mov word [ecx + 0x208], dx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.10075db4
add esp, 8
cmp eax, ebx
jl 0x1006bd8e
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x1006bd8e
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x14]
xor edx, edx
mov word [ecx + eax*2], dx
lea eax, [esp + 0x14]
lea edi, [esp + 0x10]
call fcn.10003590
mov byte [esp + 0x464], bl
lea ecx, [esp + 0x14]
call fcn.100025b0
jmp 0x1006c25a
lea edx, [esp + 0x14]
push edx
call fcn.1000ffe0
mov byte [esp + 0x464], 2
lea eax, [esp + 0x14]
push eax
push 0x69
call fcn.1006bcb0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, 0x104
add esp, 8
or eax, edx
jge 0x1006be4b
mov ecx, 0x104
lea eax, [esp + 0x14]
call fcn.10002ca0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], 0x104
mov eax, ecx
jge 0x1006be60
push 0x80070057
call fcn.10002030
mov dword [ecx - 0xc], 0x104
mov edx, dword [esp + 0x14]
xor ecx, ecx
push eax
mov word [edx + 0x208], cx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.10075db4
add esp, 8
cmp eax, ebx
jl 0x1006bd8e
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x1006bd8e
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
jmp 0x1006bdde
lea eax, [esp + 0x24c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja case.default.0x1006bd31
lea edx, [esp + 0x24c]
jmp 0x1006c251
push 0x104
lea ecx, [esp + 0x48]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x48]
call fcn.10002500
mov byte [esp + 0x464], 3
lea edi, [esp + 0x10]
call fcn.10003590
mov byte [esp + 0x464], bl
lea ecx, [esp + 0x3c]
call fcn.100025b0
jmp 0x1006c25a
push 0x104
lea eax, [esp + 0x48]
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x48]
call fcn.10002500
mov byte [esp + 0x464], 4
lea edi, [esp + 0x10]
call fcn.10003590
mov byte [esp + 0x464], bl
lea ecx, [esp + 0x34]
call fcn.100025b0
jmp 0x1006c25a
push 0x104
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.10002500
mov byte [esp + 0x464], 5
lea edi, [esp + 0x10]
call fcn.10003590
mov byte [esp + 0x464], bl
lea ecx, [esp + 0x24]
call fcn.100025b0
jmp 0x1006c25a
push 0x104
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x48]
call fcn.10002500
mov byte [esp + 0x464], 6
lea edi, [esp + 0x10]
call fcn.10003590
mov byte [esp + 0x464], bl
lea ecx, [esp + 0x40]
call fcn.100025b0
jmp 0x1006c25a
lea eax, [esp + 0x44]
push eax
push ebx
push ebx
push 0x26
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl case.default.0x1006bd31
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x48]
call fcn.10002500
mov byte [esp + 0x464], 7
lea edi, [esp + 0x10]
call fcn.10003590
mov byte [esp + 0x464], bl
lea ecx, [esp + 0x2c]
call fcn.100025b0
jmp 0x1006c25a
lea edx, [esp + 0x44]
push edx
push ebx
push ebx
push 0x20
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl case.default.0x1006bd31
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
call fcn.10002500
mov byte [esp + 0x464], 8
lea edi, [esp + 0x10]
call fcn.10003590
mov byte [esp + 0x464], bl
lea ecx, [esp + 0x18]
call fcn.100025b0
jmp 0x1006c25a
lea ecx, [esp + 0x44]
push ecx
push ebx
push ebx
push 0x17
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl case.default.0x1006bd31
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x48]
call fcn.10002500
mov byte [esp + 0x464], 9
lea edi, [esp + 0x10]
call fcn.10003590
mov byte [esp + 0x464], bl
lea ecx, [esp + 0x1c]
call fcn.100025b0
jmp 0x1006c25a
lea eax, [esp + 0x44]
push eax
push ebx
push ebx
push 2
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl case.default.0x1006bd31
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x48]
call fcn.10002500
mov byte [esp + 0x464], 0xa
lea edi, [esp + 0x10]
call fcn.10003590
mov byte [esp + 0x464], bl
lea ecx, [esp + 0x20]
call fcn.100025b0
jmp 0x1006c25a
lea edx, [esp + 0x44]
push edx
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl case.default.0x1006bd31
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x48]
call fcn.10002500
mov byte [esp + 0x464], 0xb
lea edi, [esp + 0x10]
call fcn.10003590
mov byte [esp + 0x464], bl
lea ecx, [esp + 0x28]
call fcn.100025b0
jmp 0x1006c25a
lea ecx, [esp + 0x44]
push ecx
push ebx
push ebx
push 0x28
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl case.default.0x1006bd31
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x48]
call fcn.10002500
mov byte [esp + 0x464], 0xc
lea edi, [esp + 0x10]
call fcn.10003590
mov byte [esp + 0x464], bl
lea ecx, [esp + 0x30]
call fcn.100025b0
jmp 0x1006c25a
call fcn.1006c390
cmp dword [eax], 3
jl case.default.0x1006bd31
lea eax, [esp + 0x44]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl case.default.0x1006bd31
push str.LocalLow
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x1006c24d
lea edx, [esp + 0x44]
push edx
push ebx
push ebx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl case.default.0x1006bd31
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x48]
call fcn.10002500
mov byte [esp + 0x464], 0xd
lea edi, [esp + 0x10]
call fcn.10003590
mov byte [esp + 0x464], bl
lea ecx, [esp + 0x38]
call fcn.100025b0
jmp 0x1006c25a
lea ecx, [esp + 0x44]
push ecx
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl case.default.0x1006bd31
lea edx, [esp + 0x44]
lea edi, [esp + 0x10]
call fcn.10002610
lea eax, [esp + 0x10]
mov edi, ebp
call fcn.10003590
mov dword [esp + 0x464], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.100025b0
mov al, 1
jmp 0x1006c293
mov dword [esp + 0x464], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.100025b0
xor al, al
mov ecx, dword [esp + 0x45c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.100755ed
add esp, 0x458
ret