Function at 0x481581
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push 0xe8
mov eax, 0x4b9bf7
call fcn.004935fb
mov ebx, dword [ebp + 8]
xor edi, edi
mov esi, ecx
cmp dword [ebx + 0x10], edi
jne 0x4815a6
mov eax, 0x80004005
jmp 0x4816a6
mov dword [ebp - 0xc0], edi
lea eax, [ebp - 0xc0]
push eax
push 0x4d6a98
push 1
push edi
push 0x4d6ab8
mov dword [ebp - 4], edi
mov dword [ebp - 0xbc], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xb0], eax
cmp eax, edi
jl 0x481677
and dword [ebp - 0xa8], 0
cmp dword [ebx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x4815f2
mov ecx, dword [ebx]
jmp 0x4815f4
mov ecx, ebx
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax]
lea edi, [ebp - 0xa8]
push edi
mov edi, 0x4d6a88
push edi
push ecx
push eax
call dword [edx + 0x18]
test eax, eax
js 0x481704
and dword [ebp - 0xc4], 0
cmp dword [ebp + 0xc], 0
je 0x4816ee
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
lea edx, [ebp - 0xb4]
push edx
push edi
push eax
mov byte [ebp - 4], 3
call dword [ecx]
mov dword [ebp - 0xb0], eax
test eax, eax
mov eax, dword [ebp - 0xb4]
jns 0x4816ae
mov byte [ebp - 4], 2
test eax, eax
je 0x481663
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa8]
test eax, eax
mov byte [ebp - 4], 1
je 0x481677
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xbc], 0
je 0x48168c
push dword [ebp - 0xbc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0xc0]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4816a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xb0]
call fcn.00493657
ret 8
mov ecx, dword [eax]
lea edx, [ebp - 0xc4]
push edx
push eax
call dword [ecx + 0x40]
test eax, eax
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], 2
js 0x481659
test eax, eax
je 0x4816d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xc4], 0x41302
je 0x4816ee
mov dword [ebp - 0xb0], 0x80070050
jmp 0x481663
push ebx
mov ecx, esi
call fcn.0048064c
mov dword [ebp - 0xb0], eax
test eax, eax
js 0x481663
cmp dword [ebp - 0xa8], 0
je 0x48171b
push 0
lea eax, [ebp - 0xa8]
push eax
call fcn.0043fcd3
cmp dword [ebx + 0x14], 8
jb 0x481723
mov ebx, dword [ebx]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
lea edx, [ebp - 0xa8]
push edx
push edi
push 0x4d6aa8
push ebx
push eax
call dword [ecx + 0x20]
xor ebx, ebx
mov dword [ebp - 0xb0], eax
cmp eax, ebx
jge 0x481756
mov eax, dword [ebp - 0xa8]
cmp eax, ebx
jmp 0x48166b
mov dword [ebp - 0xac], ebx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
lea edx, [ebp - 0xac]
push edx
push edi
push eax
mov byte [ebp - 4], 4
call dword [ecx]
mov dword [ebp - 0xb0], eax
cmp eax, ebx
jge 0x481793
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x481749
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x481749
push 8
lea eax, [esi + 0x34]
pop edi
cmp dword [eax + 0x14], edi
jb 0x4817a0
mov eax, dword [eax]
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x80]
mov dword [ebp - 0xb0], eax
cmp eax, ebx
jl 0x48177d
cmp dword [esi + 0x60], ebx
je 0x4817e3
lea eax, [esi + 0x50]
cmp dword [eax + 0x14], edi
jb 0x4817c9
mov eax, dword [eax]
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x88]
mov dword [ebp - 0xb0], eax
cmp eax, ebx
jl 0x48177d
cmp dword [esi + 0x7c], ebx
je 0x481810
lea eax, [esi + 0x6c]
cmp dword [eax + 0x14], edi
jb 0x4817f2
mov eax, dword [eax]
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x90]
mov dword [ebp - 0xb0], eax
cmp eax, ebx
jl 0x48177d
cmp dword [esi + 0x98], ebx
je 0x481866
cmp dword [esi + 0x28], ebx
je 0x481866
xor edx, edx
cmp dword [esi + 0xb4], ebx
je 0x48183d
cmp dword [esi + 0xb8], edi
jb 0x481837
mov edx, dword [esi + 0xa4]
jmp 0x48183d
lea edx, [esi + 0xa4]
lea eax, [esi + 0x88]
cmp dword [eax + 0x14], edi
jb 0x48184a
mov eax, dword [eax]
mov ecx, dword [ebp - 0xac]
mov edi, dword [ecx]
push edx
push eax
push ecx
call dword [edi + 0x78]
mov dword [ebp - 0xb0], eax
cmp eax, ebx
jl 0x48177d
cmp dword [esi + 0xd0], ebx
je 0x481897
lea eax, [esi + 0xc0]
cmp dword [eax + 0x14], 8
jb 0x48187c
mov eax, dword [eax]
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x48]
mov dword [ebp - 0xb0], eax
cmp eax, ebx
jl 0x48177d
mov eax, dword [ebp - 0xac]
push dword [esi + 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
mov dword [ebp - 0xb0], eax
cmp eax, ebx
jl 0x48177d
cmp dword [esi + 0x30], ebx
jne 0x4818c4
xor eax, eax
cmp ax, word [esi]
je 0x481a02
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xb4], ebx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb4]
push edx
lea edx, [ebp - 0xc4]
push edx
push eax
mov byte [ebp - 4], 5
call dword [ecx + 0xc]
mov dword [ebp - 0xb0], eax
cmp eax, ebx
jge 0x481915
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x48177d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x48177d
push 0x30
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.00492b40
mov cx, word [esi + 8]
add esp, 0xc
mov word [ebp - 0x34], cx
mov cx, word [esi + 0xa]
push 0x30
pop eax
mov word [ebp - 0x32], cx
mov ecx, dword [esi + 0x20]
mov word [ebp - 0x44], ax
mov ax, word [esi]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 0x24]
mov word [ebp - 0x40], ax
mov ax, word [esi + 2]
mov dword [ebp - 0x30], ecx
movzx ecx, word [esi + 0x10]
mov word [ebp - 0x3e], ax
movzx eax, word [esi + 6]
xor edi, edi
xor edx, edx
inc edi
mov word [ebp - 0x3c], ax
cmp dx, cx
je 0x481983
mov word [ebp - 0x3a], cx
mov cx, word [esi + 0x12]
mov word [ebp - 0x38], cx
mov cx, word [esi + 0x16]
mov dword [ebp - 0x28], edi
mov word [ebp - 0x36], cx
mov ecx, dword [esi + 0x30]
dec ecx
je 0x4819cb
dec ecx
je 0x4819c0
dec ecx
je 0x4819ab
lea ecx, [eax - 1]
mov eax, edi
shl eax, cl
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x20], eax
mov eax, 0xfff
mov word [ebp - 0x1c], ax
jmp 0x4819ce
push esi
mov ecx, esi
mov dword [ebp - 0x24], 2
call fcn.004804f5
mov word [ebp - 0x1e], ax
jmp 0x4819c3
mov dword [ebp - 0x24], edi
mov eax, edi
mov word [ebp - 0x20], ax
jmp 0x4819ce
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0xb0], eax
cmp eax, ebx
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], 4
jl 0x481902
cmp eax, ebx
je 0x481a05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x481a05
xor edi, edi
inc edi
mov dword [ebp - 0xb8], ebx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb8]
push edx
push 0x4d6848
push eax
mov byte [ebp - 4], 6
call dword [ecx]
mov dword [ebp - 0xb0], eax
cmp eax, ebx
mov eax, dword [ebp - 0xb8]
jl 0x4818fe
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0xb0], eax
cmp eax, ebx
mov eax, dword [ebp - 0xb8]
jl 0x4818fe
mov ecx, dword [eax]
lea edx, [ebp - 0xbc]
push edx
push eax
call dword [ecx + 0x20]
mov esi, vtable.ATL::CAccessToken.0
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
lea ecx, [ebp - 0xa4]
call fcn.004806df
push edi
push ebx
push 8
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 8
call fcn.00480218
test al, al
jne 0x481ab2
push ebx
push 8
lea ecx, [ebp - 0xd4]
call fcn.004801db
jmp 0x481ab4
mov al, 1
test al, al
je 0x481b5b
push ebx
push edi
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00480e53
test al, al
je 0x481b5b
lea ecx, [ebp - 0xf4]
call fcn.00480f36
lea eax, [ebp - 0xf4]
push eax
push edi
push dword [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.00481518
add esp, 0xc
lea ecx, [ebp - 0xf4]
test al, al
jne 0x481b18
mov dword [ebp - 0xb0], 0x80004005
call fcn.004814f1
jmp 0x481b65
push ebx
push 0x1f01ff
lea eax, [ebp - 0xa4]
push eax
call fcn.004811b5
test al, al
je 0x481b49
push ebx
lea eax, [ebp - 0xf4]
push eax
push edi
push dword [ebp - 0xbc]
call fcn.00480298
add esp, 0x10
test al, al
jne 0x481b53
mov dword [ebp - 0xb0], 0x80004005
lea ecx, [ebp - 0xf4]
jmp 0x481b11
mov dword [ebp - 0xb0], 0x80004005
lea ecx, [ebp - 0xa4]
call fcn.00480722
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xd4], esi
call fcn.0048025a
mov eax, dword [ebp - 0xb8]
jmp 0x4818fe