Function at 0x407743
Capabilities:
Get session user name
Resolve function by parsing pe exports
Schedule task via itaskscheduler
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x214c
call fcn.00410910
mov eax, dword [0x41f070]
xor eax, esp
mov dword [esp + 0x2148], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
mov dword [esp + 0x34], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x407793
xor eax, eax
inc eax
mov ecx, dword [esp + 0x2154]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040914b
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push ebx
push ebx
push ebx
push 3
push 6
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov edi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [esp + 0x20]
push eax
push 0x419360
xor esi, esi
inc esi
push esi
push ebx
push 0x419570
mov dword [esp + 0x34], ebx
call edi
test eax, eax
jge 0x4079f2
lea eax, [esp + 0x28]
push eax
push 0x419310
push esi
push ebx
push 0x419330
call edi
test eax, eax
jge 0x4077f9
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
jmp 0x40777c
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edi, str.Scheduled_Update_for_Ask_Toolbar
push edi
push eax
call dword [ecx + 0x1c]
push 0x41c20c
push dword [esp + 0x30]
call fcn.0040a2f6
pop ecx
test eax, eax
mov eax, dword [esp + 0x2c]
pop ecx
jne 0x40782b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
jmp 0x4077ef
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x419300
push 0x419320
push edi
push eax
call dword [ecx + 0x20]
test eax, eax
jge 0x407851
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4077ef
push dword [esp + 0x2c]
lea edi, [esp + 0x30]
call fcn.0040812f
mov eax, dword [eax]
cmp eax, ebx
je 0x407868
mov eax, dword [eax]
jmp 0x40786a
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x80]
lea edi, [esp + 0x2c]
call fcn.004080ef
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0x2040
push eax
call dword [ecx + 0x70]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x154]
push eax
mov dword [esp + 0x1c], 0x1000
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push ebx
je 0x4078c0
lea edx, [esp + 0x154]
push edx
jmp 0x4078c5
push 0x41bc54
push eax
call dword [ecx + 0x78]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x54]
push edx
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x5c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x407901
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
inc esi
jmp 0x4077ef
push 0x30
lea eax, [esp + 0xc4]
push ebx
push eax
call fcn.0040a6a0
add esp, 0xc
push 0x30
pop eax
mov word [esp + 0xc0], ax
mov eax, 0x7d8
mov word [esp + 0xc4], ax
xor esi, esi
inc esi
mov eax, esi
mov word [esp + 0xc6], ax
mov word [esp + 0xc8], ax
mov word [esp + 0xd0], ax
mov ax, word [esp + 0x6a]
mov word [esp + 0xd2], ax
mov eax, esi
mov word [esp + 0xe4], ax
mov eax, dword [esp + 0x54]
lea edx, [esp + 0xc0]
push edx
mov dword [esp + 0xe4], esi
mov dword [esp + 0xd8], 0x5a0
mov dword [esp + 0xdc], 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x4c]
push edx
push 0x41924c
mov dword [esp + 0x54], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x4079b9
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x407845
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.004075f2
call fcn.00407627
jmp 0x407827
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [esp + 0x80]
lea edi, [esp + 0xa0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x70]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [esp + 0x70]
lea edi, [esp + 0xf0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x90]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [esp + 0x90]
lea edi, [esp + 0xb0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x100]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0xb0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x110]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
mov eax, dword [esp + 0x50]
lea esi, [esp + 0xe0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x140]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
lea eax, [esp + 0x100]
push eax
call esi
lea eax, [esp + 0x90]
push eax
call esi
lea eax, [esp + 0x70]
push eax
call esi
lea eax, [esp + 0x80]
push eax
call esi
cmp edi, ebx
jge 0x407ade
mov eax, dword [esp + 0x20]
jmp 0x4078f3
push 0x41b79c
lea edi, [esp + 0x18]
mov dword [esp + 0x1c], ebx
call fcn.0040808f
mov eax, dword [eax]
cmp eax, ebx
je 0x407afa
mov eax, dword [eax]
jmp 0x407afc
xor eax, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
lea esi, [esp + 0x18]
push esi
push eax
push ecx
call dword [edx + 0x1c]
lea edi, [esp + 0x14]
mov esi, eax
call fcn.004080ef
cmp esi, ebx
jl 0x407ad5
push str.Scheduled_Update_for_Ask_Toolbar
lea edi, [esp + 0x18]
call fcn.0040808f
mov eax, dword [eax]
cmp eax, ebx
je 0x407b33
mov eax, dword [eax]
jmp 0x407b35
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push ebx
push eax
push ecx
call dword [edx + 0x3c]
lea edi, [esp + 0x14]
call fcn.004080ef
push 0x41c20c
push dword [esp + 0x30]
call fcn.0040a2f6
pop ecx
test eax, eax
mov eax, dword [esp + 0x24]
pop ecx
je 0x407821
lea edx, [esp + 0x10]
push edx
push ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x407b8f
mov eax, dword [esp + 0x18]
jmp 0x4078f3
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x407bb9
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
jmp 0x4078f3
push str.Ask.com
lea edi, [esp + 0x18]
call fcn.0040808f
mov eax, dword [eax]
cmp eax, ebx
je 0x407bd1
mov ecx, dword [eax]
jmp 0x407bd3
xor ecx, ecx
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x28]
lea edi, [esp + 0x14]
mov esi, eax
call fcn.004080ef
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jl 0x407ba6
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
jl 0x407ba6
push str.Principal1
lea edi, [esp + 0x18]
call fcn.0040808f
mov eax, dword [eax]
cmp eax, ebx
je 0x407c26
mov ecx, dword [eax]
jmp 0x407c28
xor ecx, ecx
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
lea edi, [esp + 0x14]
call fcn.004080ef
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push 3
push eax
call dword [ecx + 0x38]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
xor esi, esi
inc esi
push esi
push eax
call dword [ecx + 0x48]
mov edi, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
jge 0x407c79
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
jmp 0x407849
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x48], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x407c66
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x50]
push edx
push 2
mov dword [esp + 0x58], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov edi, eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
jl 0x407c66
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x24]
push edx
push 0x419450
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
jl 0x407c66
push str.Trigger1
lea edi, [esp + 0x18]
call fcn.0040808f
mov eax, dword [eax]
cmp eax, ebx
je 0x407cf4
mov ecx, dword [eax]
jmp 0x407cf6
xor ecx, ecx
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
lea edi, [esp + 0x14]
call fcn.004080ef
xor eax, eax
push 0x3e
mov word [esp + 0x114], ax
lea eax, [esp + 0x116]
push ebx
push eax
call fcn.0040a6a0
movzx eax, word [esp + 0x76]
add esp, 0xc
push eax
movzx eax, word [esp + 0x6c]
push eax
movzx eax, word [esp + 0x6e]
push eax
movzx eax, word [esp + 0x6e]
push eax
movzx eax, word [esp + 0x70]
push eax
push str._04d__02d__02dT_02d:_02d:00
lea eax, [esp + 0x128]
push 0x20
push eax
call fcn.0040a348
add esp, 0x20
lea eax, [esp + 0x110]
push eax
lea edi, [esp + 0x18]
call fcn.0040808f
mov eax, dword [eax]
cmp eax, ebx
je 0x407d77
mov eax, dword [eax]
jmp 0x407d79
xor eax, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
lea edi, [esp + 0x14]
call fcn.004080ef
push str.2030_05_02T12:05:00
lea edi, [esp + 0x18]
call fcn.0040808f
mov eax, dword [eax]
cmp eax, ebx
je 0x407da5
mov eax, dword [eax]
jmp 0x407da7
xor eax, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x44]
lea edi, [esp + 0x14]
call fcn.004080ef
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
xor esi, esi
inc esi
push esi
push eax
call dword [ecx + 0x54]
test eax, eax
jge 0x407de0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
jmp 0x407c6a
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov edi, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
jl 0x407c66
push str.PT24H
lea edi, [esp + 0x18]
call fcn.0040808f
mov eax, dword [eax]
cmp eax, ebx
je 0x407e1f
mov eax, dword [eax]
jmp 0x407e21
xor eax, eax
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x28]
lea edi, [esp + 0x14]
mov esi, eax
call fcn.004080ef
cmp esi, ebx
jge 0x407e4e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x34]
jmp 0x407baa
push str.PT5M
lea edi, [esp + 0x18]
call fcn.0040808f
mov eax, dword [eax]
cmp eax, ebx
je 0x407e66
mov ecx, dword [eax]
jmp 0x407e68
xor ecx, ecx
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
lea edi, [esp + 0x14]
mov esi, eax
call fcn.004080ef
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jl 0x407ba6
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
test eax, eax
jl 0x407ba6
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x38]
push edx
push ebx
mov dword [esp + 0x40], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov esi, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jl 0x407ba6
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x48]
push edx
push str.MbLk
mov dword [esp + 0x50], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jl 0x407ba6
push dword [esp + 0x2c]
lea edi, [esp + 0x18]
call fcn.0040812f
mov eax, dword [eax]
cmp eax, ebx
je 0x407f15
mov eax, dword [eax]
jmp 0x407f17
xor eax, eax
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
lea edi, [esp + 0x14]
mov esi, eax
call fcn.004080ef
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jl 0x407ba6
lea esi, [esp + 0x90]
mov dword [esp + 0x58], ebx
call fcn.0040806a
mov esi, eax
lea edi, [esp + 0xb0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x70]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [esp + 0x70]
lea edi, [esp + 0xf0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x80]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [esp + 0x80]
lea edi, [esp + 0xa0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push str.Scheduled_Update_for_Ask_Toolbar
lea edi, [esp + 0x18]
call fcn.0040808f
mov eax, dword [eax]
cmp eax, ebx
je 0x407fae
mov eax, dword [eax]
jmp 0x407fb0
xor eax, eax
lea esi, [esp + 0x58]
push esi
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 3
sub esp, 0x10
mov edi, esp
mov ecx, dword [esp + 0x40]
lea esi, [esp + 0x118]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ecx]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0xd8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 6
push dword [esp + 0x4c]
movsd dword es:[edi], dword [esi]
push eax
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x44]
lea edi, [esp + 0x14]
mov esi, eax
call fcn.004080ef
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x80]
push eax
call edi
lea eax, [esp + 0x70]
push eax
call edi
lea eax, [esp + 0x90]
push eax
call edi
cmp esi, ebx
jl 0x407ba6
call fcn.004075f2
call fcn.00407627
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x58]
jmp 0x407821