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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x8014
call fcn.0048af20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x4704db
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.0046ede0
cmp dword [ebp + 0x14], 0
jne 0x4704e8
mov dword [ebp + 0x14], 0x1f4
mov eax, 1
cmp dword [ebp + 0x18], eax
jge 0x4704f9
mov dword [ebp + 0x18], 0x32
cmp dword [ebp + 0xc], eax
jge 0x470501
mov dword [ebp + 0xc], eax
test esi, esi
je 0x4706a8
mov ebx, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea eax, [esp + 0x1c]
push eax
push 0x7d0
push 2
push 0
push 0
push 0x406
push esi
call ebx
test eax, eax
je 0x4706a8
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [esp + 0x1c]
jg 0x4706a8
push 0x8000
xor eax, eax
mov ecx, esi
lea edi, [esp + 0x18]
call fcn.0046d880
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x4706a5
mov edi, dword [ebp + 0xc]
dec edi
mov byte [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
lea edx, [esp + 0xc]
push edx
push 0x7d0
push 2
push 0
push edi
push 0x403
push esi
call ebx
test eax, eax
je 0x4705eb
mov eax, 0x7fff
cmp word [esp + 0xc], ax
ja 0x47062e
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 0x7d0
push 2
push edx
push edi
push 0x402
push esi
call ebx
test eax, eax
je 0x4705eb
movzx eax, word [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0
inc eax
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x470629
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x20]
call fcn.0046fa60
test al, al
jne 0x47064b
cmp dword [ebp + 8], 0
jne 0x470634
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x470679
cmp dword [ebp + 0x14], 0
jl 0x470616
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x18]
add ecx, dword [ebp + 0x14]
sub ecx, eax
cmp ecx, 5
jle 0x470663
mov eax, dword [ebp + 0x18]
push 1
push eax
call fcn.004012a0
add esp, 8
jmp 0x470570
mov byte [esp + 0x20], 0
cmp dword [ebp + 8], 0
je 0x470679
push 1
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0046ede0
mov esi, eax
jmp 0x47067e
mov ecx, dword [0x4a3434]
push 1
push 0
push 0xffffffffffffffff
push 0x492860
call fcn.0046ede0
jmp 0x47062e
mov ecx, dword [0x4a3434]
push 1
push 0
push 0xffffffffffffffff
push 0x493f08
call fcn.0046ede0
mov esi, 1
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push 0x8000
push 0
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov eax, 0x493f08
test edi, edi
jne 0x4706b6
mov eax, 0x494050
mov ecx, dword [0x49f430]
cmp byte [ecx + 0xe0], 0
jne 0x4706de
mov ecx, dword [0x4a3434]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.0046ede0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4a5004]
push 0x4927e9
push 0
push 0x493f08
call fcn.0042c9e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret