Function at 0x404cb0
Capabilities:
Clear windows event logs

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x404ee6
sub esp, 0x18
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x404ecd
lea ecx, [eax + 0x30]
mov dword [esp + 0x14], ecx
nop
mov dword [esp], ecx
call fcn.00409140
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x404ea7
mov dword [eax + 0x10], 1
mov dword [esp + 8], 0
jmp 0x404d1a
mov byte [eax + 0x25], 0
nop
mov edx, dword [esp + 8]
mov dword [ecx + 0x58], edx
nop
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x20]
mov dword [esp], ecx
call fcn.00405770
mov eax, dword [esp + 4]
test eax, eax
je 0x404dd8
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x404d76
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x14]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040f480
mov eax, dword [0x6573b0]
test eax, eax
jne 0x404d66
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], 0
jmp 0x404d76
mov ecx, dword [esp + 0x10]
lea edi, [ecx + 0xc]
xor eax, eax
call fcn.0045f3d0
mov eax, ecx
mov ecx, dword [eax + 0x18]
test ecx, ecx
setne cl
mov edx, dword [eax + 0x1c]
test edx, edx
setne dl
or edx, ecx
test dl, dl
je 0x404da4
call fcn.0045f280
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x18], ecx
mov eax, edx
mov ecx, dword [eax]
test byte [ecx], al
mov edx, dword [0x6573b0]
test edx, edx
jne 0x404dba
mov dword [ecx + 0x44], eax
jmp 0x404d05
lea edi, [ecx + 0x44]
call fcn.0045f3d0
jmp 0x404d05
mov byte [eax + 0x25], 0
nop
mov eax, dword [esp + 8]
mov dword [ecx + 0x58], eax
nop
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call fcn.00405770
mov eax, dword [esp + 4]
test eax, eax
je 0x404e65
mov ecx, dword [0x6573b0]
test ecx, ecx
jne 0x404e02
mov dword [eax + 0xc], 0
jmp 0x404e10
lea edi, [eax + 0xc]
mov ecx, eax
xor eax, eax
call fcn.0045f3d0
mov eax, ecx
mov ecx, dword [eax + 0x18]
test ecx, ecx
setne cl
mov edx, dword [eax + 0x1c]
test edx, edx
setne dl
or edx, ecx
test dl, dl
je 0x404e42
mov dword [esp + 0xc], eax
call fcn.0045f280
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x18], ecx
mov eax, edx
mov ecx, dword [eax]
test byte [ecx], al
mov edx, dword [0x6573b0]
test edx, edx
jne 0x404e58
mov dword [ecx + 0x44], eax
jmp 0x404dc7
lea edi, [ecx + 0x44]
call fcn.0045f3d0
jmp 0x404dc7
nop
nop
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00409340
jmp 0x404e8c
mov dword [eax + 0x58], 0
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00436800
mov eax, dword [esp + 8]
test eax, eax
je 0x404ea3
nop
nop
test eax, eax
je 0x404e75
mov ecx, dword [eax + 0x58]
mov dword [esp + 8], ecx
jmp 0x404e75
add esp, 0x18
ret
nop
nop
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00409340
lea eax, [0x537fa0]
mov dword [esp], eax
lea eax, [0x57d95c]
mov dword [esp + 4], eax
call fcn.004332d0
lea eax, [0x537fa0]
mov dword [esp], eax
lea eax, [0x57d954]
mov dword [esp + 4], eax
call fcn.004332d0
nop
call fcn.0045e000
jmp fcn.00404cb0