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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10014
call fcn.004940f0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x473f2b
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.00472870
cmp dword [ebp + 0x14], 0
jne 0x473f38
mov dword [ebp + 0x14], 0x1f4
mov eax, 1
cmp dword [ebp + 0x18], eax
jge 0x473f49
mov dword [ebp + 0x18], 0x32
cmp dword [ebp + 0xc], eax
jge 0x473f51
mov dword [ebp + 0xc], eax
test esi, esi
je 0x4740ff
mov ebx, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea eax, [esp + 0x1c]
push eax
push 0x7d0
push 2
push 0
push 0
push 0x406
push esi
call ebx
test eax, eax
je 0x4740ff
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [esp + 0x1c]
jg 0x4740ff
push 0x10000
xor eax, eax
mov ecx, esi
lea edi, [esp + 0x18]
call fcn.00471390
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x4740fc
mov edi, dword [ebp + 0xc]
xor edx, edx
dec edi
mov word [esp + 0x20], dx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push 0x7d0
push 2
push 0
push edi
push 0x40c
push esi
call ebx
test eax, eax
je 0x474040
mov ecx, 0x7fff
cmp word [esp + 0xc], cx
ja 0x474085
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push 0x7d0
push 2
push eax
push edi
push 0x40d
push esi
call ebx
test eax, eax
je 0x474040
movzx ecx, word [esp + 0xc]
push 0
lea edx, [ecx + ecx + 2]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
je 0x47407e
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x20]
call fcn.00473410
test al, al
jne 0x4740a2
cmp dword [ebp + 8], 0
jne 0x47408b
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4740d0
cmp dword [ebp + 0x14], 0
jl 0x47406b
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [esp + 0x18]
add ecx, dword [ebp + 0x14]
sub ecx, eax
cmp ecx, 5
jle 0x4740ba
mov eax, dword [ebp + 0x18]
push 1
push eax
call fcn.004012b0
add esp, 8
jmp 0x473fc2
xor ecx, ecx
mov word [esp + 0x20], cx
cmp dword [ebp + 8], 0
je 0x4740d0
mov ecx, dword [ebp + 8]
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push edx
call fcn.00472870
mov esi, eax
jmp 0x4740d5
mov ecx, dword [0x4c264c]
push 1
push 0
push 0xffffffffffffffff
push 0x49c8d4
call fcn.00472870
jmp 0x474085
mov ecx, dword [0x4c264c]
push 1
push 0
push 0xffffffffffffffff
push 0x49f2c4
call fcn.00472870
mov esi, 1
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push 0x8000
push 0
push eax
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, 0x49f2c4
test edi, edi
jne 0x47410d
mov eax, 0x49f534
mov ecx, dword [0x4be40c]
cmp byte [ecx + 0x104], 0
jne 0x474135
mov ecx, dword [0x4c264c]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.00472870
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4c45e4]
push 0x49c820
push 0
push 0x49f2c4
call fcn.0042ee20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret