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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcb01
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x238]
xor edi, edi
push eax
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x274], edi
call fcn.00410830
mov ecx, eax
call fcn.00412a50
mov dword [ebp - 4], 1
cmp dword [ebp - 0x228], edi
jne 0x4230f0
xor ecx, ecx
mov ebx, 7
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
lea edx, [ebp - 0x238]
mov word [esi], cx
push edx
mov ecx, esi
call fcn.00409ad0
mov dword [ebp - 0x274], 1
mov byte [ebp - 4], 0
cmp dword [ebp - 0x224], 8
jb 0x4230e5
mov eax, dword [ebp - 0x238]
push eax
call fcn.00490458
add esp, 4
mov dword [ebp - 0x224], ebx
jmp 0x4232d0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
push 0x206
lea eax, [ebp - 0x21a]
xor edx, edx
push edi
push eax
mov word [ebp - 0x21c], dx
call fcn.004911e0
add esp, 0xc
call ebx
push eax
push 0x4c59b0
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call fcn.004915cb
add esp, 0x10
push 1
push 0x4c4f30
lea ecx, [ebp - 0x238]
call fcn.00410dc0
lea edx, [ebp - 0x21c]
lea ecx, [edx + 2]
lea ecx, [ecx]
mov bx, word [edx]
add edx, 2
cmp bx, di
jne 0x423150
sub edx, ecx
sar edx, 1
push edx
lea edx, [ebp - 0x21c]
push edx
mov ecx, eax
call fcn.00410dc0
lea ecx, [ebp - 0x238]
call fcn.00422880
test al, al
je 0x4231bc
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x238]
xor eax, eax
push ecx
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x25c], 7
mov dword [ebp - 0x260], edi
mov word [ebp - 0x270], ax
call fcn.0040f1f0
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 2
mov ebx, 2
jmp 0x4231f8
push edi
xor edx, edx
push 0x4c42e8
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], edi
mov word [ebp - 0x254], dx
call fcn.0040e680
lea eax, [ebp - 0x254]
mov dword [ebp - 4], 3
mov ebx, 4
mov dword [ebp - 0x274], ebx
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], cx
push eax
mov ecx, esi
call fcn.00409ad0
or ebx, 1
mov dword [ebp - 0x274], ebx
mov dword [ebp - 4], 2
test bl, 4
je 0x423264
and ebx, 0xfffffffb
mov dword [ebp - 0x274], ebx
cmp dword [ebp - 0x240], 8
jb 0x42324b
mov edx, dword [ebp - 0x254]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], edi
mov word [ebp - 0x254], ax
mov dword [ebp - 4], 1
test bl, 2
je 0x4232aa
and ebx, 0xfffffffd
mov dword [ebp - 0x274], ebx
cmp dword [ebp - 0x25c], 8
jb 0x423291
mov ecx, dword [ebp - 0x270]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0x25c], 7
mov dword [ebp - 0x260], edi
mov word [ebp - 0x270], dx
mov byte [ebp - 4], 0
cmp dword [ebp - 0x224], 8
jb 0x4232c6
mov eax, dword [ebp - 0x238]
push eax
call fcn.00490458
add esp, 4
mov dword [ebp - 0x224], 7
xor ecx, ecx
mov dword [ebp - 0x228], edi
mov word [ebp - 0x238], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004911d1
mov esp, ebp
pop ebp
ret