Function at 0x10008ab0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x10025e92
call fcn.100252dc
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
push 0xcb
push dword [0x100359b8]
mov dword [ebp - 0x14], edi
lea ecx, [edi + 0x40]
call fcn.1000e780
push 0xcc
push dword [0x100359b8]
lea ecx, [edi + 0x54]
call fcn.1000e780
push 0xcd
push dword [0x100359b8]
lea ecx, [edi + 0x68]
call fcn.1000e780
push 0xce
push dword [0x100359b8]
lea ecx, [edi + 0x7c]
call fcn.1000e780
push 0xcf
push dword [0x100359b8]
lea ecx, [edi + 0x90]
call fcn.1000e780
push 0xd0
push dword [0x100359b8]
lea ecx, [edi + 0xa4]
call fcn.1000e780
push 0xd3
push dword [0x100359b8]
lea ecx, [edi + 0xb8]
call fcn.1000e780
push 0xd4
push dword [0x100359b8]
lea ecx, [edi + 0xcc]
call fcn.1000e780
lea edx, [edi + 0x10c]
call fcn.1000c873
push 0x1002f380
mov esi, 0x100364fc
mov byte [edi + 0xe2], 1
xor ebx, ebx
push esi
mov byte [edi + 0xe5], bl
call fcn.100097c8
pop ecx
pop ecx
lea ecx, [edi + 0x14]
call fcn.10006ab9
push 0x1000
lea ecx, [edi + 0x14]
call fcn.10006c80
push 0x1000
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x10008bcd
push ebx
push 0xf
push 1
mov ecx, 0x100364d0
call fcn.1000939c
push ecx
lea ecx, [edi + 0x14]
call fcn.1000b265
lea ecx, [edi + 0x14]
call fcn.1000aa87
lea ecx, [edi + 0x14]
call fcn.1000a958
push dword [edi + 0x14]
push str.GetModuleFolder____s
push esi
call fcn.100097c8
push str.GetSystemDirectory
push esi
call fcn.100097c8
add esp, 0x14
lea ecx, [edi + 0x18]
call fcn.10006ab9
push 0x1000
lea ecx, [edi + 0x18]
call fcn.10006c80
push 0x1000
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x10008c36
push ebx
push 0x11
push 1
mov ecx, 0x100364d0
call fcn.1000939c
push ecx
lea ecx, [edi + 0x18]
call fcn.1000b265
lea ecx, [edi + 0x18]
call fcn.1000a958
push dword [edi + 0x18]
push str.GetSystemDirectory____s
push esi
call fcn.100097c8
mov edx, dword [0x100364f4]
lea ecx, [edi + 0x1c]
add esp, 0xc
call fcn.1000bd7b
mov dword [ebp - 4], ebx
lea ecx, [edi + 0x20]
mov edx, dword [0x100364f8]
call fcn.1000bd7b
or dword [ebp - 4], 0xffffffff
jmp 0x10008cb4
push str.CGetPrintProcessorDirectoryW
push esi
call fcn.100097c8
pop ecx
pop ecx
lea ecx, [edi + 0x24]
call fcn.10006ab9
push 0x1000
lea ecx, [edi + 0x24]
call fcn.10006c80
lea ecx, [ebp - 0x1c]
push ecx
push 0x1000
push eax
push 1
push ebx
push ebx
call dword [sym.imp.WINSPOOL.DRV_GetPrintProcessorDirectoryW]
test eax, eax
jne 0x10008cfd
push ebx
push 0x13
push 1
mov ecx, 0x100364d0
call fcn.1000939c
push ecx
lea ecx, [edi + 0x24]
call fcn.1000b265
lea ecx, [edi + 0x24]
call fcn.1000a958
push dword [edi + 0x24]
push str.GetPrintProcessorDirectory____s
push esi
call fcn.100097c8
mov esi, dword [0x100364d0]
lea edx, [edi + 0x30]
add esp, 0xc
mov dword [0x100364d0], 1
push 9
pop ecx
call fcn.1000c19d
push 0x19
lea edx, [edi + 0x28]
pop ecx
call fcn.1000c19d
push 0x17
lea edx, [edi + 0x2c]
pop ecx
call fcn.1000c19d
mov dword [0x100364d0], esi
lea edx, [edi + 0x28]
mov eax, dword [edx]
cmp dword [eax - 0xc], ebx
jne 0x10008d68
push 0x10
pop ecx
call fcn.1000c19d
lea edx, [edi + 0x2c]
mov eax, dword [edx]
cmp dword [eax - 0xc], ebx
jne 0x10008d7a
push 2
pop ecx
call fcn.1000c19d
mov ecx, dword [edi + 0x11c]
call fcn.1000c213
mov ecx, edi
call fcn.10008f28
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret