Function at 0x100245a0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1348
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10115034]
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 0x100efeb8
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x1002460d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenEventLog_fail_0x_x
push 1
push 0x31
push 0x100efee0
push 0x100eff14
call fcn.100d1270
add esp, 0x18
xor al, al
jmp 0x100247ed
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.10023680
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 0x10024792
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x14], ecx
jbe 0x10024635
add esi, ecx
mov dword [ebp - 0x30], esi
cmp dword [esi + 4], 0x654c664c
jne 0x10024732
push 0xcc
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x100246a0
mov ecx, eax
call fcn.10024810
mov edi, eax
jmp 0x100246a2
xor edi, edi
push edi
push esi
mov dword [ebp - 0x28], edi
call fcn.100248b0
test al, al
je 0x10024761
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 8]
jle 0x1002477a
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x18]
lea ecx, [ebp - 0x28]
cmp ecx, eax
jae 0x100246fd
mov ecx, dword [esi]
lea edx, [ebp - 0x28]
cmp ecx, edx
ja 0x100246fd
mov ebx, edx
sub ebx, ecx
sar ebx, 2
cmp eax, dword [esi + 8]
jne 0x100246ea
push ecx
mov ecx, esi
call fcn.1000a8e0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100246f8
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov dword [ecx], eax
mov ebx, dword [ebp - 0x38]
jmp 0x10024713
cmp eax, dword [esi + 8]
jne 0x1002470a
push ecx
mov ecx, esi
call fcn.1000a8e0
mov eax, dword [esi + 4]
test eax, eax
je 0x10024713
mov dword [eax], edi
add dword [esi + 4], 4
mov eax, dword [ebx]
test eax, eax
je 0x10024726
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 0x10024632
jg 0x1002474b
cmp eax, dword [ebx + 0x10]
jb 0x10024632
add ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x14]
jae 0x10024632
mov esi, dword [ebp - 0x20]
jmp 0x10024671
test edi, edi
je 0x10024729
mov ecx, edi
call fcn.100244f0
push edi
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call edi
add esp, 4
jmp 0x1002472f
mov ecx, edi
call fcn.100244f0
push edi
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call edi
add esp, 4
jmp 0x10024632
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100247ad
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.100236e0
jmp 0x10024632
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x26
je 0x100247d8
call ebx
push eax
push str.ReadEventLog_error_0x_x
push 1
push 0x75
push str..._srcMoniterHelpereventLogUserOperateEvent.cpp
push str.CUserOperateEvent::QueryEvent
call fcn.100d1270
add esp, 0x18
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
test esi, esi
je 0x100247eb
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.100dc8fb
mov esp, ebp
pop ebp
ret