Function at 0x41cab0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4517a0
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 0x41cb25
mov ecx, str.IJPLMPRT.DLL
xor bl, bl
call fcn.00401160
mov dword [edi], eax
test eax, eax
je 0x41cb20
push eax
lea ecx, [edi + 4]
call fcn.00416a10
mov bl, al
test bl, bl
jne 0x41cb20
mov ecx, edi
call fcn.00417fe0
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 0x41cd7f
nop word [eax + eax]
mov ebx, dword [ecx]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], eax
test ebx, ebx
je 0x41cb7f
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 0x41cd64
push dword [esi]
mov ecx, dword [ebp - 0x54]
call fcn.00424ba0
test eax, eax
jne 0x41cba8
mov eax, dword [esi]
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x41cb9e
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
jmp 0x41cd48
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x41cbbf
mov ecx, dword [eax]
jmp 0x41cbc1
mov ecx, eax
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0041f660
mov ebx, dword [ebp - 0x44]
test ebx, ebx
jne 0x41cbf4
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 0x41cd5a
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x41cd2a
test ebx, ebx
jne 0x41cc27
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 0x41cd5a
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 0x41cd2d
cmp ebx, 0xffffffff
je 0x41cd2d
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
test eax, eax
je 0x41cc6f
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 0x41cd0e
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 0x41cd07
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.0041f210
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041f1b0
push dword [ebp - 0x50]
lea ecx, [ebp - 0x44]
call fcn.0041dc40
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 0x41cd07
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 0x41cd1f
mov eax, dword [eax]
xor ecx, ecx
mov byte [ebp - 0x29], 1
mov word [eax], cx
jmp 0x41cd2d
mov ebx, dword [ebp - 0x60]
mov byte [ebp - 4], 0
test ebx, ebx
je 0x41cd41
cmp ebx, 0xffffffff
je 0x41cd41
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x60], 0
add esi, 8
cmp esi, edi
je 0x41cd64
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
jmp 0x41cb50
push str.invalid_vector_T__subscript
call fcn.004313d7
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x41cd7c
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.00433092
mov esp, ebp
pop ebp
ret 8