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

Disassembly:
push 0x320
mov eax, 0x5dcb31
call fcn.0059ca8d
push 0x1ff
xor edi, edi
lea eax, [ebp - 0x30f]
push edi
push eax
mov byte [ebp - 0x310], 0
call fcn.0059cb30
add esp, 0xc
mov dword [ebp - 0x328], edi
call fcn.0042df4e
push 0x5fc
mov dword [ebp - 0x32c], eax
call fcn.00564e10
pop ecx
mov dword [ebp - 0x324], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x4305e0
mov ecx, eax
call fcn.004b2c51
mov esi, eax
mov dword [ebp - 0x318], esi
jmp 0x4305e8
mov dword [ebp - 0x318], edi
mov esi, edi
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jne 0x430608
push str.Cant_create_dyn_objects
push 0x66eab8
call fcn.0047f1a3
pop ecx
pop ecx
xor eax, eax
jmp 0x4309a3
cmp dword [0x672ca8], edi
jle 0x430601
mov eax, dword [0x6691e4]
mov dword [ebp - 0x324], eax
call fcn.004667d0
mov ecx, dword [0x6698b4]
mov eax, dword [0x6698bc]
add eax, ecx
lea ecx, [eax - 0x10]
push ecx
add eax, 0xfffffff8
push eax
call fcn.00457d49
pop ecx
pop ecx
mov ecx, esi
call fcn.004b5d4c
xor ebx, ebx
inc ebx
push ebx
mov ecx, esi
call fcn.004b1a52
mov eax, dword [0x6691dc]
cmp eax, ebx
jne 0x43066a
push edi
push ebx
push edi
push edi
push ebx
push ebx
push ebx
push 0x19
push 0x49
push edi
push ebx
push ebx
push ebx
push 4
jmp 0x4306a8
cmp eax, 2
jne 0x430685
push ebx
push eax
push edi
push ebx
push 3
pop eax
push eax
push eax
push eax
push 0x1b
push 0x15b
push 9
push eax
jmp 0x43069f
push 3
pop ecx
cmp eax, ecx
jne 0x4306b1
push 7
push ecx
push ebx
push ecx
push ecx
push ecx
push ecx
push 0x1b
push 0x15b
push 0x1b
push 7
push 0xed
push 0x3f
push 0x37
mov ecx, esi
call fcn.004b1a5f
jmp 0x4306b9
push edi
mov ecx, esi
call fcn.004b1dd4
mov dword [ebp - 0x320], edi
mov dword [ebp - 0x31c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
dec esi
pushal
jmp 0x4306d9
lea eax, [ebp - 0x110]
push eax
mov ecx, 0x672b98
call fcn.004ba0de
mov edi, 0x6690c0
jmp 0x43097d
cmp dword [ebp - 0x32c], 0
jne 0x4307a3
add dword [ebp - 0x320], ebx
lea eax, [ebp - 0x110]
push eax
adc dword [ebp - 0x31c], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, eax
and edx, 0xff
cmp edx, 0xf
jb 0x430841
cmp dword [ebp - 0x324], 0
je 0x43074d
lea eax, [ebp - 0x110]
push edx
push eax
call fcn.0042ea42
pop ecx
pop ecx
cmp eax, 3
jne 0x4308d4
lea eax, [ebp - 0x310]
push eax
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.0042eaf5
add dword [0x669898], ebx
push eax
lea eax, [ebp - 0x310]
adc dword [0x66989c], 0
push eax
call fcn.0042eec9
add esp, 0x14
test eax, eax
je 0x4308d4
push 0xff
lea eax, [ebp - 0x110]
push eax
push 0x6693f8
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov dword [ebp - 0x328], ebx
popal
mov esi, 0x6690c0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x669158
push dword [0x66989c]
push dword [0x669898]
call fcn.0042e961
add esp, 0xc
push 0
push 0x3e8
push dword [ebp - 0x31c]
push dword [ebp - 0x320]
call fcn.0059efc0
mov ecx, eax
mov eax, dword [0x672ca8]
mov edi, edx
cdq
push edx
push eax
push edi
push ecx
call fcn.0059f000
push esi
mov dword [0x6691d8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x6690d8
push 0x8137
push 0x111
push dword [0x669884]
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 0x318]
mov eax, dword [ecx]
push 1
call dword [eax]
call fcn.004667d0
cmp dword [ebp - 0x328], 0
je 0x43099a
xor eax, eax
inc eax
jmp 0x4309a3
mov ecx, dword [ebp - 0x318]
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.004b681a
jmp 0x4308ca
push dword [ebp - 0x314]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, eax
and edx, 0xff
cmp dword [ebp - 0x324], 0
je 0x430887
push edx
push dword [ebp - 0x314]
call fcn.0042ea42
pop ecx
pop ecx
cmp eax, 3
jne 0x4308bf
lea eax, [ebp - 0x310]
push eax
push edx
push dword [ebp - 0x314]
call fcn.0042eaf5
add dword [0x669898], ebx
push eax
lea eax, [ebp - 0x310]
adc dword [0x66989c], 0
push eax
call fcn.0042eec9
add esp, 0x14
test eax, eax
jne 0x43098a
mov ecx, dword [ebp - 0x318]
call fcn.004b26f1
mov dword [ebp - 0x314], eax
test eax, eax
jne 0x430857
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp ecx, 0x1f4
jbe 0x43096c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x669158
push dword [0x66989c]
push dword [0x669898]
call fcn.0042e961
add esp, 0xc
push 0
push 0x3e8
push dword [ebp - 0x31c]
push dword [ebp - 0x320]
call fcn.0059efc0
mov ecx, eax
mov eax, dword [0x672ca8]
mov ebx, edx
cdq
push edx
push eax
push ebx
push ecx
call fcn.0059f000
push edi
mov dword [0x6691d8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x6690d8
push 0x8137
push 0x111
push dword [0x669884]
call dword [sym.imp.USER32.dll_PostMessageA]
call fcn.0042df4e
xor ebx, ebx
mov dword [ebp - 0x32c], eax
inc ebx
lea eax, [ebp - 0x110]
push eax
mov ecx, 0x672b98
call fcn.004b9d18
test eax, eax
jne 0x4306f4
jmp 0x4307a3
push 0xff
push dword [ebp - 0x314]
jmp 0x430792
call fcn.0042df4e
neg eax
sbb eax, eax
call fcn.0059cb10
ret