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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ebbf
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x6d5db8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0xd03c], 0
jne 0x47308a
jmp 0x4736e4
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x2540], 0
jne 0x4736e4
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x2544], 0xffffffff
jne 0x4730d4
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x253c], 0
je 0x4730c2
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x253c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x253c], 0
jmp 0x4736e4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x2534]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x2544]
imul ecx, ecx, 0x3188
mov edx, dword [ebp - 0x4c]
add ecx, dword [edx + 0xd03c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0x2534]
mov eax, dword [edx + 0x14]
call eax
cmp dword [ebp - 0x14], 0
jne 0x473133
jmp 0x4736e4
mov dword [ebp - 0x18], 0
jmp 0x473145
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x90
jge 0x4736d7
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0
je 0x4736d2
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x58
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + eax + 0x4c], 0
jl 0x47318f
mov esi, dword [ebp - 0x18]
imul esi, esi, 0x58
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x58
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx + 0x50]
call fcn.00476b00
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + esi + 0x4c], eax
jb 0x4731d0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x2534]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x58
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax + 0x4c], 0
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x2534]
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x58
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx + eax + 0x50]
call fcn.00476b00
test eax, eax
ja 0x4731eb
jmp 0x47313c
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x2534]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x58
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax + 0x4c]
push edx
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x58
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx + eax + 0x50]
call fcn.00476b40
mov dword [ebp - 0x1c], eax
push 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
push eax
call fcn.00442630
mov ecx, eax
call fcn.00443110
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x2534]
mov edx, dword [eax + 0x14]
call edx
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x24], 0
je 0x47328a
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x1e4], 0
jbe 0x47327c
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x1c4]
mov dword [ebp - 0x20], edx
jmp 0x473288
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x1c4]
mov dword [ebp - 0x20], ecx
jmp 0x4732dc
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x2534]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x58
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax + 0x4c]
add edx, 1
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x58
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax + 0x4c], edx
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x2534]
mov edx, dword [eax + 0x14]
call edx
jmp 0x47313c
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc], 0
jne 0x473449
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x38], edx
push 0
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push edx
push 0
call fcn.00442630
mov ecx, eax
call fcn.00442f90
test eax, eax
jg 0x473362
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0x2534]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x58
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx + 0x4c]
add eax, 1
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x58
mov edx, dword [ebp - 0x14]
mov dword [edx + ecx + 0x4c], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0x2534]
mov eax, dword [edx + 0x14]
call eax
jmp 0x47313c
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xcc
call fcn.00466700
lea ecx, [ebp - 0x34]
call fcn.00514f40
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xd0
call fcn.005a5080
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], 0
jmp 0x4733aa
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x28]
jge 0x4733c8
mov edx, dword [ebp - 0x3c]
push edx
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.005151b0
jmp 0x4733a1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx + 4]
jle 0x47341f
push 0
push 0xb
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xcc
call fcn.00464100
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x473413
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xc], 1
jmp 0x47341d
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0xc], 2
jmp 0x473429
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00515010
jmp 0x4736d2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
imul eax, eax, 0x3e8
cmp ecx, eax
jb 0x4736d2
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0xc], 1
jne 0x4734d2
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xcc
call fcn.00466700
test eax, eax
je 0x4734d2
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0x2534]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x58
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx + 0x4c]
add eax, 1
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x58
mov edx, dword [ebp - 0x14]
mov dword [edx + ecx + 0x4c], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0x2534]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x58
mov eax, dword [ebp - 0x14]
cmp dword [eax + edx + 0x4c], 0
jl 0x47350d
mov esi, dword [ebp - 0x18]
imul esi, esi, 0x58
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x58
mov edx, dword [ebp - 0x14]
lea ecx, [edx + ecx + 0x50]
call fcn.00476b00
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + esi + 0x4c], eax
jb 0x47356e
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x2534]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x58
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax + 0x4c], 0xffffffff
push 0
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x58
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx + 0x50]
call fcn.00476b40
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x2534]
mov edx, dword [eax + 0x14]
call edx
jmp 0x4736d7
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x58
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax + 0x4c]
push edx
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x58
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx + eax + 0x50]
call fcn.00476b40
mov dword [ebp - 0x44], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x2534]
mov edx, dword [eax + 0xc]
call edx
push 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
push ecx
call fcn.00442630
mov ecx, eax
call fcn.00443110
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x2534]
mov edx, dword [eax + 0x14]
call edx
cmp dword [ebp - 0x24], 0
je 0x473606
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x1e4], 0
jbe 0x4735f8
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x1c4]
mov dword [ebp - 0x20], edx
jmp 0x473604
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x1c4]
mov dword [ebp - 0x20], ecx
jmp 0x473662
mov edx, dword [ebp - 0x44]
mov dword [edx + 0xc], 2
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0x2534]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x58
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx + 0x4c]
add eax, 1
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x58
mov edx, dword [ebp - 0x14]
mov dword [edx + ecx + 0x4c], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x2534
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0x2534]
mov eax, dword [edx + 0x14]
call eax
jmp 0x47313c
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx + 4]
jle 0x4736bc
push 0
push 0xb
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xcc
call fcn.00464100
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x4736b0
mov eax, dword [ebp - 0x44]
mov dword [eax + 0xc], 1
jmp 0x4736ba
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0xc], 2
jmp 0x4736c6
mov edx, dword [ebp - 0x44]
mov dword [edx + 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], eax
jmp 0x47313c
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47308a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret