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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff0c
push ebx
push esi
push edi
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
mov byte [ebp - 3], 0
mov byte [ebp - 4], 0
mov ebx, dword [ebp + 8]
push 0x80
push 0
lea eax, [ebp - 0xf4]
push eax
call fcn.00435974
add esp, 0xc
mov al, byte [ebx]
cmp al, 1
jne 0x425831
mov dl, byte [ebx + 1]
mov byte [ebp - 2], dl
jmp 0x42584b
cmp al, 3
jne 0x425840
mov cl, byte [0xb135b1]
mov byte [ebp - 2], cl
jmp 0x42584b
push 0xb07a1f
call fcn.0040e95c
pop ecx
mov dword [ebp - 0x18], 0x402d62
mov dword [ebp - 0x14], 0x40f4e3
push 0xb07a62
lea eax, [ebp - 0x18]
push eax
call fcn.0040208a
add esp, 8
movzx eax, word [ebp + 0x10]
cdq
push edx
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00402141
add esp, 0xc
push 0xb07a70
lea eax, [ebp - 0x18]
push eax
call fcn.0040208a
add esp, 8
xor eax, eax
mov al, byte [ebp + 0xc]
cdq
push edx
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00402141
add esp, 0xc
push 0xb07a7b
lea eax, [ebp - 0x18]
push eax
call fcn.0040208a
add esp, 8
xor eax, eax
mov al, byte [ebp - 2]
cdq
push edx
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00402141
add esp, 0xc
push 0xb07a85
lea eax, [ebp - 0x18]
push eax
call fcn.0040208a
add esp, 8
lea edx, [ebp - 3]
push edx
push dword [ebp + 8]
call fcn.004161da
pop ecx
push eax
mov cx, word [ebp + 0x10]
push ecx
mov al, byte [ebp + 0xc]
push eax
mov dl, byte [ebp - 2]
push edx
call fcn.0042059d
add esp, 0x14
test al, al
je 0x425fb7
cmp byte [ebp - 3], 0
jne 0x425fb7
dec byte [0xb135a1]
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 8], eax
mov ecx, dword [0xf255f4]
mov dword [ebp - 0xc], ecx
xor esi, esi
jmp 0x425a24
push 0x80
mov eax, dword [ebp + 0x18]
sub eax, esi
push eax
call fcn.00431e53
add esp, 8
mov byte [ebp - 4], al
xor ebx, ebx
movzx edi, byte [ebp - 4]
dec edi
cmp edi, ebx
jl 0x425962
mov eax, ebx
add eax, esi
mov edx, dword [ebp + 0x14]
mov cl, byte [edx + eax]
mov byte [ebp + ebx - 0xf4], cl
inc ebx
cmp edi, ebx
jge 0x42594c
mov dword [ebp - 0x20], 0x402d62
mov dword [ebp - 0x1c], 0x40f4e3
push 0xb07a88
lea eax, [ebp - 0x20]
push eax
call fcn.0040208a
add esp, 8
push esi
lea edx, [ebp - 0x20]
push edx
call fcn.00402302
add esp, 8
push 0xb07a92
lea ecx, [ebp - 0x20]
push ecx
call fcn.0040208a
add esp, 8
xor eax, eax
mov al, byte [ebp - 4]
cdq
push edx
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00402141
add esp, 0xc
push 0xb07a94
lea eax, [ebp - 0x20]
push eax
call fcn.0040208a
add esp, 8
lea edx, [ebp - 3]
push edx
lea ecx, [ebp - 0xf4]
push ecx
mov al, byte [ebp - 4]
push eax
push esi
mov dx, word [ebp + 0x10]
push edx
mov cl, byte [ebp + 0xc]
push ecx
mov al, byte [ebp - 2]
push eax
call fcn.00420ace
add esp, 0x1c
test al, al
je 0x4259f3
cmp byte [ebp - 3], 0
je 0x4259fe
inc byte [0xb135a1]
jmp 0x425fb7
cmp byte [0xb0f5f8], 0
je 0x425a12
inc byte [0xb135a1]
jmp 0x425fb7
push dword [ebp + 0x18]
push esi
call fcn.00416229
add esp, 8
add esi, 0x80
cmp esi, dword [ebp + 0x18]
jb 0x42592b
mov al, byte [ebp + 0x1c]
cmp al, 1
jne 0x425ac6
mov dword [ebp - 0x28], 0x403289
lea edx, [ebp - 0xf4]
mov dword [ebp - 0x24], edx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00419d9c
add esp, 8
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004029e7
add esp, 8
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0x402d62
mov dword [ebp - 0x2c], 0x40f4e3
push 0xb07a98
lea eax, [ebp - 0x30]
push eax
call fcn.0040208a
add esp, 8
lea edx, [ebp - 3]
push edx
lea ecx, [ebp - 0xf4]
push ecx
mov al, byte [ebp - 4]
push eax
push dword [ebp + 0x18]
mov dx, word [ebp + 0x10]
push edx
mov cl, byte [ebp + 0xc]
push ecx
mov al, byte [ebp - 2]
push eax
call fcn.00420ace
add esp, 0x1c
test al, al
je 0x425abb
cmp byte [ebp - 3], 0
je 0x425b58
inc byte [0xb135a1]
jmp 0x425fb7
cmp al, 2
jne 0x425b58
mov dword [ebp - 0x38], 0x403289
lea edx, [ebp - 0xf4]
mov dword [ebp - 0x34], edx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00419d46
add esp, 8
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.00402a10
add esp, 8
mov byte [ebp - 4], 4
mov dword [ebp - 0x40], 0x402d62
mov dword [ebp - 0x3c], 0x40f4e3
push 0xb07aa5
lea eax, [ebp - 0x40]
push eax
call fcn.0040208a
add esp, 8
lea edx, [ebp - 3]
push edx
lea ecx, [ebp - 0xf4]
push ecx
mov al, byte [ebp - 4]
push eax
push dword [ebp + 0x18]
mov dx, word [ebp + 0x10]
push edx
mov cl, byte [ebp + 0xc]
push ecx
mov al, byte [ebp - 2]
push eax
call fcn.00420ace
add esp, 0x1c
test al, al
je 0x425b4d
cmp byte [ebp - 3], 0
je 0x425b58
inc byte [0xb135a1]
jmp 0x425fb7
lea edx, [ebp - 3]
push edx
mov cx, word [ebp + 0x10]
push ecx
mov al, byte [ebp + 0xc]
push eax
mov dl, byte [ebp - 2]
push edx
call fcn.00420b9c
add esp, 0x10
test al, al
je 0x425b7b
cmp byte [ebp - 3], 0
je 0x425b86
inc byte [0xb135a1]
jmp 0x425fb7
inc byte [0xb135a1]
call fcn.00416298
mov dword [ebp - 0x48], 0x402d62
mov dword [ebp - 0x44], 0x40f4e3
push 0xb07ab7
lea ecx, [ebp - 0x48]
push ecx
call fcn.0040208a
add esp, 8
mov eax, dword [0xf255f4]
sub eax, dword [ebp - 0xc]
cdq
push edx
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00402141
add esp, 0xc
push 0xb07ac5
lea eax, [ebp - 0x48]
push eax
call fcn.0040208a
add esp, 8
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 8]
cdq
push edx
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00402141
add esp, 0xc
push 0xb07ad0
lea eax, [ebp - 0x48]
push eax
call fcn.0040208a
add esp, 8
push 0xb07ad4
lea edx, [ebp - 0x48]
push edx
call fcn.0040208a
add esp, 8
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 8]
push eax
mov ecx, dword [0xf255f4]
sub ecx, dword [ebp - 0xc]
push ecx
call fcn.0041283d
add esp, 8
cdq
push edx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00402141
add esp, 0xc
push 0xb07ae4
lea edx, [ebp - 0x48]
push edx
call fcn.0040208a
add esp, 8
lea ecx, [ebp - 3]
push ecx
mov ax, word [ebp + 0x10]
push eax
mov dl, byte [ebp + 0xc]
push edx
mov cl, byte [ebp - 2]
push ecx
call fcn.00420ed0
add esp, 0x10
test al, al
je 0x425fb7
cmp byte [ebp - 3], 0
jne 0x425fb7
mov dword [ebp - 0x50], 0x402d62
mov dword [ebp - 0x4c], 0x40f4e3
push 0xb07aec
lea eax, [ebp - 0x50]
push eax
call fcn.0040208a
add esp, 8
cmp byte [0xb1359b], 0
je 0x425fb3
mov dword [ebp - 0x58], 0x402d62
mov dword [ebp - 0x54], 0x40f4a5
push 0xb07af7
lea edx, [ebp - 0x58]
push edx
call fcn.0040208a
add esp, 8
lea ecx, [ebp - 3]
push ecx
push dword [ebp + 8]
call fcn.004161da
pop ecx
push eax
mov ax, word [ebp + 0x10]
push eax
mov dl, byte [ebp + 0xc]
push edx
mov cl, byte [ebp - 2]
push ecx
call fcn.0041fbce
add esp, 0x14
test al, al
je 0x425fb7
cmp byte [ebp - 3], 0
jne 0x425fb7
dec byte [0xb135a1]
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 8], eax
mov eax, dword [0xf255f0]
mov dword [ebp - 0x10], eax
xor esi, esi
jmp 0x425e9a
push 0x80
mov eax, dword [ebp + 0x18]
sub eax, esi
push eax
call fcn.00431e53
add esp, 8
mov byte [ebp - 4], al
mov dword [ebp - 0x60], 0x402d62
mov dword [ebp - 0x5c], 0x40f4e3
push 0xb07b0b
lea edx, [ebp - 0x60]
push edx
call fcn.0040208a
add esp, 8
push esi
lea ecx, [ebp - 0x60]
push ecx
call fcn.00402302
add esp, 8
push 0xb07b17
lea eax, [ebp - 0x60]
push eax
call fcn.0040208a
add esp, 8
xor eax, eax
mov al, byte [ebp - 4]
cdq
push edx
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.00402141
add esp, 0xc
push 0xb07b19
lea eax, [ebp - 0x60]
push eax
call fcn.0040208a
add esp, 8
lea edx, [ebp - 0xf4]
push edx
lea ecx, [ebp - 4]
push ecx
push esi
mov ax, word [ebp + 0x10]
push eax
mov dl, byte [ebp + 0xc]
push edx
mov cl, byte [ebp - 2]
push ecx
call fcn.00420131
add esp, 0x18
test al, al
jne 0x425dbc
inc byte [0xb135a1]
jmp 0x425fb7
xor ebx, ebx
movzx edi, byte [ebp - 4]
dec edi
cmp edi, ebx
jl 0x425e74
mov eax, ebx
add eax, esi
mov edx, dword [ebp + 0x14]
mov cl, byte [edx + eax]
cmp cl, byte [ebp + ebx - 0xf4]
je 0x425e6b
mov dword [ebp - 0x64], 0x402d2a
push 0xb07b1d
lea eax, [ebp - 0x64]
push eax
call fcn.0040208a
add esp, 8
mov eax, esi
add eax, ebx
cdq
push edx
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00402141
add esp, 0xc
push 0xb07b31
lea eax, [ebp - 0x64]
push eax
call fcn.0040208a
add esp, 8
mov edx, ebx
add edx, esi
mov ecx, dword [ebp + 0x14]
mov al, byte [ecx + edx]
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.00402284
add esp, 8
push 0xb07b3c
lea ecx, [ebp - 0x64]
push ecx
call fcn.0040208a
add esp, 8
mov al, byte [ebp + ebx - 0xf4]
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.00402284
add esp, 8
push 0xb07b42
lea ecx, [ebp - 0x64]
push ecx
call fcn.0040208a
add esp, 8
inc ebx
cmp edi, ebx
jge 0x425dcb
cmp byte [0xb0f5f8], 0
je 0x425e88
inc byte [0xb135a1]
jmp 0x425fb7
push dword [ebp + 0x18]
push esi
call fcn.00416229
add esp, 8
add esi, 0x80
cmp esi, dword [ebp + 0x18]
jb 0x425d14
inc byte [0xb135a1]
call fcn.00416298
lea eax, [ebp - 3]
push eax
mov dx, word [ebp + 0x10]
push edx
mov cl, byte [ebp + 0xc]
push ecx
mov al, byte [ebp - 2]
push eax
call fcn.00420ed0
add esp, 0x10
test al, al
je 0x425fb7
cmp byte [ebp - 3], 0
jne 0x425fb7
mov dword [ebp - 0x6c], 0x402d62
mov dword [ebp - 0x68], 0x40f4e3
push 0xb07b45
lea edx, [ebp - 0x6c]
push edx
call fcn.0040208a
add esp, 8
mov eax, dword [0xf255f0]
sub eax, dword [ebp - 0x10]
cdq
push edx
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00402141
add esp, 0xc
push 0xb07b57
lea eax, [ebp - 0x6c]
push eax
call fcn.0040208a
add esp, 8
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 8]
cdq
push edx
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00402141
add esp, 0xc
push 0xb07b62
lea eax, [ebp - 0x6c]
push eax
call fcn.0040208a
add esp, 8
push 0xb07b66
lea edx, [ebp - 0x6c]
push edx
call fcn.0040208a
add esp, 8
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 8]
push eax
mov ecx, dword [0xf255f0]
sub ecx, dword [ebp - 0x10]
push ecx
call fcn.0041283d
add esp, 8
cdq
push edx
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00402141
add esp, 0xc
push 0xb07b76
lea edx, [ebp - 0x6c]
push edx
call fcn.0040208a
add esp, 8
mov dword [ebp - 0x74], 0x402d62
mov dword [ebp - 0x70], 0x40f4e3
push 0xb07b7e
lea ecx, [ebp - 0x74]
push ecx
call fcn.0040208a
add esp, 8
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret