Function at 0x404c80
Capabilities:
Clear windows event logs

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x404eb6
sub esp, 0x18
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x404e9d
lea ecx, [eax + 0x30]
mov dword [esp + 0x14], ecx
nop
mov dword [esp], ecx
call fcn.00409110
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x404e77
mov dword [eax + 0x10], 1
mov dword [esp + 8], 0
jmp 0x404cea
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.00405740
mov eax, dword [esp + 4]
test eax, eax
je 0x404da8
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x404d46
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x14]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040f450
mov eax, dword [0x67e2d0]
test eax, eax
jne 0x404d36
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], 0
jmp 0x404d46
mov ecx, dword [esp + 0x10]
lea edi, [ecx + 0xc]
xor eax, eax
call fcn.0045f450
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 0x404d74
call fcn.0045f300
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 [0x67e2d0]
test edx, edx
jne 0x404d8a
mov dword [ecx + 0x44], eax
jmp 0x404cd5
lea edi, [ecx + 0x44]
call fcn.0045f450
jmp 0x404cd5
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.00405740
mov eax, dword [esp + 4]
test eax, eax
je 0x404e35
mov ecx, dword [0x67e2d0]
test ecx, ecx
jne 0x404dd2
mov dword [eax + 0xc], 0
jmp 0x404de0
lea edi, [eax + 0xc]
mov ecx, eax
xor eax, eax
call fcn.0045f450
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 0x404e12
mov dword [esp + 0xc], eax
call fcn.0045f300
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 [0x67e2d0]
test edx, edx
jne 0x404e28
mov dword [ecx + 0x44], eax
jmp 0x404d97
lea edi, [ecx + 0x44]
call fcn.0045f450
jmp 0x404d97
nop
nop
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00409310
jmp 0x404e5c
mov dword [eax + 0x58], 0
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00436880
mov eax, dword [esp + 8]
test eax, eax
je 0x404e73
nop
nop
test eax, eax
je 0x404e45
mov ecx, dword [eax + 0x58]
mov dword [esp + 8], ecx
jmp 0x404e45
add esp, 0x18
ret
nop
nop
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00409310
lea eax, [0x54a860]
mov dword [esp], eax
lea eax, [0x59a664]
mov dword [esp + 4], eax
call fcn.00433350
lea eax, [0x54a860]
mov dword [esp], eax
lea eax, [0x59a65c]
mov dword [esp + 4], eax
call fcn.00433350
nop
call fcn.0045e080
jmp fcn.00404c80