Function at 0x4100f0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421da7
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x42c050]
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 eax, dword [ebp + 8]
mov esi, 7
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], cx
mov ebx, 1
mov dword [ebp - 4], edi
test byte [0x430ea8], bl
jne 0x410162
or dword [0x430ea8], ebx
call fcn.00411560
push 0x423380
call fcn.0041d6db
add esp, 4
mov edx, dword [0x430eb0]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push 0x430ebc
or eax, 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004018f0
mov eax, dword [0x430eb0]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 0x430588
lea ecx, [ebp - 0xd4]
call fcn.004012f0
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x6c], esi
xor ecx, ecx
push 0xe
mov eax, str._SpoolerApplet
lea esi, [ebp - 0x80]
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], cx
call fcn.00406690
mov ecx, esi
lea eax, [ebp - 0x64]
lea ebx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.00407600
mov ecx, eax
mov eax, dword [ebp - 0x110]
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00407470
mov esi, 8
cmp dword [ebp - 0xa4], esi
jb 0x410207
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, 7
xor eax, eax
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], edi
mov word [ebp - 0xb8], ax
cmp dword [ebp - 0x6c], esi
jb 0x410233
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], dx
mov byte [ebp - 4], bl
cmp dword [ebp - 0xc0], esi
jb 0x41025a
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov word [ebp - 0xd4], cx
mov eax, 0x4305a4
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xc4], edi
call fcn.004012f0
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 8
xor edx, edx
push 0xe
mov eax, str._SpoolerApplet
lea esi, [ebp - 0x9c]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], dx
call fcn.00406690
mov ecx, esi
lea eax, [ebp - 0x64]
lea ebx, [ebp - 0xf0]
mov byte [ebp - 4], 9
call fcn.00407600
mov ecx, eax
mov eax, dword [ebp - 0x110]
lea ebx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00407470
mov esi, 8
cmp dword [ebp - 0xdc], esi
jb 0x4102f5
mov eax, dword [ebp - 0xf0]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, 7
xor ecx, ecx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xe0], edi
mov word [ebp - 0xf0], cx
cmp dword [ebp - 0x88], esi
jb 0x410327
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], ax
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0xf8], esi
jb 0x410358
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x48]
xor edx, edx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xfc], edi
mov word [ebp - 0x10c], dx
cmp dword [ebp - 0x34], esi
jae 0x410378
lea eax, [ebp - 0x48]
mov ebx, dword [sym.imp.MSVCR100.dll__waccess_s]
push 4
push eax
call ebx
add esp, 8
test eax, eax
jne 0x4103f7
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x114]
push edi
push eax
or eax, 0xffffffff
call fcn.004018f0
cmp dword [ebp - 0x18], esi
jb 0x4103af
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov ebx, 7
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x34], esi
jb 0x4103d2
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x50], esi
jb 0x4103f0
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x410498
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x410402
lea eax, [ebp - 0x2c]
push 4
push eax
call ebx
add esp, 8
test eax, eax
jne 0x410416
lea eax, [ebp - 0x2c]
jmp 0x41038d
push 0x425d34
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov ebx, eax
cmp ebx, edi
je 0x410443
push edi
push edi
push edi
push edi
push edi
push 0xc0000003
push edi
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
cmp dword [ebp - 0x18], esi
jb 0x410455
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov ebx, 7
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x410478
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], esi
jb 0x410496
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
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.0041d5b4
mov esp, ebp
pop ebp
ret 4