Function at 0x1004e000
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100cd470
push 0x10071b60
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x100d00b4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
movups xmm0, xmmword [str.drivers_]
movups xmmword [ebp - 0x30], xmm0
mov eax, dword [0x100c3268]
mov dword [ebp - 0x20], eax
push 0x208
push 0
lea eax, [ebp - 0x238]
push eax
call fcn.1006fa30
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x64c], esi
push 0x208
push esi
lea eax, [ebp - 0x440]
push eax
call fcn.1006fa30
add esp, 0xc
push 0x208
push esi
lea eax, [ebp - 0x648]
push eax
call fcn.1006fa30
add esp, 0xc
lea edi, [esi + 0xa]
mov dword [ebp - 4], esi
push esi
call fcn.100758c8
add esp, 4
push eax
call fcn.10075339
add esp, 4
call fcn.1004db10
test al, al
jne 0x1004e0c9
mov dword [0x100fff40], 0xb8ddbd90
mov dword [0x100fff44], 0x13c6a8b1
push 0x208
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
js 0x1004e322
lea ecx, [ebp - 0x440]
call fcn.1004dc20
test al, al
jne 0x1004e10b
push 0x100c326c
push 0x104
lea eax, [ebp - 0x440]
push eax
call fcn.10084c60
add esp, 0xc
call fcn.1004da00
mov esi, eax
call fcn.1004d9b0
cmp esi, 1
jne 0x1004e1ab
lea ebx, [esi + 0x3f]
cmp eax, esi
jne 0x1004e1b0
lea ecx, [ebp - 0x238]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004e134
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 0x650], eax
test eax, eax
jle 0x1004e190
lea ecx, [eax + eax]
cmp word [ebp + ecx - 0x238], 0x5c
je 0x1004e178
cmp ecx, 0x208
jae 0x1004e173
xor edx, edx
mov word [ebp + ecx - 0x238], dx
dec eax
jmp 0x1004e146
call fcn.1006c9e1
lea eax, [eax*2 + 2]
cmp eax, 0x208
jae 0x1004e173
xor ecx, ecx
mov word [ebp + eax - 0x238], cx
push str.SysWOW64
push 0x104
lea eax, [ebp - 0x238]
push eax
call fcn.10084d3c
add esp, 0xc
jmp 0x1004e1b0
mov ebx, 0x20
lea eax, [ebp - 0x30]
push eax
push 0x104
lea eax, [ebp - 0x238]
push eax
call fcn.10084d3c
add esp, 0xc
lea eax, [ebp - 0x440]
push eax
push 0x104
lea eax, [ebp - 0x238]
push eax
call fcn.10084d3c
add esp, 0xc
push str..sys
push 0x104
lea eax, [ebp - 0x238]
push eax
call fcn.10084d3c
add esp, 0xc
lea ecx, [ebp - 0x440]
call fcn.1004e8e0
mov esi, eax
mov dword [ebp - 0x64c], esi
test esi, esi
jne 0x1004e315
mov edx, ebx
lea ecx, [ebp - 0x238]
call fcn.1004df80
mov esi, eax
mov dword [ebp - 0x64c], esi
cmp esi, 1
jne 0x1004e315
lea ecx, [ebp - 0x440]
call fcn.1004e8e0
mov esi, eax
mov dword [ebp - 0x64c], esi
test esi, esi
jne 0x1004e315
push ecx
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x440]
call fcn.1004e360
add esp, 4
mov esi, eax
mov dword [ebp - 0x64c], esi
cmp esi, 1
jne 0x1004e315
lea ecx, [ebp - 0x440]
call fcn.1004e850
mov esi, eax
mov dword [ebp - 0x64c], esi
cmp esi, 1
je 0x1004e2fe
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
js 0x1004e315
dec edi
mov dword [ebp - 0x654], edi
call ebx
cmp eax, 0x801f0011
jne 0x1004e30d
call fcn.10075318
cdq
mov ecx, 0x2710
idiv ecx
add edx, 0x5a550
push 0xa
lea eax, [ebp - 0x648]
push eax
push edx
call fcn.10083f33
add esp, 0xc
lea edx, [ebp - 0x648]
lea ecx, [ebp - 0x440]
call fcn.1004d740
test eax, eax
je 0x1004e294
lea ecx, [ebp - 0x440]
call fcn.1004e850
mov esi, eax
mov dword [ebp - 0x64c], esi
cmp esi, 1
jne 0x1004e294
lea ecx, [ebp - 0x440]
call fcn.1004e8e0
mov esi, eax
jmp 0x1004e30f
xor esi, esi
mov dword [ebp - 0x64c], esi
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xfffffffe
jmp 0x1004e341
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006c2b1
mov esp, ebp
pop ebp
ret