Function at 0x478040
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7bc6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x500
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x470], eax
lea eax, [ebp - 0x458]
push eax
mov dword [ebp - 0x468], 0
call fcn.00478a30
add esp, 4
lea eax, [ebp - 0x46c]
mov dword [ebp - 4], 0
push eax
push 0x517a94
push 1
push 0
push 0x517ab4
mov dword [ebp - 0x46c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x4789be
mov eax, dword [ebp - 0x46c]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [eax]
mov esi, dword [eax + 0x28]
lea eax, [ebp - 0x4e0]
push eax
call edi
movups xmm0, xmmword [ebp - 0x4e0]
lea eax, [ebp - 0x4d0]
push eax
movups xmmword [ebp - 0x4f0], xmm0
call edi
movups xmm0, xmmword [ebp - 0x4d0]
lea eax, [ebp - 0x4b0]
push eax
movups xmmword [ebp - 0x500], xmm0
call edi
movups xmm0, xmmword [ebp - 0x4b0]
lea eax, [ebp - 0x4c0]
push eax
movups xmmword [ebp - 0x510], xmm0
call edi
movups xmm0, xmmword [ebp - 0x4f0]
sub esp, 0x10
mov byte [ebp - 4], 4
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x500]
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x510]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x4c0]
push dword [ebp - 0x46c]
movups xmmword [eax], xmm0
call esi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, eax
lea eax, [ebp - 0x4c0]
push eax
call edi
lea eax, [ebp - 0x4b0]
push eax
call edi
lea eax, [ebp - 0x4d0]
push eax
call edi
lea eax, [ebp - 0x4e0]
mov byte [ebp - 4], 0
push eax
call edi
mov eax, dword [ebp - 0x46c]
test esi, esi
js 0x47845b
mov dword [ebp - 0x460], 0
lea ecx, [ebp - 0x480]
mov eax, dword [eax]
push 0x4fbdfc
mov esi, dword [eax + 0x1c]
call fcn.00404a20
mov eax, dword [eax]
mov byte [ebp - 4], 5
test eax, eax
je 0x4781eb
mov eax, dword [eax]
jmp 0x4781ed
xor eax, eax
lea ecx, [ebp - 0x460]
push ecx
push eax
push dword [ebp - 0x46c]
call esi
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.00404d60
test esi, esi
jns 0x478223
mov eax, dword [ebp - 0x46c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4789be
mov eax, dword [ebp - 0x460]
lea ecx, [ebp - 0x480]
cmp dword [ebp - 0x444], 8
mov eax, dword [eax]
mov esi, dword [eax + 0x3c]
lea eax, [ebp - 0x458]
cmovae eax, dword [ebp - 0x458]
push eax
call fcn.00404a20
mov eax, dword [eax]
mov byte [ebp - 4], 6
test eax, eax
je 0x47825c
mov eax, dword [eax]
jmp 0x47825e
xor eax, eax
push 0
push eax
push dword [ebp - 0x460]
call esi
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 0
call fcn.00404d60
cmp byte [ebx + 8], 0
je 0x4789b0
mov ecx, dword [ebp - 0x46c]
lea edx, [ebp - 0x45c]
push edx
mov dword [ebp - 0x45c], 0
push 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
mov esi, eax
mov eax, dword [ebp - 0x46c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
jns 0x4782c4
mov eax, dword [ebp - 0x460]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4789be
mov ecx, dword [ebp - 0x45c]
lea edx, [ebp - 0x484]
mov dword [ebp - 0x484], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
js 0x478449
mov ecx, dword [ebp - 0x484]
push 0x4fc6f4
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov esi, eax
mov eax, dword [ebp - 0x484]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x478449
mov ecx, dword [ebp - 0x45c]
lea edx, [ebp - 0x474]
mov dword [ebp - 0x474], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov esi, eax
test esi, esi
js 0x478449
mov ecx, dword [ebp - 0x474]
push 0xffffffffffffffff
push ecx
mov eax, dword [ecx]
call dword [eax + 0x58]
mov esi, eax
mov eax, dword [ebp - 0x474]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x478449
mov ecx, dword [ebp - 0x474]
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x474]
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x40]
mov eax, dword [ebp - 0x474]
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
mov dword [ebp - 0x468], eax
call fcn.004c3423
mov esi, eax
add esp, 4
mov dword [ebp - 0x498], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x4783c0
push 0x50f874
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.004c30f0
mov dword [esi], eax
jmp 0x4783c2
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x464], esi
test esi, esi
je 0x478a1a
push dword [esi]
mov byte [ebp - 4], 8
push dword [ebp - 0x474]
call dword [ebp - 0x468]
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 0
call fcn.00404d60
mov ecx, dword [ebp - 0x45c]
lea edx, [ebp - 0x488]
mov dword [ebp - 0x488], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov esi, eax
test esi, esi
js 0x478449
mov ecx, dword [ebp - 0x488]
lea edx, [ebp - 0x48c]
push edx
mov dword [ebp - 0x48c], 0
push 9
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
mov esi, eax
mov eax, dword [ebp - 0x488]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
jns 0x478466
mov eax, dword [ebp - 0x460]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x45c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4789be
mov ecx, dword [ebp - 0x48c]
lea edx, [ebp - 0x478]
push edx
mov dword [ebp - 0x478], 0
push 0x517ac4
mov eax, dword [ecx]
push ecx
call dword [eax]
mov esi, eax
mov eax, dword [ebp - 0x48c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x478449
mov eax, dword [ebp - 0x478]
lea ecx, [ebp - 0x468]
push 0x50f87c
mov eax, dword [eax]
mov esi, dword [eax + 0x24]
call fcn.00404a20
mov eax, dword [eax]
mov byte [ebp - 4], 9
test eax, eax
je 0x4784c2
mov eax, dword [eax]
jmp 0x4784c4
xor eax, eax
push eax
push dword [ebp - 0x478]
call esi
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0
call fcn.00404d60
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x104
lea ecx, [ebp - 0x220]
push ecx
push 0x104
lea ecx, [ebp - 0x428]
push ecx
push 0
push esi
push eax
call fcn.004aa5d0
add esp, 0x34
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x440]
push eax
call fcn.0043c160
push 0x4fbdfc
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0xa
call fcn.00478010
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x440]
call fcn.00478010
mov eax, dword [ebp - 0x478]
lea ecx, [ebp - 0x468]
cmp dword [ebp - 0x42c], 8
mov eax, dword [eax]
mov esi, dword [eax + 0x5c]
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
call fcn.00404a20
mov eax, dword [eax]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x47858b
mov eax, dword [eax]
jmp 0x47858d
xor eax, eax
push eax
push dword [ebp - 0x478]
call esi
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0xa
mov esi, eax
call fcn.00404d60
mov eax, dword [ebp - 0x478]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x478964
mov ecx, dword [ebp - 0x45c]
lea edx, [ebp - 0x490]
mov dword [ebp - 0x490], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x44]
mov esi, eax
test esi, esi
js 0x478964
mov ecx, dword [ebp - 0x490]
lea edx, [ebp - 0x494]
push edx
mov dword [ebp - 0x494], 0
push 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x30]
mov esi, eax
mov eax, dword [ebp - 0x490]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x478964
mov ecx, dword [ebp - 0x494]
lea edx, [ebp - 0x47c]
push edx
mov dword [ebp - 0x47c], 0
push 0x517ad4
mov eax, dword [ecx]
push ecx
call dword [eax]
mov esi, eax
mov eax, dword [ebp - 0x494]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x478964
mov eax, dword [ebp - 0x47c]
lea ecx, [ebp - 0x470]
push dword [ebp - 0x470]
mov eax, dword [eax]
mov esi, dword [eax + 0x2c]
call fcn.00404a20
mov eax, dword [eax]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x478678
mov eax, dword [eax]
jmp 0x47867a
xor eax, eax
push eax
push dword [ebp - 0x47c]
call esi
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 0xa
mov esi, eax
call fcn.00404d60
mov eax, dword [ebp - 0x47c]
lea ecx, [ebp - 0x468]
push 0x50f898
mov eax, dword [eax]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x470], eax
call fcn.00404a20
mov eax, dword [eax]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4786c3
mov eax, dword [eax]
jmp 0x4786c5
xor eax, eax
push eax
push dword [ebp - 0x47c]
call dword [ebp - 0x470]
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0xa
call fcn.00404d60
mov eax, dword [ebp - 0x47c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x478964
call fcn.0047d0f0
test al, al
je 0x47878c
mov ecx, dword [ebp - 0x45c]
lea edx, [ebp - 0x464]
mov dword [ebp - 0x464], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x464]
lea ecx, [ebp - 0x470]
cmp dword [ebp - 0x42c], 8
mov eax, dword [eax]
mov esi, dword [eax + 0x30]
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
call fcn.00404a20
mov eax, dword [eax]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x478758
mov eax, dword [eax]
jmp 0x47875a
xor eax, eax
push eax
push dword [ebp - 0x464]
call esi
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 0xa
call fcn.00404d60
mov ecx, dword [ebp - 0x464]
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [ebp - 0x464]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x460]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x480], 0
push 0x4fbd20
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x49c], eax
mov eax, 8
mov word [ebp - 0x4c0], ax
call esi
mov dword [ebp - 0x4b8], eax
test eax, eax
je 0x478a1a
movups xmm0, xmmword [ebp - 0x4c0]
mov byte [ebp - 4], 0xf
movups xmmword [ebp - 0x510], xmm0
call fcn.0047d0f0
xor ecx, ecx
test al, al
lea eax, [ebp - 0x4d0]
setne cl
add ecx, 3
push eax
mov dword [ebp - 0x470], ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [ebp - 0x4d0]
mov byte [ebp - 4], 0x10
movups xmmword [ebp - 0x500], xmm0
call fcn.0047d0f0
test al, al
je 0x47884f
mov eax, 8
push 0x50f8a0
mov word [ebp - 0x4b0], ax
call esi
mov dword [ebp - 0x4a8], eax
test eax, eax
je 0x478a1a
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 0x11
mov eax, 1
jmp 0x47886e
lea eax, [ebp - 0x4e0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x4e0]
mov dword [ebp - 4], 0x12
mov eax, 2
cmp dword [ebp - 0x444], 8
movups xmm0, xmmword [ecx]
mov esi, dword [ebp - 0x45c]
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x458]
cmovae eax, dword [ebp - 0x458]
push eax
movups xmmword [ebp - 0x4f0], xmm0
call fcn.00404a20
mov ecx, dword [eax]
mov dword [ebp - 4], 0x13
test ecx, ecx
je 0x4788bb
mov ecx, dword [ecx]
jmp 0x4788bd
xor ecx, ecx
movups xmm0, xmmword [ebp - 0x510]
lea eax, [ebp - 0x480]
push eax
sub esp, 0x10
mov eax, esp
push dword [ebp - 0x470]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x500]
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x4f0]
push 6
push esi
push ecx
push dword [ebp - 0x460]
movups xmmword [eax], xmm0
call dword [ebp - 0x49c]
lea ecx, [ebp - 0x498]
mov esi, eax
call fcn.00404d60
mov eax, dword [ebp - 0x464]
test al, 2
je 0x478936
and eax, 0xfffffffd
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x4e0]
push eax
call edi
mov eax, dword [ebp - 0x464]
mov dword [ebp - 4], 0x10
test al, 1
je 0x47894a
lea eax, [ebp - 0x4b0]
push eax
call edi
lea eax, [ebp - 0x4d0]
push eax
call edi
lea eax, [ebp - 0x4c0]
mov byte [ebp - 4], 0xa
push eax
call edi
test esi, esi
jns 0x478989
mov eax, dword [ebp - 0x460]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x440]
call fcn.00404bc0
jmp 0x4789be
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x480]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0
call fcn.00404bc0
mov eax, dword [ebp - 0x460]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor esi, esi
mov ecx, dword [ebp - 0x444]
cmp ecx, 8
jb 0x4789fa
mov edx, dword [ebp - 0x458]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4789f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478a24
push ecx
push edx
call fcn.004c3279
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x8007000e
call fcn.004c2e60
call fcn.004c8bcf
int3