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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cee7f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5062f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [0x506280]
push dword [esi + 0xc]
call fcn.004052c0
add esp, 8
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x52eab0]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x430303
push 0x506228
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x52eab0], 0
jne 0x4302f0
push 0x28
call fcn.00453833
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4302de
mov ecx, eax
call fcn.0041ad60
mov ecx, eax
jmp 0x4302e0
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x20], eax
mov dword [0x52eab0], ecx
push 0x506228
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x52eab0]
mov dword [ebp - 0x10], eax
call fcn.00421410
mov edi, eax
call fcn.004219e0
mov ebx, eax
mov ecx, esi
mov dword [ebp - 0x28], ebx
call fcn.00405270
test eax, eax
jne 0x4306bb
push 0xffffffffffffffff
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xb
push ebx
call fcn.0040d150
mov ecx, esi
mov dword [edi + 0x7790], eax
call fcn.00405270
test eax, eax
jne 0x4306bb
push 0xc
push ebx
call fcn.0040d150
mov ecx, esi
mov dword [edi + 0x778c], eax
call fcn.00405270
test eax, eax
jne 0x4306bb
push 0xd
push ebx
call fcn.0040d150
mov ecx, esi
mov dword [edi + 0x7cb8], eax
call fcn.00405270
test eax, eax
jne 0x4306bb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [ebp - 0x14]
cmp ecx, 0x3e8
jb 0x4305d9
push 1
push ebx
mov dword [ebp - 0x14], eax
call fcn.0040d150
mov ecx, eax
cmp ecx, 0xffffffff
jle 0x4303e2
mov edx, dword [edi + 0x7774]
mov dword [ebp - 0x24], edx
test edx, edx
jle 0x4303d5
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x14
jle 0x4303d5
inc dword [esi + 0x18]
cmp dword [esi + 0x18], 3
jge 0x4303d5
mov ecx, dword [ebp - 0x24]
jmp 0x4303dc
mov dword [esi + 0x18], 0
mov dword [edi + 0x7774], ecx
mov ecx, esi
call fcn.00405270
test eax, eax
jne 0x4306bb
push 2
push ebx
call fcn.0040d150
cmp eax, 0xffffffff
jle 0x430414
push dword [edi + 0x7778]
mov ecx, esi
push eax
push 1
call fcn.004306d0
mov dword [edi + 0x7778], eax
mov ecx, esi
call fcn.00405270
test eax, eax
jne 0x4306bb
push 3
push ebx
call fcn.0040d150
cmp eax, 0xffffffff
jle 0x430446
push dword [edi + 0x7780]
mov ecx, esi
push eax
push 3
call fcn.004306d0
mov dword [edi + 0x7780], eax
mov ecx, esi
call fcn.00405270
test eax, eax
jne 0x4306bb
push 6
push ebx
call fcn.0040d150
cmp eax, 0xffffffff
jle 0x430478
push dword [edi + 0x7784]
mov ecx, esi
push eax
push 3
call fcn.004306d0
mov dword [edi + 0x7784], eax
mov ecx, esi
call fcn.00405270
test eax, eax
jne 0x4306bb
push 4
push ebx
call fcn.0040d150
cmp eax, 0xffffffff
jle 0x4304aa
push dword [edi + 0x777c]
mov ecx, esi
push eax
push 2
call fcn.004306d0
mov dword [edi + 0x777c], eax
mov ecx, esi
call fcn.00405270
test eax, eax
jne 0x4306bb
push 5
push ebx
call fcn.0040d150
mov ecx, esi
cmp eax, 0xffffffff
jle 0x4304de
push dword [edi + 0x7788]
push eax
push 4
call fcn.004306d0
mov dword [edi + 0x7788], eax
jmp 0x43054e
call fcn.00405270
test eax, eax
jne 0x4306bb
push 7
push ebx
call fcn.0040d150
cmp eax, 0xffffffff
jle 0x430517
push dword [edi + 0x7788]
mov ecx, esi
push eax
push 4
call fcn.004306d0
mov dword [edi + 0x7788], eax
mov dword [esi + 0x14], 0
jmp 0x43052b
cmp eax, 0xfffffffe
jne 0x43052b
cmp dword [edi + 0x7788], 0xffffffff
jne 0x43052b
mov dword [edi + 0x7788], eax
inc dword [esi + 0x14]
cmp dword [esi + 0x14], 5
jle 0x43054e
mov dword [edi + 0x7788], 0xffffffff
cmp dword [esi + 0x14], 0x4e20
jle 0x43054e
mov dword [esi + 0x14], 0xa
cmp dword [edi + 0x3fc4], 0
je 0x430564
push 0x420bf0
push 0x11
push ebx
call fcn.0040d170
push 0x288
lea eax, [edi + 0x7774]
push eax
lea eax, [edi + 0x7a00]
push 0x288
push eax
call fcn.004307a0
add esp, 0x10
push 0xe
push ebx
call fcn.0040d150
cmp eax, 0xffffffff
jle 0x430597
mov dword [edi + 0x7c8c], eax
push 0x10
push ebx
call fcn.0040d150
cmp eax, 0xffffffff
jle 0x4305aa
mov dword [edi + 0x7c88], eax
push 0xf
push ebx
call fcn.0040d150
cmp eax, 0xffffffff
jle 0x4305bd
mov dword [edi + 0x7c90], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], 1
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4305f0
push 0
push 0
push 0x401
jmp 0x4305e9
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4305f0
push 0
push 0
push 0x404
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
call fcn.00405270
test eax, eax
jne 0x4306bb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x1c], 0
je 0x430621
mov edx, dword [ebp - 0x18]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x3e8
cmovae edx, eax
mov dword [ebp - 0x18], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [ebp - 0x1c]
cmp ecx, 0x1b7740
jb 0x430689
push 0x420bf0
push 0x14
push ebx
mov dword [ebp - 0x1c], eax
call fcn.0040d170
mov ecx, edi
call fcn.0041c1a0
push 0x420bf0
push 6
push ebx
call fcn.0040d170
push 0x420bf0
push 0xd
push ebx
call fcn.0040d170
push 0x420bf0
push 0x1b
push ebx
call fcn.0040d170
mov eax, dword [esi + 0x10]
test eax, eax
je 0x430689
push 0
push 0
push 0x405
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor ebx, ebx
nop dword [eax + eax]
mov ecx, esi
call fcn.00405270
test eax, eax
jne 0x4306a9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jl 0x430690
mov ecx, esi
call fcn.00405270
mov ebx, dword [ebp - 0x28]
test eax, eax
je 0x430323
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret