Function at 0x4b7070
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x978
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
push esi
mov dword [ebp - 0x970], eax
mov dword [ebp - 0x950], esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x4b70c6
lea ecx, [ebp - 0x950]
push ecx
push 0x5241fc
push 1
push esi
push 0x52420c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4b70d9
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e3946
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x950]
lea ecx, [ebp - 0x94c]
mov dword [ebp - 0x94c], esi
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
test eax, eax
js 0x4b70c0
mov eax, dword [ebp - 0x94c]
lea edx, [ebp - 0x944]
push edx
lea edx, [ebp - 0x948]
push edx
mov dword [ebp - 0x948], esi
mov dword [ebp - 0x944], esi
mov ecx, dword [eax]
push 5
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x4b7db9
jmp 0x4b7132
xor esi, esi
mov edi, dword [ebp - 0x944]
cmp edi, esi
je 0x4b7db9
push 0x800
lea ecx, [ebp - 0x82c]
push 0
push ecx
call fcn.004e7d90
push pe_nt_image_headers32
lea edx, [ebp - 0x92c]
push 0
push edx
call fcn.004e7d90
mov eax, dword [ebp - 0x948]
add esp, 0x18
dec edi
mov dword [ebp - 0x940], 0
mov dword [ebp - 0x944], edi
mov edx, dword [eax + edi*4]
mov eax, edx
lea esi, [eax + 2]
jmp 0x4b7190
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7190
sub eax, esi
sar eax, 1
je 0x4b71c5
lea ecx, [edx + eax*2]
sub ecx, 2
dec eax
cmp word [ecx], 0x2e
je 0x4b71b4
test eax, eax
jne 0x4b71a4
jmp 0x4b71c5
push eax
push edx
lea ecx, [ebp - 0x92c]
push ecx
call fcn.004e4726
add esp, 0xc
lea eax, [ebp - 0x92c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b71d0
sub eax, edx
sar eax, 1
je 0x4b7d5f
mov eax, dword [ebp - 0x950]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
lea ecx, [ebp - 0x940]
push ecx
push 0x5241ec
lea ecx, [ebp - 0x92c]
push ecx
push eax
call edx
test eax, eax
jns 0x4b7349
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
push 0xa
lea edx, [ebp - 0x28]
push edx
push eax
mov word [ebp - 0x28], cx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xe], ecx
mov word [ebp - 0xa], cx
call fcn.004e45ff
lea eax, [ebp - 0x92c]
push eax
lea ecx, [ebp - 0x82c]
push str._t_s_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x82c]
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7264
sub eax, edx
sar eax, 1
mov edx, 1
mov word [ebp + eax*2 - 0x82c], dx
lea eax, [ebp - 0x82c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7290
mov edi, dword [ebp - 0x970]
sub eax, edx
mov ecx, edi
sar eax, 1
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4b72b0
sub ecx, esi
sar ecx, 1
add eax, ecx
cmp eax, 0x68000
jae 0x4b7d6f
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b72d1
sub eax, edx
sar eax, 1
lea eax, [ebp - 0x82c]
jne 0x4b7301
mov edx, edi
mov ecx, eax
sub edx, ecx
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4b72f0
jmp 0x4b732f
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7303
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b7313
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.GetSchTasksInfoForXP
lea edx, [ebp - 0x28]
mov ecx, str.Activate
call fcn.004a5a90
add esp, 4
jmp 0x4b7d5f
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b7352
mov ebx, dword [0x51d454]
lea eax, [ebp - 0x92c]
mov dword [edi], ebx
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7370
lea edi, [ebp - 0x82c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b7386
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
jmp 0x4b73b0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b73b0
mov dword [edi], ebx
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
jmp 0x4b73d0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b73d0
mov eax, dword [ebp - 0x940]
lea ecx, [ebp - 0x96c]
mov dword [edi], ebx
mov dword [ebp - 0x96c], 0
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
push ecx
push eax
call edx
test eax, eax
js 0x4b75ef
mov eax, dword [ebp - 0x96c]
add eax, 0xfffbed00
cmp eax, 7
ja case.0x4b7419.267014
jmp dword [eax*4 + 0x4b7df4]
lea eax, [ebp - 0x82c]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b7430
mov ecx, dword [str.Ready]
mov edx, dword [0x52729c]
mov dword [eax], ecx
mov ecx, dword [0x5272a0]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
jmp 0x4b75ef
lea eax, [ebp - 0x82c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b7464
mov edx, dword [str.Running]
mov ecx, dword [0x5272a8]
mov dword [eax], edx
mov edx, dword [0x5272ac]
mov dword [eax + 4], ecx
mov ecx, dword [0x5272b0]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
jmp 0x4b75ef
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b74a1
mov ecx, 7
mov esi, str.Not_Scheduled
rep movsd dword es:[edi], dword [esi]
jmp 0x4b75ef
lea eax, [ebp - 0x82c]
add eax, 0xfffffffe
jmp 0x4b74d0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b74d0
mov edx, dword [str.Has_Not_Run]
mov ecx, dword [0x5272d4]
mov dword [eax], edx
mov edx, dword [0x5272d8]
mov dword [eax + 4], ecx
mov ecx, dword [0x5272dc]
mov dword [eax + 8], edx
mov edx, dword [0x5272e0]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5272e4]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
jmp 0x4b75ef
lea eax, [ebp - 0x82c]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b7520
mov edx, dword [str.Disabled]
mov ecx, dword [0x5272ec]
mov dword [eax], edx
mov edx, dword [0x5272f0]
mov dword [eax + 4], ecx
mov ecx, dword [0x5272f4]
mov dword [eax + 8], edx
mov dx, word [0x5272f8]
mov dword [eax + 0xc], ecx
mov word [eax + 0x10], dx
jmp 0x4b75ef
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
jmp 0x4b7570
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b7570
mov ecx, 6
mov esi, str.No_More_Runs
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x4b75ef
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b7595
mov ecx, 9
mov esi, str.No_Valid_Triggers
rep movsd dword es:[edi], dword [esi]
jmp 0x4b75ef
lea eax, [ebp - 0x82c]
add eax, 0xfffffffe
jmp 0x4b75c0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b75c0
mov ecx, dword [str.Unknown]
mov edx, dword [0x527340]
mov dword [eax], ecx
mov ecx, dword [0x527344]
mov dword [eax + 4], edx
mov edx, dword [0x527348]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
jmp 0x4b7600
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b7600
mov eax, dword [0x51d454]
mov dword [edi], eax
mov eax, dword [ebp - 0x940]
lea edx, [ebp - 0x974]
mov dword [ebp - 0x974], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
lea eax, [ebp - 0x82c]
lea edx, [eax + 2]
jmp 0x4b7640
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7640
mov ecx, dword [ebp - 0x974]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
sub eax, edx
push ecx
sar eax, 1
lea edx, [ebp + eax*2 - 0x82c]
push str.0x_08x
push edx
call esi
lea edi, [ebp - 0x82c]
add esp, 0xc
add edi, 0xfffffffe
jmp 0x4b7680
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b7680
mov eax, dword [0x51d454]
mov dword [edi], eax
xor eax, eax
xor ecx, ecx
mov word [ebp - 0x93c], cx
mov dword [ebp - 0x93a], eax
mov dword [ebp - 0x936], eax
mov dword [ebp - 0x932], eax
mov word [ebp - 0x92e], ax
mov eax, dword [ebp - 0x940]
mov edx, dword [eax]
mov edx, dword [edx + 0x3c]
lea ecx, [ebp - 0x93c]
push ecx
push eax
call edx
test eax, eax
js 0x4b774b
lea eax, [ebp - 0x82c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b76e0
movzx ecx, word [ebp - 0x930]
push ecx
movzx ecx, word [ebp - 0x934]
sub eax, edx
movzx edx, word [ebp - 0x932]
push edx
movzx edx, word [ebp - 0x936]
push ecx
movzx ecx, word [ebp - 0x93a]
push edx
movzx edx, word [ebp - 0x93c]
push ecx
push edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x82c]
push str._04u_02u_02u_02u_02u_02u
push eax
call esi
add esp, 0x20
xor eax, eax
mov dword [ebp - 0x93c], eax
mov dword [ebp - 0x938], eax
mov dword [ebp - 0x934], eax
mov dword [ebp - 0x930], eax
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b7754
mov ecx, dword [0x51d454]
mov eax, dword [ebp - 0x940]
mov dword [edi], ecx
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
lea ecx, [ebp - 0x93c]
push ecx
push eax
call edx
test eax, eax
js 0x4b77d9
lea eax, [ebp - 0x82c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7790
movzx ecx, word [ebp - 0x932]
push ecx
movzx ecx, word [ebp - 0x936]
sub eax, edx
movzx edx, word [ebp - 0x934]
push edx
movzx edx, word [ebp - 0x93a]
push ecx
movzx ecx, word [ebp - 0x93c]
push edx
push ecx
sar eax, 1
lea edx, [ebp + eax*2 - 0x82c]
push str._04u_02u_02u_02u_02u
push edx
call esi
add esp, 0x1c
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b77e2
mov ecx, dword [0x51d454]
mov dword [edi], ecx
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b7800
mov eax, dword [ebp - 0x940]
lea edx, [ebp - 0x954]
mov dword [edi], ecx
mov dword [ebp - 0x954], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
test eax, eax
js 0x4b7874
mov eax, dword [ebp - 0x954]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7840
lea edi, [ebp - 0x82c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b7856
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4b78ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
push 0xa
lea edx, [ebp - 0x28]
push edx
push eax
mov word [ebp - 0x28], cx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xe], ecx
mov word [ebp - 0xa], cx
call fcn.004e45ff
push str.GetSchTasksInfoForXP
lea edx, [ebp - 0x28]
mov ecx, str.GetCreator
call fcn.004a5a90
add esp, 0x10
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
xor ebx, ebx
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4b78c5
mov eax, dword [0x51d454]
mov dword [edi], eax
mov eax, dword [ebp - 0x940]
lea edx, [ebp - 0x95c]
mov dword [ebp - 0x95c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
test eax, eax
js 0x4b7934
mov eax, dword [ebp - 0x95c]
mov edx, eax
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b7900
lea edi, [ebp - 0x82c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4b7916
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4b797a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
push 0xa
lea edx, [ebp - 0x28]
push edx
push eax
mov word [ebp - 0x28], cx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xe], ecx
mov word [ebp - 0xa], cx
call fcn.004e45ff
push str.GetSchTasksInfoForXP
lea edx, [ebp - 0x28]
mov ecx, str.GetComment
call fcn.004a5a90
add esp, 0x10
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4b7983
mov ecx, dword [0x51d454]
mov dword [edi], ecx
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4b79a0
mov dword [edi], ecx
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
jmp 0x4b79c0
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4b79c0
mov dword [edi], ecx
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
jmp 0x4b79e0
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4b79e0
mov eax, dword [ebp - 0x940]
lea edx, [ebp - 0x964]
mov dword [edi], ecx
mov dword [ebp - 0x964], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x84]
call eax
test eax, eax
js 0x4b7a54
mov eax, dword [ebp - 0x964]
mov edx, eax
jmp 0x4b7a20
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b7a20
lea edi, [ebp - 0x82c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4b7a36
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4b7a9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
push 0xa
lea edx, [ebp - 0x28]
push edx
push eax
mov word [ebp - 0x28], cx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xe], ecx
mov word [ebp - 0xa], cx
call fcn.004e45ff
push str.GetSchTasksInfoForXP
lea edx, [ebp - 0x28]
mov ecx, str.GetApplicationName
call fcn.004a5a90
add esp, 0x10
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4b7aa3
mov eax, dword [0x51d454]
mov dword [edi], eax
mov eax, dword [ebp - 0x940]
lea edx, [ebp - 0x958]
mov dword [ebp - 0x958], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x8c]
call eax
test eax, eax
js 0x4b7b14
mov eax, dword [ebp - 0x958]
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b7ae0
lea edi, [ebp - 0x82c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4b7af6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4b7b5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
push 0xa
lea edx, [ebp - 0x28]
push edx
push eax
mov word [ebp - 0x28], cx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xe], ecx
mov word [ebp - 0xa], cx
call fcn.004e45ff
push str.GetSchTasksInfoForXP
lea edx, [ebp - 0x28]
mov ecx, str.GetParameters
call fcn.004a5a90
add esp, 0x10
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4b7b63
mov eax, dword [0x51d454]
mov dword [edi], eax
mov eax, dword [ebp - 0x940]
lea edx, [ebp - 0x960]
mov dword [ebp - 0x960], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x94]
call eax
test eax, eax
js 0x4b7bd4
mov eax, dword [ebp - 0x960]
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b7ba0
lea edi, [ebp - 0x82c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4b7bb6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4b7c1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
push 0xa
lea edx, [ebp - 0x28]
push edx
push eax
mov word [ebp - 0x28], cx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xe], ecx
mov word [ebp - 0xa], cx
call fcn.004e45ff
push str.GetSchTasksInfoForXP
lea edx, [ebp - 0x28]
mov ecx, str.GetWorkingDirectory
call fcn.004a5a90
add esp, 0x10
lea edi, [ebp - 0x82c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4b7c23
mov eax, dword [0x51d454]
mov dword [edi], eax
lea eax, [ebp - 0x82c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b7c40
sub eax, edx
sar eax, 1
mov ecx, 1
mov word [ebp + eax*2 - 0x82c], cx
mov eax, dword [ebp - 0x940]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x964]
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
push ecx
call edi
mov edx, dword [ebp - 0x958]
push edx
call edi
mov eax, dword [ebp - 0x95c]
push eax
call edi
mov ecx, dword [ebp - 0x954]
push ecx
call edi
mov edx, dword [ebp - 0x960]
push edx
call edi
mov eax, dword [ebp - 0x948]
mov ecx, dword [ebp - 0x944]
mov edx, dword [eax + ecx*4]
push edx
call edi
lea eax, [ebp - 0x82c]
lea edx, [eax + 2]
jmp 0x4b7cc0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b7cc0
mov ebx, dword [ebp - 0x970]
sub eax, edx
mov ecx, ebx
sar eax, 1
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4b7ce0
sub ecx, esi
sar ecx, 1
add eax, ecx
cmp eax, 0x68000
jae 0x4b7d8a
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7d01
sub eax, edx
sar eax, 1
lea eax, [ebp - 0x82c]
jne 0x4b7d31
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4b7d20
jmp 0x4b7d5f
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7d33
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b7d43
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x944]
test edi, edi
jne 0x4b7140
jmp 0x4b7d84
push str.GetSchTasksInfoForXP
lea edx, [ebp - 0x28]
mov ecx, str.Activate
call fcn.004a5a90
add esp, 4
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [ebp - 0x948]
push edx
call edi
mov eax, dword [ebp - 0x94c]
mov ecx, dword [eax]
lea edx, [ebp - 0x944]
push edx
lea edx, [ebp - 0x948]
push edx
push 5
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jns 0x4b7130
mov eax, dword [ebp - 0x950]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x94c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004e3946
mov esp, ebp
pop ebp
ret