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

Disassembly:
push 0xffffffffffffffff
push 0x424578
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42dc00]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov dword [esp + 0x4c], 0
call fcn.0040592b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401ad9
push 0x80004005
call fcn.00402050
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x4c], 1
call fcn.0040592b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401b08
push 0x80004005
call fcn.00402050
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov bl, 2
mov byte [esp + 0x4c], bl
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x401b44
push 0x104
lea ecx, [esp + 0x18]
call fcn.004020f0
mov esi, dword [esp + 0x14]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test esi, esi
jne 0x401b58
xor eax, eax
jmp 0x401b71
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401b60
sub eax, edx
js 0x401d30
cmp eax, dword [esi - 8]
jg 0x401d30
push str.driversetchosts.ics
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
mov dword [esi - 0xc], eax
push edx
mov byte [eax + esi], 0
call fcn.00401df0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 3
call fcn.004025a0
mov byte [esp + 0x4c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401bcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call ebp
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp word [esp + 0x32], 5
jbe 0x401c70
push edi
call ebp
lea eax, [edi - 0x10]
mov byte [esp + 0x4c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401c13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x4c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401c34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401c5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
lea ecx, [esp + 0x20]
call fcn.0040503a
push 0
push 0x1002
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 4
call fcn.004054b8
test eax, eax
lea ecx, [esp + 0x20]
jne 0x401cba
mov byte [esp + 0x4c], bl
call fcn.00405198
lea eax, [edi - 0x10]
mov byte [esp + 0x4c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x401c07
mov ebp, dword [esp + 0x54]
mov eax, dword [ebp - 0xc]
push eax
push ebp
call fcn.00404d88
lea ecx, [esp + 0x20]
call fcn.00404fd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], bl
call fcn.00405198
lea eax, [edi - 0x10]
mov byte [esp + 0x4c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401cff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x4c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401d20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4c], 0xffffffff
lea eax, [ebp - 0x10]
jmp 0x401c43
push 0x80070057
call fcn.00402050
int3