Function at 0x1002ecc0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b17b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x454
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x45c], esi
push 0x208
lea eax, [ebp - 0x428]
mov dword [ebp - 0x45c], esi
push 0
push eax
call fcn.10065910
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
test eax, eax
jne 0x1002ed58
push eax
movups xmmword [esi], xmm0
push 0x10097c68
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.10003c00
jmp 0x1002eecb
push 9
push str.drivers_
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x430], 0
movups xmmword [ebp - 0x440], xmm0
mov dword [ebp - 0x42c], 0
call fcn.10003c00
mov dword [ebp - 4], 0
call fcn.10028cd0
lea ecx, [ebp - 0x458]
lea edx, [eax + 0x124]
call fcn.1001b990
mov byte [ebp - 4], 1
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x1002edb0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x440]
call fcn.1001d220
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x444]
cmp ecx, 7
jbe 0x1002ee03
mov edx, dword [ebp - 0x458]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002edf9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef4c
push ecx
push edx
call fcn.10063674
add esp, 8
push 4
push str..sys
lea ecx, [ebp - 0x440]
call fcn.1001d220
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10065910
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x104
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp - 0x42c], 7
lea eax, [ebp - 0x440]
cmova eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
test eax, eax
jne 0x1002eeea
push eax
push 0x10097c68
mov ecx, esi
call fcn.10003c00
mov ecx, dword [ebp - 0x42c]
cmp ecx, 7
jbe 0x1002eecb
mov edx, dword [ebp - 0x440]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002eec1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef47
push ecx
push edx
call fcn.10063674
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10063317
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002eef3
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10003c00
mov ecx, dword [ebp - 0x42c]
cmp ecx, 7
jbe 0x1002eecb
mov edx, dword [ebp - 0x440]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002eec1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002eec1
call fcn.1006dd1f
call fcn.1006dd1f
int3