Function at 0x76aaadcc
Capabilities:
Access the windows event log
Check for time delay via queryperformancecounter

Disassembly:
push 0x14c
push 0x76aabd98
call fcn.76aa13c1
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [ebp - 0xb8], eax
mov esi, dword [edi + 4]
mov dword [ebp - 0x144], esi
mov eax, dword [edi + 8]
mov dword [ebp - 0x128], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x138], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xb0], eax
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
push 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push 0x76aa2684
push dword [0x76aae534]
call fcn.76aa7e91
cmp eax, ebx
jne 0x76aaae76
cmp dword [ebp - 0x3c], 4
jne 0x76aaae76
xor eax, eax
inc eax
cmp dword [ebp - 0x40], eax
jne 0x76aaae79
mov dword [ebp - 0x58], eax
jmp 0x76aaae79
xor eax, eax
inc eax
cmp dword [ebp - 0x58], ebx
je 0x76aaae90
cmp dword [0x76aae508], ebx
je 0x76aaae8b
mov dword [edi + 0x1c], eax
jmp 0x76aaaea7
cmp dword [ebp - 0x58], ebx
jne 0x76aaaea7
cmp dword [0x76aae508], ebx
jne 0x76aaaea7
cmp dword [0x76aae510], eax
jne 0x76aaaea7
mov dword [edi + 0x1c], 2
call fcn.76aaacbc
mov dword [ebp - 0xfc], eax
cmp eax, ebx
jne 0x76aabcd8
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
cmp dword [ebp - 0xb8], 2
jne 0x76aab072
cmp dword [ebp - 0x58], ebx
jne 0x76aab072
mov dword [ebp - 0x38], esi
cmp word [esi], bx
je 0x76aaaf9c
mov dword [ebp - 0xc0], ebx
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.76aa79b1
mov dword [ebp - 0x14c], eax
cmp eax, ebx
je 0x76aaaf90
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0xf8]
jb 0x76aaaf74
add dword [ebp - 0xf8], 0x10
add dword [ebp - 0xc0], 0x80
xor esi, esi
cmp dword [ebp - 0x44], ebx
jne 0x76aaaf4d
mov eax, dword fs:[0x18]
push dword [ebp - 0xc0]
push 8
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x76aaaf6c
mov esi, dword [ebp - 0x44]
mov eax, dword fs:[0x18]
push dword [ebp - 0xc0]
push dword [ebp - 0x44]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], ebx
je 0x76aaafa3
mov eax, dword [ebp - 0x50]
shl eax, 3
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14c]
mov dword [ecx + eax], edx
mov ecx, dword [ebp - 0x44]
mov dword [ecx + eax + 4], ebx
inc dword [ebp - 0x50]
mov eax, dword [ebp - 0x38]
cmp word [eax], bx
jne 0x76aaaef4
mov eax, dword [0x76aae524]
jmp 0x76aab018
cmp esi, ebx
je 0x76aaafbb
mov eax, dword fs:[0x18]
push esi
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push 0xe
pop eax
jmp 0x76aabced
mov ecx, dword [eax + 0x3c]
cmp ecx, ebx
jbe 0x76aab016
mov dword [ebp - 0x34], ebx
lea ecx, [eax + 0x40]
mov dword [ebp - 0xe4], ecx
xor edx, edx
cmp dword [ebp - 0x50], ebx
jbe 0x76aab004
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + edx*8]
mov esi, dword [ebp - 0xe4]
cmp ecx, dword [esi]
jne 0x76aaaffe
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx + edx*8 + 4]
or dword [ecx], 1
or byte [eax + 0x143], 0x80
inc edx
cmp edx, dword [ebp - 0x50]
jb 0x76aaafdd
inc dword [ebp - 0x34]
add dword [ebp - 0xe4], 4
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax + 0x3c]
jb 0x76aaafd6
mov eax, dword [eax]
cmp eax, ebx
jne 0x76aaafc3
xor ecx, ecx
inc ecx
xor eax, eax
cmp dword [ebp - 0x50], ebx
jbe 0x76aab03a
mov edx, dword [ebp - 0x44]
test byte [edx + eax*8 + 4], 1
je 0x76aab038
inc eax
cmp eax, dword [ebp - 0x50]
jae 0x76aab03a
jmp 0x76aab026
xor ecx, ecx
cmp ecx, ebx
jne 0x76aab057
mov eax, dword [0x76aae524]
jmp 0x76aab053
cmp dword [eax + 0x3c], ebx
jne 0x76aab051
or byte [eax + 0x143], 0x80
mov eax, dword [eax]
cmp eax, ebx
jne 0x76aab045
cmp dword [ebp - 0x44], ebx
je 0x76aab072
mov eax, dword fs:[0x18]
push dword [ebp - 0x44]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, dword [0x76aae524]
mov dword [ebp - 0x130], esi
cmp esi, ebx
je 0x76aabcd3
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0x20]
imul eax, eax, 0xffffd8f0
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0xb8]
cmp ecx, 2
je 0x76aab0a9
cmp dword [ebp - 0x58], ebx
je 0x76aab106
cmp dword [ebp - 0x58], ebx
jne 0x76aab0bc
mov eax, dword [esi + 0x140]
test eax, eax
jns 0x76aab0bc
test al, 0x10
je 0x76aab106
cmp dword [esi + 0x30], ebx
je 0x76aab106
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x76aabd8d
lea ecx, [ebp - 0x68]
push ecx
push ebx
push eax
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov edi, eax
push edi
call fcn.76aa7e50
cmp edi, ebx
jne 0x76aab0fb
push dword [ebp - 0x58]
push esi
call fcn.76aabe4b
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x76aabd8d
inc dword [esi + 0x18c]
jmp 0x76aabd8d
cmp ecx, 3
je 0x76aab12b
cmp ecx, 1
je 0x76aab12b
cmp ecx, 4
je 0x76aab12b
cmp ecx, 2
jne 0x76aabd8d
test byte [esi + 0x143], 0x80
je 0x76aabd8d
test byte [esi + 0x140], 0x10
jne 0x76aabd8d
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x138]
mov edx, dword [eax]
mov eax, dword [ebp - 0xb0]
sub edx, dword [eax]
add edx, dword [ebp - 0x128]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x104], ebx
cmp dword [esi + 0x30], ebx
je 0x76aab169
cmp ecx, 1
je 0x76aab169
cmp ecx, 4
jne 0x76aab1c6
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x76aab1c6
lea ecx, [ebp - 0x68]
push ecx
push ebx
push eax
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
cmp eax, ebx
jne 0x76aab1b7
cmp dword [ebp - 0xb8], 1
je 0x76aab192
cmp dword [ebp - 0xb8], 4
jne 0x76aab199
and byte [esi + 0x143], 0x7f
cmp dword [esi + 0x30], ebx
jne 0x76aab1ac
push esi
call fcn.76aabf71
cmp eax, ebx
jne 0x76aab0ed
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x76aab1c3
push eax
call fcn.76aa7e50
inc dword [esi + 0x18c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
inc eax
mov dword [ebp - 0x100], eax
test byte [0x76aae3a8], 4
jne 0x76aab1f0
test byte [esi + 0x140], 0x20
je 0x76aab1eb
mov eax, dword [0x76aae560]
mov dword [ebp - 0x7c], eax
jmp 0x76aab1f7
mov dword [ebp - 0x7c], eax
jmp 0x76aab1fd
mov dword [ebp - 0x7c], 4
mov dword [ebp - 0x100], ebx
xor eax, eax
cmp dword [ebp - 0x7c], 4
setl al
mov dword [ebp - 0xbc], eax
cmp eax, ebx
je 0x76aab233
mov eax, dword fs:[0x18]
mov ecx, dword [ebp - 0x1c]
add ecx, 0x800
push ecx
push 8
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edx, dword [ebp - 0x1c]
jmp 0x76aab23e
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x84], eax
cmp eax, ebx
je 0x76aabc3a
cmp dword [ebp - 0xbc], ebx
je 0x76aab291
mov edi, eax
mov dword [ebp - 0x12c], edi
lea eax, [edi + 0x400]
mov dword [ebp - 0x2c], eax
add edx, eax
mov dword [ebp - 0x88], edx
lea eax, [edx + 0x400]
mov dword [ebp - 0x108], eax
mov ecx, 0x100
mov eax, 0xa5a5a5a5
rep stosd dword es:[edi], eax
mov ecx, 0x100
mov edi, edx
rep stosd dword es:[edi], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x74], eax
xor edi, edi
mov dword [ebp - 0x78], ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x76aab457
lea ecx, [ebp - 0x68]
push ecx
push ebx
push eax
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [ebp - 0x13c], eax
push eax
call fcn.76aa7e50
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x13c], ebx
jne 0x76aab3cf
cmp dword [esi + 0x14], ebx
je 0x76aab44d
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x124], ebx
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x120], eax
mov eax, dword [esi + 0x148]
mov dword [ebp - 0x11c], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], 0xc00003f7
mov dword [ebp - 0x110], esi
cmp dword [ebp - 0x100], ebx
je 0x76aab32e
lea eax, [ebp - 0x124]
push eax
call fcn.76aa827f
mov dword [ebp - 0x78], eax
jmp 0x76aab331
mov dword [ebp - 0x78], ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x60]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x144]
call dword [esi + 0x14]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x70]
push eax
call edi
cmp dword [ebp - 0x78], ebx
je 0x76aab374
push dword [ebp - 0x78]
call fcn.76aa7af8
mov dword [ebp - 0x78], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x194], eax
lea eax, [esi + 0x198]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
jbe 0x76aab38c
mov dword [eax], ecx
cmp dword [ebp - 0x4c], 0xea
jne 0x76aab3a7
lea eax, [esi + 0x19c]
mov ecx, dword [ebp - 0xb4]
cmp ecx, dword [eax]
jbe 0x76aab3a7
mov dword [eax], ecx
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x15c], edi
call fcn.76aaac77
mov dword [esi + 0x150], eax
mov dword [esi + 0x154], edx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 0x80], ebx
jmp 0x76aab448
cmp dword [esi + 0x14], ebx
je 0x76aab44d
cmp dword [0x76aae538], 1
jl 0x76aab44d
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xe0], eax
xor ecx, ecx
inc ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x74]
neg eax
mov dword [ebp - 0xdc], eax
push 2
pop eax
mov dword [ebp - 0x24], eax
mov edx, dword [esi + 0x148]
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0xa8]
push ecx
push 8
push eax
push ebx
push 0xc00003f7
push ebx
push eax
push dword [0x76aae514]
call sub.ADVAPI32.dll_ReportEventW
inc dword [esi + 0x18c]
mov edx, dword [ebp - 0x1c]
jmp 0x76aab45e
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x28], ebx
jmp 0x76aab45e
mov dword [ebp - 0x4c], 0xa7
cmp dword [ebp - 0x4c], ebx
jne 0x76aabb87
cmp edx, ebx
jbe 0x76aabb82
cmp edx, dword [ebp - 0xb4]
jbe 0x76aab50b
cmp dword [0x76aae538], 1
jl 0x76aab50b
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xe0], eax
xor ecx, ecx
inc ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xdc], edx
push 2
pop eax
mov dword [ebp - 0x24], eax
mov edx, dword [esi + 0x148]
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x20], ecx
mov edx, dword [esi + 0x34]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0xe0]
push edx
lea edx, [ebp - 0xa8]
push edx
push 8
push eax
push ebx
push 0xc00003fc
push ebx
push ecx
push dword [0x76aae514]
call sub.ADVAPI32.dll_ReportEventW
test byte [0x76aae3a8], 4
jne 0x76aab503
test byte [esi + 0x140], 0x20
jne 0x76aab503
push esi
call fcn.76aa7fe3
mov dword [ebp - 0x1c], ebx
jmp 0x76aabba2
lea eax, [esi + 0x180]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [esi + 0x178]
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x6c]
sbb edx, dword [ebp - 0x5c]
add dword [eax], ecx
adc dword [eax + 4], edx
mov eax, dword [ebp - 0x1c]
test al, 7
je 0x76aab5bc
test byte [0x76aae3a8], 1
jne 0x76aab5bc
test byte [esi + 0x140], 8
jne 0x76aab5bc
cmp dword [0x76aae538], 1
jl 0x76aab5bc
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xe0], ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xdc], eax
push 2
pop eax
mov dword [ebp - 0x24], eax
mov edx, dword [esi + 0x148]
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0xa8]
push ecx
push 8
push eax
push ebx
push 0x800003f8
push ebx
push eax
push dword [0x76aae514]
call sub.ADVAPI32.dll_ReportEventW
or dword [esi + 0x140], 8
cmp dword [ebp - 0xbc], ebx
je 0x76aabb72
mov dword [ebp - 0x30], 1
cmp dword [ebp - 0x7c], 2
jg 0x76aabb4f
mov eax, edi
sub eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
je 0x76aab654
cmp dword [0x76aae538], 1
jl 0x76aab64b
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xe0], ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xdc], eax
push 2
pop eax
mov dword [ebp - 0x24], eax
mov edx, dword [esi + 0x148]
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0xa8]
push ecx
push 8
push eax
push ebx
push 0x800007d0
push ebx
push eax
push dword [0x76aae514]
call sub.ADVAPI32.dll_ReportEventW
mov dword [ebp - 0x30], ebx
push esi
call fcn.76aa7fe3
cmp edi, dword [ebp - 0x88]
jbe 0x76aab73d
cmp dword [ebp - 0x30], ebx
je 0x76aab86a
cmp edi, dword [ebp - 0x108]
jb 0x76aab6ca
cmp dword [0x76aae538], 1
jl 0x76aab72d
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
sub edi, dword [ebp - 0x88]
mov dword [ebp - 0xe0], edi
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x148]
mov dword [ebp - 0xa4], ecx
push 2
pop ecx
lea edx, [ebp - 0xe0]
push edx
lea edx, [ebp - 0xa8]
push edx
push 4
push ecx
push ebx
push 0xc00003f5
jmp 0x76aab71d
cmp dword [0x76aae538], 1
jl 0x76aab72d
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
sub edi, dword [ebp - 0x88]
mov dword [ebp - 0xe0], edi
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x148]
mov dword [ebp - 0xa4], ecx
push 2
pop ecx
lea edx, [ebp - 0xe0]
push edx
lea edx, [ebp - 0xa8]
push edx
push 4
push ecx
push ebx
push 0xc00003e9
push ebx
mov dword [ebp - 0x20], ecx
push eax
push dword [0x76aae514]
call sub.ADVAPI32.dll_ReportEventW
mov dword [ebp - 0x30], ebx
push esi
call fcn.76aa7fe3
mov dword [ebp - 0x4c], 0xea
cmp dword [ebp - 0x30], ebx
je 0x76aab86a
xor ecx, ecx
inc ecx
mov dword [ebp - 0xac], ecx
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xec], eax
cmp eax, dword [ebp - 0x74]
jae 0x76aab76f
cmp byte [eax], 0xa5
je 0x76aab8b7
mov dword [ebp - 0xac], ebx
cmp dword [ebp - 0xac], ebx
jne 0x76aab7d2
cmp dword [0x76aae538], ecx
jl 0x76aab7c9
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [esi + 0x34]
mov dword [ebp - 0xa8], eax
xor ecx, ecx
inc ecx
mov dword [ebp - 0x20], ecx
mov eax, dword [esi + 0x148]
mov dword [ebp - 0xa4], eax
push 2
pop eax
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0xe0]
push edx
lea edx, [ebp - 0xa8]
push edx
push ebx
push eax
push ebx
push 0xc00003ea
push ebx
push ecx
push dword [0x76aae514]
call sub.ADVAPI32.dll_ReportEventW
mov dword [ebp - 0x30], ebx
push esi
call fcn.76aa7fe3
cmp dword [ebp - 0x30], ebx
je 0x76aab86a
xor ecx, ecx
inc ecx
mov dword [ebp - 0xac], ecx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xec], eax
cmp eax, dword [ebp - 0x108]
jae 0x76aab807
cmp byte [eax], 0xa5
je 0x76aab8bd
mov dword [ebp - 0xac], ebx
cmp dword [ebp - 0xac], ebx
jne 0x76aab86a
cmp dword [0x76aae538], ecx
jl 0x76aab861
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [esi + 0x34]
mov dword [ebp - 0xa8], eax
xor ecx, ecx
inc ecx
mov dword [ebp - 0x20], ecx
mov eax, dword [esi + 0x148]
mov dword [ebp - 0xa4], eax
push 2
pop eax
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0xe0]
push edx
lea edx, [ebp - 0xa8]
push edx
push ebx
push eax
push ebx
push 0xc00003ea
push ebx
push ecx
push dword [0x76aae514]
call sub.ADVAPI32.dll_ReportEventW
mov dword [ebp - 0x30], ebx
push esi
call fcn.76aa7fe3
cmp dword [ebp - 0x7c], 1
jg 0x76aabb4f
cmp dword [ebp - 0x30], ebx
je 0x76aabb6c
mov ecx, dword [ebp - 0x74]
mov edi, ecx
mov dword [ebp - 0x154], edi
cmp word [ecx], 0x50
jne 0x76aab8c3
cmp word [ecx + 2], 0x45
jne 0x76aab8c3
cmp word [ecx + 4], 0x52
jne 0x76aab8c3
cmp word [ecx + 6], 0x46
jne 0x76aab8c3
mov eax, dword [ecx + 0x18]
add eax, ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10c], 1
jmp 0x76aab8ce
inc eax
jmp 0x76aab755
inc eax
jmp 0x76aab7ea
mov eax, ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0x34], ebx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x28]
jae 0x76aab8f1
mov ecx, dword [eax]
add dword [ebp - 0xe8], ecx
add eax, ecx
mov dword [ebp - 0x54], eax
inc dword [ebp - 0x34]
jmp 0x76aab8d7
cmp eax, dword [ebp - 0x2c]
jne 0x76aab901
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xe8], eax
jbe 0x76aab96a
cmp dword [0x76aae538], 1
jl 0x76aab961
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xe0], eax
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x148]
mov dword [ebp - 0xa4], ecx
push 2
pop ecx
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0xe0]
push edx
lea edx, [ebp - 0xa8]
push edx
push 4
push ecx
push ebx
push 0xc00003eb
push ebx
push eax
push dword [0x76aae514]
call sub.ADVAPI32.dll_ReportEventW
mov dword [ebp - 0x30], ebx
push esi
call fcn.76aa7fe3
cmp dword [ebp - 0x30], ebx
je 0x76aabb6c
cmp dword [ebp - 0x10c], ebx
je 0x76aab982
mov eax, dword [edi + 0x18]
add eax, edi
jmp 0x76aab985
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x34], ebx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x28]
jae 0x76aab9ec
mov edx, dword [eax + 4]
add edx, eax
mov dword [ebp - 0x150], edx
cmp dword [eax + 0x20], ebx
je 0x76aab9dd
mov ecx, dword [eax + 8]
add ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0xf0], ebx
mov edi, dword [eax + 0x20]
cmp dword [ebp - 0xf0], edi
jae 0x76aab9d6
cmp ecx, edx
jae 0x76aab9d3
add ecx, dword [ecx]
mov dword [ebp - 0x134], ecx
inc dword [ebp - 0xf0]
jmp 0x76aab9b4
mov dword [ebp - 0x30], ebx
cmp ecx, edx
je 0x76aab9dd
mov dword [ebp - 0x30], ebx
cmp dword [ebp - 0x30], ebx
je 0x76aab9f1
add eax, dword [eax]
mov dword [ebp - 0x54], eax
inc dword [ebp - 0x34]
jmp 0x76aab98b
cmp dword [ebp - 0x30], ebx
jne 0x76aaba60
cmp dword [0x76aae538], 1
jl 0x76aaba51
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xe0], eax
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x148]
mov dword [ebp - 0xa4], ecx
push 2
pop ecx
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0xe0]
push edx
lea edx, [ebp - 0xa8]
push edx
push 4
push ecx
push ebx
push 0xc00003fb
push ebx
push eax
push dword [0x76aae514]
call sub.ADVAPI32.dll_ReportEventW
push esi
call fcn.76aa7fe3
cmp dword [ebp - 0x30], ebx
je 0x76aabb6c
cmp dword [ebp - 0x10c], ebx
je 0x76aaba75
mov ecx, dword [ebp - 0x154]
mov eax, dword [ecx + 0x18]
add eax, ecx
jmp 0x76aaba78
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x34], ebx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x28]
jae 0x76aabae4
mov edi, dword [eax]
add edi, eax
mov dword [ebp - 0x150], edi
cmp dword [eax + 0x28], 0xffffffff
je 0x76aabad5
mov ecx, dword [eax + 4]
add ecx, eax
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0xf4], ebx
mov edx, dword [eax + 0x28]
cmp dword [ebp - 0xf4], edx
jge 0x76aabace
mov edx, dword [ecx]
add edx, ecx
mov dword [ebp - 0x158], edx
mov ecx, dword [edx]
add ecx, edx
mov dword [ebp - 0x148], ecx
inc dword [ebp - 0xf4]
jmp 0x76aabaa7
cmp ecx, edi
jbe 0x76aabad5
mov dword [ebp - 0x30], ebx
cmp dword [ebp - 0x30], ebx
je 0x76aabae9
mov eax, edi
mov dword [ebp - 0x54], eax
inc dword [ebp - 0x34]
jmp 0x76aaba7e
cmp dword [ebp - 0x30], ebx
jne 0x76aabb54
cmp dword [0x76aae538], 1
jl 0x76aabb49
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xe0], eax
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x148]
mov dword [ebp - 0xa4], ecx
push 2
pop ecx
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0xe0]
push edx
lea edx, [ebp - 0xa8]
push edx
push 4
push ecx
push ebx
push 0xc00003ec
push ebx
push eax
push dword [0x76aae514]
call sub.ADVAPI32.dll_ReportEventW
push esi
call fcn.76aa7fe3
cmp dword [ebp - 0x30], ebx
je 0x76aabb6c
push dword [ebp - 0x1c]
push dword [ebp - 0x74]
mov eax, dword [ebp - 0xb0]
push dword [eax]
call sub.msvcrt.dll_memmove
add esp, 0xc
jmp 0x76aabb72
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x1c]
add dword [eax], ecx
jmp 0x76aabc0b
cmp dword [ebp - 0x4c], ebx
je 0x76aabb94
lea eax, [esi + 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [ebp - 0x80], ebx
je 0x76aabba2
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 0x28], ebx
jmp 0x76aabc0b
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xbc], ebx
je 0x76aabc41
cmp dword [ebp - 0x84], ebx
je 0x76aabc41
mov eax, dword fs:[0x18]
push dword [ebp - 0x84]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x76aabc41
mov dword [ebp - 0x4c], 0xe
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x28]
add dword [eax + 0x1c], ecx
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x76aabcf5
mov edi, 0xea
cmp dword [ebp - 0x104], ebx
jne 0x76aabc70
cmp eax, edi
je 0x76aabcc8
cmp eax, 0x102
je 0x76aabcc8
cmp dword [0x76aae538], 1
jl 0x76aabcba
mov dword [ebp - 0xe0], eax
mov eax, dword [esi + 0x148]
mov dword [ebp - 0xa8], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xa8]
push eax
push 4
push 2
push ebx
push 0xc00003f2
push ebx
push 1
push dword [0x76aae514]
call sub.ADVAPI32.dll_ReportEventW
cmp dword [ebp - 0x104], ebx
je 0x76aabcc8
push esi
call fcn.76aa7fe3
cmp dword [ebp - 0x4c], edi
jne 0x76aabcf5
mov dword [ebp - 0xfc], edi
call fcn.76aaad44
cmp dword [ebp - 0x58], ebx
je 0x76aabce7
mov dword [ebp - 0xfc], 0x422
mov eax, dword [ebp - 0xfc]
call fcn.76aa16ac
ret 4
mov eax, dword [esi + 0x170]
cmp eax, ebx
je 0x76aabd8d
mov ecx, dword [esi + 0x178]
mov dword [eax + 0x40], ecx
mov ecx, dword [esi + 0x17c]
mov dword [eax + 0x44], ecx
mov eax, dword [esi + 0x170]
mov ecx, dword [esi + 0x180]
mov dword [eax + 0x48], ecx
mov eax, dword [esi + 0x170]
mov ecx, dword [esi + 0x184]
mov dword [eax + 0x4c], ecx
mov eax, dword [esi + 0x170]
mov ecx, dword [esi + 0x188]
mov dword [eax + 0x50], ecx
mov eax, dword [esi + 0x170]
mov ecx, dword [esi + 0x18c]
mov dword [eax + 0x54], ecx
mov eax, dword [esi + 0x170]
mov ecx, dword [esi + 0x190]
mov dword [eax + 0x58], ecx
mov eax, dword [esi + 0x170]
mov ecx, dword [esi + 0x194]
mov dword [eax + 0x5c], ecx
mov eax, dword [esi + 0x170]
mov ecx, dword [esi + 0x198]
mov dword [eax + 0x60], ecx
mov eax, dword [esi + 0x170]
mov ecx, dword [esi + 0x19c]
mov dword [eax + 0x64], ecx
mov esi, dword [esi]
mov edi, dword [ebp + 8]
jmp 0x76aab078