Function at 0x1000e080
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021fae
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x1002e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], edx
mov esi, ecx
mov dword [ebp - 0x270], esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x238], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov edi, 7
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x238], 1
mov dword [ebp - 0x224], eax
mov word [ebp - 0x234], ax
mov dword [ebp - 4], 1
push 0x20c
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x103
ja 0x1000e391
xor eax, eax
lea ecx, [ebp - 0x21c]
mov word [ebp - 0x12], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e160
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.10006290
push 7
xor eax, eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x254]
push str.drivers
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
call fcn.10006290
mov byte [ebp - 4], 2
lea eax, [ebp - 0x254]
push eax
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x26c]
call fcn.100173d0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 3
cmp esi, edi
je 0x1000e218
mov ecx, esi
call fcn.10006230
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x258]
cmp edx, 8
jb 0x1000e25e
mov ecx, dword [ebp - 0x26c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e254
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000e254
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 7
mov word [ebp - 0x26c], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x240]
cmp edx, 8
jb 0x1000e2c1
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e2b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000e2b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
push dword [ebp - 0x23c]
xor eax, eax
mov dword [ebp - 0x244], 0
mov edx, esi
mov dword [ebp - 0x240], 7
lea ecx, [ebp - 0x26c]
mov word [ebp - 0x254], ax
call fcn.100173d0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 4
cmp esi, edi
je 0x1000e328
mov ecx, esi
call fcn.10006230
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x258]
cmp edx, 8
jb 0x1000e36e
mov ecx, dword [ebp - 0x26c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e364
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000e364
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
mov edi, dword [ebp - 0x220]
xor eax, eax
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 7
mov word [ebp - 0x26c], ax
mov byte [ebp - 4], 0
cmp edi, 8
jb 0x1000e3d1
mov ecx, dword [ebp - 0x234]
lea edx, [edi*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e3c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000e3c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov eax, esi
mov dword [ebp - 0x220], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001f349
mov esp, ebp
pop ebp
ret