Function at 0x41cad0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4517b0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x46b070]
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 dword [ebp - 0x30], ecx
mov esi, dword [ecx + 8]
xor bh, bh
cmp dword [esi + 0x3c], 0
lea edi, [esi + 0x3c]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x29], bh
mov dword [ebp - 0x48], edi
jne 0x41cb45
mov ecx, str.IJPLMPRT.DLL
xor bl, bl
call fcn.00401160
mov dword [edi], eax
test eax, eax
je 0x41cb40
push eax
lea ecx, [edi + 4]
call fcn.00416a10
mov bl, al
test bl, bl
jne 0x41cb40
mov ecx, edi
call fcn.00418000
mov ecx, dword [ebp - 0x30]
mov byte [esi], bl
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov edi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x41cd9f
nop word [eax + eax]
mov ebx, dword [ecx]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], eax
test ebx, ebx
je 0x41cb9f
mov ebx, dword [ebx + 0x418]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41cd84
push dword [esi]
mov ecx, dword [ebp - 0x54]
call fcn.00424bc0
test eax, eax
jne 0x41cbc8
mov eax, dword [esi]
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x41cbbe
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
jmp 0x41cd68
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x41cbdf
mov ecx, dword [eax]
jmp 0x41cbe1
mov ecx, eax
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0041f680
mov ebx, dword [ebp - 0x44]
test ebx, ebx
jne 0x41cc14
push 0x4625c4
lea ecx, [ebp - 0x40]
call fcn.0040f770
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
sub eax, ebx
sar eax, 1
je 0x41cd7a
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x41cd4a
test ebx, ebx
jne 0x41cc47
push 0x4625c4
lea ecx, [ebp - 0x40]
call fcn.0040f770
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
sub eax, ebx
sar eax, 1
je 0x41cd7a
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], ebx
push ebx
push dword [eax]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 8]
call eax
mov ebx, eax
add esp, 8
mov dword [ebp - 0x60], ebx
test ebx, ebx
je 0x41cd4d
cmp ebx, 0xffffffff
je 0x41cd4d
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
test eax, eax
je 0x41cc8f
push 0
push 0
push 0
push 0
push 0
push 0x400003f2
push 0
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
test eax, eax
je 0x41cd2e
mov dword [ebp - 0x50], 0
push ebx
push eax
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 2
mov eax, dword [eax + 0x10]
call eax
add esp, 8
mov dword [ebp - 0x50], eax
test eax, eax
je 0x41cd27
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push dword [esi]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040cc40
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0041f230
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041f1d0
push dword [ebp - 0x50]
lea ecx, [ebp - 0x44]
call fcn.0041dc60
push eax
mov eax, dword [ebp - 0x30]
push dword [eax]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0xc]
call eax
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.0040da30
mov eax, dword [ebp - 0x50]
cmp eax, 0xffffffff
je 0x41cd27
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x50], 0
mov eax, dword [esi]
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x41cd3f
mov eax, dword [eax]
xor ecx, ecx
mov byte [ebp - 0x29], 1
mov word [eax], cx
jmp 0x41cd4d
mov ebx, dword [ebp - 0x60]
mov byte [ebp - 4], 0
test ebx, ebx
je 0x41cd61
cmp ebx, 0xffffffff
je 0x41cd61
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x60], 0
add esi, 8
cmp esi, edi
je 0x41cd84
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
jmp 0x41cb70
push str.invalid_vector_T__subscript
call fcn.004313e7
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x41cd9c
mov ecx, dword [ebp - 0x38]
sub ecx, edx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0040d960
mov bh, byte [ebp - 0x29]
mov al, bh
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.004330a2
mov esp, ebp
pop ebp
ret 8