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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e416
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push esi
push edi
mov eax, dword [0x611004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00404bd0
mov dword [ebp - 4], 0
mov esi, 1
mov dword [ebp - 0x10], esi
cmp dword [0x61ad70], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x40c5b8
call edi
push eax
mov dword [0x61b1bc], esi
call fcn.00583ae9
add esp, 4
mov dword [0x61ad70], esi
mov dword [ebp - 0x14], 6
nop
cmp dword [0x61b1bc], 0
jne 0x40c5de
mov dword [0x61b1bc], 1
call edi
push eax
call fcn.00583ae9
add esp, 4
call fcn.00583ac8
and eax, 0x80000001
jns 0x40c5ef
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x40c6c0
cmp dword [0x61b1bc], 0
jne 0x40c611
mov dword [0x61b1bc], eax
call edi
push eax
call fcn.00583ae9
add esp, 4
call fcn.00583ac8
cdq
mov ecx, 0x1a
idiv ecx
add edx, 0x61
mov dword [ebp - 4], 0x13
lea ecx, [ebp - 0x44]
call fcn.00404bd0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x44]
movsx ax, dl
mov dword [ebp - 0x44], vtable.CWString.0
movzx eax, ax
push eax
call fcn.0042c100
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x44]
or esi, 8
lea ecx, [ebp - 0x9c]
push eax
mov edx, ebx
mov dword [ebp - 0x10], esi
call fcn.0042cf80
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x15
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x44]
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
lea ecx, [ebx + 0x10]
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx]
call dword [eax + 0x44]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebx + 0x10]
call fcn.00402b60
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x9c]
call fcn.004048c0
mov esi, dword [ebp - 0x10]
and esi, 0xfffffff7
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
jmp 0x40c788
cmp dword [0x61b1bc], 0
jne 0x40c6de
mov dword [0x61b1bc], 1
call edi
push eax
call fcn.00583ae9
add esp, 4
call fcn.00583ac8
cdq
mov ecx, 0x1a
idiv ecx
add edx, 0x41
mov dword [ebp - 4], 0x16
lea ecx, [ebp - 0x70]
call fcn.00404bd0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x70]
movsx ax, dl
mov dword [ebp - 0x70], vtable.CWString.0
movzx eax, ax
push eax
call fcn.0042c100
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x70]
or esi, 0x10
lea ecx, [ebp - 0xc8]
push eax
mov edx, ebx
mov dword [ebp - 0x10], esi
call fcn.0042cf80
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x18
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x44]
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
lea ecx, [ebx + 0x10]
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx]
call dword [eax + 0x44]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebx + 0x10]
call fcn.00402b60
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xc8]
call fcn.004048c0
mov esi, dword [ebp - 0x10]
and esi, 0xffffffef
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004048c0
sub dword [ebp - 0x14], 1
jne 0x40c5c0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4