Function at 0x485d40
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov bl, byte [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x18
call fcn.005c8b59
add esp, 4
mov edi, eax
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], fcn.00486360
mov dword [eax + 8], esi
mov byte [eax + 0xc], bl
mov dword [eax + 0x10], ecx
mov dword [ebp - 0xc8], eax
mov dword [eax + 0x14], ecx
lea eax, [ebp - 0x18]
mov dword [eax], ecx
push eax
push 0x784488
push 1
push ecx
push 0x76d070
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov dword [ebp - 0xc4], edi
js 0x485eb4
mov esi, dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
call dword [0x8072c0]
sub esp, 0x44
movups xmm0, xmmword [0x7912b8]
movups xmmword [esp + 0x34], xmm0
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
call ecx
test eax, eax
js 0x485e72
lea eax, [ebp - 0x14]
mov dword [eax], 0
push eax
push str.taskschd.dll
push 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x485e08
mov esi, dword [ebp - 0x18]
jmp 0x485f3f
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x485e00
call fcn.00646ae0
mov ebx, 2
lea esi, [ebp - 0xc0]
mov ecx, esi
push eax
push ebx
push 0x76
push str.....chromeupdaterwin_task_scheduler.cc
call fcn.00646c90
lea eax, [ebp - 0xb8]
push 0xf
push str.Failed_to_pin_
push eax
call fcn.00535510
add esp, 0xc
push str.taskschd.dll
push eax
call fcn.00645040
add esp, 8
push ebx
push 0x784516
push eax
call fcn.00535510
add esp, 0xc
mov ecx, esi
call fcn.00646cf0
jmp 0x485e00
mov ebx, eax
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x485f1b
call fcn.00646ae0
lea esi, [ebp - 0xc0]
mov ecx, esi
push eax
push 2
push 0x35b
push str.....chromeupdaterwin_task_scheduler.cc
call fcn.00646c90
lea eax, [ebp - 0xb8]
push 0x23
push str.Failed_to_connect_to_task_service.
jmp 0x485ef0
mov ebx, eax
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x485f1b
call fcn.00646ae0
lea esi, [ebp - 0xc0]
mov ecx, esi
push eax
push 2
push 0x352
push str.....chromeupdaterwin_task_scheduler.cc
call fcn.00646c90
lea eax, [ebp - 0xb8]
push 0x2f
push str.CreateInstance_failed_for_CLSID_TaskScheduler.
push eax
call fcn.00535510
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + ecx + 4]
and edx, 0xffffffb5
or edx, 8
mov dword [eax + ecx + 4], edx
mov ecx, eax
push ebx
call fcn.00411270
mov ecx, esi
call fcn.00646cf0
mov edi, dword [ebp - 0x18]
xor esi, esi
test edi, edi
je 0x485f39
mov dword [ebp - 0x18], 0
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call dword [0x8072c0]
push edi
call ecx
mov edi, dword [ebp - 0xc4]
mov eax, edi
mov edi, dword [edi + 0x10]
mov dword [eax + 0x10], esi
test edi, edi
je 0x485f59
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call dword [0x8072c0]
push edi
call ecx
test esi, esi
je 0x486129
lea eax, [ebp - 0x14]
mov dword [eax], 0
lea ebx, [ebp - 0xc0]
mov ecx, ebx
push 1
push 0x780cf4
call fcn.004a6870
mov edi, dword [ebx]
mov eax, dword [esi]
mov ecx, dword [eax + 0x1c]
call dword [0x8072c0]
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call ecx
mov esi, eax
mov ecx, ebx
call fcn.004a68b0
test esi, esi
js 0x486172
mov edi, dword [ebp - 0xc4]
cmp byte [edi + 0xc], 0
je 0x486121
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0xffffffff
mov ecx, edi
push ebx
call fcn.0048ac30
movsx eax, byte [ebp - 0xb5]
test eax, eax
jns 0x485fe1
mov eax, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xc0]
test eax, eax
js 0x48634d
sete cl
test ebx, ebx
setne dl
or dl, cl
je 0x48634d
lea ecx, [ebp - 0x1c]
push eax
push ebx
call fcn.004a6870
cmp byte [ebp - 0xb5], 0
jns 0x48601a
push dword [ebp - 0xc0]
call fcn.005c8b90
add esp, 4
mov esi, dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, dword [eax + 0x24]
mov edi, dword [ebp - 0x1c]
call dword [0x8072c0]
lea eax, [ebp - 0x18]
push eax
push edi
push esi
call ecx
mov ebx, eax
and eax, 0xfffffffe
cmp eax, 0x80070002
jne 0x4861e1
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x486062
mov dword [ebp - 0x18], 0
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call dword [0x8072c0]
push edi
call ecx
mov edi, dword [ebp - 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x2c]
call dword [0x8072c0]
sub esp, 0x1c
movups xmm0, xmmword [0x7912b8]
movups xmmword [esp + 8], xmm0
lea eax, [ebp - 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call ecx
test eax, eax
jns 0x4861e9
mov ebx, eax
push 2
call fcn.00560ca0
add esp, 4
test al, al
mov edi, dword [ebp - 0xc4]
je 0x48611a
lea esi, [ebp - 0xc0]
mov ecx, esi
push 2
push 0x45f
push str.....chromeupdaterwin_task_scheduler.cc
call fcn.004ba0e0
lea eax, [ebp - 0xb8]
push 0x1d
push str.Failed_to_create_the_folder:
push eax
call fcn.00535510
add esp, 0xc
push dword [ebp - 0x1c]
push eax
call fcn.00645040
add esp, 8
push 9
push str.__error:
push eax
call fcn.00535510
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + ecx + 4]
and edx, 0xffffffb5
or edx, 8
mov dword [eax + ecx + 4], edx
mov ecx, eax
push ebx
call fcn.00411270
mov ecx, esi
call fcn.004ba5c0
xor ebx, ebx
jmp 0x4861f9
mov ebx, dword [ebp - 0x14]
jmp 0x486239
push 0x2b
push str.....chromeupdaterwin_task_scheduler.cc
call fcn.00560ce0
add esp, 8
cmp eax, 2
mov edi, dword [ebp - 0xc4]
jl 0x48629f
lea esi, [ebp - 0xc0]
mov ecx, esi
push 0xfffffffffffffffe
push 0x96
push str.....chromeupdaterwin_task_scheduler.cc
call fcn.004ba0e0
lea eax, [ebp - 0xb8]
push 0x1b
push str.Cant_get_the_task_service.
jmp 0x48628f
xor ebx, ebx
push 2
call fcn.00560ca0
add esp, 4
test al, al
mov edi, dword [ebp - 0xc4]
je 0x48621d
lea ebx, [ebp - 0xc0]
mov ecx, ebx
push 2
push 0x44a
push str.....chromeupdaterwin_task_scheduler.cc
call fcn.004ba0e0
lea eax, [ebp - 0xb8]
push 0x1f
push str.Cant_get_task_service_folder.
push eax
call fcn.00535510
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + ecx + 4]
and edx, 0xffffffb5
or edx, 8
mov dword [eax + ecx + 4], edx
mov ecx, eax
push esi
call fcn.00411270
mov ecx, ebx
xor ebx, ebx
call fcn.004ba5c0
jmp 0x48621d
test ebx, ebx
js 0x48630a
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov edi, dword [ebp - 0xc4]
lea ecx, [ebp - 0x1c]
call fcn.004a68b0
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x48621d
mov dword [ebp - 0x18], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x8072c0]
push esi
call ecx
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x486239
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x8072c0]
push esi
call ecx
mov esi, dword [edi + 0x14]
mov dword [edi + 0x14], ebx
test esi, esi
je 0x486251
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x8072c0]
push esi
call ecx
push 0x2b
push str.....chromeupdaterwin_task_scheduler.cc
call fcn.00560ce0
add esp, 8
cmp eax, 2
jl 0x48629f
test ebx, ebx
jne 0x48629f
lea esi, [ebp - 0xc0]
mov ecx, esi
push 0xfffffffffffffffe
push 0x9a
push str.....chromeupdaterwin_task_scheduler.cc
call fcn.004ba0e0
lea eax, [ebp - 0xb8]
push 0x24
push str.Cant_get_the_task_scheduler_folder.
push eax
call fcn.00535510
add esp, 0xc
mov ecx, esi
call fcn.004ba5c0
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 0xc8]
test edx, edx
je 0x4862ed
add edx, 4
xor eax, eax
inc eax
mov ecx, eax
lock xadd dword [edx], ecx
cmp ecx, 0x7fffffff
je 0x48634f
cmp dword [edi + 0x10], 0
je 0x4862e9
lock xadd dword [edx], eax
mov ecx, edi
cmp eax, 0x7fffffff
je 0x486352
mov dword [ebx], ecx
lock dec dword [edx]
jne 0x4862f3
mov ecx, edi
push 1
call fcn.0048ae30
jmp 0x4862f3
xor ecx, ecx
jmp 0x4862d7
mov dword [ebx], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.00560ca0
add esp, 4
test al, al
mov edi, dword [ebp - 0xc4]
je 0x48611a
lea esi, [ebp - 0xc0]
mov ecx, esi
push 2
push 0x465
push str.....chromeupdaterwin_task_scheduler.cc
call fcn.004ba0e0
lea eax, [ebp - 0xb8]
push 0x19
push str.Failed_to_get_the_folder.
jmp 0x4860ef
ud2
int3
int3