Function at 0x43f8e0
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ce95
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4ab0fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x18
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.0046527a
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
push 0x1fffe
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
call fcn.004653bf
add esp, 8
mov ebx, eax
push 0x49ca18
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov edi, eax
lea eax, [ebp - 0x20]
push eax
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_GetNumberOfEventLogRecords]
call fcn.00403800
mov ecx, eax
test ecx, ecx
je 0x43fbd1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1fffe
push ebx
push 0
push 5
push edi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
mov ecx, dword [ebp - 0x14]
xor esi, esi
test ecx, ecx
je 0x43fa22
mov eax, esi
shr eax, 1
cmp word [ebx + eax*2 + 0x18], 1
lea edi, [ebx + eax*2]
jne 0x43fa11
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x34], 0
call fcn.00473d23
push dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
inc ecx
push ecx
cdq
mov ecx, 0x64
idiv ecx
lea eax, [ebp - 0x1c]
push edx
push str._0.2d__0.2d__0.2d
push eax
call fcn.004230e0
add esp, 0x18
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push eax
call fcn.00442260
inc dword [eax]
mov ecx, dword [ebp - 0x14]
add esi, dword [edi]
cmp esi, ecx
jb 0x43f9b6
mov edi, dword [ebp - 0x18]
test ecx, ecx
jne 0x43f994
push edi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
call fcn.00403800
mov ecx, eax
test ecx, ecx
je 0x43fbd1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
call fcn.00403800
mov ecx, eax
test ecx, ecx
je 0x43fbd1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x1c
push str.__fast_:__eventsDaily_:__n
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004060b0
mov eax, dword [ebp - 0x30]
mov esi, dword [eax]
cmp esi, eax
je 0x43fae5
nop dword [eax]
push dword [esi + 0x14]
lea eax, [ebp - 0x18]
push dword [esi + 0x10]
push str.__s_:_d__n
push eax
call fcn.004230e0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
add esp, 0x10
push dword [eax - 0xc]
push eax
call fcn.004423b0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x43facc
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x43fac8
cmp esi, dword [eax + 8]
jne 0x43fac8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x43fab8
mov esi, eax
jmp 0x43fae0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x43fae0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x43fad6
cmp esi, dword [ebp - 0x30]
jne 0x43fa80
push 0xd
push str.__:_1__n___
lea ecx, [ebp - 0x10]
call fcn.004423b0
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x4abb40]
mov eax, dword [eax - 0xc]
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x28]
push 0
push edx
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esi - 8]
push esi
call fcn.00472c9b
add esp, 8
test eax, eax
js 0x43fbc7
cmp eax, dword [esi - 8]
jg 0x43fbc7
mov dword [esi - 0xc], eax
push ebx
mov byte [eax + esi], 0
call fcn.004653c8
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
add esp, 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43fb60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43fb7b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x43fb97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
push dword [eax + 4]
lea eax, [ebp - 0x30]
push eax
mov ecx, eax
call fcn.00442650
push 0x18
push dword [ebp - 0x30]
call fcn.00464f18
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004035d0
push 0x80004005
call fcn.004035d0
int3