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

Disassembly:
cmp byte [0x410f84], 0xfe
push ebx
push esi
je 0x403389
mov cl, byte [esp + 0xc]
cmp byte [0x410f84], cl
je 0x4036e2
mov al, byte [0x410f84]
push eax
call fcn.004036f0
add esp, 4
cmp byte [esp + 0xc], 0xfe
je 0x40342e
xor ebx, ebx
push 0
mov bl, byte [esp + 0x10]
push 0
push ebx
call fcn.00404da4
add esp, 0xc
mov eax, 0xa
mov byte [0x410f98], al
mov byte [0x410f90], al
mov byte [0x410f94], al
mov byte [0x410f8c], al
cmp dword [0x410f4c], 0
mov eax, dword [0x41464c]
je 0x4033e5
mov dword [eax + 0x398], 1
mov eax, dword [0x41464c]
mov dword [eax + 0x3b0], ebx
jmp 0x403444
mov esi, 1
mov dword [eax + 0x190], esi
lea eax, [ebx*8]
mov edx, dword [0x41464c]
mov ecx, dword [eax + 0x411278]
mov dword [edx + 0x1a8], ecx
cmp dword [eax + 0x41127c], 0
je 0x403444
mov eax, dword [0x41464c]
mov dword [eax + 0x348], esi
mov eax, dword [0x41464c]
mov dword [eax + 0x360], 7
jmp 0x403444
xor eax, eax
mov byte [0x410f98], al
mov byte [0x410f90], al
mov byte [0x410f94], al
mov byte [0x410f8c], al
cmp byte [0x4108f0], 2
mov cl, byte [esp + 0xc]
mov byte [0x410f84], cl
je 0x403460
cmp byte [0x4108f0], 3
jne 0x4034a9
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub ax, word [0x410f74]
xor ecx, ecx
mov cx, word [0x410f64]
mov word [0x41460c], ax
mov word [ecx + ecx*2 + 0x414655], ax
cmp cx, 0x800
jae 0x403494
inc word [0x410f64]
xor eax, eax
mov cl, byte [esp + 0xc]
mov ax, word [0x410f64]
mov byte [eax + eax*2 + 0x414654], cl
jmp 0x4034af
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp byte [esp + 0xc], 0xfe
mov dword [0x410f74], eax
je 0x4036e2
mov dword [0x410f88], 0
xor eax, eax
mov al, byte [0x410f48]
test eax, eax
je 0x4034eb
cmp eax, 1
je 0x4035e5
cmp eax, 2
je 0x403665
pop esi
pop ebx
ret
mov eax, dword [0x41464c]
mov edx, 1
mov dword [eax + 0x3e8], edx
mov eax, dword [0x41464c]
xor ecx, ecx
xor esi, esi
mov dword [eax + 0x460], ecx
mov eax, dword [0x41464c]
mov dword [eax + 0x400], ecx
mov eax, dword [0x41464c]
mov ebx, dword [0x4106ac]
mov si, word [ebx]
mov dword [eax + 0x404], esi
mov eax, dword [0x41464c]
xor esi, esi
mov dword [eax + 0x428], ecx
mov ebx, dword [0x4106cc]
mov eax, dword [0x41464c]
mov si, word [ebx]
mov dword [eax + 0x42c], esi
mov eax, dword [0x41464c]
xor esi, esi
mov dword [eax + 0x450], ecx
mov ebx, dword [0x4106ec]
mov eax, dword [0x41464c]
mov si, word [ebx]
mov dword [eax + 0x454], esi
mov eax, dword [0x41464c]
mov dword [eax + 0x4b0], edx
mov eax, dword [0x41464c]
xor edx, edx
mov dword [eax + 0x528], ecx
mov eax, dword [0x41464c]
mov dword [eax + 0x4c8], ecx
mov eax, dword [0x41464c]
mov ebx, dword [0x41074c]
mov dx, word [ebx]
mov dword [eax + 0x4cc], edx
mov eax, dword [0x41464c]
xor edx, edx
mov dword [eax + 0x4f0], ecx
mov ebx, dword [0x41076c]
mov eax, dword [0x41464c]
mov dx, word [ebx]
mov dword [eax + 0x4f4], edx
mov eax, dword [0x41464c]
pop esi
pop ebx
mov dword [eax + 0x518], ecx
mov eax, dword [0x41464c]
mov edx, dword [0x41078c]
mov cx, word [edx]
mov dword [eax + 0x51c], ecx
ret
mov eax, dword [0x41464c]
xor ecx, ecx
mov dword [eax + 0x488], 1
mov eax, dword [0x41464c]
xor edx, edx
mov dword [eax + 0x528], ecx
mov eax, dword [0x41464c]
mov dword [eax + 0x4a0], ecx
mov eax, dword [0x41464c]
mov ebx, dword [0x41072c]
mov dx, word [ebx]
mov dword [eax + 0x4a4], edx
mov eax, dword [0x41464c]
xor edx, edx
mov dword [eax + 0x4f0], ecx
mov ebx, dword [0x41076c]
mov eax, dword [0x41464c]
mov dx, word [ebx]
mov dword [eax + 0x4f4], edx
mov eax, dword [0x41464c]
pop esi
pop ebx
mov dword [eax + 0x518], ecx
mov eax, dword [0x41464c]
mov edx, dword [0x41078c]
mov cx, word [edx]
mov dword [eax + 0x51c], ecx
ret
mov eax, dword [0x41464c]
xor ecx, ecx
mov dword [eax + 0x3c0], 1
mov eax, dword [0x41464c]
xor edx, edx
mov dword [eax + 0x460], ecx
mov eax, dword [0x41464c]
mov dword [eax + 0x3d8], ecx
mov eax, dword [0x41464c]
mov ebx, dword [0x41068c]
mov dx, word [ebx]
mov dword [eax + 0x3dc], edx
mov eax, dword [0x41464c]
xor edx, edx
mov dword [eax + 0x428], ecx
mov ebx, dword [0x4106cc]
mov eax, dword [0x41464c]
mov dx, word [ebx]
mov dword [eax + 0x42c], edx
mov eax, dword [0x41464c]
mov dword [eax + 0x450], ecx
mov eax, dword [0x41464c]
mov edx, dword [0x4106ec]
mov cx, word [edx]
mov dword [eax + 0x454], ecx
pop esi
pop ebx
ret