Function at 0x403050
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x40320f
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
js 0x40320f
lea eax, [ebp - 0x10]
push eax
push 0x404208
push 1
push 0
push 0x404418
mov dword [ebp - 0x10], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40320f
mov esi, dword [sym.imp.oleaut32.dll_VariantInit]
lea ecx, [ebp - 0x6c]
push ecx
call esi
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x68]
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], eax
call esi
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
call esi
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call esi
mov esi, dword [ebp - 0x84]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x80]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x20]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x1c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x18]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x38]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x34]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x30]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x48]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x44]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x40]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x28]
push ecx
call eax
lea ecx, [ebp - 0x4c]
mov esi, eax
push ecx
mov ebx, dword [sym.imp.oleaut32.dll_VariantClear]
call ebx
lea edx, [ebp - 0x7c]
push edx
call ebx
lea eax, [ebp - 0x5c]
push eax
call ebx
lea ecx, [ebp - 0x6c]
push ecx
call ebx
test esi, esi
js 0x40320f
push 0x404f38
lea edi, [ebp - 8]
call fcn.00402f70
mov eax, dword [eax]
test eax, eax
je 0x4031cb
mov ecx, dword [eax]
jmp 0x4031cd
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
push 0x45c1bc
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x403200
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x403200
test edi, edi
je 0x403200
call fcn.00402ff0
test esi, esi
jns 0x40321d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push eax
lea edi, [ebp - 8]
call fcn.00402f70
mov eax, dword [eax]
test eax, eax
je 0x403233
mov ecx, dword [eax]
jmp 0x403235
xor ecx, ecx
mov eax, dword [0x45c1bc]
mov edx, dword [eax]
push 0
push ecx
push eax
mov eax, dword [edx + 0x3c]
call eax
lea esi, [ebp - 8]
call fcn.00402fc0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
push edx
xor esi, esi
mov dword [ebp - 0xc], esi
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x24]
call eax
mov edi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, esi
jge 0x40328c
mov eax, dword [0x45c1bc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
test eax, eax
js 0x40332f
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], esi
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x30]
call eax
mov edi, eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, esi
jl 0x40332f
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x404368
push eax
mov eax, dword [ecx]
call eax
mov edi, eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, esi
jl 0x40332f
push 0x404f3c
lea edi, [ebp - 8]
call fcn.00402f70
mov eax, dword [eax]
cmp eax, esi
je 0x403308
mov ecx, dword [eax]
jmp 0x40330a
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
lea esi, [ebp - 8]
mov edi, eax
call fcn.00402fc0
test edi, edi
jns 0x403355
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x45c1bc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x404f4c
lea edi, [ebp - 8]
call fcn.00402f70
mov eax, dword [eax]
test eax, eax
je 0x40336c
mov eax, dword [eax]
jmp 0x40336e
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x34]
push ecx
call eax
lea esi, [ebp - 8]
mov edi, eax
call fcn.00402fc0
test edi, edi
js 0x403324
mov eax, 8
push 0x404f4c
mov word [ebp - 0x4c], ax
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
mov edi, dword [sym.imp.oleaut32.dll_VariantInit]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x60], edx
call edi
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call edi
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x50]
push ecx
lea edi, [ebp - 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
call fcn.00402f70
mov eax, dword [eax]
test eax, eax
je 0x403409
mov edx, dword [eax]
jmp 0x40340b
xor edx, edx
push 0x45a444
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x68]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x64]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x60]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x3c]
push 3
mov ecx, dword [0x45c1bc]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x38]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x34]
mov edi, dword [ecx]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x30]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x20]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x1c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x18]
push 6
mov dword [eax + 0xc], esi
mov eax, dword [ebp - 0xc]
push eax
push edx
push ecx
mov ecx, dword [edi + 0x44]
call ecx
lea esi, [ebp - 8]
mov edi, eax
call fcn.00402fc0
lea edx, [ebp - 0x5c]
push edx
call ebx
lea eax, [ebp - 0x7c]
push eax
call ebx
lea ecx, [ebp - 0x4c]
push ecx
call ebx
test edi, edi
jns 0x4034aa
mov eax, dword [0x45c1bc]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x40333c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4