Function at 0x402fc0
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov byte [esp + 0xc7], 0x5f
mov byte [esp + 0xbc], 1
mov dword [esp + 0xb8], 0x4f2f
mov dword [esp + 0x80], 0x260c
mov byte [esp + 0x84], 0xa6
mov dword [esp + 0x3c], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0x38], esi
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call eax
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
call eax
sub esp, 4
mov ecx, dword [esp + 0xb8]
xor ecx, 0x4f2f
mov dword [esp + 0xcc], 0xffffffff
mov dword [esp + 0xc8], 0xffff84aa
cmp eax, ecx
mov dword [esp + 0x34], eax
je 0x40309a
mov eax, 0x5cf
cmp eax, dword [esp + 0x80]
je 0x403066
mov ax, word [esp + 0xbe]
mov word [esp + 0xbe], ax
mov ecx, dword [esp + 0xb8]
xor ecx, 0x4f2f
mov dword [esp + 0x3c], ecx
jmp 0x40323e
lea eax, [0x401290]
mov ecx, 0x32
mov dl, 0x7a
lea esi, [esp + 0x46]
mov dh, byte [esp + 0xc7]
mov bl, byte [esp + 0x84]
sub dl, dh
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], 0x32
mov byte [esp + 0x33], dl
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x2b], bl
call fcn.00403bc0
mov dl, byte [esp + 0x2b]
mov dh, byte [esp + 0x33]
cmp dl, dh
jbe 0x40323e
lea eax, [0x4012c2]
mov dword [esp], eax
call fcn.004041bc
mov ecx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], eax
call ecx
lea ecx, [0x4012ca]
mov dword [esp + 0x78], 0
mov dword [esp + 0xb4], ecx
mov dl, byte [esp + 0xbd]
mov byte [esp + 0xbd], dl
mov dword [esp + 0x1c], eax
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc8], 0x70b4
mov al, byte [esp + 0xbc]
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x46]
neg al
mov dword [esp + 0xc0], 0x8fb8
mov esi, esp
mov dword [esi + 4], ecx
mov dword [esi], edx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1b], al
call fcn.00403280
sub esp, 8
cmp eax, 0
setne bl
mov bh, byte [esp + 0x1b]
xor bl, bh
test bl, 1
jne 0x40319a
jmp 0x403203
mov eax, dword [esp + 0xb8]
xor eax, 0x4f2e
add eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x34]
xor ecx, 0xffffffff
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0xb8]
xor ecx, 0x1c98f
mov byte [esp + 0xbd], 0x43
mov dword [esp + 0x78], eax
cmp dword [esp + 0x78], ecx
jle 0x4031d9
jmp 0x403203
lea eax, [0x4012d2]
lea ecx, [esp + 0x8c]
mov edx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004042c8
mov dword [esp + 0x14], eax
jmp 0x403138
movss xmm0, dword [0x401270]
mov ax, word [esp + 0xbe]
mov word [esp + 0xbe], ax
mov ecx, dword [esp + 0xb8]
add ecx, 0xffffb0d1
movss dword [esp], xmm0
mov dword [esp + 0x10], ecx
call fcn.004258e0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0xb8]
xor eax, 0x291d
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb8]
add ecx, 0xffffe4b1
cmp ecx, eax
je 0x4030eb
mov eax, dword [esp + 0x3c]
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret 0x10