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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511d54
mov eax, dword fs:[0]
push eax
mov eax, 0x1658
call fcn.004a4c10
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x290]
push 6
xor eax, eax
mov dword [ebp - 0x1664], ebx
push 0x51f5ec
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
call fcn.004079e0
push dword [ebp - 0x280]
cmp dword [ebp - 0x27c], 8
lea eax, [ebp - 0x290]
push 0
cmovae eax, dword [ebp - 0x290]
mov ecx, ebx
push eax
mov dword [ebp - 4], 0
call fcn.004154a0
mov dword [ebp - 0x1658], eax
test eax, eax
jle 0x451e58
cmp dword [ebx + 0x58], 0
je 0x451e58
cmp dword [ebx + 0x5c], 8
lea ecx, [ebx + 0x48]
jb 0x451808
mov ecx, dword [ecx]
push ecx
lea eax, [ebp - 0x278]
push eax
call fcn.004024f0
add esp, 8
cmp dword [ebx + 0x74], 8
lea eax, [ebx + 0x60]
mov byte [ebp - 4], 1
jb 0x451827
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004024f0
add esp, 8
push 1
push 0
push 0x53f59c
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 2
call fcn.00404b40
test eax, eax
jle 0x451e01
cmp eax, dword [ebp - 0x268]
jae 0x451e01
push 0
push 0x53f59c
lea ecx, [ebp - 0x278]
call fcn.004035d0
push eax
push 0
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x278]
call fcn.00403570
cmp dword [eax + 0x14], 0x10
jb 0x451892
mov eax, dword [eax]
push eax
call fcn.004b563c
add esp, 4
lea ecx, [ebp - 0x2a8]
mov edi, eax
mov dword [ebp - 0x165c], edi
call fcn.00408cf0
mov esi, dword [ebp - 0x268]
lea ecx, [ebp - 0x278]
push 0
push 0x53f59c
call fcn.004035d0
sub esi, eax
lea ecx, [ebp - 0x278]
dec esi
push esi
push 0
push 0x53f59c
call fcn.004035d0
inc eax
lea ecx, [ebp - 0x278]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00403570
cmp dword [eax + 0x14], 0x10
jb 0x4518f8
mov eax, dword [eax]
push eax
call fcn.004b563c
add esp, 4
lea ecx, [ebp - 0x2a8]
mov ebx, eax
call fcn.00408cf0
cmp ebx, edi
jle 0x451e01
xor esi, esi
xor edi, edi
mov dword [ebp - 0x1654], esi
mov dword [ebp - 0x1650], edi
mov dword [ebp - 0x164c], esi
push 0x51f5fc
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 3
call fcn.00409570
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x248]
call fcn.00408cc0
cmp dword [ebp - 0x250], edi
jne 0x451989
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x451c37
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.004092a0
jmp 0x451c37
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
push dword [ebp - 0x238]
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
push 0
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x260]
push eax
mov byte [ebp - 4], 6
call fcn.0040d5c0
mov esi, eax
cmp esi, 0xffffffff
je 0x451bd6
nop dword [eax + eax]
push dword [ebp - 0x238]
cmp dword [ebp - 0x234], 0x10
lea ecx, [ebp - 0x248]
push esi
cmovae ecx, dword [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x260]
call fcn.00404b40
mov edi, eax
lea eax, [ebp - 0x2a8]
cmp edi, 0xffffffff
je 0x451ad8
mov ecx, edi
sub ecx, esi
push ecx
push esi
push eax
lea ecx, [ebp - 0x260]
call fcn.00403570
mov esi, eax
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x451a7b
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x451a54
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004092a0
push esi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
call fcn.00408980
mov eax, dword [ebp - 0x294]
mov byte [ebp - 4], 6
cmp eax, 0x10
jb 0x451acb
mov ecx, dword [ebp - 0x2a8]
inc eax
cmp eax, 0x1000
jb 0x451ac2
test cl, 0x1f
jne 0x451dec
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x451dec
sub ecx, eax
cmp ecx, 4
jb 0x451dec
cmp ecx, 0x23
ja 0x451dec
mov ecx, eax
push ecx
call fcn.0048114c
add esp, 4
mov esi, dword [ebp - 0x238]
add esi, edi
jmp 0x451b8b
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x260]
call fcn.00403570
mov esi, eax
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x451b38
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x451b11
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004092a0
push esi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
call fcn.00408980
mov eax, dword [ebp - 0x294]
mov byte [ebp - 4], 6
cmp eax, 0x10
jb 0x451b88
mov ecx, dword [ebp - 0x2a8]
inc eax
cmp eax, 0x1000
jb 0x451b7f
test cl, 0x1f
jne 0x451dec
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x451dec
sub ecx, eax
cmp ecx, 4
jb 0x451dec
cmp ecx, 0x23
ja 0x451dec
mov ecx, eax
push ecx
call fcn.0048114c
add esp, 4
or esi, 0xffffffff
cmp dword [ebp - 0x220], 0
je 0x451bc7
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x1654]
call fcn.0040cfd0
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], 0
cmovae eax, dword [ebp - 0x230]
mov byte [eax], 0
cmp esi, 0xffffffff
jne 0x4519e0
mov edi, dword [ebp - 0x1650]
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x451bf4
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004092a0
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x451c31
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.004092a0
mov esi, dword [ebp - 0x1654]
mov eax, dword [ebp - 0x165c]
mov dword [ebp - 0x1660], eax
mov dword [ebp - 0x165c], ebx
nop dword [eax]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x1648]
call fcn.00446430
lea eax, [ebp - 0x1648]
push eax
lea ecx, [ebp - 0x1660]
call fcn.00445a40
mov ebx, eax
cmp dword [ebp - 0x1654], edi
je 0x451ce2
nop
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
call fcn.00408ea0
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.004b563c
add esp, 4
lea ecx, [ebp - 0x248]
cmp ebx, eax
je 0x451df1
call fcn.00408cf0
add esi, 0x18
cmp esi, edi
jne 0x451c80
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ab2f0
mov edi, dword [ebp - 0x1664]
add esp, 0xc
mov eax, dword [ebp - 0x280]
mov ecx, dword [edi + 0x10]
sub ecx, eax
add eax, dword [ebp - 0x1658]
sub ecx, dword [ebp - 0x1658]
push ecx
push eax
lea eax, [ebp - 0x248]
mov ecx, edi
push eax
call fcn.00415aa0
mov esi, eax
push dword [ebp - 0x1658]
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 9
push 0
push eax
mov ecx, edi
call fcn.00415aa0
cmp dword [esi + 0x14], 8
jb 0x451d49
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x451d51
mov eax, dword [eax]
push esi
push ebx
push eax
lea eax, [ebp - 0x218]
push 0x51f600
push eax
call fcn.0042c2c0
add esp, 0x14
lea ecx, [ebp - 0x2a8]
call fcn.00408940
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 4
call fcn.00408940
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.004171f0
mov eax, dword [ebp - 0x2ac]
cmp eax, 0x10
jb 0x451dae
inc eax
lea ecx, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c0]
call fcn.004092a0
lea ecx, [ebp - 0x1654]
mov dword [ebp - 0x2ac], 0xf
mov dword [ebp - 0x2b0], 0
mov byte [ebp - 0x2c0], 0
call fcn.0040d0c0
lea ecx, [ebp - 0x260]
call fcn.00408cf0
lea ecx, [ebp - 0x278]
call fcn.00408cf0
jmp 0x451e58
call fcn.004af061
call fcn.00408cf0
mov esi, dword [ebp - 0x1654]
jmp 0x451c50
mov eax, dword [ebp - 0x24c]
cmp eax, 0x10
jb 0x451e1f
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.004092a0
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
cmp eax, 0x10
jb 0x451e58
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.004092a0
mov eax, dword [ebp - 0x27c]
cmp eax, 8
jb 0x451e76
inc eax
lea ecx, [ebp - 0x290]
push eax
push dword [ebp - 0x290]
call fcn.00408870
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret