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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x4033dd
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x4033ef
mov dword [ebp - 0xc], 0x423190
mov eax, dword [ebp + 8]
test eax, eax
js 0x403404
mov ecx, dword [0x47d318]
add ecx, eax
push ecx
call fcn.004033a7
push 4
lea eax, [ebp + 0x14]
push eax
push dword [0x40b010]
call fcn.00406061
test eax, eax
jne 0x403421
push 0xfffffffffffffffd
pop eax
jmp 0x4035e0
test dword [ebp + 0x14], 0x80000000
push ebx
je 0x40357b
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
and dword [0x42b6c4], 0
and dword [0x42b6c0], 0
and dword [ebp + 0x14], 0x7fffffff
mov dword [ebp - 0x10], eax
mov eax, 0x42cd48
mov dword [0x434d50], eax
mov dword [0x434d4c], eax
mov eax, dword [ebp + 0x14]
mov dword [0x42b1a8], 8
mov dword [0x434d48], 0x434d48
mov dword [ebp + 8], eax
jle 0x4035dc
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x40348b
mov esi, dword [ebp + 0x14]
push esi
mov edi, 0x41f190
push edi
call fcn.00403391
test eax, eax
je 0x4035d4
sub dword [ebp + 0x14], esi
mov dword [0x42b198], edi
mov dword [0x42b19c], esi
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
push 0x42b198
mov dword [0x42b1a0], edi
mov dword [0x42b1a4], eax
call fcn.004073bb
mov dword [ebp - 0x14], eax
test eax, eax
js 0x403577
mov esi, dword [0x42b1a0]
sub esi, edi
call ebx
test byte [0x47d3b4], 1
mov edi, eax
je 0x403532
sub eax, dword [ebp - 0x10]
cmp eax, 0xc8
ja 0x4034f9
cmp dword [ebp + 0x14], 0
jne 0x403532
push dword [ebp + 8]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x94]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push 0
call fcn.00405057
mov dword [ebp - 0x10], edi
test esi, esi
je 0x40356b
cmp dword [ebp + 0x10], 0
jne 0x403551
push esi
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.00406090
test eax, eax
je 0x4035bd
add dword [ebp - 4], esi
jmp 0x40355f
mov eax, dword [0x42b1a0]
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 1
jne 0x4034ae
jmp 0x4035dc
cmp dword [ebp + 0x14], 0
jg 0x40347e
jmp 0x4035dc
push 0xfffffffffffffffc
jmp 0x4035d6
test edi, edi
jne 0x4035c1
cmp dword [ebp + 0x14], edi
jle 0x4035dc
mov ebx, dword [ebp - 8]
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x14], ebx
jl 0x403591
mov esi, ebx
push esi
mov edi, 0x41f190
push edi
call fcn.00403391
test eax, eax
je 0x4035d4
push esi
push edi
push dword [ebp + 0xc]
call fcn.00406090
test eax, eax
je 0x4035bd
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x403587
jmp 0x4035dc
push 0xfffffffffffffffe
jmp 0x4035d6
cmp dword [ebp + 0x14], esi
jge 0x4035c9
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.00403391
test eax, eax
jne 0x4035d9
push 0xfffffffffffffffd
pop eax
jmp 0x4035df
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
leave
ret 0x10