Function at 0x100625ba
Capabilities:
Get common file path

Disassembly:
push 0x220
mov eax, 0x101129e8
call fcn.1006051e
mov esi, ecx
mov dword [ebp - 0x22c], esi
mov eax, dword [0x1019526c]
xor edi, edi
test al, 1
jne 0x10062607
or eax, 1
mov dword [0x1019526c], eax
push 0x10126623
mov dword [0x10195270], edi
mov dword [0x10195274], edi
mov dword [0x10195278], edi
mov dword [0x1019527c], edi
call fcn.10038ca3
pop ecx
cmp byte [0x10190e18], 0
jne 0x10062935
push 0x101922d8
lea ecx, [ebp - 0x228]
call fcn.10002155
mov dword [ebp - 4], edi
cmp byte [0x10190e18], 0
jne 0x10062913
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.1003e610
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.100029f0
push eax
lea ecx, [ebp - 0x220]
call fcn.1000281b
push str.catroot_
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x220]
push 0x10132adc
push eax
call fcn.10008c51
add esp, 0x10
push edi
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.10001ef7
add eax, 0x10
lea ecx, [ebp - 0x224]
mov dword [esi], eax
call fcn.100629a7
pop ecx
mov byte [ebp - 4], 2
push dword [eax]
call fcn.1008789e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.10002a86
push str.catroot2_
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push 0x10132adc
push eax
call fcn.10008c51
add esp, 0x10
push edi
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.10001ef7
add eax, 0x10
lea ecx, [ebp - 0x224]
mov dword [esi], eax
call fcn.100629a7
pop ecx
mov byte [ebp - 4], 3
push dword [eax]
call fcn.1008789e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.10002a86
push str.logfiles_
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push 0x10132adc
push eax
call fcn.10008c51
add esp, 0x10
push edi
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.10001ef7
add eax, 0x10
lea ecx, [ebp - 0x224]
mov dword [esi], eax
call fcn.100629a7
pop ecx
mov byte [ebp - 4], 4
push dword [eax]
call fcn.1008789e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.10002a86
push str.spool_
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push 0x10132adc
push eax
call fcn.10008c51
add esp, 0x10
push edi
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.10001ef7
add eax, 0x10
lea ecx, [ebp - 0x224]
mov dword [esi], eax
call fcn.100629a7
pop ecx
mov byte [ebp - 4], 5
push dword [eax]
call fcn.1008789e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.10002a86
push str.driversetc_
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push 0x10132adc
push eax
call fcn.10008c51
add esp, 0x10
push edi
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x224], eax
call fcn.10001ef7
add eax, 0x10
lea ecx, [ebp - 0x21c]
mov dword [esi], eax
call fcn.100629a7
pop ecx
mov byte [ebp - 4], 6
push dword [eax]
call fcn.1008789e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.10002a86
call fcn.10062a0f
test eax, eax
jne 0x100628fb
call fcn.1006d5c0
test eax, eax
jne 0x100628fb
call fcn.1006d624
test eax, eax
jne 0x100628fb
push str.driverstore_
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push 0x10132adc
push eax
call fcn.10008c51
add esp, 0x10
push edi
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x224], eax
call fcn.10001ef7
add eax, 0x10
lea ecx, [ebp - 0x21c]
mov dword [esi], eax
call fcn.100629a7
pop ecx
mov byte [ebp - 4], 7
push dword [eax]
call fcn.1008789e
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.10002a86
mov ecx, dword [ebp - 0x224]
mov byte [0x10190e18], 1
call fcn.10002a86
mov esi, dword [ebp - 0x22c]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x228], 0
je 0x1006292c
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [0x10190e18], 0
je 0x1006299f
push 0x101922d8
lea ecx, [ebp - 0x228]
call fcn.10002155
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 8
push eax
lea eax, [ebp - 0x224]
push eax
push ecx
mov ecx, esp
push esi
call fcn.100026e3
lea ecx, [ebp - 0x22c]
call fcn.100629a7
pop ecx
mov byte [ebp - 4], 9
push dword [eax]
call fcn.10087964
mov ecx, dword [ebp - 0x22c]
mov edi, eax
add ecx, 0xfffffff0
call fcn.10002a86
cmp dword [ebp - 0x228], 0
je 0x1006299f
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
call fcn.100604c8
ret