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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4488e7
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x461de0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.004130ab
test eax, eax
jne 0x4117cc
mov eax, dword [ebp + 0x14]
xor ebx, ebx
cmp dword [eax], ebx
jne 0x4117cc
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.0042fe02
cmp eax, ebx
pop ecx
mov dword [esp + 0x18], eax
jne 0x4115b2
call fcn.00423e5e
push ebx
push ebx
push ebx
push ebx
push edi
push ebx
lea ecx, [esp + 0x60]
call fcn.0042b096
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.0042b9b9
push eax
push 0x44e3a8
call fcn.004240bb
pop ecx
mov edi, eax
pop ecx
mov dword [esp + 0x38], edi
mov byte [esp + 0x68], 3
cmp edi, ebx
je 0x4117e1
cmp dword [edi + 0x14], ebx
je 0x4117e1
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov dword [esp + 0x18], 0xc8
call fcn.0042ac2d
test eax, eax
jne 0x411625
mov eax, 0x80004005
jmp 0x411633
push dword [esp + 0x14]
call fcn.0040a6ff
cmp eax, ebx
pop ecx
jge 0x411639
push eax
call fcn.004017b7
push ebx
lea eax, [esp + 0x20]
push eax
push 5
mov ecx, edi
mov dword [esp + 0x28], ebx
call fcn.0042ac06
lea ecx, [esp + 0x20]
call fcn.00409202
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 0x411773
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.004130ab
test eax, eax
jne 0x411788
mov eax, dword [ebp + 0x14]
cmp dword [eax], ebx
jne 0x411788
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 0x41175e
push fcn.0040922c
push fcn.00409202
push 3
push 4
lea eax, [esp + 0x4c]
push eax
call fcn.0042f67c
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.00409873
push ebx
push dword [esp + 0x28]
lea esi, [esp + 0x50]
mov dword [esp + 0x38], eax
call fcn.0040978a
push ebx
push dword [esp + 0x28]
lea esi, [esp + 0x54]
mov dword [esp + 0x48], eax
call fcn.0040978a
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.0040140f
mov eax, dword [esp + 0x50]
add esp, 0x2c
mov dword [esp + 0x28], eax
mov byte [esp + 0x68], 4
push fcn.0040922c
push 3
push 4
mov eax, esi
push eax
call fcn.0042f73f
push dword [esp + 0x34]
mov esi, dword [ebp + 8]
push dword [esp + 0x24]
call fcn.004131d3
push 0x10000
push dword [esp + 0x1c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
mov esi, eax
cmp esi, ebx
jne 0x411672
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x4c]
mov byte [esp + 0x68], 3
lea ecx, [esp + 0x20]
call fcn.0040922c
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.0042b722
or dword [esp + 0x68], 0xffffffff
lea eax, [esp + 0x18]
push eax
call fcn.004079d1
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.00407bc9
int3