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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588376
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5eb770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
mov esi, ecx
push str.DeleteMonitorW2K
push edi
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x430], esi
call fcn.0044ca70
add esp, 0xc
push edi
push esi
push str.lpszMonitor___s__bDebug___d
lea eax, [ebp - 0x428]
push 1
push eax
mov dword [ebp - 4], edi
call fcn.0044cd10
add esp, 0x14
cmp esi, edi
jne 0x41cc5c
push edi
push str.return___08x
lea ecx, [ebp - 0x428]
push 2
push ecx
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
xor eax, eax
jmp 0x41cece
call fcn.0046d2d8
mov ebx, dword [eax + 4]
push esi
lea ecx, [ebp - 0x42c]
call fcn.00403340
mov byte [ebp - 4], 1
mov esi, dword [ebx + 0x124]
cmp esi, edi
jne 0x41ccbd
push edi
push str.return___08x
lea edx, [ebp - 0x428]
push 2
push edx
call fcn.0044cd10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cc43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41cc43
mov eax, esi
nop
mov eax, dword [eax]
mov ecx, 0x5b69a4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41cced
test dx, dx
je 0x41cce9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41cced
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ccc7
xor eax, eax
jmp 0x41ccf2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x41ce7b
mov eax, dword [esi + edi*8]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41cd2d
mov ecx, dword [ebp - 0x42c]
push eax
push ecx
call fcn.00556d01
add esp, 8
test eax, eax
je 0x41cd37
mov esi, dword [ebx + 0x124]
inc edi
lea eax, [esi + edi*8]
jmp 0x41ccc0
push 0x80004005
call fcn.004025a0
mov edx, dword [ebx + 0x124]
mov eax, dword [edx + edi*8 + 4]
cmp dword [eax - 4], 1
lea esi, [edx + edi*8 + 4]
jle 0x41cd56
mov eax, dword [eax - 0xc]
push eax
mov ecx, esi
call fcn.00403ba0
mov edi, dword [esi]
test edi, edi
je 0x41ce7b
call fcn.00413710
mov ecx, str.SPOOLER
call fcn.00413910
mov ecx, dword [ebp - 0x430]
push ecx
push 0
push 0
call dword [sym.imp.WINSPOOL.DRV_DeleteMonitorW]
test eax, eax
jne 0x41cd8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x208
lea edx, [ebp - 0x218]
push 0
push edx
call fcn.0055ca80
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x21a], 0x5c
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push edi
je 0x41cde6
lea edx, [ebp - 0x218]
push edx
push str._s_s
lea eax, [ebp - 0x420]
push eax
jmp 0x41cdf9
lea ecx, [ebp - 0x218]
push ecx
push 0x5b7940
lea edx, [ebp - 0x420]
push edx
call ebx
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x208
lea ecx, [ebp - 0x218]
push 0
push ecx
call fcn.0055ca80
add esp, 0xc
lea esi, [ebp - 0x218]
call fcn.00418940
mov edx, esi
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x21a], 0x5c
push edi
je 0x41ce52
mov eax, esi
push eax
push str._s_s
lea ecx, [ebp - 0x420]
push ecx
jmp 0x41ce65
lea edx, [ebp - 0x218]
push edx
push 0x5b7940
lea eax, [ebp - 0x420]
push eax
call ebx
add esp, 0x10
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
jmp 0x41ce7d
xor esi, esi
push esi
push str.return___08x
lea edx, [ebp - 0x428]
push 2
push edx
call fcn.0044cd10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ceba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055649d
mov esp, ebp
pop ebp
ret