Function at 0x4302a0
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x10ac
call fcn.0041f1e0
push ebx
push ebp
push esi
push edi
call dword [0x45a464]
xor edi, edi
mov dword [esp + 0x1c], eax
cmp word [0x475f7c], di
je 0x430336
mov eax, dword [0x475f80]
push 0xffffffffffffffff
push eax
call dword [0x45a43c]
mov ebp, dword [esp + 0x10c0]
cmp ebp, edi
je 0x430329
cmp dword [ebp + 4], edi
je 0x430329
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x430329
mov ecx, dword [esp + 0x10c4]
cmp ecx, eax
jg 0x430329
cmp dword [0x475f8c], edi
jne 0x430329
cmp word [0x475f7c], di
je 0x430329
mov eax, dword [esp + 0x10cc]
mov edx, 1
cmp eax, edi
mov dword [0x475f8c], edx
mov byte [esp + 0x8a8], 0
jne 0x430341
mov dword [0x475f8c], edi
mov ecx, dword [0x475f80]
push ecx
call dword [0x45a434]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10ac
ret
mov eax, dword [ebp + 4]
test al, 4
jne 0x430355
test al, 2
je 0x430351
cmp ecx, 4
jge 0x430355
xor ebx, ebx
jmp 0x430357
mov ebx, edx
test al, 2
je 0x430371
cmp ecx, 4
jl 0x430371
mov dword [esp + 0x18], edx
mov byte [esp + 0x94], 0
jmp 0x43040f
cmp ebx, edi
mov dword [esp + 0x18], edi
mov esi, 0x47129c
jne 0x430383
mov esi, 0x471d68
call fcn.0043cd36
push eax
push esi
lea edx, [esp + 0x9c]
push str._s_05u
push edx
call fcn.0041f36f
mov eax, dword [0x4711b4]
add esp, 0x10
cmp eax, edi
je 0x4303d5
call dword [0x45a3d4]
push eax
lea edi, [esp + 0x98]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push str.:_06u
lea eax, [esp + ecx + 0x9c]
push eax
call fcn.0041f36f
add esp, 0xc
test ebx, ebx
mov edi, 0x471288
jne 0x4303e3
mov edi, 0x471284
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x94]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
push eax
call dword [0x45a3a4]
cmp dword [esp + 0x10c8], 0xffffffff
je 0x430495
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
mov edx, 0x814
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x94]
sub edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
lea eax, [esp + ecx + 0x98]
mov ecx, dword [esp + 0x10d0]
push eax
push ecx
push ebp
call fcn.00430100
mov edx, dword [esp + 0x10e0]
lea eax, [esp + 0xa4]
push edx
push eax
lea ecx, [esp + 0x8c0]
push 0x813
push ecx
call fcn.0043b4fe
add esp, 0x20
test eax, eax
jge 0x4304f1
mov byte [esp + 0x10bb], 0
jmp 0x4304f1
mov edi, dword [esp + 0x10cc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x94]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x8a8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x94]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test byte [ebp + 4], 1
je 0x430526
lea ecx, [esp + 0x94]
test ecx, ecx
je 0x430526
lea edx, [esp + 0x8a8]
push edx
push 0x471280
push 0x470b80
call fcn.0043ba21
push 0x470b80
call fcn.0042a257
add esp, 0x10
mov ecx, dword [esp + 0x10c4]
xor eax, eax
cmp ecx, 4
sete al
test ebx, ebx
mov esi, eax
je 0x43079f
lea ecx, [esp + 0x94]
test ecx, ecx
je 0x43079f
mov eax, dword [ebp + esi*4 + 0x318]
test eax, eax
je 0x43079f
push 0
call fcn.0041d3ea
lea edx, [esp + 0x28]
mov dword [esp + 0x28], eax
push edx
lea eax, [esp + 0x30]
push 0x1a
push eax
call fcn.0042ffb0
mov ecx, dword [ebp + esi*4 + 0x318]
push 2
push 0
push ecx
mov ebx, eax
call fcn.0043b968
mov edx, dword [ebp + esi*4 + 0x318]
push edx
call fcn.0043b7e5
mov edi, eax
mov eax, dword [ebp + 0x320]
mov ecx, edi
add esp, 0x20
sub ecx, eax
test ecx, ecx
jg 0x4305c5
cmp dword [ebp + 0x328], 2
jne 0x43073a
cmp ebx, dword [ebp + 0x338]
je 0x43073a
mov ecx, dword [ebp + 0x328]
dec ecx
je 0x430636
dec ecx
je 0x430627
dec ecx
jne 0x43073a
mov edx, esi
mov ecx, dword [ebp + esi*4 + 0x318]
shl edx, 6
add edx, esi
push eax
lea eax, [ebp + edx*4 + 0xc]
push eax
push str.Log_file__s_exceeds_maximum_size__d_bytes__logging_stopped._n
push ecx
call fcn.0043ba21
mov edx, dword [ebp + esi*4 + 0x318]
push edx
call fcn.0042a257
mov eax, dword [0x475f80]
add esp, 0x14
mov word [0x475f7c], 0
push eax
call dword [0x45a434]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10ac
ret
push ebx
push ebp
call fcn.004318b0
add esp, 8
jmp 0x43073a
mov ecx, dword [ebp + 0x324]
push ecx
call fcn.0041e9d4
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x14], ebx
jne 0x430667
mov edx, dword [0x475f80]
push edx
call dword [0x45a434]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10ac
ret
mov eax, esi
mov dword [ebx], 0
mov ecx, dword [ebp + esi*4 + 0x318]
shl eax, 6
add eax, esi
push ecx
push 0x47123c
lea eax, [ebp + eax*4 + 0xc]
push eax
mov dword [esp + 0x2c], eax
call fcn.0043b79e
mov dword [ebp + esi*4 + 0x318], eax
mov ecx, dword [ebp + 0x324]
sub edi, ecx
push 0
push edi
push eax
call fcn.0043b968
mov edx, dword [ebp + esi*4 + 0x318]
mov eax, dword [ebp + 0x324]
push edx
push eax
push 1
push ebx
call fcn.0043b687
mov edi, eax
add esp, 0x28
xor eax, eax
test edi, edi
mov dword [esp + 0x10], eax
jbe 0x4306ff
mov cl, byte [ebx]
cmp cl, 0xd
je 0x4306e1
cmp cl, 0xa
je 0x4306e1
inc ebx
inc eax
cmp eax, edi
jb 0x4306cd
jmp 0x4306fb
cmp eax, edi
mov dword [esp + 0x10], eax
jae 0x4306ff
mov cl, byte [ebx]
cmp cl, 0xd
je 0x4306f5
cmp cl, 0xa
jne 0x4306fb
inc ebx
inc eax
cmp eax, edi
jb 0x4306e9
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + esi*4 + 0x318]
mov edx, dword [esp + 0x20]
push ecx
push 0x471238
push edx
call fcn.0043b79e
mov edx, dword [esp + 0x1c]
push eax
sub edi, edx
mov dword [ebp + esi*4 + 0x318], eax
push edi
push 1
push ebx
call fcn.0043b54e
mov eax, dword [esp + 0x30]
push eax
call fcn.0041eb0e
add esp, 0x20
mov eax, dword [esp + 0x18]
test eax, eax
je 0x430761
mov edx, dword [ebp + esi*4 + 0x318]
lea ecx, [esp + 0x8a8]
push ecx
push 0x471280
push edx
call fcn.0043ba21
add esp, 0xc
jmp 0x43078f
lea eax, [esp + 0x44]
push 0x50
push eax
call fcn.0042ff90
mov eax, dword [ebp + esi*4 + 0x318]
lea ecx, [esp + 0x8b0]
lea edx, [esp + 0x4c]
push ecx
push edx
push str._.19s_s_n
push eax
call fcn.0043ba21
add esp, 0x18
mov ecx, dword [ebp + esi*4 + 0x318]
push ecx
call fcn.0042a257
add esp, 4
test byte [ebp + 4], 2
je 0x430800
mov ecx, dword [esp + 0x10c4]
xor eax, eax
lea edx, [esp + 0x8a8]
dec ecx
mov dword [esp + 0x14], edx
je 0x4307d0
dec ecx
je 0x4307c9
dec ecx
jne 0x4307d5
mov eax, 4
jmp 0x4307d5
mov eax, 2
jmp 0x4307d5
mov eax, 1
mov ebp, dword [ebp + 0x32c]
test ebp, ebp
je 0x430800
test ax, ax
je 0x430800
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 1
push 0
push 0x40000001
push 0
push eax
push ebp
call dword [0x45a044]
mov edx, dword [esp + 0x1c]
push edx
call dword [0x45a3a4]
mov edx, dword [0x475f8c]
mov eax, dword [0x475f80]
dec edx
push eax
mov dword [0x475f8c], edx
call dword [0x45a434]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10ac
ret