Function at 0x402d40
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 0x402eff
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 0x402eff
lea eax, [ebp - 0x10]
push eax
push 0x4041d0
push 1
push 0
push 0x4043e0
mov dword [ebp - 0x10], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x402eff
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 0x402eff
push 0x404fe4
lea edi, [ebp - 8]
call fcn.00402c60
mov eax, dword [eax]
test eax, eax
je 0x402ebb
mov ecx, dword [eax]
jmp 0x402ebd
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
push 0x45c7fc
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x402ef0
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x402ef0
test edi, edi
je 0x402ef0
call fcn.00402ce0
test esi, esi
jns 0x402f0d
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.00402c60
mov eax, dword [eax]
test eax, eax
je 0x402f23
mov ecx, dword [eax]
jmp 0x402f25
xor ecx, ecx
mov eax, dword [0x45c7fc]
mov edx, dword [eax]
push 0
push ecx
push eax
mov eax, dword [edx + 0x3c]
call eax
lea esi, [ebp - 8]
call fcn.00402cb0
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 0x402f7c
mov eax, dword [0x45c7fc]
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 0x40301f
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 0x40301f
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push str.MbLk
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 0x40301f
push 0x404fe8
lea edi, [ebp - 8]
call fcn.00402c60
mov eax, dword [eax]
cmp eax, esi
je 0x402ff8
mov ecx, dword [eax]
jmp 0x402ffa
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.00402cb0
test edi, edi
jns 0x403045
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x45c7fc]
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 0x404ff8
lea edi, [ebp - 8]
call fcn.00402c60
mov eax, dword [eax]
test eax, eax
je 0x40305c
mov eax, dword [eax]
jmp 0x40305e
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.00402cb0
test edi, edi
js 0x403014
mov eax, 8
push 0x404ff8
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.00402c60
mov eax, dword [eax]
test eax, eax
je 0x4030f9
mov edx, dword [eax]
jmp 0x4030fb
xor edx, edx
push 0x45aa84
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 [0x45c7fc]
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.00402cb0
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 0x40319a
mov eax, dword [0x45c7fc]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x40302c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4