Function at 0x100056d0
Capabilities:
Check for time delay via gettickcount
Create thread
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1e4
mov eax, dword [0x10015018]
xor eax, esp
mov dword [esp + 0x1e0], eax
push ebx
push esi
push edi
jmp 0x100056fd
push 0x94
lea eax, [esp + 0x54]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x54], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ebx, 0x10019460
call fcn.10008a60
test al, al
jne 0x1000574a
call fcn.1000b720
call fcn.10009950
test al, al
jne 0x10005758
call fcn.1000b720
call fcn.10009ac0
test al, al
jne 0x10005766
call fcn.1000b720
call fcn.1000bd90
test al, al
jne 0x10005774
call fcn.1000b720
call fcn.10008cc0
test al, al
jne 0x10005782
call fcn.1000b720
call fcn.10006a90
test al, al
jne 0x10005790
call fcn.1000b720
call fcn.10009200
test al, al
jne 0x1000579e
call fcn.1000b720
call fcn.10009480
test al, al
jne 0x100057ac
call fcn.1000b720
call fcn.10001360
test al, al
jne 0x100057e9
mov ecx, 4
push 0x1388
call fcn.10006570
push eax
push 2
mov eax, 0x1001e4a0
call fcn.1000bb40
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.1000ce99
mov esp, ebp
pop ebp
ret
push 0x10019486
mov ecx, 5
call fcn.10006570
push eax
lea eax, [esp + 0xf0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
lea ecx, [esp + 0xec]
push ecx
push 0
mov eax, 0x1001e250
call fcn.1000bb40
mov ecx, dword [0x10019484]
add esp, 0xc
mov edx, 0x10019464
call fcn.100013e0
test al, al
jne 0x10005841
mov ecx, 6
jmp 0x100057ba
call fcn.10003850
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 1
mov ebx, 0x1f4
mov edi, eax
call fcn.1000b770
add esp, 4
test al, al
jne 0x100059a9
call esi
sub eax, edi
cmp eax, 0xea60
ja 0x100059bc
call fcn.10001580
test al, al
jne 0x100058a6
call fcn.10001360
test al, al
je 0x100058a6
mov ecx, dword [0x10019484]
mov edx, 0x10019464
call fcn.100013e0
test al, al
je 0x100058a6
call fcn.10003850
jmp 0x10005992
cmp dword [0x1001e9c0], 0
je 0x10005992
cmp dword [0x1001e9c4], 0
je 0x10005992
cmp dword [0x1001e9cc], 0
je 0x10005992
cmp dword [0x1001e9d0], 0
je 0x10005992
cmp dword [0x1001e9d4], 0
je 0x10005992
cmp dword [0x1001e9c8], 0
je 0x10005992
mov ecx, dword [0x10019408]
sub ecx, dword [0x10019404]
mov eax, 0x7d8c42b3
imul ecx
mov ecx, dword [0x100193f8]
sub ecx, dword [0x100193f4]
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x3e0f83e1
imul ecx
mov ecx, dword [0x10019418]
sub ecx, dword [0x10019414]
sar edx, 6
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov dword [esp + 0xc], eax
mov eax, 0x7e07e07f
imul ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [0x100193e8]
sub ecx, dword [0x100193e4]
sar edx, 5
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [0x1001e9e4]
add ecx, dword [0x1001e9e0]
sar edx, 4
add ecx, dword [0x1001e9dc]
mov eax, edx
add ecx, dword [0x1001e9d8]
shr eax, 0x1f
add ebx, edx
add eax, ebx
cmp eax, ecx
je 0x100059a9
push 1
mov ebx, 0x1f4
call fcn.1000b770
add esp, 4
test al, al
je 0x10005867
call fcn.10009ac0
test al, al
jne 0x100059c6
mov ecx, 0x14
jmp 0x100057ba
mov ecx, 7
jmp 0x100057ba
call fcn.10004b70
mov edi, 0x10019460
call fcn.10008b80
call fcn.10008c50
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x10023a90
push 0
push 0
push 0x10005240
push 0
push 0
call edi
mov dword [0x1001e978], eax
test eax, eax
jne 0x10005a18
push eax
mov ecx, 0x2710
call fcn.10006570
push eax
push 2
mov eax, 0x1001e4a0
call fcn.1000bb40
add esp, 0xc
push 0x10023a94
push 0
push 0
push 0x10004f30
push 0
push 0
call edi
mov dword [0x1001e97c], eax
test eax, eax
jne 0x10005a50
push eax
mov ecx, 0x2711
call fcn.10006570
push eax
push 2
mov eax, 0x1001e4a0
call fcn.1000bb40
add esp, 0xc
push 0x10023a98
push 0
push 0
push 0x10004d10
push 0
push 0
call edi
mov dword [0x1001e980], eax
test eax, eax
jne 0x10005a88
push eax
mov ecx, 0x2712
call fcn.10006570
push eax
push 2
mov eax, 0x1001e4a0
call fcn.1000bb40
add esp, 0xc
mov eax, dword [0x1001e978]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0x7d0
push 1
push 0x1001e978
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call fcn.10005fe0
mov byte [0x10023a74], 1
call esi
mov esi, 0x1001e250
mov dword [0x10023a78], eax
call fcn.1000b390
jmp 0x10005ad7
mov ecx, dword [esp + 0x1ec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000ce99
mov esp, ebp
pop ebp
ret