Function at 0x420d0b
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 0xc]
and eax, 0xffff
add eax, 0xa
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x24], 0
mov edx, dword [ebp - 0x1c]
mov byte [edx], 0xfc
mov eax, dword [ebp - 0x1c]
mov byte [eax + 1], 0xcf
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 2], 0x55
mov edx, dword [ebp - 0x1c]
mov byte [edx + 3], 9
mov eax, dword [ebp + 0xc]
and eax, 0xffff
sar eax, 8
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 4], al
mov edx, dword [ebp - 0x1c]
mov al, byte [ebp + 0xc]
mov byte [edx + 5], al
mov ecx, dword [ebp + 0xc]
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
add eax, 6
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0xc]
and ecx, 0xffff
mov edx, dword [ebp - 0x1c]
mov byte [edx + ecx + 6], 0xcf
mov eax, dword [ebp + 0xc]
and eax, 0xffff
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + eax + 7], 0xfc
mov edx, dword [ebp + 0xc]
and edx, 0xffff
add edx, 8
mov word [ebp - 0x24], dx
mov eax, dword [ebp - 0x24]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0041e3eb
and eax, 0xff
test eax, eax
jne 0x420df2
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004331e6
add esp, 4
xor ax, ax
jmp 0x421060
mov cl, byte [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0041fe50
push 0x43db34
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004331e6
add esp, 4
mov byte [ebp - 0x10], 0
mov word [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov edx, 1
test edx, edx
je 0x420ea1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
cmp eax, 0x3e8
jb 0x420e59
xor ax, ax
jmp 0x421060
push 1
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0041e45f
and eax, 0xff
test eax, eax
jne 0x420e72
jmp 0x420e32
mov edx, dword [ebp - 4]
and edx, 0xffff
shl edx, 8
mov eax, dword [ebp - 0x10]
and eax, 0xff
or edx, eax
mov word [ebp - 4], dx
mov ecx, dword [ebp - 4]
and ecx, 0xffff
cmp ecx, 0xfccf
jne 0x420e9f
jmp 0x420ea1
jmp 0x420e32
mov word [ebp - 0x20], 0
mov byte [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov edx, 1
test edx, edx
je 0x420f29
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
cmp eax, 0x3e8
jbe 0x420edb
xor ax, ax
jmp 0x421060
push 1
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0041e45f
and eax, 0xff
test eax, eax
jne 0x420ef4
jmp 0x420eb4
mov edx, dword [ebp - 0x20]
and edx, 0xffff
shl edx, 8
mov eax, dword [ebp - 0x10]
and eax, 0xff
or edx, eax
mov word [ebp - 0x20], dx
mov cl, byte [ebp - 0x18]
add cl, 1
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
and edx, 0xff
cmp edx, 2
jne 0x420f27
jmp 0x420f29
jmp 0x420eb4
mov eax, dword [ebp - 0x20]
and eax, 0xffff
test eax, eax
jne 0x420f3d
xor ax, ax
jmp 0x421060
mov word [ebp - 8], 0
jmp 0x420f51
mov cx, word [ebp - 8]
add cx, 1
mov word [ebp - 8], cx
mov edx, dword [ebp - 8]
and edx, 0xffff
mov eax, dword [ebp - 0x20]
and eax, 0xffff
cmp edx, eax
jge 0x420fc4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov ecx, 1
test ecx, ecx
je 0x420fc2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0xc]
cmp edx, 0x3e8
jbe 0x420f97
xor ax, ax
jmp 0x421060
push 1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0041e45f
and eax, 0xff
test eax, eax
jne 0x420fb0
jmp 0x420f6f
mov ecx, dword [ebp - 8]
and ecx, 0xffff
mov edx, dword [ebp + 0x10]
mov al, byte [ebp - 0x10]
mov byte [edx + ecx], al
jmp 0x420f45
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov ecx, 1
test ecx, ecx
je 0x421039
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0xc]
cmp edx, 0x3e8
jbe 0x420ff2
xor ax, ax
jmp 0x421060
push 1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0041e45f
and eax, 0xff
test eax, eax
jne 0x42100b
jmp 0x420fcd
mov ecx, dword [ebp - 4]
and ecx, 0xffff
shl ecx, 8
mov edx, dword [ebp - 0x10]
and edx, 0xff
or ecx, edx
mov word [ebp - 4], cx
mov eax, dword [ebp - 4]
and eax, 0xffff
cmp eax, 0xcffc
jne 0x421037
jmp 0x421039
jmp 0x420fcd
mov cl, byte [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0041fe50
push 0x43db38
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ax, word [ebp - 0x20]
mov esp, ebp
pop ebp
ret 0xc