Function at 0x2d2c4e
Capabilities:
Check for time delay via gettickcount
Create thread
Get number of processors
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], 0x57
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea edi, [ebx + 0xc]
mov eax, dword [edi]
mov dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x1c]
push 0x24
push 0x40
mov dword [edi], esi
mov dword [0x2db3d0], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x2d2d51
mov ecx, dword [ebp + 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0x14]
push eax
mov dword [esi + 8], edi
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebx + 0x20]
push 1
push eax
mov dword [esi + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [esi + 0xc], edi
test edi, edi
je 0x2d5af0
lea eax, [ebp - 0x1c]
push eax
push 4
push esi
push 0x2d135c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x2d5b35
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x24]
push eax
push 2
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 4], eax
sub eax, 0
je 0x2d5bba
dec eax
jne 0x2d5b71
mov eax, dword [0x2db080]
cmp eax, 0x2db080
je 0x2d2d40
test byte [eax + 0x1c], 4
jne 0x2d5ba3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
jne 0x2d5d11
mov eax, dword [0x2db080]
mov ebx, 0x2db080
mov esi, 0x2d2618
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xc], ecx
jne 0x2d5c6d
cmp eax, ebx
je 0x2d2d7c
test byte [eax + 0x1c], 4
jne 0x2d5cba
push 0
push 0
push 0x2d2e60
push dword [0x2db3dc]
push dword [0x2db3d8]
call dword [fcn.002d128c]
mov edi, dword fs:[0x18]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov eax, dword [edi + 0x30]
push 0x500
push dword [eax + 0x1d4]
call fcn.002d1ba2
mov dword [ebp - 4], eax
test eax, eax
jne 0x2d2e4c
cmp dword [ebp - 0x10], eax
jl 0x2d5ce0
and dword [ebp - 4], eax
mov dword [0x2db3cc], 1
mov eax, dword [0x2db080]
cmp eax, ebx
je 0x2d2df0
test byte [eax + 0x1c], 4
jne 0x2d5ccd
push 0
push 0
push 0x2d2e70
push dword [0x2db3dc]
push dword [0x2db3d8]
call dword [fcn.002d128c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x2d2e29
cmp dword [ebp - 4], 0
jne 0x2d5d20
mov dword [0x2db3c8], eax
cmp dword [ebp - 4], 0
jne 0x2d2e42
mov eax, dword [0x2db080]
cmp eax, ebx
je 0x2d2e42
test byte [eax + 0x1c], 4
jne 0x2d5d2c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
mov eax, dword [0x2db080]
cmp eax, ebx
je 0x2d2df0
jmp 0x2d5cf1
mov eax, dword [0x2db080]
mov ebx, 0x2db080
cmp eax, ebx
je 0x2d2d5b
test byte [eax + 0x1c], 4
je 0x2d2d5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x2db080]
mov esi, 0x2d2618
push esi
push 0x61
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d7fdf
mov eax, dword [0x2db080]
jmp 0x2d2d60
mov eax, dword [0x2db080]
cmp eax, 0x2db080
je 0x2d5b65
test byte [eax + 0x1c], 4
je 0x2d5b65
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x2db080]
push 0x2d2618
push 0x62
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d7fdf
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x2d2d40
mov eax, dword [0x2db080]
cmp eax, 0x2db080
je 0x2d2d40
test byte [eax + 0x1c], 4
je 0x2d2d40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x2db080]
push 0x2d2618
push 0x67
jmp 0x2d5c5d
push 0x2d2618
push 0x66
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d6af4
jmp 0x2d2d40
lea eax, [ebp - 4]
xor esi, esi
push eax
inc esi
push ebx
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0xffffffff
jne 0x2d5c04
mov eax, dword [0x2db080]
cmp eax, 0x2db080
je 0x2d5bf5
test byte [eax + 0x1c], 4
je 0x2d5bf5
push 0x2d2618
push 0x63
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d6af4
mov dword [ebp - 8], esi
mov dword [ebp - 4], 0x32
jmp 0x2d2d40
cmp dword [ebp - 4], 0x4c7
jne 0x2d5c39
mov eax, dword [0x2db080]
cmp eax, 0x2db080
je 0x2d5c31
test byte [eax + 0x1c], 4
je 0x2d5c31
push 0x2d2618
push 0x64
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d6af4
mov dword [ebp - 8], esi
jmp 0x2d2d40
mov eax, dword [0x2db080]
cmp eax, 0x2db080
je 0x2d2d40
test byte [eax + 0x1c], 4
je 0x2d2d40
push dword [ebp - 4]
push 0x2d2618
push 0x65
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d7fdf
jmp 0x2d2d40
push ecx
call fcn.002d2bc1
mov dword [ebp - 4], eax
test eax, eax
je 0x2d5c9c
mov eax, dword [0x2db080]
cmp eax, ebx
je 0x2d5cab
test byte [eax + 0x1c], 4
je 0x2d5cab
push dword [ebp - 4]
push esi
push 0x68
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d7fdf
jmp 0x2d5ca6
mov dword [0x2db460], 1
mov eax, dword [0x2db080]
cmp dword [ebp - 4], 0
je 0x2d2d6e
jmp 0x2d2df0
push esi
push 0x69
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d6af4
jmp 0x2d2d7c
push esi
push 0x6b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d6af4
jmp 0x2d2df0
push dword [ebp - 0x10]
call dword [0x2d1234]
mov dword [ebp - 4], eax
jmp 0x2d2e4c
test byte [eax + 0x1c], 4
je 0x2d2df0
push dword [ebp - 4]
push esi
push 0x6a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d7fdf
jmp 0x2d2df0
mov ebx, 0x2db080
mov esi, 0x2d2618
jmp 0x2d2e0b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x2d2e29
sub edi, dword [ebp - 0x18]
push edi
push esi
push 0x6c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d7fdf
jmp 0x2d2e42