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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x459e00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3e
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 0x42]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x44], ax
call fcn.00434d00
add esp, 0xc
test byte [0x45bec8], 1
jne 0x41ae46
or dword [0x45bec8], 1
mov ecx, 0x45be58
call fcn.0041e760
push 0x446320
call fcn.00435667
add esp, 4
push 0xffffffffffffffff
push esi
xor edx, edx
mov edi, 7
push 0x45beac
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], esi
mov word [ebp - 0x7c], dx
call fcn.00402570
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.004183e0
add esp, 8
xor ecx, ecx
mov word [ebp - 0x60], cx
mov ecx, eax
lea edx, [ecx + 2]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x80], edx
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, si
jne 0x41ae90
sub ecx, dword [ebp - 0x80]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.004028a0
mov eax, dword [ebp + 8]
cmp eax, 4
ja case.default.0x41aeb6
jmp dword [eax*4 + 0x41b230]
call fcn.0040b470
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
add eax, 0xac
push esi
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push eax
mov word [ecx], dx
call fcn.00402570
push esi
push 6
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], edi
push esi
lea edx, [ebp - 0x60]
xor eax, eax
mov dword [ecx + 0x10], esi
push edx
mov word [ecx], ax
call fcn.00402570
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], edi
push esi
lea edx, [ebp + 0xc]
xor eax, eax
mov dword [ecx + 0x10], esi
push edx
mov word [ecx], ax
call fcn.00402570
call fcn.00412f10
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], edi
push esi
xor edx, edx
mov dword [ecx + 0x10], esi
push eax
mov word [ecx], dx
call fcn.00402570
lea ecx, [ebx + 0x10]
call fcn.00423bf0
push esi
push esi
lea ecx, [ebx + 0x10]
call fcn.004247f0
jmp case.default.0x41aeb6
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub esp, 0x1c
mov ecx, esp
push 0x44dadc
mov dword [ebx + 0xa0], eax
call fcn.00402310
push esi
push edi
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x60]
xor eax, eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push edx
mov word [ecx], ax
call fcn.00402570
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
lea edx, [ebp + 0xc]
xor eax, eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push edx
mov word [ecx], ax
call fcn.00402570
call fcn.00412f10
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push eax
mov word [ecx], dx
call fcn.00402570
add ebx, 0x10
mov ecx, ebx
call fcn.00423bf0
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
lea edx, [ebp + 0xc]
xor eax, eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push edx
mov word [ecx], ax
call fcn.00402570
push esi
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x60]
xor eax, eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push edx
mov word [ecx], ax
call fcn.00402570
call fcn.0040b470
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
add eax, 0xac
push esi
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push eax
mov word [ecx], dx
call fcn.00402570
call fcn.00412f10
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push eax
mov word [ecx], dx
call fcn.00402570
mov ecx, ebx
call fcn.00423890
push esi
push esi
mov ecx, ebx
call fcn.004247f0
jmp case.default.0x41aeb6
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, eax
sub ecx, dword [ebx + 0xa0]
mov eax, 0x10624dd3
mul ecx
sub esp, 0x1c
shr edx, 6
mov ecx, esp
push 0x44dadc
mov dword [ebp - 0x80], edx
call fcn.00402310
mov edx, dword [ebp - 0x80]
push edx
push 8
jmp 0x41aee3
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub esp, 0x1c
mov ecx, esp
push 0x44dadc
mov dword [ebx + 0xa0], eax
call fcn.00402310
push esi
push 9
jmp 0x41aee3
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, eax
sub ecx, dword [ebx + 0xa0]
mov eax, 0x10624dd3
mul ecx
sub esp, 0x1c
shr edx, 6
mov ecx, esp
push 0x44dadc
mov dword [ebp - 0x80], edx
call fcn.00402310
mov edx, dword [ebp - 0x80]
push edx
push 0xa
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x60]
xor eax, eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push edx
mov word [ecx], ax
call fcn.00402570
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
lea edx, [ebp + 0xc]
xor eax, eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push edx
mov word [ecx], ax
call fcn.00402570
call fcn.00412f10
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push eax
mov word [ecx], dx
call fcn.00402570
add ebx, 0x10
mov ecx, ebx
call fcn.00423bf0
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
lea edx, [ebp + 0xc]
xor eax, eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push edx
mov word [ecx], ax
call fcn.00402570
push 1
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x60]
xor eax, eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push edx
mov word [ecx], ax
call fcn.00402570
call fcn.0040b470
sub esp, 0x1c
mov ecx, esp
add eax, 0xac
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
mov word [ecx], dx
push 0xffffffffffffffff
push esi
push eax
call fcn.00402570
call fcn.00412f10
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push eax
mov word [ecx], dx
call fcn.00402570
mov ecx, ebx
call fcn.00423890
mov ecx, ebx
call fcn.00424640
mov ebx, 8
cmp dword [ebp - 0x4c], ebx
jb 0x41b1e3
mov eax, dword [ebp - 0x60]
push eax
call fcn.00433949
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], esi
mov word [ebp - 0x60], cx
cmp dword [ebp - 0x68], ebx
jb 0x41b200
mov edx, dword [ebp - 0x7c]
push edx
call fcn.00433949
add esp, 4
xor eax, eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], esi
mov word [ebp - 0x7c], ax
cmp dword [ebp + 0x20], ebx
jb 0x41b21d
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00433949
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434758
mov esp, ebp
pop ebp
ret 0x20