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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
mov eax, 0x530818
call fcn.0050f344
mov edx, dword [ebp - 0x48]
xor ecx, ecx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0xdc], 0x550030
mov word [ebp - 0xa6], 0
xor eax, eax
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov edx, 1
shl edx, cl
and edx, dword [ebp - 0x58]
je 0x408ee0
mov ax, 3
mov ecx, dword [ebp - 0x5c]
add ecx, ecx
shl ax, cl
or word [ebp - 0xa6], ax
inc dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], 8
jl 0x408ebe
mov edx, dword [ebp - 0xdc]
mov ax, word [ebp - 0xa6]
mov word [edx], ax
inc dword [ebp - 0x58]
add dword [ebp - 0xdc], 2
cmp dword [ebp - 0x58], 0x100
jl 0x408eb0
mov edx, dword [ebp - 0x9c]
xor eax, eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x15c]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004322c8
pop ecx
mov byte [ebp + eax - 0x15d], 0
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004322c8
pop ecx
add dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00408de8
pop ecx
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004322c8
pop ecx
add dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00408de8
pop ecx
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004322c8
pop ecx
add dword [ebp - 0x9c], eax
mov word [ebp - 0x30], 8
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x9c]
call fcn.0051ac20
inc dword [ebp - 0x24]
mov edx, dword [eax]
mov eax, dword [ebp - 0x44]
call fcn.0043ae48
mov dword [ebp - 0x94], eax
dec dword [ebp - 0x24]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0051ad80
mov word [ebp - 0x30], 0x14
lea edx, [ebp - 0x15c]
lea eax, [ebp - 8]
call fcn.0051ac20
inc dword [ebp - 0x24]
mov edx, dword [eax]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x79c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0xa0], eax
dec dword [ebp - 0x24]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0051ad80
cmp dword [ebp - 0xa0], 0
jge 0x40907d
mov word [ebp - 0x30], 0x20
lea edx, [ebp - 0x15c]
lea eax, [ebp - 0xc]
call fcn.0051ac20
inc dword [ebp - 0x24]
mov edx, dword [eax]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x7b4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0xa4], eax
dec dword [ebp - 0x24]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0051ad80
cmp dword [ebp - 0xa4], 0
jge 0x40907d
mov ecx, dword [ebp - 0x40]
mov dword fs:[0], ecx
jmp 0x409b8b
mov eax, dword [ebp - 0x44]
xor edx, edx
mov eax, dword [eax + 0x39c]
call fcn.004b8974
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov eax, dword [ecx + 0x3b0]
call fcn.004b8974
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov eax, dword [ecx + 0x3c0]
call fcn.004b8974
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov eax, dword [ecx + 0x3ac]
call fcn.004b8974
mov dl, 1
mov eax, dword [0x52bf50]
call fcn.0052c1e0
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x7a0]
mov edx, dword [ebp - 0xa0]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0xb0], ecx
cmp dword [ebp - 0xa0], 0
jl 0x40912a
push 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x7b0]
mov dl, 1
mov eax, dword [0x44a1a8]
call fcn.0044eab4
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x8d4], eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x7a0]
mov edx, dword [ebp - 0xa0]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0xb0], ecx
jmp 0x40916b
cmp dword [ebp - 0xa4], 0
jl 0x40916b
push 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x7c8]
mov dl, 1
mov eax, dword [0x44a1a8]
call fcn.0044eab4
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x8d4], eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x7b8]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x8d4]
xor ecx, ecx
mov edx, dword [ebp - 0xb0]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x8d4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x8d4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x8d4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x8d4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x8d4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x8d4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x74]
shl eax, 3
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x74], 0x21
jne 0x409230
mov dword [ebp - 0x98], 0x8235
cmp dword [ebp - 0x74], 0xf
jne 0x409240
mov dword [ebp - 0x98], 0x1046a
mov edx, dword [ebp - 0x68]
add edx, edx
push edx
call fcn.0050e2b8
pop ecx
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x68]
add ecx, ecx
push ecx
call fcn.0050e2b8
pop ecx
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x68]
add eax, eax
push eax
call fcn.0050e2b8
pop ecx
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0x68]
shl edx, 2
push edx
call fcn.0050e2b8
pop ecx
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0x68]
shl ecx, 2
push ecx
call fcn.0050e2b8
pop ecx
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x68]
add ecx, ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [eax + 0x8d4]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x68]
add ecx, ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [eax + 0x8d4]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x68]
add ecx, ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [eax + 0x8d4]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x68]
shl ecx, 2
mov edx, dword [ebp - 0xc0]
mov eax, dword [eax + 0x8d4]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x68]
shl ecx, 2
mov edx, dword [ebp - 0xc4]
mov eax, dword [eax + 0x8d4]
mov ebx, dword [eax]
call dword [ebx + 8]
xor eax, eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0x90], 0
je 0x40938c
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x8c]
add edx, dword [ebp - 0xb0]
mov eax, dword [ecx + 0x8d4]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [ebp - 0x90], 0x3d0900
jge 0x40936e
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x44]
call fcn.004135a4
mov dword [ebp - 0xc8], 1
jmp 0x40938c
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x44]
add edx, dword [ebp - 0xb0]
call fcn.004137dc
mov dword [ebp - 0xc8], 2
mov ecx, dword [ebp - 0x44]
mov byte [ecx + 0x8dc], 1
mov eax, dword [ebp - 0x44]
call fcn.00404690
mov byte [0x54f515], 1
mov byte [0x54f516], 1
xor edx, edx
mov dword [0x54f518], edx
mov dl, 1
mov eax, dword [0x4c6a38]
call fcn.004cce04
mov dword [ebp - 0xcc], eax
mov dl, 6
mov eax, dword [ebp - 0xcc]
call fcn.004ce4bc
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0x7c]
add edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0x80]
add edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dl, 1
mov eax, dword [0x4c6a38]
call fcn.004cce04
mov dword [ebp - 0xd0], eax
mov dl, 6
mov eax, dword [ebp - 0xd0]
call fcn.004ce4bc
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x44]
mov dl, 1
mov byte [eax + 0x264d4], dl
mov ecx, dword [ebp - 0x44]
cmp byte [ecx + 0x264d4], 0
je 0x40945f
mov dl, 7
mov eax, dword [ebp - 0xcc]
call fcn.004ce4bc
mov dl, 7
mov eax, dword [ebp - 0xd0]
call fcn.004ce4bc
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x404]
call fcn.004cd3cc
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.004c82ec
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x404]
call fcn.004cd3cc
mov eax, dword [eax + 0x14]
mov edx, 0xffffff
call fcn.004c81d0
push 0x258
lea ecx, [ebp - 0x16c]
push ecx
mov ecx, 0x320
xor edx, edx
xor eax, eax
call fcn.0044aaec
lea eax, [ebp - 0x16c]
push eax
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x404]
call fcn.004cd3cc
pop edx
call fcn.004c88b0
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0xd8], eax
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x58], eax
mov byte [0x550028], 0
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x68]
jge 0x4099c5
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x58]
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x44]
add edx, dword [ebp - 0xb0]
mov eax, dword [ecx + 0x8d4]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x58]
movsx ecx, word [eax + edx*2]
sub ecx, 1
jb 0x409535
je 0x40965b
dec ecx
je 0x40979c
jmp 0x40990f
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x6e4]
call fcn.0044ec84
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax + 0x6e4]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x58]
mov eax, dword [edx + eax*4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x8d4]
mov eax, dword [eax + 0x6e4]
call fcn.0044e834
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x6e4]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov word [ebp - 0x30], 0x2c
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x6e4]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov word [ebp - 0x30], 0
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xd0]
call fcn.004cd3cc
xor ecx, ecx
xor edx, edx
call fcn.004c8788
cmp word [ebp - 0x2e], 0
je 0x4095d7
ret
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x44]
call fcn.00409ba4
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xcc]
call fcn.004cd3cc
call fcn.004c8e28
push eax
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
mov eax, dword [ebp - 0x84]
push eax
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x2f8]
mov eax, dword [ecx + 0x160]
call fcn.004c8e28
push eax
call sub.gdi32.dll_BitBlt
xor edx, edx
mov dword [ebp - 0x78], edx
jmp 0x40990f
cmp dword [ebp - 0x78], 0
jne 0x40990f
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x6e4]
call fcn.0044ec84
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax + 0x6e4]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x58]
mov eax, dword [edx + eax*4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x8d4]
mov eax, dword [eax + 0x6e4]
call fcn.0044e834
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x6e4]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov word [ebp - 0x30], 0x38
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x6e4]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov word [ebp - 0x30], 0
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xd0]
call fcn.004cd3cc
mov edx, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x58]
movsx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0xb8]
mov ebx, dword [ebp - 0x58]
movsx edx, word [edx + ebx*2]
call fcn.004c8788
cmp word [ebp - 0x2e], 0
je 0x40971d
ret
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x44]
call fcn.00409ba4
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xcc]
call fcn.004cd3cc
call fcn.004c8e28
push eax
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
mov eax, dword [ebp - 0x84]
push eax
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x2f8]
mov eax, dword [ecx + 0x160]
call fcn.004c8e28
push eax
call sub.gdi32.dll_BitBlt
jmp 0x40990f
cmp dword [ebp - 0x78], 0
je 0x40990f
mov edx, dword [ebp - 0x58]
dec edx
mov dword [ebp - 0x5c], edx
jmp 0x409900
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x5c]
movsx edx, word [ecx + eax*2]
sub edx, 1
jb 0x4097d6
je 0x4098f4
dec edx
je 0x4098fd
jmp 0x4098fd
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x6e4]
call fcn.0044ec84
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [eax + 0x6e4]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x5c]
mov eax, dword [edx + eax*4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x8d4]
mov eax, dword [eax + 0x6e4]
call fcn.0044e834
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x6e4]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov word [ebp - 0x30], 0x44
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x6e4]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov word [ebp - 0x30], 0
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xd0]
call fcn.004cd3cc
xor ecx, ecx
xor edx, edx
call fcn.004c8788
cmp word [ebp - 0x2e], 0
je 0x409878
ret
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x44]
call fcn.00409ba4
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xcc]
call fcn.004cd3cc
call fcn.004c8e28
push eax
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
mov eax, dword [ebp - 0x84]
push eax
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x2f8]
mov eax, dword [ecx + 0x160]
call fcn.004c8e28
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4098fd
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x78]
mov dword [ebp - 0x5c], edx
dec dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x78]
cmp ecx, dword [ebp - 0x5c]
jle 0x4097b2
mov eax, dword [0x54a9f0]
mov eax, dword [eax]
call fcn.004db894
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x58]
imul dword [ebp - 0x98]
mov ebx, 0x3e8
cdq
idiv ebx
sub ecx, eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x74]
jg 0x409964
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x74]
je 0x40995a
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp - 0x4c]
push ecx
call sub.kernel32.dll_Sleep
inc dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x78], eax
jmp 0x409998
mov eax, dword [ebp - 0x4c]
cdq
idiv dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x4c]
imul ecx, dword [ebp - 0x78]
sub eax, ecx
mov edx, dword [ebp - 0x74]
sub edx, eax
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 0
je 0x409991
mov ecx, dword [ebp - 0x54]
push ecx
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 0x78]
inc eax
add dword [ebp - 0x58], eax
cmp dword [0x54f518], 0
je 0x4099b9
cmp dword [ebp - 0x94], 0
je 0x4099b9
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x3190], 1
jmp 0x4099c5
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 0x68]
jl 0x4094ef
mov eax, dword [ebp - 0xc0]
mov edx, dword [ebp - 0x68]
mov edx, dword [eax + edx*4 - 4]
mov eax, dword [ebp - 0x44]
add edx, dword [ebp - 0xb0]
xor ecx, ecx
mov eax, dword [eax + 0x8d4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x6e4]
call fcn.0044ec84
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x68]
mov eax, dword [eax + 0x6e4]
mov edx, dword [edx + ecx*4 - 4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x68]
mov eax, dword [edx + eax*4 - 4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x8d4]
mov eax, dword [eax + 0x6e4]
call fcn.0044e834
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x6e4]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x6e4]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0xc8]
dec edx
je 0x409a6b
dec edx
je 0x409a75
jmp 0x409a7d
mov eax, dword [ebp - 0x44]
call fcn.00413afc
jmp 0x409a7d
mov eax, dword [ebp - 0x44]
call fcn.00413b58
mov edx, dword [ebp - 0x44]
mov byte [0x54f516], 0
mov byte [0x54f515], 0
mov byte [edx + 0x8dc], 0
mov eax, dword [ebp - 0x44]
call fcn.00404690
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x39c]
mov dl, 1
call fcn.004b8974
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [ecx + 0x3b0]
call fcn.004b8974
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [ecx + 0x3c0]
call fcn.004b8974
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [ecx + 0x3ac]
call fcn.004b8974
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x8d4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x409b10
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
mov dword [ebp - 0x10], ecx
mov word [ebp - 0x30], 0x5c
mov edx, 3
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x30], 0x50
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x409b40
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx]
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x30], 0x74
mov edx, 3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x30], 0x68
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0050e0f0
pop ecx
mov edx, dword [ebp - 0xbc]
push edx
call fcn.0050e0f0
pop ecx
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.0050e0f0
pop ecx
mov eax, dword [ebp - 0xc0]
push eax
call fcn.0050e0f0
pop ecx
mov edx, dword [ebp - 0xc4]
push edx
call fcn.0050e0f0
pop ecx
mov ecx, dword [ebp - 0x40]
mov dword fs:[0], ecx
mov esp, ebp
mov edi, dword [ebp - 0x178]
mov esi, dword [ebp - 0x174]
mov ebx, dword [ebp - 0x170]
pop ebp
ret