Function at 0x100328a0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010fde8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10152034]
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 0x10124cc4
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x1003290d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenEventLog_fail_0x_x
push 1
push 0x33
push 0x10124cec
push 0x10124d20
call fcn.100ff930
add esp, 0x18
xor al, al
jmp 0x10032aed
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.10031980
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 0x10032a92
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x14], ecx
jbe 0x10032935
add esi, ecx
mov dword [ebp - 0x30], esi
cmp dword [esi + 4], 0x654c664c
jne 0x10032a32
push 0xcc
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x100329a0
mov ecx, eax
call fcn.10032b10
mov edi, eax
jmp 0x100329a2
xor edi, edi
push edi
push esi
mov dword [ebp - 0x28], edi
call fcn.10032bb0
test al, al
je 0x10032a61
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 8]
jle 0x10032a7a
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x18]
lea ecx, [ebp - 0x28]
cmp ecx, eax
jae 0x100329fd
mov ecx, dword [esi]
lea edx, [ebp - 0x28]
cmp ecx, edx
ja 0x100329fd
mov ebx, edx
sub ebx, ecx
sar ebx, 2
cmp eax, dword [esi + 8]
jne 0x100329ea
push ecx
mov ecx, esi
call fcn.1000c7b0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100329f8
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov dword [ecx], eax
mov ebx, dword [ebp - 0x38]
jmp 0x10032a13
cmp eax, dword [esi + 8]
jne 0x10032a0a
push ecx
mov ecx, esi
call fcn.1000c7b0
mov eax, dword [esi + 4]
test eax, eax
je 0x10032a13
mov dword [eax], edi
add dword [esi + 4], 4
mov eax, dword [ebx]
test eax, eax
je 0x10032a26
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 0x10032932
jg 0x10032a4b
cmp eax, dword [ebx + 0x10]
jb 0x10032932
add ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x14]
jae 0x10032932
mov esi, dword [ebp - 0x20]
jmp 0x10032971
test edi, edi
je 0x10032a29
mov ecx, edi
call fcn.100327f0
push edi
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call edi
add esp, 4
jmp 0x10032a2f
mov ecx, edi
call fcn.100327f0
push edi
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call edi
add esp, 4
jmp 0x10032932
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10032aad
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.100319e0
jmp 0x10032932
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x26
je 0x10032ad8
call ebx
push eax
push str.ReadEventLog_error_0x_x
push 1
push 0x77
push str..._srcMoniterHelpereventLogUserOperateEvent.cpp
push str.CUserOperateEvent::QueryEvent
call fcn.100ff930
add esp, 0x18
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
test esi, esi
je 0x10032aeb
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.1010a06b
mov esp, ebp
pop ebp
ret