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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4498c2
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x463e00]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00413fdf
test eax, eax
jne 0x412bcb
mov eax, dword [ebp + 0x14]
mov al, byte [eax + 5]
xor ebx, ebx
cmp al, bl
jne 0x412bcb
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
call dword [eax + 0x28]
mov dword [esp + 0x18], ebx
xor edi, edi
inc edi
mov dword [esp + 0x68], edi
mov esi, 0x10000
push esi
call fcn.00430d62
cmp eax, ebx
pop ecx
mov dword [esp + 0x18], eax
jne 0x4129b0
call fcn.00424d1d
push ebx
push ebx
push ebx
push ebx
push edi
push ebx
lea ecx, [esp + 0x60]
call fcn.0042bfc9
mov byte [esp + 0x68], 2
push ebx
push ebx
push 0x4000002
push dword [esp + 0x58]
lea ecx, [esp + 0x58]
push dword [ebp + 0xc]
call fcn.0042c8ec
push eax
push 0x44f3e8
call fcn.00425260
pop ecx
mov edi, eax
pop ecx
mov dword [esp + 0x38], edi
mov byte [esp + 0x68], 3
cmp edi, ebx
je 0x412be0
cmp dword [edi + 0x14], ebx
je 0x412be0
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov dword [esp + 0x18], 0xc8
call fcn.0042bb60
test eax, eax
jne 0x412a23
mov eax, 0x80004005
jmp 0x412a31
push dword [esp + 0x14]
call fcn.0040b967
cmp eax, ebx
pop ecx
jge 0x412a37
push eax
call fcn.004017dc
push ebx
lea eax, [esp + 0x20]
push eax
push 5
mov ecx, edi
mov dword [esp + 0x28], ebx
call fcn.0042bb39
lea ecx, [esp + 0x20]
call fcn.00401b10
mov byte [esp + 0x68], 4
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push esi
jmp 0x412b72
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
push esi
push dword [esp + 0x1c]
call dword [eax + 0x38]
mov ecx, dword [ebp + 8]
call fcn.00413fdf
test eax, eax
jne 0x412b87
mov eax, dword [ebp + 0x14]
cmp byte [eax + 5], bl
jne 0x412b87
push dword [esp + 0x1c]
push 0x64
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x14], esi
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
sub eax, dword [esp + 0x28]
cmp eax, 0x42
jb 0x412b5d
push fcn.00409dbd
push fcn.00401b10
push 3
push 4
lea eax, [esp + 0x4c]
push eax
call fcn.0043076f
mov byte [esp + 0x68], 5
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x2c]
lea esi, [esp + 0x44]
push eax
push dword [esp + 0x18]
call fcn.0040a359
push ebx
push dword [esp + 0x28]
lea esi, [esp + 0x50]
mov dword [esp + 0x38], eax
call fcn.0040a270
push ebx
push dword [esp + 0x28]
lea esi, [esp + 0x54]
mov dword [esp + 0x48], eax
call fcn.0040a270
mov ecx, dword [esp + 0x40]
push dword [ecx]
mov ecx, dword [esp + 0x4c]
push dword [ecx]
push dword [eax]
lea eax, [esp + 0x44]
push 0xbbd
push eax
call fcn.0040140d
mov eax, dword [esp + 0x50]
add esp, 0x2c
mov dword [esp + 0x28], eax
mov byte [esp + 0x68], 4
push fcn.00409dbd
push 3
push 4
mov eax, esi
push eax
call fcn.00430832
push dword [esp + 0x34]
mov esi, dword [ebp + 8]
push dword [esp + 0x24]
call fcn.00414107
push 0x10000
push dword [esp + 0x1c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
mov esi, eax
cmp esi, ebx
jne 0x412a70
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x4c]
mov byte [esp + 0x68], 3
lea ecx, [esp + 0x20]
call fcn.00409dbd
mov byte [esp + 0x68], 2
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov dword [esp + 0x38], ebx
mov byte [esp + 0x68], 1
lea ecx, [esp + 0x48]
call fcn.0042c655
or dword [esp + 0x68], 0xffffffff
lea eax, [esp + 0x18]
push eax
call fcn.004123ff
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00408675
int3