Function at 0x4c4c00
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x854
mov eax, dword [0x4f72bc]
xor eax, esp
mov dword [esp + 0x850], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], edi
cmp dword [0x505890], edi
je 0x4c4c34
call fcn.004c2580
mov dword [0x505890], edi
call fcn.004c4890
test eax, eax
je 0x4c4c5a
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x850]
xor ecx, esp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, edi
jl 0x4c4ed6
lea eax, [esp + 0x20]
push eax
push 0x4ebdb4
push 1
push edi
push 0x4ebdc4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jge 0x4c4cac
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x850]
xor ecx, esp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov esi, eax
cmp esi, edi
jl 0x4c4c8f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x14]
push edx
push 5
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x4c4ea2
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4c4e9e
lea esp, [esp]
mov ecx, dword [esp + 0x10]
dec eax
mov dword [esp + 0xc], eax
mov edx, dword [ecx + eax*4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c4d11
push 0
sub eax, esi
push 0
sar eax, 1
inc eax
lea ecx, [eax + eax]
push ecx
lea ecx, [esp + 0x65c]
push ecx
push eax
push edx
push 0
push 0
call edi
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
mov ecx, dword [esi + ecx*4]
push 0x4ebda4
push ecx
push eax
call edx
test eax, eax
js 0x4c4e6b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x84]
call eax
mov edx, dword [esp + 0x24]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c4d80
push 0
sub eax, esi
push 0
sar eax, 1
inc eax
lea ecx, [eax + eax]
push ecx
lea ecx, [esp + 0x24c]
push ecx
push eax
push edx
push 0
push 0
call edi
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x3c]
lea ecx, [esp + 0x28]
push ecx
push eax
call edx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea esi, [esp + 0x458]
mov dword [eax + 0xc], edx
call fcn.004c4ef0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
add esp, 0x10
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea esi, [esp + 0x48]
mov dword [eax + 0xc], edx
call fcn.004c4ef0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 0x10
push eax
call edx
push 0
push 0x320
lea eax, [esp + 0x450]
push eax
mov ecx, esi
push ecx
lea edx, [esp + 0x250]
lea ecx, [esp + 0x660]
call fcn.004c1eb0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + edx*4]
inc dword [esp + 0x2c]
add esp, 0x10
push ecx
call ebx
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4c4d00
mov edx, dword [esp + 0x10]
push edx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x14]
push edx
push 5
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jns 0x4c4cf0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
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
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [0x506e94], 0
mov dword [0x505890], edi
je 0x4c4ed4
call fcn.004c4a40
mov eax, edi
mov ecx, dword [esp + 0x85c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret