Function at 0x457b40
Capabilities:
Clear windows event logs

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x457db9
sub esp, 0x34
mov eax, dword [esp + 0x38]
test byte [eax], al
nop
lea ecx, [eax + 0x48]
mov dword [esp], ecx
call fcn.00401c10
mov eax, dword [esp + 4]
mov ecx, eax
and eax, 0xffffefff
cmp eax, 0xa
jae 0x457b8b
lea edx, [0x62e900]
lea edx, [edx + eax*8]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
jmp 0x457b96
mov edx, 3
lea ebx, [0x547f6d]
cmp eax, 4
jne 0x457bdd
mov ebp, dword [esp + 0x38]
movzx esi, byte [ebp + 0x64]
xchg esi, eax
test al, al
xchg esi, eax
je 0x457bd8
xchg esi, eax
cmp al, 0x1b
xchg esi, eax
jb 0x457bc0
cmp eax, 4
mov edx, 0x13
lea ebx, [0x54bbc8]
jmp 0x457be1
xchg esi, eax
movzx edx, al
xchg esi, eax
lea ebx, [0x62f020]
lea edx, [ebx + edx*8]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
cmp eax, 4
jmp 0x457be1
cmp eax, 4
jmp 0x457be1
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ebx
je 0x457bf4
cmp eax, 3
jne 0x457c56
mov eax, dword [ebp + 0x60]
test eax, eax
setne al
mov esi, dword [ebp + 0x5c]
test esi, esi
xchg esi, ebx
setne bl
xchg esi, ebx
or eax, esi
test al, al
je 0x457c56
call fcn.00460210
mov eax, dword [esp]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x5c]
sub eax, edx
mov edx, dword [esp + 4]
mov ebx, dword [ecx + 0x60]
sbb edx, ebx
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0xc], 0xd
mov dword [esp + 8], 0xf8475800
call fcn.0045ab60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x38]
mov esi, eax
mov eax, ecx
jmp 0x457c5a
xor eax, eax
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 0x50]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp + 0x54]
mov dword [esp + 0x24], edx
call fcn.004351d0
lea eax, [0x5492ea]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00435e00
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00435c00
lea eax, [0x547e63]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00435e00
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00435e00
call fcn.00435240
mov eax, dword [esp + 0x2c]
test eax, 0x1000
je 0x457cf9
call fcn.004351d0
lea eax, [0x5486b9]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00435e00
call fcn.00435240
mov eax, dword [esp + 0x18]
cmp eax, 1
setae cl
mov edx, dword [esp + 0x1c]
test edx, edx
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
and ebx, ecx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x457d67
call fcn.004351d0
lea eax, [0x547e6d]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00435e00
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00435c00
lea eax, [0x5489c8]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00435e00
call fcn.00435240
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x98]
test eax, eax
je 0x457d95
call fcn.004351d0
lea eax, [0x54b0f5]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.00435e00
call fcn.00435240
call fcn.004351d0
lea eax, [0x548078]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00435e00
call fcn.00435240
add esp, 0x34
ret
call fcn.0045e000
jmp fcn.00457b40