Function at 0x41aaf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call sub.kernel32.dll_GetTickCount
mov dword [0x45488c], eax
cmp dword [0x454898], 0
je 0x41ab19
mov eax, dword [0x454898]
call fcn.0041967c
call fcn.0041adac
xor eax, eax
mov dword [0x454898], eax
push 0x41ad5c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4548e8], eax
cmp dword [0x4548e8], 0
je 0x41abc4
push 0x41ad68
mov eax, dword [0x4548e8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
mov dword [0x4548b8], ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x41abc4
mov byte [0x4548c1], 0xe9
mov eax, 0x41ae9c
sub eax, dword [0x4548b8]
sub eax, 5
mov edx, 0x4548c2
mov dword [edx], eax
xor eax, eax
push ebp
push 0x41abba
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
push esi
lea edi, [0x4548bc]
mov esi, dword [0x4548b8]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea esi, [0x4548c1]
mov edi, dword [0x4548b8]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
pop edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41abc4
push 0x41ad74
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4548ec], eax
cmp dword [0x4548ec], 0
je 0x41ad30
push 0x41ad84
mov eax, dword [0x4548ec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
mov dword [0x4548c8], ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x41ac68
mov byte [0x4548d1], 0xe9
mov eax, 0x41ae9c
sub eax, dword [0x4548c8]
sub eax, 5
mov edx, 0x4548d2
mov dword [edx], eax
xor eax, eax
push ebp
push 0x41ac5e
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
push esi
lea edi, [0x4548cc]
mov esi, dword [0x4548c8]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea esi, [0x4548d1]
mov edi, dword [0x4548c8]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
pop edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41ac68
push 0x45489c
call sub.kernel32.dll_QueryPerformanceFrequency
test eax, eax
je 0x41ad30
push 0x454890
call sub.kernel32.dll_QueryPerformanceCounter
push 0
push 0x3e8
mov eax, dword [0x45489c]
mov edx, dword [0x4548a0]
call fcn.00404d18
mov dword [0x4548a4], eax
mov dword [0x4548a8], edx
push 0x41ad94
mov eax, dword [0x4548ec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
mov dword [0x4548d8], ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x41ad30
mov byte [0x4548e1], 0xe9
mov eax, 0x41aea4
sub eax, dword [0x4548d8]
sub eax, 5
mov edx, 0x4548e2
mov dword [edx], eax
xor eax, eax
push ebp
push 0x41ad26
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
push esi
lea edi, [0x4548dc]
mov esi, dword [0x4548d8]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea esi, [0x4548e1]
mov edi, dword [0x4548d8]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
pop edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41ad30
mov byte [0x4548b5], 1
cmp dword [0x454898], 0
jne 0x41ad53
xor ecx, ecx
mov dl, 1
mov eax, dword [0x41aa94]
call fcn.004192c0
mov dword [0x454898], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret