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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1015f7b8
push 0x100e2690
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x504
call fcn.1001cd50
mov eax, dword [0x1016420c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x140], 0x94
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push str.ADVAPI32.DLL
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call edi
mov esi, eax
push str.KERNEL32.DLL
call edi
mov dword [ebp - 0x498], eax
push str.NETAPI32.DLL
call edi
mov dword [ebp - 0x4b8], eax
xor ecx, ecx
mov dword [ebp - 0x4b0], ecx
mov dword [ebp - 0x494], ecx
mov dword [ebp - 0x49c], ecx
mov dword [ebp - 0x4a8], ecx
xor edx, edx
mov dword [ebp - 0x4ac], edx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100af959
push str.NetStatisticsGet
push eax
call edi
mov dword [ebp - 0x4a8], eax
push str.NetApiBufferFree
push dword [ebp - 0x4b8]
call edi
mov edx, eax
mov dword [ebp - 0x4ac], edx
mov ecx, dword [ebp - 0x4a8]
test ecx, ecx
je 0x100afa08
test edx, edx
je 0x100afa08
lea eax, [ebp - 0x490]
push eax
push 0
push 0
push str.LanmanWorkstation
push 0
call ecx
test eax, eax
jne 0x100af9b7
mov eax, 8
call fcn.1001cd50
movsd xmm0, qword [0x10147d50]
movsd qword [esp], xmm0
push 0xd8
push dword [ebp - 0x490]
call fcn.1006c7b0
add esp, 0x10
push dword [ebp - 0x490]
call dword [ebp - 0x4ac]
lea eax, [ebp - 0x490]
push eax
push 0
push 0
push str.LanmanServer
push 0
mov eax, dword [ebp - 0x4a8]
call eax
test eax, eax
jne 0x100afa08
mov eax, 8
call fcn.1001cd50
movsd xmm0, qword [0x10147d48]
movsd qword [esp], xmm0
push 0x44
push dword [ebp - 0x490]
call fcn.1006c7b0
add esp, 0x10
push dword [ebp - 0x490]
call dword [ebp - 0x4ac]
mov eax, dword [ebp - 0x4b8]
test eax, eax
je 0x100afa19
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x100afa4b
push str.CryptAcquireContextW
push esi
call edi
mov dword [ebp - 0x4b0], eax
push str.CryptGenRandom
push esi
call edi
mov dword [ebp - 0x494], eax
push str.CryptReleaseContext
push esi
call edi
mov ecx, eax
mov dword [ebp - 0x49c], ecx
jmp 0x100afa4d
xor ecx, ecx
mov eax, dword [ebp - 0x4b0]
test eax, eax
je 0x100afb47
cmp dword [ebp - 0x494], 0
je 0x100afb47
test ecx, ecx
je 0x100afb47
push 0xf0000000
push 1
push 0
push 0
lea ecx, [ebp - 0x4a0]
push ecx
call eax
test eax, eax
je 0x100afad6
lea eax, [ebp - 0x5c]
push eax
push 0x40
push dword [ebp - 0x4a0]
call dword [ebp - 0x494]
test eax, eax
je 0x100afac8
mov eax, 8
call fcn.1001cd50
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0x40
lea eax, [ebp - 0x5c]
push eax
call fcn.1006c7b0
add esp, 0x10
mov dword [ebp - 0x4a4], 1
push 0
push dword [ebp - 0x4a0]
call dword [ebp - 0x49c]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea eax, [ebp - 0x4a0]
push eax
mov ecx, dword [ebp - 0x4b0]
call ecx
test eax, eax
je 0x100afb47
lea eax, [ebp - 0x5c]
push eax
push 0x40
push dword [ebp - 0x4a0]
call dword [ebp - 0x494]
test eax, eax
je 0x100afb39
mov eax, 8
call fcn.1001cd50
movsd xmm0, qword [0x10147d58]
movsd qword [esp], xmm0
push 0x40
lea eax, [ebp - 0x5c]
push eax
call fcn.1006c7b0
add esp, 0x10
mov dword [ebp - 0x4a4], 1
push 0
push dword [ebp - 0x4a0]
call dword [ebp - 0x49c]
mov eax, dword [ebp - 0x4a4]
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x4e4], eax
mov dword [ebp - 0x4e0], eax
mov dword [ebp - 0x4dc], eax
mov dword [ebp - 0x4d8], eax
mov dword [ebp - 0x4d4], eax
mov dword [ebp - 0x4d0], eax
mov dword [ebp - 0x4f0], eax
test esi, esi
je 0x100afb88
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x130], 2
jne 0x100afb9e
call fcn.1006f240
test eax, eax
jne 0x100afcaf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x100afcaf
push str.GetForegroundWindow
push esi
call edi
mov dword [ebp - 0x4b4], eax
push str.GetCursorInfo
push esi
call edi
mov dword [ebp - 0x4bc], eax
push str.GetQueueStatus
push esi
call edi
mov dword [ebp - 0x4c0], eax
mov eax, dword [ebp - 0x4b4]
test eax, eax
je 0x100afc12
call eax
mov dword [ebp - 0x4b4], eax
mov eax, 8
call fcn.1001cd50
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x4b4]
push eax
call fcn.1006c7b0
add esp, 0x10
mov eax, dword [ebp - 0x4bc]
test eax, eax
je 0x100afc69
cmp dword [ebp - 0x130], 2
jne 0x100afc2e
cmp dword [ebp - 0x13c], 5
jb 0x100afc69
test eax, eax
je 0x100afc69
mov dword [ebp - 0x70], 0x14
lea ecx, [ebp - 0x70]
push ecx
call eax
test eax, eax
je 0x100afc69
mov eax, 8
call fcn.1001cd50
movsd xmm0, qword [0x10147d20]
movsd qword [esp], xmm0
push dword [ebp - 0x70]
lea eax, [ebp - 0x70]
push eax
call fcn.1006c7b0
add esp, 0x10
mov eax, dword [ebp - 0x4c0]
test eax, eax
je 0x100afca8
push 0xbf
call eax
mov dword [ebp - 0x4c4], eax
mov eax, 8
call fcn.1001cd50
movsd xmm0, qword [0x10116628]
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x4c4]
push eax
call fcn.1006c7b0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x498], 0
je 0x100b018d
xor esi, esi
mov dword [ebp - 0x494], esi
push 0x10147c54
mov esi, dword [ebp - 0x498]
push esi
call edi
mov dword [ebp - 0x49c], eax
push str.CloseToolhelp32Snapshot
push esi
call edi
mov dword [ebp - 0x4ec], eax
push str.Heap32First
push esi
call edi
mov dword [ebp - 0x4b8], eax
push str.Heap32Next
push esi
call edi
mov dword [ebp - 0x4b0], eax
push str.Heap32ListFirst
push esi
call edi
mov esi, eax
mov dword [ebp - 0x4f4], esi
push str.Heap32ListNext
push dword [ebp - 0x498]
call edi
mov dword [ebp - 0x4ac], eax
push str.Process32First
push dword [ebp - 0x498]
call edi
mov dword [ebp - 0x4a8], eax
push str.Process32Next
push dword [ebp - 0x498]
call edi
mov dword [ebp - 0x4c8], eax
push str.Thread32First
push dword [ebp - 0x498]
call edi
mov dword [ebp - 0x4c0], eax
push str.Thread32Next
push dword [ebp - 0x498]
call edi
mov dword [ebp - 0x4bc], eax
push str.Module32First
push dword [ebp - 0x498]
call edi
mov dword [ebp - 0x4b4], eax
push str.Module32Next
push dword [ebp - 0x498]
call edi
mov ecx, eax
mov dword [ebp - 0x4e8], ecx
mov eax, dword [ebp - 0x49c]
test eax, eax
je 0x100b0181
cmp dword [ebp - 0x4b8], 0
je 0x100b0181
cmp dword [ebp - 0x4b0], 0
je 0x100b0181
test esi, esi
je 0x100b0181
cmp dword [ebp - 0x4ac], 0
je 0x100b0181
cmp dword [ebp - 0x4a8], 0
je 0x100b0181
cmp dword [ebp - 0x4c8], 0
je 0x100b0181
cmp dword [ebp - 0x4c0], 0
je 0x100b0181
cmp dword [ebp - 0x4bc], 0
je 0x100b0181
cmp dword [ebp - 0x4b4], 0
je 0x100b0181
test ecx, ecx
je 0x100b0181
push 0
push 0xf
call eax
mov esi, eax
mov dword [ebp - 0x490], esi
cmp esi, 0xffffffff
je 0x100b0181
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x6c], 0x10
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x4a4], 0
je 0x100afe5b
call edi
mov dword [ebp - 0x494], eax
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [ebp - 0x4f4]
test eax, eax
je 0x100affc8
mov esi, 0x2a
mov dword [ebp - 0x49c], esi
nop dword [eax]
mov eax, 8
call fcn.1001cd50
movsd xmm0, qword [0x10147d28]
movsd qword [esp], xmm0
push dword [ebp - 0x6c]
lea eax, [ebp - 0x6c]
push eax
call fcn.1006c7b0
add esp, 0x10
wait
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x51c], xmm0
movups xmmword [ebp - 0x50c], xmm0
mov dword [ebp - 0x4fc], 0
mov dword [ebp - 0x51c], 0x24
push dword [ebp - 0x64]
push dword [ebp - 0x68]
lea eax, [ebp - 0x51c]
push eax
call dword [ebp - 0x4b8]
test eax, eax
je 0x100aff5b
mov esi, 0x50
mov dword [ebp - 0x4f8], esi
mov eax, 8
call fcn.1001cd50
movsd xmm0, qword [0x10147d30]
movsd qword [esp], xmm0
push dword [ebp - 0x51c]
lea eax, [ebp - 0x51c]
push eax
call fcn.1006c7b0
add esp, 0x10
lea eax, [ebp - 0x51c]
push eax
call dword [ebp - 0x4b0]
test eax, eax
je 0x100aff55
cmp dword [ebp - 0x4f0], 0
je 0x100aff4a
call edi
sub eax, dword [ebp - 0x494]
cmp eax, 0x3e8
jae 0x100aff55
dec esi
mov dword [ebp - 0x4f8], esi
test esi, esi
jg 0x100afef5
mov esi, dword [ebp - 0x49c]
wait
mov dword [ebp - 4], 0xfffffffe
jmp 0x100aff94
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x490]
call dword [ebp - 0x4ac]
test eax, eax
je 0x100affc8
cmp dword [ebp - 0x4d0], 0
je 0x100affc0
call edi
sub eax, dword [ebp - 0x494]
cmp eax, 0x3e8
jae 0x100affc8
test esi, esi
jg 0x100afe80
mov dword [ebp - 0x268], 0x128
cmp dword [ebp - 0x4d4], 0
je 0x100affe1
call edi
mov esi, eax
jmp 0x100affe7
mov esi, dword [ebp - 0x494]
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x490]
call dword [ebp - 0x4a8]
test eax, eax
je 0x100b0057
nop
mov eax, 8
call fcn.1001cd50
movsd xmm0, qword [0x10147d40]
movsd qword [esp], xmm0
push dword [ebp - 0x268]
lea eax, [ebp - 0x268]
push eax
call fcn.1006c7b0
add esp, 0x10
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x490]
call dword [ebp - 0x4c8]
test eax, eax
je 0x100b0057
cmp dword [ebp - 0x4d8], 0
je 0x100b0000
call edi
sub eax, esi
cmp eax, 0x3e8
jb 0x100b0000
mov dword [ebp - 0x8c], 0x1c
cmp dword [ebp - 0x4dc], 0
je 0x100b006e
call edi
mov esi, eax
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x490]
call dword [ebp - 0x4c0]
test eax, eax
je 0x100b00dc
mov eax, 8
call fcn.1001cd50
movsd xmm0, qword [0x10147d38]
movsd qword [esp], xmm0
push dword [ebp - 0x8c]
lea eax, [ebp - 0x8c]
push eax
call fcn.1006c7b0
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x490]
call dword [ebp - 0x4bc]
test eax, eax
je 0x100b00dc
cmp dword [ebp - 0x4e0], 0
je 0x100b0085
call edi
sub eax, esi
cmp eax, 0x3e8
jb 0x100b0085
mov dword [ebp - 0x48c], 0x224
cmp dword [ebp - 0x4e4], 0
je 0x100b00f3
call edi
mov esi, eax
lea eax, [ebp - 0x48c]
push eax
push dword [ebp - 0x490]
call dword [ebp - 0x4b4]
test eax, eax
je 0x100b0167
nop word [eax + eax]
mov eax, 8
call fcn.1001cd50
movsd xmm0, qword [0x10147d40]
movsd qword [esp], xmm0
push dword [ebp - 0x48c]
lea eax, [ebp - 0x48c]
push eax
call fcn.1006c7b0
add esp, 0x10
lea eax, [ebp - 0x48c]
push eax
push dword [ebp - 0x490]
call dword [ebp - 0x4e8]
test eax, eax
je 0x100b0167
cmp dword [ebp - 0x4a4], 0
je 0x100b0110
call edi
sub eax, esi
cmp eax, 0x3e8
jb 0x100b0110
mov eax, dword [ebp - 0x4ec]
push dword [ebp - 0x490]
test eax, eax
je 0x100b017b
call eax
jmp 0x100b0181
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x498]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.100b0220
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.1001cd50
movsd xmm0, qword [0x10116628]
movsd qword [esp], xmm0
push 0x20
lea eax, [ebp - 0xac]
push eax
call fcn.1006c7b0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x4c4], eax
mov eax, 8
call fcn.1001cd50
movsd xmm0, qword [0x10116628]
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x4c4]
push eax
call fcn.1006c7b0
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 - 0x1c]
xor ecx, ebp
call fcn.1001cd0b
mov esp, ebp
pop ebp
ret