Function at 0x541be4
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff08
push ebx
push esi
push edi
mov ebx, eax
lea esi, [ebp - 0xf6]
xor eax, eax
push ebp
push 0x541f4d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
push 0x1000
push 0x1000
push 0
mov eax, dword [ebx + 0x4c]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0x18], eax
call fcn.004031ac
mov eax, 0x64
call fcn.004037c4
mov edi, eax
add edi, dword [ebp - 0x18]
inc edi
mov dword [ebx + 0x1d0], edi
mov eax, 0x4899f0
sub eax, 0x48986c
inc eax
push eax
mov ecx, 0x48986c
mov edx, edi
mov eax, ebx
call fcn.00541ab4
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.004037a4
push 0xa
lea ecx, [ebp - 0xa]
mov edx, dword [ebx + 0x1d0]
add edx, 0x500
mov eax, ebx
call fcn.00541ab4
lea eax, [ebp - 0xe7]
xor ecx, ecx
mov edx, 0xb7
call fcn.004037a4
mov eax, dword [0x5584b0]
mov eax, dword [eax]
mov dword [ebp - 0xe7], eax
mov eax, dword [0x558160]
mov eax, dword [eax]
mov dword [ebp - 0xe3], eax
push esi
mov esi, 0x541f5c
lea edi, [ebp - 0xdf]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
push esi
mov esi, 0x541f7c
lea edi, [ebp - 0xc0]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
push esi
mov esi, 0x541f9c
lea edi, [ebp - 0xa1]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
push esi
mov esi, 0x541fbc
lea edi, [ebp - 0x82]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
push esi
mov esi, 0x541fdc
lea edi, [ebp - 0x63]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov eax, dword [ebx + 0x1d0]
mov dword [ebp - 0x44], eax
add eax, 0x700
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x55d330]
mov eax, dword [eax + 0x204]
mov dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x1000
push 0
mov eax, dword [ebx + 0x4c]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x1000
push 0
mov eax, dword [ebx + 0x4c]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0x24], eax
push 0x200
mov ecx, 0x4899f0
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00541ab4
push 0xb7
lea ecx, [ebp - 0xe7]
mov edx, dword [ebp - 0x24]
mov eax, ebx
call fcn.00541ab4
push 0x40
push 0x1000
push 0x1000
push 0
mov eax, dword [ebx + 0x4c]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0x14], eax
push 0x200
mov ecx, 0x489b0c
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00541ab4
mov eax, dword [0x55d330]
mov edx, dword [eax + 0x1f0]
mov eax, ebx
call fcn.00541a04
mov dword [esi], eax
mov eax, dword [0x55d330]
mov edx, dword [eax + 0x1f0]
add edx, 4
mov eax, ebx
call fcn.005419ec
mov word [esi + 4], ax
mov byte [esi + 6], 1
mov eax, dword [ebp - 0x20]
mov dword [esi + 7], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xb], eax
push 0xf
mov ecx, esi
mov edx, dword [ebp - 0x14]
add edx, 0x500
mov eax, ebx
call fcn.00541ab4
mov eax, dword [0x55d330]
mov edx, dword [ebp - 0x14]
sub edx, dword [eax + 0x1f0]
sub edx, 5
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0xf], 0xe8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xe], eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 0xa
mov eax, dword [0x55d330]
mov eax, dword [eax + 0x1f0]
push eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.kernel32.dll_VirtualProtectEx
mov eax, dword [ebx + 0x4c]
push eax
call sub.ntdll.dll_NtSuspendProcess
push 5
lea ecx, [ebp - 0xf]
mov eax, dword [0x55d330]
mov edx, dword [eax + 0x1f0]
mov eax, ebx
call fcn.00541ab4
mov eax, dword [ebx + 0x4c]
push eax
call sub.ntdll.dll_NtResumeProcess
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
sub eax, dword [ebp - 0x30]
sbb edx, dword [ebp - 0x2c]
cmp edx, 0
jne 0x541ea6
cmp eax, 0x7530
jbe 0x541ea8
jmp 0x541ecb
jg 0x541ecb
push 0xf
mov ecx, esi
mov edx, dword [ebp - 0x14]
add edx, 0x500
mov eax, ebx
call fcn.00541a9c
cmp byte [esi + 6], 0
je 0x541ecb
push 0x14
call sub.kernel32.dll_Sleep_1
jmp 0x541e8b
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0xa
mov eax, dword [0x55d330]
add eax, 0x1f0
push eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.kernel32.dll_VirtualProtectEx
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0x8000
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.kernel32.dll_VirtualFreeEx
push 0x8000
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.kernel32.dll_VirtualFreeEx
push 0x8000
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.kernel32.dll_VirtualFreeEx
mov eax, dword [ebx + 0x4c]
call fcn.00542d58
mov eax, dword [ebx + 0x4c]
call fcn.0054298c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x541f54
ret