Function at 0x4ea530
Capabilities:
Check for time delay via gettickcount
Check os version
Get memory capacity
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x390]
mov eax, 0x390
call fcn.004c3410
push 0xfffffffffffffffe
push 0x5e36d8
push 0x4ade40
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x8c
call fcn.004c3410
mov eax, dword [0x5f4760]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x38c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x20], esi
push str.ADVAPI32.DLL
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call ebx
mov dword [ebp - 0x2c], eax
push str.KERNEL32.DLL
call ebx
mov edi, eax
push str.NETAPI32.DLL
call ebx
mov ebx, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], esi
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], esi
cmp ebx, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x4ea5e0
push str.NetStatisticsGet
push ebx
call esi
mov dword [ebp - 0x28], eax
push str.NetApiBufferFree
push ebx
call esi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4ea66c
cmp dword [ebp - 0x34], 0
je 0x4ea66c
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push str.LanmanWorkstation
push 0
call eax
test eax, eax
jne 0x4ea62e
mov eax, 8
call fcn.004c3410
fld qword [0x5a93c0]
fstp qword [esp]
push 0xd8
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004c6800
add esp, 0x10
mov eax, dword [ebp - 0x1c]
push eax
call dword [ebp - 0x34]
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push str.LanmanServer
push 0
call dword [ebp - 0x28]
test eax, eax
jne 0x4ea66c
mov eax, 8
call fcn.004c3410
fld qword [0x5a9398]
fstp qword [esp]
push 0x44
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004c6800
add esp, 0x10
mov eax, dword [ebp - 0x1c]
push eax
call dword [ebp - 0x34]
test ebx, ebx
je 0x4ea677
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4ea69f
push str.CryptAcquireContextW
push ebx
call esi
mov dword [ebp - 0x24], eax
push str.CryptGenRandom
push ebx
call esi
mov dword [ebp - 0x30], eax
push str.CryptReleaseContext
push ebx
call esi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4ea775
cmp dword [ebp - 0x30], 0
je 0x4ea775
cmp dword [ebp - 0x38], 0
je 0x4ea775
push 0xf0000000
push 1
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call eax
test eax, eax
je 0x4ea717
lea edx, [ebp + 0x34c]
push edx
push 0x40
mov eax, dword [ebp - 0x3c]
push eax
call dword [ebp - 0x30]
test eax, eax
je 0x4ea70e
mov eax, 8
call fcn.004c3410
fldz
fstp qword [esp]
push 0x40
lea ecx, [ebp + 0x34c]
push ecx
call fcn.004c6800
add esp, 0x10
mov dword [ebp - 0x20], 1
push 0
mov edx, dword [ebp - 0x3c]
push edx
call dword [ebp - 0x38]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea eax, [ebp - 0x3c]
push eax
call dword [ebp - 0x24]
test eax, eax
je 0x4ea775
lea ecx, [ebp + 0x34c]
push ecx
push 0x40
mov edx, dword [ebp - 0x3c]
push edx
call dword [ebp - 0x30]
test eax, eax
je 0x4ea76c
mov eax, 8
call fcn.004c3410
fld qword [0x5a92f8]
fstp qword [esp]
push 0x40
lea eax, [ebp + 0x34c]
push eax
call fcn.004c6800
add esp, 0x10
mov dword [ebp - 0x20], 1
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [ebp - 0x38]
test ebx, ebx
je 0x4ea780
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4ea79a
call fcn.004c63f0
test eax, eax
jne 0x4ea887
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x4ea887
push str.GetForegroundWindow
push ebx
call esi
mov dword [ebp - 0x2c], eax
push str.GetCursorInfo
push ebx
call esi
mov dword [ebp - 0x24], eax
push 0x5a92c0
push ebx
call esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4ea7f9
call eax
mov dword [ebp - 0x2c], eax
mov eax, 8
call fcn.004c3410
fldz
fstp qword [esp]
push 4
lea edx, [ebp - 0x2c]
push edx
call fcn.004c6800
add esp, 0x10
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4ea852
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4ea817
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x4ea852
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4ea852
mov dword [ebp - 0x68], 0x14
lea ecx, [ebp - 0x68]
push ecx
call eax
test eax, eax
je 0x4ea852
mov eax, 8
call fcn.004c3410
fld qword [0x5a92b8]
fstp qword [esp]
mov edx, dword [ebp - 0x68]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.004c6800
add esp, 0x10
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4ea880
push 0xbf
call eax
mov dword [ebp - 0x40], eax
mov eax, 8
call fcn.004c3410
fld1
fstp qword [esp]
push 4
lea ecx, [ebp - 0x40]
push ecx
call fcn.004c6800
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x4eab0d
mov dword [ebp - 0x1c], 0
push 0x5a9298
push edi
call esi
mov ebx, eax
push str.CloseToolhelp32Snapshot
push edi
call esi
mov dword [ebp - 0x50], eax
push str.Heap32First
push edi
call esi
mov dword [ebp - 0x2c], eax
push str.Heap32Next
push edi
call esi
mov dword [ebp - 0x44], eax
push str.Heap32ListFirst
push edi
call esi
mov dword [ebp - 0x54], eax
push str.Heap32ListNext
push edi
call esi
mov dword [ebp - 0x4c], eax
push 0x5a9238
push edi
call esi
mov dword [ebp - 0x24], eax
push 0x5a9228
push edi
call esi
mov dword [ebp - 0x28], eax
push str.Thread32First
push edi
call esi
mov dword [ebp - 0x38], eax
push str.Thread32Next
push edi
call esi
mov dword [ebp - 0x30], eax
push str.Module32First
push edi
call esi
mov dword [ebp - 0x34], eax
push 0x5a91e8
push edi
call esi
mov dword [ebp - 0x48], eax
test ebx, ebx
je 0x4eab06
cmp dword [ebp - 0x2c], 0
je 0x4eab06
cmp dword [ebp - 0x44], 0
je 0x4eab06
cmp dword [ebp - 0x54], 0
je 0x4eab06
cmp dword [ebp - 0x4c], 0
je 0x4eab06
cmp dword [ebp - 0x24], 0
je 0x4eab06
cmp dword [ebp - 0x28], 0
je 0x4eab06
cmp dword [ebp - 0x38], 0
je 0x4eab06
cmp dword [ebp - 0x30], 0
je 0x4eab06
cmp dword [ebp - 0x34], 0
je 0x4eab06
test eax, eax
je 0x4eab06
push 0
push 0xf
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4eab06
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x64], 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x20], eax
je 0x4ea9b9
call esi
mov dword [ebp - 0x1c], eax
mov dword [ebp + 0x224], 0x128
cmp dword [ebp - 0x20], 0
je 0x4ea9ce
call esi
mov dword [ebp - 0x1c], eax
lea edx, [ebp + 0x224]
push edx
push ebx
call dword [ebp - 0x24]
test eax, eax
je 0x4eaa27
mov eax, 8
call fcn.004c3410
fld qword [0x5a91e0]
fstp qword [esp]
mov eax, dword [ebp + 0x224]
push eax
lea ecx, [ebp + 0x224]
push ecx
call fcn.004c6800
add esp, 0x10
lea edx, [ebp + 0x224]
push edx
push ebx
call dword [ebp - 0x28]
test eax, eax
je 0x4eaa27
cmp dword [ebp - 0x20], 0
je 0x4ea9dd
call esi
sub eax, dword [ebp - 0x1c]
cmp eax, 0x3e8
jb 0x4ea9dd
mov dword [ebp - 0x84], 0x1c
cmp dword [ebp - 0x20], 0
je 0x4eaa3c
call esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x84]
push eax
push ebx
call dword [ebp - 0x38]
test eax, eax
je 0x4eaa95
mov eax, 8
call fcn.004c3410
fld qword [0x5a91d8]
fstp qword [esp]
mov ecx, dword [ebp - 0x84]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.004c6800
add esp, 0x10
lea eax, [ebp - 0x84]
push eax
push ebx
call dword [ebp - 0x30]
test eax, eax
je 0x4eaa95
cmp dword [ebp - 0x20], 0
je 0x4eaa4b
call esi
sub eax, dword [ebp - 0x1c]
cmp eax, 0x3e8
jb 0x4eaa4b
mov dword [ebp], 0x224
cmp dword [ebp - 0x20], 0
je 0x4eaaa7
call esi
mov dword [ebp - 0x1c], eax
lea ecx, [ebp]
push ecx
push ebx
call dword [ebp - 0x34]
test eax, eax
je 0x4eaaf4
mov eax, 8
call fcn.004c3410
fld qword [0x5a91e0]
fstp qword [esp]
mov edx, dword [ebp]
push edx
lea eax, [ebp]
push eax
call fcn.004c6800
add esp, 0x10
lea ecx, [ebp]
push ecx
push ebx
call dword [ebp - 0x48]
test eax, eax
je 0x4eaaf4
cmp dword [ebp - 0x20], 0
je 0x4eaab3
call esi
sub eax, dword [ebp - 0x1c]
cmp eax, 0x3e8
jb 0x4eaab3
mov eax, dword [ebp - 0x50]
push ebx
test eax, eax
je 0x4eab00
call eax
jmp 0x4eab06
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.004ea4b0
lea edx, [ebp - 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.004c3410
fld1
fstp qword [esp]
push 0x20
lea eax, [ebp - 0xa4]
push eax
call fcn.004c6800
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x40], eax
mov eax, 8
call fcn.004c3410
fld1
fstp qword [esp]
push 4
lea ecx, [ebp - 0x40]
push ecx
call fcn.004c6800
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x38c]
xor ecx, ebp
call fcn.004a314d
add ebp, 0x390
mov esp, ebp
pop ebp
ret