Function at 0x41666f
Capabilities:
Schedule task via itaskservice

Disassembly:
push 0xac
mov eax, 0x436d50
call fcn.0041c590
mov dword [ebp - 0x40], ecx
xor ecx, ecx
mov byte [ebp - 0xd], cl
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 4], ecx
push eax
push 0x43eda8
push 1
push ecx
push 0x43efb8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
test eax, eax
js 0x41680a
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0x58]
lea edi, [ebp - 0x88]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x78]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x98]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x68]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0x68]
lea edi, [ebp - 0xa8]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xb8]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 4
lea esi, [ebp - 0x88]
sub esp, 0x10
mov eax, dword [ebp - 0x34]
mov edi, esp
sub esp, 0x10
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x98]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xa8]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xb8]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebx], eax
lea eax, [ebp - 0xb8]
push eax
call esi
lea eax, [ebp - 0x68]
push eax
call esi
lea eax, [ebp - 0x78]
push eax
call esi
lea eax, [ebp - 0x58]
push eax
call esi
cmp dword [ebx], 0
jl 0x41680a
and dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x1c]
mov esi, dword [ebp - 0x34]
push 0x43f868
call fcn.00416466
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
je 0x41679d
mov ecx, dword [eax]
jmp 0x41679f
xor ecx, ecx
mov eax, dword [esi]
lea edx, [ebp - 0x18]
push edx
push ecx
push esi
call dword [eax + 0x1c]
mov byte [ebp - 4], 5
mov esi, dword [ebp + 0x1c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], eax
test esi, esi
je 0x4167f4
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4167f4
test esi, esi
je 0x4167f4
cmp dword [esi], eax
je 0x4167da
push dword [esi]
call edi
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x4167ed
push dword [esi + 4]
call fcn.00419a2f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.00419231
pop ecx
cmp dword [ebx], 0
jge 0x416828
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41680a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov bl, byte [ebp - 0xd]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x41681e
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
call fcn.0041c55e
ret 0x18
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
cmp dword [eax + 0x14], 8
jb 0x416836
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00416466
mov byte [ebp - 4], 7
mov ecx, dword [eax]
test ecx, ecx
je 0x41684d
mov ecx, dword [ecx]
jmp 0x41684f
xor ecx, ecx
mov eax, dword [esi]
push 0
push ecx
push esi
call dword [eax + 0x3c]
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x416896
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x416896
test esi, esi
je 0x416896
cmp dword [esi], eax
je 0x41687c
push dword [esi]
call edi
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x41688f
push dword [esi + 4]
call fcn.00419a2f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.00419231
pop ecx
and dword [ebp - 0x14], 0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x34]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov dword [ebx], eax
test eax, eax
jns 0x4168cd
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4167f9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4167f9
and dword [ebp - 0x1c], 0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov dword [ebx], eax
test eax, eax
jns 0x4168fb
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4168b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4168b3
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 8
jb 0x416909
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00416466
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
test ecx, ecx
je 0x416920
mov ecx, dword [ecx]
jmp 0x416922
xor ecx, ecx
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x28]
mov byte [ebp - 4], 9
mov esi, dword [ebp + 0x1c]
mov dword [ebx], eax
test esi, esi
je 0x41696d
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41696d
test esi, esi
je 0x41696d
cmp dword [esi], eax
je 0x416953
push dword [esi]
call edi
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x416966
push dword [esi + 4]
call fcn.00419a2f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.00419231
pop ecx
cmp dword [ebx], 0
jl 0x4168e8
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x38]
and dword [ebp - 0x38], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push str.Principal
lea ecx, [ebp + 0x1c]
mov dword [ebx], eax
call fcn.00416466
mov byte [ebp - 4], 0xb
mov edx, dword [eax]
test edx, edx
je 0x4169a4
mov edx, dword [edx]
jmp 0x4169a6
xor edx, edx
mov eax, dword [ebp - 0x38]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov byte [ebp - 4], 9
mov esi, dword [ebp + 0x1c]
mov dword [ebx], eax
test esi, esi
je 0x4169f4
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4169f4
test esi, esi
je 0x4169f4
cmp dword [esi], eax
je 0x4169da
push dword [esi]
call edi
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x4169ed
push dword [esi + 4]
call fcn.00419a2f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.00419231
pop ecx
cmp byte [ebp + 0x18], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
je 0x416a03
push 1
jmp 0x416a05
push 0
push eax
call dword [ecx + 0x48]
push dword [ebp - 0x38]
mov dword [ebx], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
and dword [ebp - 0x20], 0
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov dword [ebx], eax
test eax, eax
jns 0x416a4c
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4168e8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4168e8
mov eax, dword [ebp - 0x20]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov dword [ebx], eax
test eax, eax
js 0x416a32
mov eax, dword [ebp - 0x20]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov dword [ebx], eax
mov eax, dword [ebp - 0x20]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
and dword [ebp - 0x24], 0
mov dword [ebx], eax
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov dword [ebx], eax
test eax, eax
jns 0x416aa5
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x416a32
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x416a32
and dword [ebp + 0x18], 0
mov byte [ebp - 4], 0x15
lea edx, [ebp + 0x18]
mov eax, dword [ebp - 0x24]
push edx
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dword [ebx], eax
test eax, eax
jns 0x416ad5
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x416a92
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x416a92
and dword [ebp + 0x1c], 0
mov byte [ebp - 4], 0x16
lea edx, [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push edx
push 0x43eee8
push eax
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebx], eax
test eax, eax
jns 0x416b07
mov byte [ebp - 4], 0x15
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x416ac2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x416ac2
mov esi, dword [ebp + 0x1c]
lea ecx, [ebp - 0x44]
push str.TriggerLogonApp
call fcn.00416466
mov byte [ebp - 4], 0x17
mov ecx, dword [eax]
test ecx, ecx
je 0x416b25
mov ecx, dword [ecx]
jmp 0x416b27
xor ecx, ecx
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x24]
mov esi, dword [ebp - 0x44]
mov dword [ebx], eax
test esi, esi
je 0x416b6e
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x416b6e
test esi, esi
je 0x416b6e
cmp dword [esi], eax
je 0x416b54
push dword [esi]
call edi
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x416b67
push dword [esi + 4]
call fcn.00419a2f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.00419231
pop ecx
mov byte [ebp - 4], 0x15
cmp dword [ebx], 0
mov eax, dword [ebp + 0x1c]
jl 0x416afb
test eax, eax
je 0x416b84
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x416b95
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x28], 0
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov dword [ebx], eax
test eax, eax
jns 0x416bbc
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x28]
jmp 0x416ac9
and dword [ebp - 0x30], 0
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x28]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov dword [ebx], eax
test eax, eax
jns 0x416bec
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x416bb0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x416bb0
and dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0x1a
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
push edx
push str.MbLk
push eax
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebx], eax
test eax, eax
jns 0x416c1e
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x416bd9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x416bd9
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x416c2c
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x18]
call fcn.00416466
mov byte [ebp - 4], 0x1b
mov ecx, dword [eax]
test ecx, ecx
je 0x416c43
mov ecx, dword [ecx]
jmp 0x416c45
xor ecx, ecx
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x2c]
mov byte [ebp - 4], 0x1a
mov esi, dword [ebp + 0x18]
mov dword [ebx], eax
test esi, esi
je 0x416c90
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x416c90
test esi, esi
je 0x416c90
cmp dword [esi], eax
je 0x416c76
push dword [esi]
call edi
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x416c89
push dword [esi + 4]
call fcn.00419a2f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.00419231
pop ecx
cmp dword [ebx], 0
jl 0x416c0b
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x416ca7
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x18]
call fcn.00416466
mov byte [ebp - 4], 0x1c
mov ecx, dword [eax]
test ecx, ecx
je 0x416cbe
mov ecx, dword [ecx]
jmp 0x416cc0
xor ecx, ecx
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x34]
mov esi, dword [ebp + 0x18]
mov dword [ebx], eax
test esi, esi
je 0x416d07
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x416d07
test esi, esi
je 0x416d07
cmp dword [esi], eax
je 0x416ced
push dword [esi]
call edi
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x416d00
push dword [esi + 4]
call fcn.00419a2f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.00419231
pop ecx
cmp dword [ebx], 0
jl 0x416c0b
and dword [ebp - 0x3c], 0
push 0x43f73c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1d
call fcn.00416520
mov esi, eax
lea edi, [ebp - 0xa8]
lea eax, [ebp - 0x58]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x40]
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 0x1f
lea edi, [ebp - 0x98]
movsd dword es:[edi], dword [esi]
add eax, 0x18
cmp dword [eax + 0x14], 8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jb 0x416d5a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x78]
call fcn.00416520
mov byte [ebp - 4], 0x20
lea edi, [ebp - 0x88]
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov dword [ebp + 0x1c], esi
jb 0x416d84
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x18]
call fcn.00416466
mov byte [ebp - 4], 0x21
mov eax, dword [eax]
test eax, eax
je 0x416d9b
mov ecx, dword [eax]
jmp 0x416d9d
xor ecx, ecx
mov eax, dword [esi]
lea edx, [ebp - 0x3c]
push edx
sub esp, 0x10
lea esi, [ebp - 0xa8]
mov edi, esp
push 3
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x98]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x88]
push 6
push dword [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push ecx
push dword [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x44]
mov esi, dword [ebp + 0x18]
mov dword [ebx], eax
test esi, esi
je 0x416e26
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x416e22
test esi, esi
je 0x416e22
cmp dword [esi], eax
je 0x416e08
push dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x416e1b
push dword [esi + 4]
call fcn.00419a2f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.00419231
pop ecx
and dword [ebp + 0x18], 0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x78]
push eax
call esi
lea eax, [ebp - 0x58]
push eax
call esi
lea eax, [ebp - 0x68]
push eax
call esi
mov byte [ebp - 4], 0x1a
cmp dword [ebx], 0
mov eax, dword [ebp - 0x3c]
jge 0x416e5d
test eax, eax
je 0x416c0b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x416c0b
mov bl, 1
test eax, eax
je 0x416e69
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x416e7a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x416e8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x416e9c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x416ead
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x416ebe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416ecf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x416ee0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41680d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41680d