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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x100fd944], 0
mov edx, dword [0x100fd93c]
mov ecx, dword [0x100fd934]
jne 0x10028182
test ecx, ecx
jne 0x10028182
push ebx
mov dword [0x100fd944], 1
mov dword [0x100fd934], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x28]
push eax
push 0x10027e60
push 0
push 0
mov dword [ebp - 0x28], 0x100281a0
mov dword [ebp - 0x24], esi
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
mov ebx, eax
mov dword [ebp - 0x2c], ebx
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x100280ee
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, ecx
and eax, 2
mov dword [ebp - 0x34], eax
mov eax, ecx
and eax, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
and eax, 8
push edi
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
mov dword [ebp - 0x38], eax
jmp 0x10027f40
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x3c]
cmp eax, 0x3e8
jbe 0x10027f58
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x100fd938]
test eax, eax
je 0x10027fb8
push dword [0x100fd92c]
call eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
je 0x10027fae
jmp 0x10027f80
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x10027f80
mov dword [0x100fd938], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
cmp dword [ebp - 0x34], 0
je 0x10028038
lea esp, [esp]
push 1
push 0x109
push 0x100
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x10027fd0
jmp 0x10027ff0
push 1
push 0x20e
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x10027ff0
push 1
push 0x20
push 0x20
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x10028008
lea ebx, [ebx]
push 1
push 0x113
push 0x113
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x10028020
cmp dword [ebp - 0x30], 0
je 0x1002807e
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
je 0x1002807e
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x10028050
cmp dword [ebp - 0x38], 0
je 0x100280d4
mov eax, dword [0x100fddb0]
push 0
push eax
push eax
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
je 0x100280d4
lea esp, [esp]
mov eax, dword [0x100fddb0]
push eax
push eax
push 0
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [0x100fddb0]
push 0
push eax
push eax
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x100280a0
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10027f40
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
pop edi
test cl, 4
je 0x10028148
push 1
push 0x84
push 0x84
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x100280f3
jmp 0x10028110
push 1
push 0x20e
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x10028110
jmp 0x10028130
push 1
push 0x109
push 0x100
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x10028130
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov dword [0x100fd944], 0
mov eax, 1
mov dword [0x100fd934], 0
mov dword [0x100fd93c], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100944ae
mov esp, ebp
pop ebp
ret