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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x45c
mov dword [esp + 0x68], 0
mov dword [esp], str.ADVAPI32.DLL
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov dword [esp + 0x30], eax
call eax
push ecx
mov ebx, eax
mov dword [esp], 0x67f3ed
call esi
push edi
mov ebp, eax
mov dword [esp], str.NETAPI32.DLL
call esi
push edx
mov esi, eax
test eax, eax
je 0x4edde0
mov dword [esp + 4], str.NetStatisticsGet
mov dword [esp], eax
mov edx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x24], edx
call edx
sub esp, 8
mov edi, eax
mov dword [esp + 4], str.NetApiBufferFree
mov dword [esp], esi
mov edx, dword [esp + 0x24]
call edx
sub esp, 8
mov dword [esp + 0x28], eax
lea eax, [esp + 0x228]
test edi, edi
je 0x4ee461
mov edx, dword [esp + 0x28]
test edx, edx
mov dword [esp + 0x24], eax
je 0x4ed7cc
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.LanmanWorkstation
mov dword [esp], 0
call edi
sub esp, 0x14
test eax, eax
je 0x4ede20
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.LanmanServer
mov dword [esp], 0
call edi
sub esp, 0x14
test eax, eax
je 0x4ede60
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ecx
test ebx, ebx
je 0x4eddd0
mov dword [esp + 4], str.CryptAcquireContextW
mov dword [esp], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
sub esp, 8
mov edi, eax
mov dword [esp + 4], str.CryptGenRandom
mov dword [esp], ebx
call esi
sub esp, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 4], str.CryptReleaseContext
mov dword [esp], ebx
call esi
sub esp, 8
mov dword [esp + 0x34], eax
test edi, edi
je 0x4eddc0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4eddc0
test eax, eax
je 0x4eddc0
mov dword [esp + 0x10], 0xf0000000
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea esi, [esp + 0x68]
mov dword [esp], esi
call edi
sub esp, 0x14
test eax, eax
jne 0x4edea0
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x16
mov dword [esp + 8], str.Intel_Hardware_Cryptographic_Service_Provider
mov dword [esp + 4], 0
mov dword [esp], esi
call edi
sub esp, 0x14
test eax, eax
jne 0x4edf00
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edx
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
call esi
test eax, eax
js 0x4edc80
call fcn.004b7090
test eax, eax
je 0x4edc80
lea eax, [esp + 0x6c]
mov dword [esp + 0x30], eax
test ebp, ebp
je 0x4edbca
mov dword [esp + 4], 0x67f53c
mov dword [esp], ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
sub esp, 8
mov ebx, eax
mov dword [esp + 4], str.CloseToolhelp32Snapshot
mov dword [esp], ebp
call edi
sub esp, 8
mov dword [esp + 0x54], eax
mov dword [esp + 4], str.Heap32First
mov dword [esp], ebp
call edi
sub esp, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 4], str.Heap32Next
mov dword [esp], ebp
call edi
sub esp, 8
mov esi, eax
mov dword [esp + 4], str.Heap32ListFirst
mov dword [esp], ebp
call edi
sub esp, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 4], str.Heap32ListNext
mov dword [esp], ebp
call edi
sub esp, 8
mov dword [esp + 0x34], eax
mov dword [esp + 4], str.Process32First
mov dword [esp], ebp
call edi
sub esp, 8
mov dword [esp + 0x40], eax
mov dword [esp + 4], str.Process32Next
mov dword [esp], ebp
call edi
sub esp, 8
mov dword [esp + 0x44], eax
mov dword [esp + 4], str.Thread32First
mov dword [esp], ebp
call edi
sub esp, 8
mov dword [esp + 0x48], eax
mov dword [esp + 4], str.Thread32Next
mov dword [esp], ebp
call edi
sub esp, 8
mov dword [esp + 0x4c], eax
mov dword [esp + 4], 0x67f5db
mov dword [esp], ebp
call edi
sub esp, 8
mov dword [esp + 0x50], eax
mov dword [esp + 4], 0x67f5e9
mov dword [esp], ebp
call edi
sub esp, 8
mov edi, eax
mov dword [esp + 0x58], eax
test ebx, ebx
je 0x4edbc0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4edbc0
test esi, esi
je 0x4edbc0
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4edbc0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4edbc0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4edbc0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4edbc0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4edbc0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4edbc0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4edbc0
test edi, edi
je 0x4edbc0
mov dword [esp + 4], 0
mov dword [esp], 0xf
call ebx
sub esp, 8
mov dword [esp + 0x38], eax
inc eax
je 0x4edbc0
mov ecx, 4
xor eax, eax
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
mov dword [esp + 0x70], 0x10
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x4ee3f0
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [esp + 0x3c]
sub esp, 8
test eax, eax
jne 0x4edfa0
mov dword [esp + 0x100], 0x128
mov dword [esp + 0x5c], 0
lea ebx, [esp + 0x100]
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [esp + 0x40]
sub esp, 8
test eax, eax
jne 0x4ee190
mov dword [esp + 0x80], 0x1c
lea ebx, [esp + 0x80]
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [esp + 0x48]
sub esp, 8
test eax, eax
jne 0x4ee120
mov dword [esp + 0x228], 0x224
lea esi, [esi]
lea edi, [edi]
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [esp + 0x50]
sub esp, 8
test eax, eax
je 0x4edb9b
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x4ee390
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40220000
mov eax, dword [esp + 0x228]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004ed460
mov dword [esp + 4], ebx
mov dword [esp], edi
call esi
sub esp, 8
test eax, eax
jne 0x4edb60
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4ee420
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [esp + 0x54]
push eax
lea esi, [esi]
lea edi, [edi]
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push eax
mov eax, dword [0x6363e0]
test eax, eax
jne 0x4eddf0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x100], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 4
lea eax, [esp + 0x100]
mov dword [esp], eax
call fcn.004ed460
mov ebx, dword [esp + 0x24]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x3ff00000
mov dword [esp + 4], 0x20
mov dword [esp], ebx
call fcn.004ed460
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x6c], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x3ff00000
mov dword [esp + 4], 4
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004ed460
mov eax, 1
add esp, 0x45c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.USER32.DLL
call dword [esp + 0x30]
push edx
mov ebx, eax
test eax, eax
je 0x4ed8cd
mov dword [esp + 4], str.GetForegroundWindow
mov dword [esp], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
sub esp, 8
mov dword [esp + 0x30], eax
mov dword [esp + 4], str.GetCursorInfo
mov dword [esp], ebx
call edi
sub esp, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 4], str.GetQueueStatus
mov dword [esp], ebx
call edi
sub esp, 8
mov edi, eax
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4edd0b
call edx
mov dword [esp + 0x228], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 4
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004ed460
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4edd20
call esi
test eax, eax
js 0x4edd70
call esi
cmp al, 4
ja 0x4edd70
nop
test edi, edi
je 0x4edf50
mov dword [esp], 0x4bf
call edi
push esi
mov dword [esp + 0x6c], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x3ff00000
mov dword [esp + 4], 4
lea eax, [esp + 0x6c]
mov dword [esp + 0x30], eax
mov dword [esp], eax
call fcn.004ed460
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
jmp 0x4ed8d5
mov dword [esp + 0x228], 0x14
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call dword [esp + 0x2c]
push esi
test eax, eax
je 0x4edd20
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40000000
mov eax, dword [esp + 0x228]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004ed460
jmp 0x4edd20
mov dword [esp + 0x28], 0
jmp 0x4ed8a6
mov dword [esp + 0x28], 0
jmp 0x4ed8b0
lea eax, [esp + 0x228]
mov dword [esp + 0x24], eax
jmp 0x4ed7d6
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push ebp
test eax, eax
jne 0x4edf60
mov dword [0x6363e0], 0
jmp 0x4edbd7
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40468000
mov dword [esp + 4], 0xd8
mov eax, dword [esp + 0x228]
mov dword [esp], eax
call fcn.004ed460
mov eax, dword [esp + 0x228]
mov dword [esp], eax
call dword [esp + 0x28]
push eax
jmp 0x4ed798
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40310000
mov dword [esp + 4], 0x44
mov eax, dword [esp + 0x228]
mov dword [esp], eax
call fcn.004ed460
mov eax, dword [esp + 0x228]
mov dword [esp], eax
call dword [esp + 0x28]
push edi
jmp 0x4ed7cc
lea edx, [esp + 0xc0]
mov dword [esp + 8], edx
mov dword [esp + 0x28], edx
mov dword [esp + 4], 0x40
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call dword [esp + 0x2c]
sub esp, 0xc
test eax, eax
mov edx, dword [esp + 0x28]
jne 0x4ee224
mov dword [esp + 0x28], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call dword [esp + 0x34]
sub esp, 8
jmp 0x4ed876
lea esi, [esp + 0xc0]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x40
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call dword [esp + 0x2c]
sub esp, 0xc
test eax, eax
jne 0x4ee1f7
mov dword [esp + 4], 0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call dword [esp + 0x34]
sub esp, 8
jmp 0x4ed8a6
lea eax, [esp + 0x6c]
mov dword [esp + 0x30], eax
jmp 0x4edd5e
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 8
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004ed460
mov edi, dword [0x6363e0]
test edi, edi
jne 0x4edc0b
jmp 0x4edbd7
mov dword [esp + 0x5c], 0
lea edi, [esp + 0x9c]
nop
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40080000
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.004ed460
mov dword [esp + 0x9c], 0x24
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [esp + 0x2c]
sub esp, 0xc
test eax, eax
je 0x4ee040
mov ebx, 0x50
jmp 0x4ee013
dec ebx
je 0x4ee040
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40140000
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004ed460
mov dword [esp], edi
call esi
push edx
test eax, eax
jne 0x4ee010
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [esp + 0x34]
sub esp, 8
test eax, eax
je 0x4ee330
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4edfb0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [esp + 0x5c]
cmp eax, 0x3e7
jbe 0x4edfb0
mov edi, ebx
mov dword [esp + 0x100], 0x128
call edi
mov dword [esp + 0x5c], eax
lea ebx, [esp + 0x100]
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [esp + 0x40]
sub esp, 8
test eax, eax
jne 0x4ee190
mov dword [esp + 0x80], 0x1c
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4edae6
call edi
mov dword [esp + 0x5c], eax
lea ebx, [esp + 0x80]
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [esp + 0x48]
sub esp, 8
test eax, eax
jne 0x4ee120
mov dword [esp + 0x228], 0x224
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4edb20
call edi
mov dword [esp + 0x5c], eax
jmp 0x4edb20
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x4ee2c0
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x38]
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40180000
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004ed460
mov dword [esp + 4], ebx
mov dword [esp], edi
call esi
sub esp, 8
test eax, eax
jne 0x4ee140
mov dword [esp + 0x38], edi
mov dword [esp + 0x228], 0x224
jmp 0x4edb20
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x4ee251
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x38]
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40220000
mov eax, dword [esp + 0x100]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004ed460
mov dword [esp + 4], ebx
mov dword [esp], edi
call esi
sub esp, 8
test eax, eax
jne 0x4ee1b0
mov dword [esp + 0x38], edi
mov dword [esp + 0x80], 0x1c
jmp 0x4edae6
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40500000
mov dword [esp + 4], 0x40
mov dword [esp], esi
call fcn.004ed460
mov dword [esp + 0x28], 1
jmp 0x4edf29
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x40
mov dword [esp], edx
call fcn.004ed460
mov dword [esp + 0x28], 1
jmp 0x4eded9
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40220000
mov eax, dword [esp + 0x100]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004ed460
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [esp + 0x44]
sub esp, 8
test eax, eax
je 0x4ee433
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [esp + 0x5c]
cmp eax, 0x3e7
jbe 0x4ee190
mov edi, esi
mov dword [esp + 0x80], 0x1c
jmp 0x4ee0cc
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40180000
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004ed460
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [esp + 0x4c]
sub esp, 8
test eax, eax
je 0x4ee44a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [esp + 0x5c]
cmp eax, 0x3e7
jbe 0x4ee120
mov edi, esi
mov dword [esp + 0x228], 0x224
jmp 0x4ee106
mov dword [esp + 0x100], 0x128
mov edi, dword [esp + 0x28]
test edi, edi
je 0x4edaba
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call eax
mov dword [esp + 0x5c], eax
lea ebx, [esp + 0x100]
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [esp + 0x40]
sub esp, 8
test eax, eax
jne 0x4ee190
mov dword [esp + 0x80], 0x1c
jmp 0x4ee0cc
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40220000
mov eax, dword [esp + 0x228]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x24]
mov dword [esp], esi
call fcn.004ed460
mov dword [esp + 4], esi
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [esp + 0x58]
sub esp, 8
test eax, eax
je 0x4edb9b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x5c]
cmp eax, 0x3e7
jbe 0x4edb3e
jmp 0x4edb9b
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [esp + 0x3c]
sub esp, 8
test eax, eax
jne 0x4edfa8
jmp 0x4ee083
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
jmp 0x4edbc0
mov dword [esp + 0x80], 0x1c
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
jmp 0x4ee0cc
mov dword [esp + 0x228], 0x224
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
jmp 0x4ee106
mov dword [esp + 0x24], eax
jmp 0x4ed7cc