Function at 0x42bad0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58ec98
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp + 8]
mov ebx, eax
lea esi, [edi + 0x17c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], esi
jmp 0x42bb28
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, dword [edi + 0x198]
jb 0x42bb48
push edi
call fcn.00429d00
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
cmp esi, ebx
je 0x42bb69
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x60], 1
cmp dword [edi + 0x178], 0
je 0x42bbd6
mov eax, dword [edi + 0x174]
mov esi, dword [eax]
mov eax, dword [edi + 0x160]
add edi, 0x160
test eax, eax
jne 0x42bd80
call fcn.004a35f3
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x42bba4
call fcn.004a35f3
add esi, 8
push esi
lea esi, [esp + 0x18]
call fcn.0042cd20
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push ecx
lea ebx, [esp + 0x40]
call fcn.0042da60
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x178]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov edi, eax
mov byte [esp + 0x60], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42bbea
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x42bd38
call fcn.00429150
mov ecx, eax
mov eax, edi
call fcn.00429130
cmp ecx, eax
jle 0x42bc21
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00429150
mov ecx, eax
mov eax, edi
call fcn.00429130
cmp ecx, eax
jg 0x42bc04
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor edi, edi
push edi
push 0x10000
push ebx
push 0x42c740
push 0x6000
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x42bc94
jmp 0x42bc50
call dword [sym.imp.KERNEL32.dll_GetLastError]
inc edi
cmp edi, 0x3c
jge 0x42bd87
cmp eax, 8
jne 0x42bd87
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x10000
push ebx
push 0x42c740
push 0x6000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x42bc50
mov edi, dword [ebp + 8]
add edi, 0x148
mov dword [esp + 0x20], 0
je 0x42bcb2
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x20], edi
mov byte [esp + 0x60], 2
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x140]
mov edx, dword [edi + 0x128]
add edi, 0x128
lea eax, [esp + 0x14]
mov dword [esp + 0x34], ecx
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x38], edx
call fcn.0042d420
mov ecx, dword [eax]
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x42bcf3
cmp ecx, dword [esp + 0x30]
je 0x42bcfc
call fcn.004a35f3
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
cmp dword [eax + 4], edx
jne 0x42bd1a
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ebx, edi
call fcn.0042d030
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x60], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42bd2e
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 0
jne 0x42bdb0
cmp dword [esp + 0x24], 0
jne 0x42bd4f
mov eax, 0x7530
call fcn.00493180
mov dword [esp + 0x60], 0xffffffff
test ebx, ebx
je 0x42bb20
lea edx, [ebx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42bb20
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
jmp 0x42bb20
mov eax, dword [eax]
jmp 0x42bb9a
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42bd9f
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
mov eax, dword [ebx + 0xc]
cmp eax, 0xffffffff
je 0x42bd35
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x42bd35
mov dword [esp + 0x60], 0xffffffff
test ebx, ebx
je 0x42bdd4
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42bdd4
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4