Function at 0x40e154
Capabilities:
Check for time delay via gettickcount
Get number of processors
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a784
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x45e0a0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x45e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov edi, ecx
mov dword [esp + 0x30], eax
mov eax, dword [edi]
call dword [eax + 0x58]
xor esi, esi
cmp edx, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
jg 0x40e1d9
jl 0x40e1b7
cmp eax, esi
ja 0x40e1d9
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004347e5
mov esp, ebp
pop ebp
ret 0xc
cmp ebx, esi
je 0x40e1f2
push dword [esp + 0x30]
push edx
push eax
push esi
push esi
push esi
push esi
push esi
push esi
call ebx
add esp, 0x24
test eax, eax
je 0x40e1b7
push 0x4536a4
push dword [esp + 0x30]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], esi
call fcn.004371d8
add esp, 0xc
cmp dword [esp + 0x1c], esi
je 0x40e1b7
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], 0xf
call fcn.00401353
mov dword [esp + 0x60], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], eax
jmp 0x40e317
cmp ebx, esi
je 0x40e255
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x4c], 0x10
mov eax, dword [esp + 0x38]
jae 0x40e264
lea eax, [esp + 0x38]
push dword [esp + 0x1c]
push dword [esp + 0x4c]
push 1
push eax
call fcn.00437387
mov eax, dword [esp + 0x58]
cdq
add esp, 0x10
add dword [esp + 0x14], eax
adc dword [esp + 0x18], edx
cmp ebx, esi
je 0x40e301
cmp dword [esp + 0x20], esi
jbe 0x40e2a2
mov eax, dword [esp + 0x48]
imul eax, eax, 0x3e8
xor edx, edx
div dword [esp + 0x20]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x4c], 0x10
mov eax, dword [esp + 0x38]
jae 0x40e2b1
lea eax, [esp + 0x38]
push dword [esp + 0x30]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x5c]
push eax
push dword [esp + 0x48]
push esi
push 0x64
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.00443460
push dword [esp + 0x48]
push dword [esp + 0x48]
push edx
push eax
call fcn.004432c0
push eax
call ebx
add esp, 0x24
test eax, eax
je 0x40e350
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x28]
jg 0x40e32b
jl 0x40e317
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
jae 0x40e32b
mov eax, dword [edi]
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call dword [eax + 0x50]
test eax, eax
jne 0x40e243
push dword [esp + 0x1c]
call fcn.0043747b
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x2c]
pop ecx
jl 0x40e36f
jg 0x40e34b
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x24]
jb 0x40e36f
xor edi, edi
inc edi
jmp 0x40e35c
push dword [esp + 0x1c]
call fcn.0043747b
pop ecx
xor edi, edi
push esi
push 1
lea ecx, [esp + 0x3c]
call fcn.00401308
mov eax, edi
jmp 0x40e1b9
cmp ebx, esi
je 0x40e35a
push dword [esp + 0x30]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push eax
push dword [esp + 0x24]
push esi
push esi
push esi
push 0xffffffffffffffff
call ebx
add esp, 0x24
jmp 0x40e35a