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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov edi, eax
mov ebx, 0x4d10ac
xor eax, eax
push ebp
push 0x4b8eda
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4b892d
mov edx, 0x4b8ef0
mov eax, dword [0x4d1aac]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4b8e83
mov eax, dword [0x4d0134]
mov eax, dword [eax + 0xab0]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4b8a58
mov eax, dword [ebx]
cmp byte [eax + 0x189d], 0
je 0x4b8976
mov eax, dword [ebx]
cmp dword [eax + 0x189e], 0
jne 0x4b8a58
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
jmp 0x4b89d8
mov eax, 0x3e8
call fcn.00498d6c
sub esi, edi
mov eax, dword [0x4d044c]
sub eax, esi
mov ecx, 0x3e8
xor edx, edx
div ecx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.004089fc
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x4b8f08
call fcn.004044cc
mov edx, dword [ebp - 0x20]
mov eax, dword [0x4d0134]
mov eax, dword [eax + 0xab4]
call fcn.00458ca8
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov eax, esi
sub eax, edi
cmp eax, dword [0x4d044c]
setb al
and al, byte [0x4d1178]
jne 0x4b8986
push 0x4d0244
push 0x4d0344
lea eax, [ebp - 0x124]
mov edx, dword [0x4d0448]
mov ecx, 0xff
call fcn.0040445c
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x224]
mov edx, dword [0x4d0444]
mov ecx, 0xff
call fcn.0040445c
lea edx, [ebp - 0x224]
mov eax, 0x4d0144
pop ecx
call fcn.004ca4f0
mov edi, dword [0x4d10b4]
mov eax, dword [0x4cdab4]
mov dword [eax + 0x1e], ebx
mov eax, 0x3e8
call fcn.00498d6c
jmp 0x4b8e83
push edi
mov eax, dword [ebx]
push eax
call fcn.00498e28
test al, al
je 0x4b8dc6
mov ecx, 0xe28
mov edx, edi
mov eax, dword [ebx]
call fcn.00499320
test al, al
je 0x4b8dc6
mov eax, dword [ebx]
cmp byte [eax + 0x189d], 0
je 0x4b8dc6
mov eax, dword [ebx]
cmp dword [eax + 0x189e], 0
je 0x4b8dc6
mov eax, dword [0x4d0134]
mov eax, dword [eax + 0x57c]
mov edx, 0xff000005
call fcn.00458e18
mov eax, dword [0x4d0134]
mov eax, dword [eax + 0x694]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4b8ada
mov edx, 0x4d1484
mov ecx, 1
mov eax, edi
call fcn.004c43ec
mov eax, dword [0x4d0134]
mov eax, dword [eax + 0x590]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4b8b02
mov edx, 0x4d118c
mov ecx, 1
mov eax, edi
call fcn.004c3c54
mov eax, dword [0x4d1170]
call fcn.00405344
test eax, eax
jle 0x4b8db2
mov eax, dword [0x4d1170]
call fcn.0040534c
test eax, eax
jl 0x4b8e79
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
cmp byte [0x4d1178], 0
je 0x4b8e79
push edi
mov eax, dword [ebx]
push eax
call fcn.00498e28
mov ecx, 0xe28
mov edx, edi
mov eax, dword [ebx]
call fcn.00499320
imul eax, esi, 0x4d
mov edx, dword [0x4d1170]
imul eax, dword [edx + eax + 0x14], 0x4d
mov edx, dword [ebx]
mov edx, dword [edx + 0x1a18]
cmp dword [edx + eax + 0xc], 0
jne 0x4b8b7b
mov edx, dword [ebx]
mov edx, dword [edx + 0x1a18]
cmp dword [edx + eax], 0
je 0x4b8b8a
mov eax, dword [ebx]
cmp dword [eax + 0x620], 2
je 0x4b8c4b
imul eax, esi, 0x4d
mov edx, dword [0x4d1170]
imul eax, dword [edx + eax + 0x14], 0x4d
mov edx, dword [ebx]
mov edx, dword [edx + 0x1a18]
cmp dword [edx + eax + 0xc], 0
jne 0x4b8c07
push 0x4b8f24
imul eax, esi, 0x4d
mov edx, dword [0x4d1170]
push dword [edx + eax + 4]
push 0x4b8f30
push 0x4b8f4c
call fcn.0040a488
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x22c]
call fcn.0040b0f0
push dword [ebp - 0x22c]
push 0x4b8f58
lea eax, [ebp - 0x228]
mov edx, 6
call fcn.00404540
mov edx, dword [ebp - 0x228]
mov eax, dword [0x4d1aac]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4b8c21
mov eax, dword [ebx]
cmp dword [eax + 0x620], 2
je 0x4b8c21
mov edx, 0x4b8f64
mov eax, dword [0x4d1aac]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x4d116c
push 0x4d1174
mov ecx, 0x4d1170
mov edx, 0x4d1168
mov eax, edi
call fcn.004b77cc
mov eax, 0x1f4
call fcn.00498d6c
jmp 0x4b8e79
imul eax, esi, 0x4d
mov edx, dword [0x4d1170]
imul eax, dword [edx + eax + 0x14], 0x4d
mov edx, dword [ebx]
mov edx, dword [edx + 0x1a18]
mov eax, dword [edx + eax + 0xc]
imul edx, esi, 0x4d
mov ecx, dword [0x4d1170]
cmp eax, dword [ecx + edx + 0x34]
ja 0x4b8da3
mov byte [ebp - 9], 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x1a18]
call fcn.0040534c
test eax, eax
jl 0x4b8d46
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
imul eax, dword [ebp - 4], 0x4d
mov edx, dword [ebx]
mov edx, dword [edx + 0x1a18]
mov eax, dword [edx + eax]
imul edx, esi, 0x4d
mov ecx, dword [0x4d1170]
cmp eax, dword [ecx + edx]
jne 0x4b8d34
imul eax, dword [ebp - 4], 0x4d
mov edx, dword [ebx]
mov edx, dword [edx + 0x1a18]
mov eax, dword [edx + eax + 0xc]
imul edx, esi, 0x4d
mov ecx, dword [0x4d1170]
cmp eax, dword [ecx + edx + 0x34]
jbe 0x4b8d34
mov eax, dword [0x4d1170]
call fcn.0040534c
test eax, eax
jl 0x4b8d1f
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
imul eax, dword [ebp - 8], 0x4d
mov edx, dword [0x4d1170]
mov eax, dword [edx + eax + 0x14]
imul edx, dword [ebp - 4], 0x4d
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x1a18]
cmp eax, dword [ecx + edx + 0x14]
jne 0x4b8d17
mov byte [ebp - 9], 0
jmp 0x4b8d1f
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x4b8cf1
mov eax, dword [0x4d1170]
call fcn.0040534c
cmp eax, dword [ebp - 8]
jge 0x4b8d34
mov byte [ebp - 9], 1
jmp 0x4b8d46
cmp byte [ebp - 9], 0
jne 0x4b8d46
inc dword [ebp - 4]
dec dword [ebp - 0x18]
jne 0x4b8c9c
cmp byte [ebp - 9], 0
je 0x4b8da3
imul eax, esi, 0x4d
mov edx, dword [0x4d1170]
mov edx, dword [edx + eax + 4]
lea eax, [ebp - 0x230]
mov ecx, 0x4b8f84
call fcn.004044cc
mov edx, dword [ebp - 0x230]
mov eax, dword [0x4d1aac]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x4d116c
push 0x4d1174
mov ecx, 0x4d1170
mov edx, 0x4d1168
mov eax, edi
call fcn.004b77cc
mov eax, 0x1f4
call fcn.00498d6c
jmp 0x4b8e79
inc esi
dec dword [ebp - 0x14]
jne 0x4b8b2c
jmp 0x4b8e79
mov edx, 0x4b8fa8
mov eax, dword [0x4d1aac]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4b8e79
push edi
mov eax, dword [ebx]
push eax
call fcn.00498e28
test al, al
je 0x4b8e21
mov ecx, 0xe28
mov edx, edi
mov eax, dword [ebx]
call fcn.00499320
test al, al
je 0x4b8e21
mov eax, dword [ebx]
cmp byte [eax + 0x189d], 0
je 0x4b8dfb
mov eax, dword [ebx]
cmp dword [eax + 0x189e], 0
jne 0x4b8e30
mov edx, 0x4b8fc4
mov eax, dword [0x4d1aac]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4d0134]
mov eax, dword [eax + 0x57c]
mov edx, 0xff
call fcn.00458e18
jmp 0x4b8e30
mov edx, 0x4b8fe4
mov eax, dword [0x4d1aac]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4d0134]
mov eax, dword [eax + 0x568]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4b8e79
mov eax, dword [ebx]
cmp byte [eax + 0x189d], 0
je 0x4b8e5d
mov eax, dword [ebx]
cmp dword [eax + 0x189e], 0
jne 0x4b8e79
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x4973dc
push 0
push 0
call sub.kernel32.dll_CreateThread_1
push eax
call sub.kernel32.dll_CloseHandle
mov eax, 0x3e8
call fcn.00498d6c
cmp byte [0x4d1178], 0
jne 0x4b8941
mov edx, 0x4b9000
mov eax, dword [0x4d1aac]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4b8eaf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8ee1
lea eax, [ebp - 0x230]
mov edx, 3
call fcn.004041c8
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004041c8
ret