Function at 0x10075ff
Capabilities:
Access the windows event log

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x1012070]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x4dc]
test edi, edi
mov dword [ebp - 4], eax
je 0x10078eb
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x840]
push eax
push 0x8200
push dword [edi + 4]
call sub.pdh.dll_PdhGetFormattedCounterValue
test eax, eax
jne 0x10078e0
cmp dword [ebp - 0x820], eax
je 0x1007664
cmp dword [ebp - 0x820], 1
jne 0x10078e0
mov eax, dword [edi + 8]
fld qword [ebp - 0x818]
fcomp qword [eax + 0x10]
test byte [eax + 8], 1
fnstsw ax
je 0x1007683
test ah, 0x41
jne 0x10078e0
jmp 0x100768c
test ah, 5
jp 0x10078e0
test byte [esi + 0x4f0], 7
je 0x100775f
fld qword [ebp - 0x818]
push ecx
push ecx
fstp qword [esp]
push 0xf
lea eax, [ebp - 0x84]
push 0x10019d4
push eax
call fcn.0100a0c2
mov eax, dword [edi + 8]
fld qword [eax + 0x10]
add esp, 0xc
fstp qword [esp]
push 0xf
lea eax, [ebp - 0x44]
push 0x10019d4
push eax
call fcn.0100a0c2
add esp, 0x14
push 0x40
lea eax, [ebp - 0x164]
push eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
and al, 1
neg al
sbb eax, eax
neg eax
add eax, 0x65
push eax
push dword [0x1012b34]
call ebx
push 0x40
lea eax, [ebp - 0x1e4]
push eax
push 0x68
push dword [0x1012b34]
call ebx
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x804]
push eax
movzx eax, word [ebp - 0x806]
push eax
movzx eax, word [ebp - 0x808]
push eax
movzx eax, word [ebp - 0x80a]
push eax
movzx eax, word [ebp - 0x80e]
push eax
movzx eax, word [ebp - 0x810]
push eax
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0100a0c2
add esp, 0x20
test byte [esi + 0x4f0], 1
je 0x10077b7
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x83c], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x164]
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x830], eax
xor eax, eax
push eax
lea ecx, [ebp - 0x83c]
push ecx
push eax
push 4
push eax
push 0x400007ef
push eax
push 4
push dword [0x1012b30]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test byte [esi + 0x4f0], 2
je 0x10078a8
cmp dword [esi + 0x4e0], 0
je 0x10078a8
and dword [ebp - 0x800], 0
push 0x104
lea eax, [ebp - 0x3ec]
push eax
push 0x67
push dword [0x1012b34]
call ebx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [edi + 8]
push dword [eax + 4]
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x7fc]
push eax
call fcn.0100a0c2
add esp, 0x1c
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x7fc]
push eax
push 0
push dword [esi + 0x4e0]
push 0
call sub.NETAPI32.dll_NetMessageBufferSend
test eax, eax
mov dword [ebp - 0x800], eax
je 0x10078a8
cmp dword [esi + 0x4f8], 1
je 0x10078a8
lea ecx, [esi + 0xbc]
mov dword [ebp - 0x82c], ecx
mov ecx, dword [esi + 0x4e0]
push eax
mov dword [ebp - 0x828], ecx
call fcn.010026b9
mov dword [ebp - 0x824], eax
lea eax, [ebp - 0x800]
push eax
lea eax, [ebp - 0x82c]
push eax
push 4
push 3
push 0
push 0x800007fa
push 0
push 2
push dword [0x1012b30]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
mov dword [esi + 0x4f8], 1
test byte [esi + 0x4f0], 4
je 0x10078d1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xe4]
push eax
push edi
push esi
call fcn.010070de
test byte [esi + 0x4f0], 8
je 0x10078e0
push esi
call fcn.01006cd4
mov edi, dword [edi]
test edi, edi
jne 0x100762c
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
inc eax
pop esi
call fcn.01009963
leave
ret 4