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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x14
call fcn.00414be1
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x42626f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp - 4]
call fcn.00401030
mov eax, 0
cmp eax, ecx
jl 0x4010d6
push 0
push 0x4010057
push 1
call fcn.00414bff
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov eax, 0x426240
test eax, eax
je 0x4010fa
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00414be1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40110d
push ebx
call fcn.00414be7
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
call fcn.00401030
mov eax, 1
cmp eax, ecx
jl 0x40113b
push 0x4f
push 0x4010057
push 1
call fcn.00414bff
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov eax, 0x42624d
test eax, eax
je 0x40115f
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00414be1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401172
push ebx
call fcn.00414be7
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
call fcn.00401030
mov eax, 2
cmp eax, ecx
jl 0x4011a0
push 0x9e
push 0x4010057
push 1
call fcn.00414bff
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov eax, 0x42625a
test eax, eax
je 0x4011c4
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00414be1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4011d7
push ebx
call fcn.00414be7
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ecx, 0x2710
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00414be1
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 0x2710
add edi, 4
mov ebx, dword [ebp - 4]
call fcn.00401030
pop edx
test ecx, ecx
je 0x401237
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40122d
push ebx
call fcn.00414be7
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x40121c
pop edx
pop edi
test edx, edx
je 0x401245
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 4]
call fcn.00414be7
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
call fcn.00401050
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4012fc
mov ebx, dword [ebp - 4]
call fcn.00401030
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x40129a
push 0x15a
push 0x4010057
push 4
call fcn.00414bff
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4012b7
push 0x15a
push 0x4010057
push 1
call fcn.00414bff
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 0x396c
call fcn.00401487
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4012ee
push ebx
call fcn.00414be7
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x401265
add esp, 0xc
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 0x2a300
call fcn.00401487
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40132c
push ebx
call fcn.00414be7
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
call fcn.00401050
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4013fd
mov ebx, dword [ebp - 4]
call fcn.00401030
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x40138b
push 0x2a5
push 0x4010057
push 4
call fcn.00414bff
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4013a8
push 0x2a5
push 0x4010057
push 1
call fcn.00414bff
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push 0
push 0
push 0
push 0x80000005
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x4013cb
mov eax, 0x426267
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4013df
mov eax, 0x426267
push eax
push 3
mov ebx, 0x1ac
call fcn.00415290
add esp, 0x28
mov dword [ebp - 0x14], eax
pop eax
pop ebx
pop ecx
jmp 0x401356
add esp, 0xc
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004015f2
mov eax, 0
jmp 0x40142c
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40144b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401447
imul eax, dword [ebx]
jmp 0x40143c
mov ecx, eax
test ecx, ecx
je 0x40146a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401463
push ebx
push eax
call fcn.00414be7
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401451
call fcn.00414be7
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401482
push ebx
call fcn.00414be7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret