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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x28], 0
mov al, byte [0x431493]
mov byte [ebp - 0x2c], al
push 0x10
push 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.0042688c
add esp, 0xc
push 0x431338
lea edx, [ebp - 0x14]
push edx
call fcn.004263ff
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.00428a71
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.00428856
add esp, 0xc
mov byte [ebp - 0x18], al
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
test ecx, ecx
je 0x42861f
mov dword [ebp - 0x24], 0x1d4f9
jmp 0x42884f
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x28], 0xa
jge 0x42883f
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.0042893b
add esp, 0x10
mov byte [ebp - 0x18], al
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
test ecx, ecx
je 0x42866e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x24], 0x1d4f2
jmp 0x428831
mov edx, dword [ebp + 8]
cmp dword [edx + 0xa], 0
je 0x4286a2
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.00428a27
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.004289e6
add esp, 0x10
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x18]
and eax, 0xff
test eax, eax
jne 0x428808
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xa], 0
je 0x4287dd
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 0x42871a
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 0x428718
jmp 0x42871a
jmp 0x4286f0
mov edx, dword [ebp - 0x40]
xor eax, eax
mov al, byte [edx + 0x31]
test eax, eax
jne 0x428778
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 0x428773
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.004289b3
add esp, 8
jmp 0x42883f
jmp 0x42866e
mov edx, dword [ebp - 0x40]
xor eax, eax
mov al, byte [edx + 0x31]
cmp eax, 0xff
jne 0x4287b2
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.004289b3
add esp, 8
mov edx, dword [ebp - 0x40]
push edx
call fcn.00428905
add esp, 4
mov dword [ebp - 0x24], 0x1d4f3
jmp 0x4287db
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.004289b3
add esp, 8
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00428905
add esp, 4
mov dword [ebp - 0x24], 0x1d4f4
jmp 0x428806
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.004289b3
add esp, 8
mov eax, dword [ebp - 0x40]
push eax
call fcn.00428905
add esp, 4
mov dword [ebp - 0x24], 0
jmp 0x428831
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.004289b3
add esp, 8
mov edx, dword [ebp - 0x40]
push edx
call fcn.00428905
add esp, 4
mov dword [ebp - 0x24], 0x1d4f5
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
jmp 0x428626
lea ecx, [ebp - 0x14]
push ecx
mov dl, byte [ebp - 0x2c]
push edx
call fcn.004288b6
add esp, 8
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret