Function at 0x4113f0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420fe7
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x42e00c]
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 edi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x42eac8]
cmp eax, dword [ecx + 4]
jle 0x411485
push 0x42eac8
call fcn.0041e8f4
add esp, 4
cmp dword [0x42eac8], 0xffffffff
jne 0x411485
call fcn.00412d10
push 0x421e30
call fcn.0041ec5e
push 0x42eac8
call fcn.0041e8b5
add esp, 8
push 0xffffffffffffffff
push dword [0x42ea60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push 0
push 0x42ea68
lea ecx, [ebp - 0x88]
call fcn.00406de0
push dword [0x42ea60]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, 0x42ece4
lea ecx, [ebp - 0xa0]
call fcn.00401ef0
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push 0xe
xor eax, eax
mov dword [ebp - 0x48], 0
push str._SpoolerApplet
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00406190
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xb8]
call fcn.00407520
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00407580
add esp, 8
mov eax, dword [ebp - 0xa4]
cmp eax, 8
jb 0x41152f
inc eax
push eax
push dword [ebp - 0xb8]
call fcn.004025b0
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41155e
inc eax
push eax
push dword [ebp - 0x58]
call fcn.004025b0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x41158e
inc eax
push eax
push dword [ebp - 0xa0]
call fcn.004025b0
xor eax, eax
mov dword [ebp - 0x90], 0
mov edx, 0x42ecb4
mov dword [ebp - 0x8c], 7
lea ecx, [ebp - 0xe8]
mov word [ebp - 0xa0], ax
call fcn.00401ef0
mov esi, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
push 0xe
xor eax, eax
mov dword [ebp - 0x60], 0
push str._SpoolerApplet
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00406190
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xd0]
call fcn.00407520
push esi
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.00407580
add esp, 8
mov eax, dword [ebp - 0xbc]
cmp eax, 8
jb 0x411627
inc eax
push eax
push dword [ebp - 0xd0]
call fcn.004025b0
xor eax, eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x411656
inc eax
push eax
push dword [ebp - 0x70]
call fcn.004025b0
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xd4]
cmp eax, 8
jb 0x411686
inc eax
push eax
push dword [ebp - 0xe8]
call fcn.004025b0
mov esi, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess_s]
xor eax, eax
cmp dword [ebp - 0x14], 8
mov word [ebp - 0xe8], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 4
push eax
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
call esi
add esp, 8
test eax, eax
jne 0x4116dd
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x4116d3
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00406de0
mov byte [ebx], 0
mov bl, 1
jmp 0x411773
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 4
cmovae eax, dword [ebp - 0x40]
push eax
call esi
add esp, 8
test eax, eax
jne 0x41170e
lea eax, [ebp - 0x40]
cmp edi, eax
je 0x411707
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00406de0
mov byte [ebx], 1
mov bl, 1
jmp 0x411773
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xa0]
call fcn.00401f90
cmp dword [eax + 0x14], 0x10
jb 0x411724
mov eax, dword [eax]
push eax
push str.EventManager_error:_Spooler_Applet_file_wasnt_found__or_no_read_access_at:__s_n
call fcn.00401aa0
add esp, 8
lea ecx, [ebp - 0xa0]
call fcn.00402470
push str.IntelDalJhi
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x411771
push 0
push 0
push 0
push 0
push 0
push 0xc0000003
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
xor bl, bl
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x411785
inc eax
push eax
push dword [ebp - 0x40]
call fcn.004025b0
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 7
cmp eax, 8
jb 0x4117ab
inc eax
push eax
push dword [ebp - 0x28]
call fcn.004025b0
mov ecx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x4117d4
inc ecx
push ecx
push dword [ebp - 0x88]
call fcn.004025b0
mov al, bl
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.0041e725
mov esp, ebp
pop ebp
ret 8