Function at 0x412150
Capabilities:
Access the windows event log
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x461008]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, edx
mov esi, ecx
mov ecx, dword [ebp + 8]
or edi, 0xffffffff
push eax
push esi
push str.CheckForUpdateComplete__d_____ws_r_n
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00416f00
add esp, 0xc
push 0x4636dc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4636d4]
test eax, eax
je 0x4121bb
push 0
push eax
push dword [0x4636d8]
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
mov dword [0x4636d4], 0
mov ebx, 0x1b77400
cmp esi, 0xffffffff
jne 0x4121fa
push 3
lea eax, [esp + 0x74]
mov ebx, 0x2bf20
push str._d_minutes
push eax
call fcn.00403e90
add esp, 0xc
lea eax, [esp + 0x70]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0
push eax
push 0
push 1
push 0
push 0xd6
jmp 0x412229
test esi, esi
jne 0x41225d
push 8
lea eax, [esp + 0x74]
push str._d_hours
push eax
call fcn.00403e90
add esp, 0xc
lea eax, [esp + 0x70]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push esi
push eax
push esi
push 1
push esi
push 0xd3
push 1
push 2
push dword [0x463664]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x412256
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReportEvent
push 0x4566ac
call fcn.00416f00
add esp, 0xc
xor edi, edi
jmp 0x4123bf
cmp esi, 1
jne 0x4123bf
mov esi, dword [esp + 0x10]
lea edx, [esp + 0xf]
mov ecx, esi
mov byte [esp + 0xf], 0
call fcn.00404ed0
test al, al
je 0x41228c
cmp byte [esp + 0xf], 0
jne 0x4122c9
mov edi, 0xfffffffe
jmp 0x412296
or edi, 0xffffffff
cmp byte [esp + 0xf], 0
jne 0x4122c9
push 8
lea eax, [esp + 0x74]
push str._d_hours
push eax
call fcn.00403e90
add esp, 0xc
lea eax, [esp + 0x70]
mov edx, 1
push eax
push 0xd7
lea ecx, [edx + 1]
call fcn.004046f0
add esp, 8
jmp 0x4123bf
push 0x40
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0043cf50
add esp, 0xc
mov dword [esp + 0x18], 0
xor eax, eax
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push esi
push str.__s___upgrade__quiet
mov dword [esp + 0x2c], eax
call fcn.00414e90
add esp, 8
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x412378
push 8
lea eax, [esp + 0x74]
push str._d_hours
push eax
call fcn.00403e90
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0xb4]
push str.CreateProcess___returned__d
push eax
call fcn.00412570
add esp, 0xc
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x74]
push eax
push ecx
call fcn.00404760
add esp, 0xc
or edi, 0xffffffff
jmp 0x4123b3
mov ecx, dword [esp + 0x14]
mov edi, 1
mov eax, dword [esp + 0x20]
mov edx, edi
push esi
push 0xd2
mov dword [ecx], eax
lea ecx, [edi + 3]
mov byte [0x46368d], 1
call fcn.004046f0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push dword [esp + 0x1c]
call esi
push dword [esp + 0x18]
call esi
push dword [esp + 0x10]
call fcn.004323fa
add esp, 4
push 0
push 0
push ebx
push 0
push 0x412030
push dword [0x4636d8]
push 0x4636d4
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
push 0x4636dc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x134]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043183b
mov esp, ebp
pop ebp
ret