Function at 0x1002e900
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f1558
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x38], ebx
push 0x101041c0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x1002e96d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenEventLog_fail_0x_x
push 1
push 0x33
push 0x101041e8
push 0x1010421c
call fcn.100e13e0
add esp, 0x18
xor al, al
jmp 0x1002eb4d
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.1002d9e0
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], 0
push eax
mov eax, dword [ebp - 0x1c]
sub eax, esi
push eax
push esi
push 0
push 9
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
je 0x1002eaf2
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x14], ecx
jbe 0x1002e995
add esi, ecx
mov dword [ebp - 0x30], esi
cmp dword [esi + 4], 0x654c664c
jne 0x1002ea92
push 0xcc
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1002ea00
mov ecx, eax
call fcn.1002eb70
mov edi, eax
jmp 0x1002ea02
xor edi, edi
push edi
push esi
mov dword [ebp - 0x28], edi
call fcn.1002ec10
test al, al
je 0x1002eac1
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 8]
jle 0x1002eada
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x18]
lea ecx, [ebp - 0x28]
cmp ecx, eax
jae 0x1002ea5d
mov ecx, dword [esi]
lea edx, [ebp - 0x28]
cmp ecx, edx
ja 0x1002ea5d
mov ebx, edx
sub ebx, ecx
sar ebx, 2
cmp eax, dword [esi + 8]
jne 0x1002ea4a
push ecx
mov ecx, esi
call fcn.1000c230
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1002ea58
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov dword [ecx], eax
mov ebx, dword [ebp - 0x38]
jmp 0x1002ea73
cmp eax, dword [esi + 8]
jne 0x1002ea6a
push ecx
mov ecx, esi
call fcn.1000c230
mov eax, dword [esi + 4]
test eax, eax
je 0x1002ea73
mov dword [eax], edi
add dword [esi + 4], 4
mov eax, dword [ebx]
test eax, eax
je 0x1002ea86
push dword [ebx + 4]
push edi
call eax
add esp, 8
mov esi, dword [ebp - 0x30]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [esi + 0xc]
xor edx, edx
cmp edx, dword [ebx + 0x14]
jl 0x1002e992
jg 0x1002eaab
cmp eax, dword [ebx + 0x10]
jb 0x1002e992
add ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x14]
jae 0x1002e992
mov esi, dword [ebp - 0x20]
jmp 0x1002e9d1
test edi, edi
je 0x1002ea89
mov ecx, edi
call fcn.1002e850
push edi
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call edi
add esp, 4
jmp 0x1002ea8f
mov ecx, edi
call fcn.1002e850
push edi
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call edi
add esp, 4
jmp 0x1002e992
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1002eb0d
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.1002da40
jmp 0x1002e992
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x26
je 0x1002eb38
call ebx
push eax
push str.ReadEventLog_error_0x_x
push 1
push 0x77
push str..._srcMoniterHelpereventLogUserOperateEvent.cpp
push str.CUserOperateEvent::QueryEvent
call fcn.100e13e0
add esp, 0x18
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
test esi, esi
je 0x1002eb4b
push esi
call edi
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret