Function at 0x1000dd50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f37e
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x1002a008]
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 0x1000e061
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 0x1000de30
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.10006100
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.10006100
mov byte [ebp - 4], 2
lea eax, [ebp - 0x254]
push eax
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x26c]
call fcn.10014e40
add esp, 4
mov edi, eax
mov byte [ebp - 4], 3
cmp esi, edi
je 0x1000dee8
mov ecx, esi
call fcn.100060a0
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 0x1000df2e
mov ecx, dword [ebp - 0x26c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000df24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000df24
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
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 0x1000df91
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000df87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000df87
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
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.10014e40
add esp, 4
mov edi, eax
mov byte [ebp - 4], 4
cmp esi, edi
je 0x1000dff8
mov ecx, esi
call fcn.100060a0
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 0x1000e03e
mov ecx, dword [ebp - 0x26c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e034
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000e034
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
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 0x1000e0a1
mov ecx, dword [ebp - 0x234]
lea edx, [edi*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e097
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000e097
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
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.1001ca39
mov esp, ebp
pop ebp
ret