Function at 0x10047d20
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d8d9
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x100c230c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.100614b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], str.ntfs
mov dword [ebp - 0x3c], 0x37
lea edx, [ebp - 0x6c]
push edx
lea edi, [ebp - 0x40]
call fcn.100485a0
mov byte [ebp - 4], 1
lea ebx, [ebp - 0x6c]
lea edi, [ebp - 0x84]
call fcn.10048050
mov byte [ebp - 4], 0
mov eax, ebx
push eax
call fcn.10004b90
mov esi, str.disk
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 7
lea ecx, [ebp - 0x6c]
push ecx
lea edi, [ebp - 0x40]
call fcn.100485a0
mov byte [ebp - 4], 2
lea ebx, [ebp - 0x6c]
lea edi, [ebp - 0x84]
call fcn.10048050
mov byte [ebp - 4], 0
mov edx, ebx
push edx
call fcn.10004b90
mov dword [ebp - 0x40], str.atapi
mov dword [ebp - 0x3c], 9
lea eax, [ebp - 0x6c]
push eax
lea edi, [ebp - 0x40]
call fcn.100485a0
mov byte [ebp - 4], 3
lea ebx, [ebp - 0x6c]
lea edi, [ebp - 0x84]
call fcn.10048050
mov byte [ebp - 4], 0
mov ecx, ebx
push ecx
call fcn.10004b90
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 0x34
lea edx, [ebp - 0x6c]
push edx
lea edi, [ebp - 0x40]
call fcn.100485a0
mov byte [ebp - 4], 4
lea ebx, [ebp - 0x6c]
lea edi, [ebp - 0x84]
call fcn.10048050
mov byte [ebp - 4], 0
mov eax, ebx
push eax
call fcn.10004b90
mov dword [ebp - 0x40], esi
mov ebx, 5
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x6c]
push ecx
lea edi, [ebp - 0x40]
call fcn.100485a0
mov byte [ebp - 4], bl
lea ebx, [ebp - 0x6c]
lea edi, [ebp - 0x84]
call fcn.10048050
xor ebx, ebx
mov byte [ebp - 4], bl
lea edx, [ebp - 0x6c]
push edx
call fcn.10004b90
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x38]
push eax
call fcn.100480c0
mov byte [ebp - 4], 6
push str.System
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
cmp eax, ebx
je 0x10047eb5
lea ecx, [ebp - 0x3c]
push ecx
mov edx, edi
push edx
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.10047960
add esp, 8
cmp eax, ebx
jne 0x10047ebd
mov byte [ebp - 4], bl
jmp 0x10047fa8
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x10047ec9
lea eax, [ebp - 0x34]
push eax
push 0x100ad2e8
mov edi, dword [ebp - 0x48]
call fcn.1000ffc0
mov edx, dword [ebp - 0x1c]
push edx
push 0x100a7748
call fcn.1000ffc0
add esp, 0x10
mov byte [ebp - 4], 7
wait
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 0x3c]
lea esi, [ebp - 0x9c]
call fcn.100476f0
fldz
fstp qword [ebp - 0x90]
mov dword [ebp - 0x88], ebx
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x90]
call fcn.10047780
mov ecx, esi
push ecx
lea esi, [ebp - 0x44]
lea eax, [ebp - 0x90]
call fcn.100477e0
mov ecx, esi
call fcn.100476b0
fcomp qword [0x100b0a70]
fnstsw ax
test ah, 0x41
jne 0x10047f70
mov byte [ebp - 4], bl
lea edx, [ebp - 0x38]
push edx
call fcn.10004b90
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x84]
push eax
call fcn.10047ff0
xor eax, eax
wait
jmp 0x10047fc6
wait
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x38]
push ecx
call fcn.10004b90
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x84]
push edx
call fcn.10047ff0
mov eax, 1
jmp 0x10047fc6
lea eax, [ebp - 0x38]
push eax
call fcn.10004b90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
push ecx
call fcn.10047ff0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100755ed
mov esp, ebp
pop ebp
ret