Function at 0x4184f0
Capabilities:
Clear windows event logs

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x418942
sub esp, 0x58
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x60]
cmp dword [0x6582d8], eax
ja 0x41855d
cmp dword [0x6582dc], eax
jbe 0x41855d
lea eax, [0x657654]
mov dword [esp], eax
call fcn.00401bf0
mov eax, dword [esp + 4]
test eax, eax
je 0x41854a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x41854e
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], ecx
xor edx, edx
jmp 0x418933
cmp dword [0x6582dc], eax
ja 0x41859d
cmp dword [0x6582e0], eax
jbe 0x41859d
lea eax, [0x657654]
mov dword [esp], eax
call fcn.00401bf0
mov eax, dword [esp + 4]
test eax, eax
je 0x41858a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x41858e
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], ecx
xor edx, edx
jmp 0x4188bc
test eax, eax
jne 0x4185ac
mov eax, dword [0x67e0c4]
jmp 0x418849
cmp eax, 1
je 0x4186b7
mov edx, dword [0x6582e0]
cmp eax, edx
jb 0x4185e0
cmp dword [0x6582e4], eax
jbe 0x4185e0
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
sub eax, edx
mov dword [esp + 4], eax
call fcn.00418ca0
xor eax, eax
jmp 0x4186c7
mov edx, dword [0x6582e4]
cmp eax, edx
jb 0x418730
cmp dword [0x6582e8], eax
jbe 0x418730
mov ecx, dword [0x6582f0]
mov ebx, dword [0x6582ec]
sub eax, edx
cmp ecx, eax
jbe 0x41872b
mov eax, dword [ebx + eax*4]
mov dword [esp + 0x44], eax
test byte [eax], al
nop
lea ecx, [eax + 0x48]
mov dword [esp], ecx
call fcn.00401be0
mov eax, dword [esp + 4]
cmp eax, 4
je 0x418633
cmp eax, 3
jne 0x418661
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
sete cl
mov edx, dword [eax + 0x60]
test edx, edx
sete dl
and edx, ecx
test dl, dl
je 0x418665
mov ecx, dword [0x6582bc]
mov edx, dword [0x6582c0]
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], edx
jmp 0x418665
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [0x418950]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.0045df70
lea eax, [0x67e9d0]
jmp 0x4186c7
lea eax, [0x5712d0]
mov dword [esp], eax
call fcn.0045df70
xor eax, eax
test eax, eax
je 0x418717
mov ecx, dword [esp + 0x34]
test ecx, ecx
setne dl
mov ebx, dword [esp + 0x38]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x418717
nop
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
call fcn.00401cd0
movzx eax, byte [esp + 0x64]
test al, al
je 0x418717
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004199f0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
add esp, 0x58
ret
call fcn.0045f4e0
call fcn.00435250
mov eax, dword [0x6582e4]
mov dword [esp + 0x30], eax
mov ecx, dword [0x6582e8]
mov dword [esp + 0x2c], ecx
call fcn.00435250
lea eax, [0x561df4]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00435e80
mov dword [esp + 4], 0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00435b20
lea eax, [0x562895]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00435e80
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00435b20
lea eax, [0x55c2cd]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00435e80
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00435b20
lea eax, [0x55c2cb]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00435e80
call fcn.004352c0
lea eax, [0x55ff81]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00433a80
mov dword [esp + 0x24], eax
lea ecx, [eax + 8]
mov dword [esp], ecx
call fcn.00401be0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 0x10]
mov dword [esp], edx
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 4], eax
lea eax, [0x67e580]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.0041af10
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
test eax, eax
jne 0x4187fd
xor eax, eax
jmp 0x4186c7
mov dword [esp + 0x28], edx
mov eax, dword [ecx + edx*4]
mov ebx, dword [eax + 0x70]
mov ebp, dword [eax + 0x74]
mov eax, dword [eax + 0x104]
mov esi, dword [0x6582dc]
mov dword [esp], ebx
sub ebp, ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x60]
sub ebx, esi
mov dword [esp + 0x10], ebx
call fcn.00418ae0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x34], eax
adc ecx, edx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
cmp eax, edx
jg 0x418854
lea eax, [0x67e9d8]
jmp 0x4186c7
mov dword [esp + 0x28], edx
mov eax, dword [ecx + edx*4]
mov ebx, dword [eax + 0x68]
mov ebp, dword [eax + 0x6c]
mov eax, dword [eax + 0xfc]
mov esi, dword [0x6582d8]
mov dword [esp], ebx
sub ebp, ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x60]
sub ebx, esi
mov dword [esp + 0x10], ebx
call fcn.00418ae0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
adc edx, eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
cmp eax, edx
jg 0x4188cb
lea eax, [0x67e9d8]
jmp 0x4186c7
call fcn.0045e080
jmp fcn.004184f0