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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x4d
push 0
push 0
dec ecx
jne 0x47b928
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x47be38
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x480f64]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x47bdf2
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x2c], eax
mov dl, 1
mov eax, dword [0x413000]
call fcn.00403c54
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 1
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x2c]
cmp eax, 0x32
jg 0x47bd80
mov eax, dword [0x482eb4]
mov edx, dword [eax]
call dword [edx]
mov eax, dword [0x480f64]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x47b9c9
lea ecx, [ebp - 4]
mov eax, dword [0x480f64]
mov eax, dword [eax]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [0x480f64]
mov eax, dword [eax]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [0x480d98]
add dword [eax], 1
adc dword [eax + 4], 0
jmp 0x47b9d1
lea eax, [ebp - 4]
call fcn.00404ab8
mov eax, dword [0x482eb4]
mov edx, dword [eax]
call dword [edx + 4]
cmp dword [ebp - 4], 0
je 0x47bd80
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
push ebp
push 0x47bd69
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x482e8d], 0
je 0x47ba6e
lea eax, [ebp - 0x13c]
push eax
mov eax, dword [0x480ca0]
mov dword [ebp - 0x144], eax
mov byte [ebp - 0x140], 0
lea edx, [ebp - 0x144]
xor ecx, ecx
mov eax, 0x47be50
call fcn.00409994
mov edx, dword [ebp - 0x13c]
lea eax, [ebp - 0x138]
mov ecx, 0xff
call fcn.00404d54
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x244]
mov edx, dword [ebp - 4]
mov ecx, 0xff
call fcn.00404d54
lea eax, [ebp - 0x244]
pop edx
call fcn.00476f20
mov edx, dword [ebp - 4]
mov eax, 0x47be60
call fcn.004050bc
dec eax
jge 0x47ba8b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47bdf2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov ecx, 0x47be6c
mov edx, 0x47be60
call fcn.0047b6a0
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 0x47be78
call fcn.0047b5c0
mov edx, dword [ebp - 0x248]
lea eax, [ebp - 0xc]
call fcn.00404b50
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
mov ecx, 0x47be6c
mov edx, 0x47be60
call fcn.0047b6a0
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404b50
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
mov ecx, 0x47be6c
mov edx, 0x47be60
call fcn.0047b6a0
cmp dword [ebp - 0x14], 0
jne 0x47bb0f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47bdf2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
mov ecx, 0x47be6c
mov edx, 0x47be60
call fcn.0047b6a0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
mov ecx, 0x47be6c
mov edx, 0x47be60
call fcn.0047b6a0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
mov ecx, 0x47be6c
mov edx, 0x47be60
call fcn.0047b6a0
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.00404b50
mov eax, dword [ebp - 4]
cmp byte [eax], 0x31
jne 0x47bb71
lea eax, [ebp - 4]
call fcn.00404fd0
mov byte [eax], 0x45
jmp 0x47bb7c
lea eax, [ebp - 4]
call fcn.00404fd0
mov byte [eax], 0x52
lea eax, [ebp - 0x18]
push eax
mov ecx, 3
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00404fd8
mov eax, dword [ebp - 0x18]
mov edx, 0x47be84
call fcn.00404ec4
je 0x47bc0d
lea eax, [ebp - 0x24c]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x254], eax
mov byte [ebp - 0x250], 0xb
lea edx, [ebp - 0x25c]
mov ecx, 1
mov eax, 0x47be90
call fcn.00409994
mov edx, dword [ebp - 0x24c]
lea eax, [ebp - 8]
call fcn.00404b50
mov eax, dword [ebp - 0x18]
push eax
push 0x20
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dl, byte [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0047b3b4
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x14]
call fcn.0047af50
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x47bca8
mov eax, 0x15
call fcn.00402a78
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, 0x15
call fcn.00403538
lea eax, [ebp - 0x138]
mov edx, dword [ebp - 0xc]
mov ecx, 0xff
call fcn.00404d54
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0x24]
mov cl, 0xf
call fcn.00403428
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x14], 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov eax, dword [0x482eb0]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov al, 1
call fcn.0047b048
mov ecx, 0x47bea0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.004765ac
jmp 0x47bd5f
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x14], 0
je 0x47bcde
lea eax, [ebp - 0x260]
mov edx, dword [ebp - 0x24]
call fcn.00404d1c
mov eax, dword [ebp - 0x260]
mov edx, dword [ebp - 0xc]
call fcn.00404ec4
je 0x47bd5f
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x14], 0
jne 0x47bd2c
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x14], 1
cmp byte [0x482e8c], 0
je 0x47bd0c
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, 0x47beb0
mov al, 0x52
call fcn.0047b22c
jmp 0x47bd1f
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, 0x47bebc
mov al, 0x52
call fcn.0047b22c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov al, 1
call fcn.0047b048
lea eax, [ebp - 0x138]
mov edx, dword [ebp - 0xc]
mov ecx, 0xff
call fcn.00404d54
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0x24]
mov cl, 0xf
call fcn.00403428
mov ecx, 0x47bea0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.004765ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47bd73
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 0x65
jne 0x47b972
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x47bdea
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x268]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x144], eax
mov byte [ebp - 0x140], 0xb
lea edx, [ebp - 0x144]
xor ecx, ecx
mov eax, 0x47bec8
call fcn.00409994
mov eax, dword [ebp - 0x264]
xor edx, edx
call fcn.0047ca1c
inc dword [ebp - 0x30]
dec dword [ebp - 0x38]
jne 0x47bd98
mov eax, dword [ebp - 0x34]
call fcn.00403c84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47be3f
lea eax, [ebp - 0x268]
mov edx, 3
call fcn.00404adc
lea eax, [ebp - 0x24c]
mov edx, 2
call fcn.00404adc
lea eax, [ebp - 0x13c]
call fcn.00404ab8
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00404adc
ret