Function at 0x4b0bb4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x4b0bbc
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b111c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xf8]
mov edi, eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00498bd4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, 1
mov ecx, dword [eax]
call dword [ecx + 0x14]
test al, al
je 0x4b0cba
cmp word [ebx], 0x20
jb 0x4b0c47
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
movzx eax, word [ebx]
mov word [ebp - 0x16], ax
lea edx, [ebp - 0x38]
mov eax, esi
call fcn.0045a218
mov eax, dword [ebp - 0x38]
movzx edx, word [ebp - 0x16]
mov ecx, dword [eax]
call dword [ecx + 0x34]
test al, al
jne 0x4b0c47
push 0
call sub.user32.dll_MessageBeep
mov word [ebx], 0
movzx eax, word [ebx]
cmp eax, 0x18
jg 0x4b0c5d
je 0x4b0c6c
sub eax, 8
je 0x4b0c6c
sub eax, 0xe
je 0x4b0c6c
jmp 0x4b0cba
sub eax, 0x1b
je 0x4b0c93
add eax, 0xfffffffb
sub eax, 0xffe0
jae 0x4b0cba
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
lea edx, [ebp - 0x3c]
mov eax, esi
call fcn.0045a218
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x24]
test al, al
jne 0x4b0cba
mov word [ebx], 0
jmp 0x4b0cba
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
lea edx, [ebp - 0x40]
mov eax, esi
call fcn.0045a218
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x28]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x11c]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e0], 0
je 0x4b10bf
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2ee]
sub al, 2
jae 0x4b0cf5
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.00490de0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
add eax, 0x2e8
call fcn.004086ec
jmp 0x4b0d29
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x2e4]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30c]
jb 0x4b0d1b
mov eax, dword [ebp - 4]
add eax, 0x2e8
call fcn.0040830c
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x2e4], eax
movzx eax, word [ebx]
sub ax, 8
je 0x4b0d75
dec ax
je 0x4b0d46
sub ax, 0x12
jne 0x4b0f12
jmp 0x4b10bf
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e1], 0
je 0x4b108d
mov eax, dword [ebp - 4]
call fcn.004af240
test al, al
je 0x4b108d
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004af264
jmp 0x4b108d
push ebp
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.004b0acc
pop ecx
test al, al
je 0x4b0d98
push ebp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004b0b10
pop ecx
jmp 0x4b0efc
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2ee]
sub al, 2
jae 0x4b0dca
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00490de0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4b0dc3
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x4b0dcc
xor eax, eax
test al, al
je 0x4b0eb4
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00490de0
mov esi, dword [ebp - 0x10]
jmp 0x4b0de5
dec esi
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.00428350
cmp al, 2
je 0x4b0de4
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00409360
push 0
push 0xffffffffffffffff
push 0x14e
mov eax, dword [ebp - 4]
call fcn.00499e94
push eax
call sub.user32.dll_SendMessageW
lea eax, [ebp - 0x54]
push eax
mov edx, dword [ebp - 0x14]
inc edx
mov ecx, 0x7fffffff
mov eax, dword [ebp - 0xc]
call fcn.00409360
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 8]
call fcn.00409190
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.00490e3c
mov eax, esi
dec eax
movzx eax, ax
dec esi
movzx edx, si
shl edx, 0x10
or eax, edx
push eax
push 0
push 0x142
mov eax, dword [ebp - 4]
call fcn.00499e94
push eax
call sub.user32.dll_SendMessageW
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.00490de0
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
add eax, 0x2e8
call fcn.004086ec
jmp 0x4b0efc
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x2e8]
test esi, esi
je 0x4b0ea0
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebp - 4]
add eax, 0x2e8
mov ecx, 1
mov edx, esi
call fcn.004093a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
call fcn.00408804
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
call fcn.00428350
cmp al, 2
je 0x4b0e8e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
test eax, eax
je 0x4b0ee8
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
add edx, 0x2e8
mov ecx, 1
xchg edx, eax
call fcn.004093a8
mov word [ebx], 0
mov eax, dword [ebp - 4]
mov si, 0xffae
call fcn.004069f0
jmp 0x4b108d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e1], 0
je 0x4b0f34
mov eax, dword [ebp - 4]
call fcn.004af240
test al, al
jne 0x4b0f34
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004af264
push ebp
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.004b0acc
pop ecx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2ee], 2
jae 0x4b0f67
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
test eax, eax
je 0x4b0f5f
sub eax, 4
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
setg al
jmp 0x4b0f69
xor eax, eax
test al, al
je 0x4b0fd4
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x2e8]
test esi, esi
je 0x4b0f7f
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
mov ecx, dword [ebp - 0x10]
mov edx, 1
call fcn.00409360
push dword [ebp - 0x5c]
lea eax, [ebp - 0x60]
movzx edx, word [ebx]
call fcn.00408f64
push dword [ebp - 0x60]
lea eax, [ebp - 0x64]
push eax
mov edx, dword [ebp - 0x14]
inc edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
mov ecx, esi
call fcn.00409360
push dword [ebp - 0x64]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00409218
jmp 0x4b0ff3
lea eax, [ebp - 0x68]
movzx edx, word [ebx]
call fcn.00408f64
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2e8]
lea eax, [ebp - 0xc]
call fcn.00409190
movzx eax, word [ebx]
cmp ax, 0xd800
jb 0x4b1002
cmp ax, 0xdfff
jbe 0x4b1006
xor eax, eax
jmp 0x4b1008
mov al, 1
test al, al
je 0x4b1079
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00499e94
push eax
lea eax, [ebp - 0x34]
push eax
call sub.user32.dll_PeekMessageW
test eax, eax
je 0x4b108d
cmp dword [ebp - 0x30], 0x102
jne 0x4b108d
lea eax, [ebp - 0x70]
movzx edx, word [ebp - 0x2c]
call fcn.00408f64
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0xc]
call fcn.00409190
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.004b112c
test al, al
je 0x4b108d
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00499e94
push eax
lea eax, [ebp - 0x34]
push eax
call sub.user32.dll_PeekMessageW
mov word [ebx], 0
jmp 0x4b108d
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004b112c
test al, al
je 0x4b108d
mov word [ebx], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xf8]
cmp edi, eax
je 0x4b10bf
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, 3
mov ecx, dword [eax]
call dword [ecx + 0x14]
test al, al
je 0x4b10bf
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
call fcn.0045a2c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1123
lea eax, [ebp - 0x70]
mov edx, 6
call fcn.0040836c
lea eax, [ebp - 0x58]
call fcn.0040830c
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.0040836c
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040836c
lea eax, [ebp - 0x40]
mov edx, dword [0x44548c]
mov ecx, 3
call fcn.0040986c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040836c
ret