Function at 0x418add
Capabilities:
Schedule task via itaskservice

Disassembly:
push 0xac
mov eax, 0x43a3b0
call fcn.0041f530
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 0x441db8
push 1
push ecx
push 0x441fc8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
test eax, eax
js 0x418c78
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 0x418c78
and dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x1c]
mov esi, dword [ebp - 0x34]
push 0x4429b8
call fcn.004188d4
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
je 0x418c0b
mov ecx, dword [eax]
jmp 0x418c0d
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 0x418c62
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x418c62
test esi, esi
je 0x418c62
cmp dword [esi], eax
je 0x418c48
push dword [esi]
call edi
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x418c5b
push dword [esi + 4]
call fcn.0041c95f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.0041c164
pop ecx
cmp dword [ebx], 0
jge 0x418c96
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x418c78
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 0x418c8c
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
call fcn.0041f4fe
ret 0x18
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
cmp dword [eax + 0x14], 8
jb 0x418ca4
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004188d4
mov byte [ebp - 4], 7
mov ecx, dword [eax]
test ecx, ecx
je 0x418cbb
mov ecx, dword [ecx]
jmp 0x418cbd
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 0x418d04
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x418d04
test esi, esi
je 0x418d04
cmp dword [esi], eax
je 0x418cea
push dword [esi]
call edi
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x418cfd
push dword [esi + 4]
call fcn.0041c95f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.0041c164
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 0x418d3b
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x418c67
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x418c67
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 0x418d69
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x418d21
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x418d21
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 8
jb 0x418d77
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004188d4
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
test ecx, ecx
je 0x418d8e
mov ecx, dword [ecx]
jmp 0x418d90
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 0x418ddb
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x418ddb
test esi, esi
je 0x418ddb
cmp dword [esi], eax
je 0x418dc1
push dword [esi]
call edi
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x418dd4
push dword [esi + 4]
call fcn.0041c95f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.0041c164
pop ecx
cmp dword [ebx], 0
jl 0x418d56
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.004188d4
mov byte [ebp - 4], 0xb
mov edx, dword [eax]
test edx, edx
je 0x418e12
mov edx, dword [edx]
jmp 0x418e14
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 0x418e62
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x418e62
test esi, esi
je 0x418e62
cmp dword [esi], eax
je 0x418e48
push dword [esi]
call edi
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x418e5b
push dword [esi + 4]
call fcn.0041c95f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.0041c164
pop ecx
cmp byte [ebp + 0x18], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
je 0x418e71
push 1
jmp 0x418e73
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 0x418eba
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x418d56
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x418d56
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 0x418ea0
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 0x418f13
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x418ea0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x418ea0
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 0x418f43
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x418f00
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x418f00
and dword [ebp + 0x1c], 0
mov byte [ebp - 4], 0x16
lea edx, [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push edx
push 0x441ef8
push eax
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebx], eax
test eax, eax
jns 0x418f75
mov byte [ebp - 4], 0x15
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x418f30
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x418f30
mov esi, dword [ebp + 0x1c]
lea ecx, [ebp - 0x44]
push str.TriggerLogonApp
call fcn.004188d4
mov byte [ebp - 4], 0x17
mov ecx, dword [eax]
test ecx, ecx
je 0x418f93
mov ecx, dword [ecx]
jmp 0x418f95
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 0x418fdc
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x418fdc
test esi, esi
je 0x418fdc
cmp dword [esi], eax
je 0x418fc2
push dword [esi]
call edi
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x418fd5
push dword [esi + 4]
call fcn.0041c95f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.0041c164
pop ecx
mov byte [ebp - 4], 0x15
cmp dword [ebx], 0
mov eax, dword [ebp + 0x1c]
jl 0x418f69
test eax, eax
je 0x418ff2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x419003
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 0x41902a
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x28]
jmp 0x418f37
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 0x41905a
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x41901e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41901e
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 0x41908c
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x419047
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x419047
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x41909a
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x18]
call fcn.004188d4
mov byte [ebp - 4], 0x1b
mov ecx, dword [eax]
test ecx, ecx
je 0x4190b1
mov ecx, dword [ecx]
jmp 0x4190b3
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 0x4190fe
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4190fe
test esi, esi
je 0x4190fe
cmp dword [esi], eax
je 0x4190e4
push dword [esi]
call edi
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x4190f7
push dword [esi + 4]
call fcn.0041c95f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.0041c164
pop ecx
cmp dword [ebx], 0
jl 0x419079
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x419115
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x18]
call fcn.004188d4
mov byte [ebp - 4], 0x1c
mov ecx, dword [eax]
test ecx, ecx
je 0x41912c
mov ecx, dword [ecx]
jmp 0x41912e
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 0x419175
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x419175
test esi, esi
je 0x419175
cmp dword [esi], eax
je 0x41915b
push dword [esi]
call edi
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x41916e
push dword [esi + 4]
call fcn.0041c95f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.0041c164
pop ecx
cmp dword [ebx], 0
jl 0x419079
and dword [ebp - 0x3c], 0
push 0x44288c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1d
call fcn.0041898e
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 0x4191c8
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x78]
call fcn.0041898e
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 0x4191f2
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x18]
call fcn.004188d4
mov byte [ebp - 4], 0x21
mov eax, dword [eax]
test eax, eax
je 0x419209
mov ecx, dword [eax]
jmp 0x41920b
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 0x419294
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x419290
test esi, esi
je 0x419290
cmp dword [esi], eax
je 0x419276
push dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [esi], 0
cmp dword [esi + 4], 0
je 0x419289
push dword [esi + 4]
call fcn.0041c95f
and dword [esi + 4], 0
pop ecx
push esi
call fcn.0041c164
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 0x4192cb
test eax, eax
je 0x419079
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x419079
mov bl, 1
test eax, eax
je 0x4192d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4192e8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4192f9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x41930a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41931b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41932c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41933d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41934e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x418c7b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x418c7b