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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5a4420
push 0x52a660
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x470
call fcn.00527690
mov eax, dword [0x5afb3c]
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 - 0x40c], 0
mov dword [ebp - 0x410], 0
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 - 0x404], eax
push str.NETAPI32.DLL
call edi
mov dword [ebp - 0x424], eax
xor ecx, ecx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x400], ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 0x414], ecx
xor edx, edx
mov dword [ebp - 0x418], edx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x507502
push str.NetStatisticsGet
push eax
call edi
mov dword [ebp - 0x414], eax
push str.NetApiBufferFree
push dword [ebp - 0x424]
call edi
mov edx, eax
mov dword [ebp - 0x418], edx
mov ecx, dword [ebp - 0x414]
test ecx, ecx
je 0x5075b1
test edx, edx
je 0x5075b1
lea eax, [ebp - 0x3fc]
push eax
push 0
push 0
push str.LanmanWorkstation
push 0
call ecx
test eax, eax
jne 0x507560
mov eax, 8
call fcn.00527690
movsd xmm0, qword [0x58b250]
movsd qword [esp], xmm0
push 0xd8
push dword [ebp - 0x3fc]
call fcn.004b4d70
add esp, 0x10
push dword [ebp - 0x3fc]
call dword [ebp - 0x418]
lea eax, [ebp - 0x3fc]
push eax
push 0
push 0
push str.LanmanServer
push 0
mov eax, dword [ebp - 0x414]
call eax
test eax, eax
jne 0x5075b1
mov eax, 8
call fcn.00527690
movsd xmm0, qword [0x58b248]
movsd qword [esp], xmm0
push 0x44
push dword [ebp - 0x3fc]
call fcn.004b4d70
add esp, 0x10
push dword [ebp - 0x3fc]
call dword [ebp - 0x418]
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x5075c2
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x5075f4
push str.CryptAcquireContextW
push esi
call edi
mov dword [ebp - 0x41c], eax
push str.CryptGenRandom
push esi
call edi
mov dword [ebp - 0x400], eax
push str.CryptReleaseContext
push esi
call edi
mov ecx, eax
mov dword [ebp - 0x408], ecx
jmp 0x5075f6
xor ecx, ecx
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x5076f0
cmp dword [ebp - 0x400], 0
je 0x5076f0
test ecx, ecx
je 0x5076f0
push 0xf0000000
push 1
push 0
push 0
lea ecx, [ebp - 0x40c]
push ecx
call eax
test eax, eax
je 0x50767f
lea eax, [ebp - 0x5c]
push eax
push 0x40
push dword [ebp - 0x40c]
call dword [ebp - 0x400]
test eax, eax
je 0x507671
mov eax, 8
call fcn.00527690
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0x40
lea eax, [ebp - 0x5c]
push eax
call fcn.004b4d70
add esp, 0x10
mov dword [ebp - 0x410], 1
push 0
push dword [ebp - 0x40c]
call dword [ebp - 0x408]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea eax, [ebp - 0x40c]
push eax
mov ecx, dword [ebp - 0x41c]
call ecx
test eax, eax
je 0x5076f0
lea eax, [ebp - 0x5c]
push eax
push 0x40
push dword [ebp - 0x40c]
call dword [ebp - 0x400]
test eax, eax
je 0x5076e2
mov eax, 8
call fcn.00527690
movsd xmm0, qword [0x58b258]
movsd qword [esp], xmm0
push 0x40
lea eax, [ebp - 0x5c]
push eax
call fcn.004b4d70
add esp, 0x10
mov dword [ebp - 0x410], 1
push 0
push dword [ebp - 0x40c]
call dword [ebp - 0x408]
mov eax, dword [ebp - 0x410]
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x45c], eax
test esi, esi
je 0x507731
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.004baca0
test eax, eax
jne 0x507839
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x507839
push str.GetForegroundWindow
push esi
call edi
mov dword [ebp - 0x420], eax
push str.GetCursorInfo
push esi
call edi
mov dword [ebp - 0x428], eax
push str.GetQueueStatus
push esi
call edi
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x420]
test eax, eax
je 0x5077b2
call eax
mov dword [ebp - 0x420], eax
mov eax, 8
call fcn.00527690
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x420]
push eax
call fcn.004b4d70
add esp, 0x10
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x5077f3
mov dword [ebp - 0x70], 0x14
lea ecx, [ebp - 0x70]
push ecx
call eax
test eax, eax
je 0x5077f3
mov eax, 8
call fcn.00527690
movsd xmm0, qword [0x58b220]
movsd qword [esp], xmm0
push dword [ebp - 0x70]
lea eax, [ebp - 0x70]
push eax
call fcn.004b4d70
add esp, 0x10
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x507832
push 0xbf
call eax
mov dword [ebp - 0x430], eax
mov eax, 8
call fcn.00527690
movsd xmm0, qword [0x5a0510]
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x430]
push eax
call fcn.004b4d70
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x404], 0
je 0x507d1d
xor esi, esi
mov dword [ebp - 0x400], esi
push 0x58b154
mov esi, dword [ebp - 0x404]
push esi
call edi
mov dword [ebp - 0x408], eax
push str.CloseToolhelp32Snapshot
push esi
call edi
mov dword [ebp - 0x458], eax
push str.Heap32First
push esi
call edi
mov dword [ebp - 0x424], eax
push str.Heap32Next
push esi
call edi
mov dword [ebp - 0x41c], eax
push str.Heap32ListFirst
push esi
call edi
mov esi, eax
mov dword [ebp - 0x460], esi
push str.Heap32ListNext
push dword [ebp - 0x404]
call edi
mov dword [ebp - 0x418], eax
push 0x58b1c0
push dword [ebp - 0x404]
call edi
mov dword [ebp - 0x414], eax
push 0x58b1d0
push dword [ebp - 0x404]
call edi
mov dword [ebp - 0x434], eax
push str.Thread32First
push dword [ebp - 0x404]
call edi
mov dword [ebp - 0x42c], eax
push str.Thread32Next
push dword [ebp - 0x404]
call edi
mov dword [ebp - 0x428], eax
push str.Module32First
push dword [ebp - 0x404]
call edi
mov dword [ebp - 0x420], eax
push str.Module32Next
push dword [ebp - 0x404]
call edi
mov ecx, eax
mov dword [ebp - 0x454], ecx
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x507d11
cmp dword [ebp - 0x424], 0
je 0x507d11
cmp dword [ebp - 0x41c], 0
je 0x507d11
test esi, esi
je 0x507d11
cmp dword [ebp - 0x418], 0
je 0x507d11
cmp dword [ebp - 0x414], 0
je 0x507d11
cmp dword [ebp - 0x434], 0
je 0x507d11
cmp dword [ebp - 0x42c], 0
je 0x507d11
cmp dword [ebp - 0x428], 0
je 0x507d11
cmp dword [ebp - 0x420], 0
je 0x507d11
test ecx, ecx
je 0x507d11
push 0
push 0xf
call eax
mov esi, eax
mov dword [ebp - 0x3fc], esi
cmp esi, 0xffffffff
je 0x507d11
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x6c], 0x10
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x410], 0
je 0x5079e5
call edi
mov dword [ebp - 0x400], eax
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [ebp - 0x460]
test eax, eax
je 0x507b53
mov esi, 0x2a
mov dword [ebp - 0x408], esi
mov eax, 8
call fcn.00527690
movsd xmm0, qword [0x58b228]
movsd qword [esp], xmm0
push dword [ebp - 0x6c]
lea eax, [ebp - 0x6c]
push eax
call fcn.004b4d70
add esp, 0x10
wait
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x488], xmm0
movups xmmword [ebp - 0x478], xmm0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x488], 0x24
push dword [ebp - 0x64]
push dword [ebp - 0x68]
lea eax, [ebp - 0x488]
push eax
call dword [ebp - 0x424]
test eax, eax
je 0x507ae6
mov esi, 0x50
mov dword [ebp - 0x464], esi
nop dword [eax + eax]
mov eax, 8
call fcn.00527690
movsd xmm0, qword [0x58b230]
movsd qword [esp], xmm0
push dword [ebp - 0x488]
lea eax, [ebp - 0x488]
push eax
call fcn.004b4d70
add esp, 0x10
lea eax, [ebp - 0x488]
push eax
call dword [ebp - 0x41c]
test eax, eax
je 0x507ae0
cmp dword [ebp - 0x45c], 0
je 0x507ad5
call edi
sub eax, dword [ebp - 0x400]
cmp eax, 0x3e8
jae 0x507ae0
dec esi
mov dword [ebp - 0x464], esi
test esi, esi
jg 0x507a80
mov esi, dword [ebp - 0x408]
wait
mov dword [ebp - 4], 0xfffffffe
jmp 0x507b1f
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x3fc]
call dword [ebp - 0x418]
test eax, eax
je 0x507b53
cmp dword [ebp - 0x43c], 0
je 0x507b4b
call edi
sub eax, dword [ebp - 0x400]
cmp eax, 0x3e8
jae 0x507b53
test esi, esi
jg 0x507a03
mov dword [ebp - 0x1d4], pe_nt_image_headers32
cmp dword [ebp - 0x440], 0
je 0x507b6c
call edi
mov esi, eax
jmp 0x507b72
mov esi, dword [ebp - 0x400]
lea eax, [ebp - 0x1d4]
push eax
push dword [ebp - 0x3fc]
call dword [ebp - 0x414]
test eax, eax
je 0x507be7
nop dword [eax]
mov eax, 8
call fcn.00527690
movsd xmm0, qword [0x58b240]
movsd qword [esp], xmm0
push dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d4]
push eax
call fcn.004b4d70
add esp, 0x10
lea eax, [ebp - 0x1d4]
push eax
push dword [ebp - 0x3fc]
call dword [ebp - 0x434]
test eax, eax
je 0x507be7
cmp dword [ebp - 0x444], 0
je 0x507b90
call edi
sub eax, esi
cmp eax, 0x3e8
jb 0x507b90
mov dword [ebp - 0x8c], 0x1c
cmp dword [ebp - 0x448], 0
je 0x507bfe
call edi
mov esi, eax
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x3fc]
call dword [ebp - 0x42c]
test eax, eax
je 0x507c6c
mov eax, 8
call fcn.00527690
movsd xmm0, qword [0x58b238]
movsd qword [esp], xmm0
push dword [ebp - 0x8c]
lea eax, [ebp - 0x8c]
push eax
call fcn.004b4d70
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x3fc]
call dword [ebp - 0x428]
test eax, eax
je 0x507c6c
cmp dword [ebp - 0x44c], 0
je 0x507c15
call edi
sub eax, esi
cmp eax, 0x3e8
jb 0x507c15
mov dword [ebp - 0x3f8], 0x224
cmp dword [ebp - 0x450], 0
je 0x507c83
call edi
mov esi, eax
lea eax, [ebp - 0x3f8]
push eax
push dword [ebp - 0x3fc]
call dword [ebp - 0x420]
test eax, eax
je 0x507cf7
nop word [eax + eax]
mov eax, 8
call fcn.00527690
movsd xmm0, qword [0x58b240]
movsd qword [esp], xmm0
push dword [ebp - 0x3f8]
lea eax, [ebp - 0x3f8]
push eax
call fcn.004b4d70
add esp, 0x10
lea eax, [ebp - 0x3f8]
push eax
push dword [ebp - 0x3fc]
call dword [ebp - 0x454]
test eax, eax
je 0x507cf7
cmp dword [ebp - 0x410], 0
je 0x507ca0
call edi
sub eax, esi
cmp eax, 0x3e8
jb 0x507ca0
mov eax, dword [ebp - 0x458]
push dword [ebp - 0x3fc]
test eax, eax
je 0x507d0b
call eax
jmp 0x507d11
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x404]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00507db0
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.00527690
movsd xmm0, qword [0x5a0510]
movsd qword [esp], xmm0
push 0x20
lea eax, [ebp - 0xac]
push eax
call fcn.004b4d70
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x430], eax
mov eax, 8
call fcn.00527690
movsd xmm0, qword [0x5a0510]
movsd qword [esp], xmm0
push 4
lea eax, [ebp - 0x430]
push eax
call fcn.004b4d70
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.00526b2d
mov esp, ebp
pop ebp
ret