Function at 0x10006710
Capabilities:
Acquire debug privileges
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 [0x1001c018]
xor eax, esp
mov dword [esp + 0x1e0], eax
push ebx
push esi
push edi
call fcn.10007790
push str.____________________________________________________________________________________________________
push 0
mov ecx, 0x10121ab8
call fcn.100078b0
push 0x94
lea eax, [esp + 0x5c]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x14
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 edi, 0x10126ad0
call fcn.1000acd0
test al, al
jne 0x100067ad
push 0x1001f698
call fcn.10010f90
add esp, 4
push eax
push 0
mov ecx, 0x10121ab8
call fcn.100078b0
add esp, 8
call fcn.100109e0
call fcn.1000da20
test al, al
jne 0x100067bd
push 0x1001f798
jmp 0x10006790
call fcn.1000db70
test al, al
jne 0x100067cd
push 0x1001f898
jmp 0x10006790
mov esi, str.SeDebugPrivilege
call fcn.100111b0
test al, al
jne 0x100067e2
push 0x1001f998
jmp 0x10006790
mov esi, str.SeShutdownPrivilege
call fcn.100111b0
test al, al
jne 0x100067f7
push 0x1001f998
jmp 0x10006790
call fcn.1000d000
test al, al
jne 0x10006807
push 0x1001fa98
jmp 0x10006790
call fcn.100092b0
test al, al
jne 0x1000681a
push 0x1001fb98
jmp 0x10006790
call fcn.1000d460
test al, al
jne 0x1000682d
push 0x1001fe98
jmp 0x10006790
call fcn.1000d580
test al, al
jne 0x10006840
push 0x1001ff98
jmp 0x10006790
call fcn.10001770
test al, al
jne 0x1000687d
mov ecx, 4
push 0x1388
call fcn.10007da0
push eax
push 2
mov eax, 0x1012bc40
call fcn.10010e10
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
push 0x10126b16
mov ecx, 5
call fcn.10007da0
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, 0x1012b9f0
call fcn.10010e10
movzx edx, word [0x10126b14]
add esp, 0xc
push edx
mov ecx, 0x10126af4
call fcn.100017f0
test al, al
jne 0x100068d7
mov ecx, 6
jmp 0x1000684e
call fcn.10004470
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 1
mov ebx, 0x1f4
mov edi, eax
call fcn.10010a40
add esp, 4
test al, al
jne 0x10006a6a
lea ecx, [ecx]
call esi
sub eax, edi
cmp eax, 0xea60
ja 0x10006abc
call fcn.100019f0
test al, al
jne 0x10006941
call fcn.10001770
test al, al
je 0x10006941
movzx eax, word [0x10126b14]
push eax
mov ecx, 0x10126af4
call fcn.100017f0
test al, al
je 0x10006941
call fcn.10004470
jmp 0x10006a53
cmp dword [0x1012c894], 0
je 0x10006a53
cmp dword [0x1012c898], 0
je 0x10006a53
cmp dword [0x1012c89c], 0
je 0x10006a53
cmp dword [0x1012c8a0], 0
je 0x10006a53
cmp dword [0x1012c8a4], 0
je 0x10006a53
cmp dword [0x1012c8a8], 0
je 0x10006a53
mov ecx, dword [0x10121aa0]
sub ecx, dword [0x10121a9c]
mov eax, 0x7e07e07f
imul ecx
mov ecx, dword [0x10121a90]
sub ecx, dword [0x10121a8c]
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x7e07e07f
imul ecx
mov ecx, dword [0x10121a80]
sub ecx, dword [0x10121a7c]
sar edx, 5
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov dword [esp + 0xc], eax
mov eax, 0x7d8c42b3
imul ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [0x10121a70]
sub ecx, dword [0x10121a6c]
sar edx, 7
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, 0x3e0f83e1
imul ecx
mov ecx, dword [0x10121a60]
sub ecx, dword [0x10121a5c]
sar edx, 6
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, eax
mov eax, 0x38e38e39
imul ecx
mov eax, dword [0x1012c8bc]
add eax, dword [0x1012c8b8]
sar edx, 4
add eax, dword [0x1012c8b4]
mov ecx, edx
add eax, dword [0x1012c8b0]
shr ecx, 0x1f
add eax, dword [0x1012c8ac]
add ebx, edx
add ecx, ebx
cmp ecx, eax
je 0x10006a6a
push 1
mov ebx, 0x1f4
call fcn.10010a40
add esp, 4
test al, al
je 0x10006900
mov ecx, dword [0x1012c8bc]
mov edx, dword [0x1012c8b8]
mov eax, dword [0x1012c8b4]
push ecx
mov ecx, dword [0x1012c8b0]
push edx
mov edx, dword [0x1012c8ac]
push eax
push ecx
push edx
push 0x1001fc98
call fcn.10010f90
add esp, 4
push eax
push 0
mov ecx, 0x10121ab8
call fcn.100078b0
add esp, 0x1c
call fcn.1000db70
test al, al
jne 0x10006ac6
mov ecx, 0x14
jmp 0x1000684e
mov ecx, 7
jmp 0x1000684e
cmp dword [0x1012c8f4], 0
je 0x10006aeb
call fcn.10002020
test al, al
jne 0x10006ae1
call fcn.100020d0
test al, al
je 0x10006aeb
mov ecx, 0x20
jmp 0x1000684e
mov ecx, 0x10126ad0
call fcn.1000b020
mov eax, dword [0x1012c8c8]
cmp eax, 1
jne 0x10006b06
call fcn.10007ec0
jmp 0x10006b0f
test eax, eax
jne 0x10006b0f
call fcn.10005a60
mov edi, 0x10126ad0
call fcn.1000ade0
call fcn.1000af90
call fcn.1000aed0
push 0
push 0
push 0
push 0x10006670
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, 0x1012b9f0
call fcn.1000f420
cmp dword [0x1012c8dc], 0
je 0x10006b55
mov eax, dword [0x1012c65c]
mov dword [0x10121cd8], eax
mov byte [0x1012cdac], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1012cdb0], eax
call fcn.100026b0
cmp dword [0x1012c8c0], 0
je 0x10006b7a
call fcn.1000b130
cmp dword [0x1012c8cc], 0
je 0x10006b88
call section..text
push 0x1001fd98
call fcn.10010f90
add esp, 4
push eax
push 0
mov ecx, 0x10121ab8
call fcn.100078b0
mov ecx, dword [esp + 0x1f4]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100143c4
mov esp, ebp
pop ebp
ret