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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x28], 0
mov al, byte [0x436493]
mov byte [ebp - 0x2c], al
push 0x10
push 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.0042a88c
add esp, 0xc
push 0x436338
lea edx, [ebp - 0x14]
push edx
call fcn.0042a3ff
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
and eax, 0xffff0000
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x20]
and ecx, 0xffff
mov dword [ebp - 4], ecx
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x34]
shr edx, 0x10
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
and eax, 0xffff
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
xor ecx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
push 0xa
lea edx, [ebp - 0xa]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.0042ca71
add esp, 0xc
push 0x40
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1c], eax
push 0x40
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x14]
push edx
mov al, byte [ebp - 0x2c]
push eax
call fcn.0042c856
add esp, 0xc
mov byte [ebp - 0x18], al
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
test ecx, ecx
je 0x42c61f
mov dword [ebp - 0x24], 0x1d4f9
jmp 0x42c84f
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x28], 0xa
jge 0x42c83f
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov al, byte [ebp - 0x2c]
push eax
call fcn.0042c93b
add esp, 0x10
mov byte [ebp - 0x18], al
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
test ecx, ecx
je 0x42c66e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x24], 0x1d4f2
jmp 0x42c831
mov edx, dword [ebp + 8]
cmp dword [edx + 0xa], 0
je 0x42c6a2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xe]
mov dx, word [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 2]
push ecx
mov edx, dword [ebp - 0x1c]
mov al, byte [edx + 0x30]
push eax
call fcn.0042ca27
add esp, 0x14
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x1c]
mov al, byte [edx + 2]
push eax
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + 0x30]
push edx
call fcn.0042c9e6
add esp, 0x10
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x18]
and eax, 0xff
test eax, eax
jne 0x42c808
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xa], 0
je 0x42c7dd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x40]
xor eax, eax
mov al, byte [edx + 0x31]
cmp eax, 0xff
jne 0x42c71a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x3c]
cmp ecx, 0xbb8
jbe 0x42c718
jmp 0x42c71a
jmp 0x42c6f0
mov edx, dword [ebp - 0x40]
xor eax, eax
mov al, byte [edx + 0x31]
test eax, eax
jne 0x42c778
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xe]
mov eax, dword [ebp - 0x40]
mov cx, word [eax + 8]
mov word [edx], cx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xe]
xor ecx, ecx
mov cx, word [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
call dword [eax + 0x12]
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x42c773
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + 2]
push edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 0x30]
push ecx
call fcn.0042c9b3
add esp, 8
jmp 0x42c83f
jmp 0x42c66e
mov edx, dword [ebp - 0x40]
xor eax, eax
mov al, byte [edx + 0x31]
cmp eax, 0xff
jne 0x42c7b2
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + 2]
push edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 0x30]
push ecx
call fcn.0042c9b3
add esp, 8
mov edx, dword [ebp - 0x40]
push edx
call fcn.0042c905
add esp, 4
mov dword [ebp - 0x24], 0x1d4f3
jmp 0x42c7db
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 2]
push ecx
mov edx, dword [ebp - 0x1c]
mov al, byte [edx + 0x30]
push eax
call fcn.0042c9b3
add esp, 8
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0042c905
add esp, 4
mov dword [ebp - 0x24], 0x1d4f4
jmp 0x42c806
mov edx, dword [ebp - 0x1c]
mov al, byte [edx + 2]
push eax
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + 0x30]
push edx
call fcn.0042c9b3
add esp, 8
mov eax, dword [ebp - 0x40]
push eax
call fcn.0042c905
add esp, 4
mov dword [ebp - 0x24], 0
jmp 0x42c831
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + 2]
push edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 0x30]
push ecx
call fcn.0042c9b3
add esp, 8
mov edx, dword [ebp - 0x40]
push edx
call fcn.0042c905
add esp, 4
mov dword [ebp - 0x24], 0x1d4f5
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
jmp 0x42c626
lea ecx, [ebp - 0x14]
push ecx
mov dl, byte [ebp - 0x2c]
push edx
call fcn.0042c8b6
add esp, 8
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret