Function at 0x10033f10
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d718
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10165034]
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 0x101349e4
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x10033f7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenEventLog_fail_0x_x
push 1
push 0x33
push 0x10134a0c
push 0x10134a40
call fcn.1010d8f0
add esp, 0x18
xor al, al
jmp 0x1003415d
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.10032ff0
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 0x10034102
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x14], ecx
jbe 0x10033fa5
add esi, ecx
mov dword [ebp - 0x30], esi
cmp dword [esi + 4], 0x654c664c
jne 0x100340a2
push 0xcc
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x10034010
mov ecx, eax
call fcn.10034180
mov edi, eax
jmp 0x10034012
xor edi, edi
push edi
push esi
mov dword [ebp - 0x28], edi
call fcn.10034220
test al, al
je 0x100340d1
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 8]
jle 0x100340ea
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x18]
lea ecx, [ebp - 0x28]
cmp ecx, eax
jae 0x1003406d
mov ecx, dword [esi]
lea edx, [ebp - 0x28]
cmp ecx, edx
ja 0x1003406d
mov ebx, edx
sub ebx, ecx
sar ebx, 2
cmp eax, dword [esi + 8]
jne 0x1003405a
push ecx
mov ecx, esi
call fcn.1000c980
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10034068
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov dword [ecx], eax
mov ebx, dword [ebp - 0x38]
jmp 0x10034083
cmp eax, dword [esi + 8]
jne 0x1003407a
push ecx
mov ecx, esi
call fcn.1000c980
mov eax, dword [esi + 4]
test eax, eax
je 0x10034083
mov dword [eax], edi
add dword [esi + 4], 4
mov eax, dword [ebx]
test eax, eax
je 0x10034096
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 0x10033fa2
jg 0x100340bb
cmp eax, dword [ebx + 0x10]
jb 0x10033fa2
add ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x14]
jae 0x10033fa2
mov esi, dword [ebp - 0x20]
jmp 0x10033fe1
test edi, edi
je 0x10034099
mov ecx, edi
call fcn.10033e60
push edi
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call edi
add esp, 4
jmp 0x1003409f
mov ecx, edi
call fcn.10033e60
push edi
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call edi
add esp, 4
jmp 0x10033fa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1003411d
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.10033050
jmp 0x10033fa2
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x26
je 0x10034148
call ebx
push eax
push str.ReadEventLog_error_0x_x
push 1
push 0x77
push str..._srcMoniterHelpereventLogUserOperateEvent.cpp
push str.CUserOperateEvent::QueryEvent
call fcn.1010d8f0
add esp, 0x18
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
test esi, esi
je 0x1003415b
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.101176fb
mov esp, ebp
pop ebp
ret