Function at 0x1007a3d
Capabilities:
Access the windows event log

Disassembly:
push 0x6c
push 0x1001fb8
call fcn.010070e4
mov eax, dword [0x100a068]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x7c], eax
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x54], ebx
cmp dword [ebp + 0x10], 5
jbe 0x1007a87
xor eax, eax
jmp 0x1007c91
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x1007a98
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x48], 1
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x1007aaa
movzx ecx, word [ebp - 0x48]
mov dword [ebp + ecx*4 - 0x78], eax
inc dword [ebp - 0x48]
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x1007abc
movzx ecx, word [ebp - 0x48]
mov dword [ebp + ecx*4 - 0x78], eax
inc dword [ebp - 0x48]
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x1007ace
movzx ecx, word [ebp - 0x48]
mov dword [ebp + ecx*4 - 0x78], eax
inc dword [ebp - 0x48]
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
je 0x1007ae0
movzx ecx, word [ebp - 0x48]
mov dword [ebp + ecx*4 - 0x78], eax
inc dword [ebp - 0x48]
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x1007af2
movzx ecx, word [ebp - 0x48]
mov dword [ebp + ecx*4 - 0x78], eax
inc dword [ebp - 0x48]
mov eax, dword [ebp + 0x34]
cmp eax, ebx
je 0x1007b04
movzx ecx, word [ebp - 0x48]
mov dword [ebp + ecx*4 - 0x78], eax
inc dword [ebp - 0x48]
mov eax, dword [ebp + 0x38]
cmp eax, ebx
je 0x1007b16
movzx ecx, word [ebp - 0x48]
mov dword [ebp + ecx*4 - 0x78], eax
inc dword [ebp - 0x48]
mov eax, dword [ebp + 0x14]
shr eax, 0x1e
sub eax, ebx
je 0x1007b41
dec eax
je 0x1007b38
dec eax
je 0x1007b2f
mov dword [ebp - 0x50], 1
jmp 0x1007b48
mov dword [ebp - 0x50], 2
jmp 0x1007b48
mov dword [ebp - 0x50], 4
jmp 0x1007b48
mov dword [ebp - 0x50], 0x10
push 0x10
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
movzx eax, word [ebp - 0x48]
push eax
push dword [ebp + 0x14]
call fcn.0100734f
push 0x100a1b4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], ebx
push 0x10
pop ecx
lea edi, [ebp - 0x2c]
mov esi, 0x100a1cc
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1007b83
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [ebp - 0x58], ecx
cmp ecx, ebx
je 0x1007b99
inc dword [0x100a1dc]
jmp 0x1007c04
cmp dword [0x100a1dc], ebx
je 0x1007bf0
push 0x10
lea eax, [ebp - 0x38]
push eax
push dword [0x100a1e0]
mov esi, dword [sym.imp.msvcrt.dll__itoa]
call esi
push 0xa
lea eax, [ebp - 0x44]
push eax
push dword [0x100a1dc]
call esi
add esp, 0x18
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
push 0x400007f9
push ebx
push dword [0x100a0f0]
push 2
call sym.ISMSERV.EXE_DoLogEvent
mov dword [0x100a1dc], ebx
lea esi, [ebp - 0x2c]
mov edi, 0x100a1cc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x14]
mov dword [0x100a1e0], eax
or dword [ebp - 4], 0xffffffff
call fcn.01007c19
cmp dword [ebp - 0x58], ebx
je 0x1007c25
xor eax, eax
inc eax
jmp 0x1007c91
push dword [ebp + 8]
call fcn.010073ca
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
cmp esi, ebx
je 0x1007c7f
cmp dword [ebp + 0x18], ebx
je 0x1007c4a
call fcn.01007554
mov dword [ebp - 0x4c], eax
jmp 0x1007c4d
mov dword [ebp - 0x4c], ebx
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
push dword [ebp + 0x3c]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp - 0x50]
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
je 0x1007c78
mov dword [ebp - 0x54], 1
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
cmp dword [ebp - 0x4c], ebx
je 0x1007c8e
push dword [ebp - 0x4c]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x1c]
call fcn.01006e5a
call fcn.0100711f
ret 0x3c