Function at 0x46ba60
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e735
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4c448c]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x68], edx
cmp byte [0x4c7dca], bl
jne 0x46baa9
call fcn.0042de30
cmp byte [0x4c7dcb], bl
je 0x46bb17
cmp byte [0x4c7dca], bl
jne 0x46babe
call fcn.0042de30
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c41fc
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x28]
push eax
push 0x4a88f4
push 1
push ebx
mov dword [ebp - 4], ebx
push 0x4a8b04
mov dword [ebp - 0x28], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x46bb1e
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bb17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x46c29b
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x88]
push ecx
call edi
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x88]
mov dword [ebp - 0xc4], edx
lea edx, [ebp - 0x98]
push edx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
call edi
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0xa8]
push ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
call edi
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0xb8]
push eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
call edi
mov byte [ebp - 4], 4
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0xc4]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0xc0]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0xbc]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x4c]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x48]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x44]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x60]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x5c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x58]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0xb8]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0xb4]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0xb0]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0xac]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x28]
push ecx
call eax
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0xb8]
push ecx
mov esi, eax
call edi
lea edx, [ebp - 0xa8]
push edx
call edi
lea eax, [ebp - 0x98]
push eax
call edi
lea ecx, [ebp - 0x88]
push ecx
mov byte [ebp - 4], bl
call edi
cmp esi, ebx
jge 0x46bc95
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
jmp 0x46bafe
lea ecx, [ebp - 0x20]
push ecx
mov edi, 0x4b2220
mov dword [ebp - 0x1c], ebx
call fcn.0046a9c0
mov byte [ebp - 4], 5
mov eax, dword [eax]
cmp eax, ebx
je 0x46bcb4
mov ecx, dword [eax]
jmp 0x46bcb6
xor ecx, ecx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
lea esi, [ebp - 0x1c]
push esi
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
lea edi, [ebp - 0x20]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0046aa60
cmp esi, ebx
jge 0x46bcf1
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x18]
call fcn.00401ea0
xor al, al
jmp 0x46c29b
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push eax
call fcn.0046a9c0
mov byte [ebp - 4], 6
mov eax, dword [eax]
cmp eax, ebx
je 0x46bd0b
mov ecx, dword [eax]
jmp 0x46bd0d
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x3c]
call eax
lea edi, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0046aa60
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push ebx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov esi, eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x46bd4e
mov eax, dword [ebp - 0x1c]
jmp 0x46bcda
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x54], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
js 0x46bfc0
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push str.Bitsum
push eax
call edx
mov esi, eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jl 0x46bfc0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
js 0x46bfc0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x58]
push 1
push eax
call edx
cmp eax, ebx
jl 0x46bfc0
lea eax, [ebp - 0x20]
push eax
mov edi, str.PT0S
call fcn.0046a9c0
mov byte [ebp - 4], 7
mov eax, dword [eax]
cmp eax, ebx
je 0x46bdd8
mov ecx, dword [eax]
jmp 0x46bdda
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x70]
call eax
lea edi, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0046aa60
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push ebx
push eax
call edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push ebx
push eax
call edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
push ebx
push eax
call edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
cmp eax, ebx
jl 0x46bfc0
lea eax, [ebp - 0x20]
push eax
mov edi, str.Principal1
call fcn.0046a9c0
mov byte [ebp - 4], 8
mov eax, dword [eax]
cmp eax, ebx
je 0x46be56
mov ecx, dword [eax]
jmp 0x46be58
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x20]
call eax
lea edi, [ebp - 0x20]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0046aa60
cmp esi, ebx
jge 0x46be83
push esi
push str._nCannot_put_the_principal_ID:__x
call fcn.00475dbf
add esp, 8
lea ecx, [ebp - 0x20]
push ecx
mov edi, str.Principal1
call fcn.0046a9c0
mov byte [ebp - 4], 9
mov eax, dword [eax]
cmp eax, ebx
je 0x46be9f
mov eax, dword [eax]
jmp 0x46bea1
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
push ecx
call eax
lea edi, [ebp - 0x20]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0046aa60
cmp esi, ebx
jge 0x46becc
push esi
push str._nCannot_put_the_principal_ID:__x
call fcn.00475dbf
add esp, 8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
push 3
push eax
call edx
cmp eax, ebx
jge 0x46beeb
push eax
push str._nCannot_put_principal_logon_type:__x
call fcn.00475dbf
add esp, 8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
xor edx, edx
cmp byte [ebp + 0xc], bl
setne dl
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
mov esi, eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jl 0x46bfc0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
js 0x46bfc0
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
push edx
mov dword [ebp - 0x70], ebx
mov ecx, dword [eax]
push 9
push eax
mov eax, dword [ecx + 0x28]
call eax
mov esi, eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jl 0x46bfc0
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], ebx
mov ecx, dword [eax]
push 0x4a89a4
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jl 0x46bfc0
lea eax, [ebp - 0x20]
push eax
mov edi, str.Trigger1
call fcn.0046a9c0
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
cmp eax, ebx
je 0x46bf96
mov ecx, dword [eax]
jmp 0x46bf98
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x24]
call eax
lea edi, [ebp - 0x20]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0046aa60
cmp esi, ebx
jge 0x46bfd3
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
jmp 0x46bcda
lea eax, [ebp - 0x20]
push eax
mov edi, str.PT0S
call fcn.0046a9c0
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
cmp eax, ebx
je 0x46bfef
mov ecx, dword [eax]
jmp 0x46bff1
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x34]
call eax
lea edi, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0046aa60
mov esi, dword [ebp - 0x68]
push esi
push str.._s
lea edi, [ebp - 0x18]
call fcn.004020e0
add esp, 8
mov edx, esi
call fcn.00402c40
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x68]
push ecx
call fcn.0046a9c0
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
cmp eax, ebx
je 0x46c03d
mov eax, dword [eax]
jmp 0x46c03f
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x5c]
push ecx
call eax
lea edi, [ebp - 0x68]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0046aa60
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jl 0x46bfc0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x40], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
test eax, eax
js 0x46bfc0
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x6c]
push edx
mov dword [ebp - 0x6c], ebx
mov ecx, dword [eax]
push ebx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov esi, eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jl 0x46bfc0
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], ebx
mov ecx, dword [eax]
push str.MbLk
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jl 0x46bfc0
mov edi, dword [ebp - 0x38]
lea eax, [ebp - 0x38]
push eax
call fcn.0046a9c0
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
cmp eax, ebx
je 0x46c0f2
mov ecx, dword [eax]
jmp 0x46c0f4
xor ecx, ecx
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
lea edi, [ebp - 0x38]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0046aa60
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jl 0x46bfc0
lea esi, [ebp - 0xb8]
mov dword [ebp - 0x78], ebx
call fcn.0046ac90
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x64], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x8c]
lea esi, [ebp - 0xa8]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
call fcn.0046acc0
mov edi, dword [ebp - 0x34]
mov byte [ebp - 4], 0x10
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov esi, dword [eax]
mov dword [ebp - 0x84], edx
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], edx
call fcn.0046a9c0
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
cmp eax, ebx
je 0x46c1bd
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
jmp 0x46c1c0
mov dword [ebp - 0x34], ebx
mov edi, dword [ebp - 0x64]
lea eax, [ebp - 0x78]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ebp - 0x60]
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x5c]
mov dword [eax + 8], edi
mov edi, dword [ebp - 0x58]
mov dword [eax + 0xc], edi
mov edi, dword [ebp - 0x50]
push 4
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x48]
mov edx, dword [ecx]
mov dword [eax + 8], edi
mov edi, dword [ebp - 0x44]
mov dword [eax + 0xc], edi
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x84]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x80]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x7c]
mov dword [eax + 0xc], esi
mov eax, dword [ebp - 0x14]
push 6
push eax
mov eax, dword [ebp - 0x34]
push eax
push ecx
mov ecx, dword [edx + 0x44]
call ecx
lea edi, [ebp - 0x38]
mov esi, eax
call fcn.0046aa60
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0xa8]
push edx
call edi
lea eax, [ebp - 0x98]
push eax
call edi
lea ecx, [ebp - 0xb8]
push ecx
mov byte [ebp - 4], bl
call edi
mov eax, dword [ebp - 0x1c]
push eax
cmp esi, ebx
jge 0x46c274
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x14]
jmp 0x46bcda
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x18]
call fcn.00401ea0
mov al, 1
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.00474985
mov esp, ebp
pop ebp
ret 8