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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cb14
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x52e4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
call fcn.00408300
push 0x502d44
call fcn.004360d6
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0
je 0x40456a
mov ecx, dword [ebp - 0x24]
call fcn.0041a0f0
mov dword [ebp - 0x3c], eax
jmp 0x404571
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x53c4], edx
push 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x53c4]
call fcn.00420be0
test eax, eax
jne 0x404608
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x53c4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4045c9
push 1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x40], eax
jmp 0x4045d0
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x53c4], 0
push str.No_DemoKit__1____
mov edx, dword [ebp - 0x38]
add edx, 0x5404
push edx
call fcn.004113c0
add esp, 8
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x27c], 0
xor eax, eax
jmp 0x404bc8
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x53c4]
call fcn.0041b070
movzx edx, ax
cmp edx, 0x2bc
jl 0x40466f
push 0x44
push 0x16
push 0x140
push 5
push 0x21c
push 0
push 0x41f
mov ecx, dword [ebp - 0x38]
call fcn.0043f72c
mov ecx, eax
call fcn.0043fad2
push 0x44
push 0x16
push 0xdc
push 5
push 0x37a
push 0
push 0x41c
mov ecx, dword [ebp - 0x38]
call fcn.0043f72c
mov ecx, eax
call fcn.0043fad2
jmp 0x4046bb
push 0x44
push 0x16
push 0xdc
push 5
push 0x21c
push 0
push 0x41c
mov ecx, dword [ebp - 0x38]
call fcn.0043f72c
mov ecx, eax
call fcn.0043fad2
push 0x44
push 0x16
push 0x140
push 5
push 0x316
push 0
push 0x41f
mov ecx, dword [ebp - 0x38]
call fcn.0043f72c
mov ecx, eax
call fcn.0043fad2
mov ecx, dword [ebp - 0x38]
call fcn.0040e2b0
cmp eax, 0xffffffff
jne 0x4046cf
xor eax, eax
jmp 0x404bc8
push 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x53c4]
call fcn.0041ea00
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
push 1
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x53c4]
call fcn.00420be0
test eax, eax
jne 0x404766
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x53c4]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
je 0x404727
push 1
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x44], eax
jmp 0x40472e
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x53c4], 0
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x27c], 0
push str.No_DemoKit__2____
mov edx, dword [ebp - 0x38]
add edx, 0x5404
push edx
call fcn.004113c0
add esp, 8
xor eax, eax
jmp 0x404bc8
mov ecx, dword [ebp - 0x38]
movzx edx, word [ecx + 0x1c8]
test edx, edx
je 0x404870
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax + 0x10e]
cmp ecx, 3
jl 0x404795
mov edx, dword [ebp - 0x38]
mov al, byte [edx + 0x1f2]
mov byte [ebp - 0x45], al
jmp 0x4047a1
mov ecx, dword [ebp - 0x38]
mov dl, byte [ecx + 0x10e]
mov byte [ebp - 0x45], dl
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax + 0x10d]
cmp ecx, 3
jl 0x4047be
mov edx, dword [ebp - 0x38]
mov al, byte [edx + 0x1f1]
mov byte [ebp - 0x46], al
jmp 0x4047ca
mov ecx, dword [ebp - 0x38]
mov dl, byte [ecx + 0x10d]
mov byte [ebp - 0x46], dl
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax + 0x10c]
cmp ecx, 3
jl 0x4047e7
mov edx, dword [ebp - 0x38]
mov al, byte [edx + 0x1f0]
mov byte [ebp - 0x47], al
jmp 0x4047f3
mov ecx, dword [ebp - 0x38]
mov dl, byte [ecx + 0x10c]
mov byte [ebp - 0x47], dl
mov al, byte [ebp - 0x45]
push eax
mov cl, byte [ebp - 0x46]
push ecx
mov dl, byte [ebp - 0x47]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x53c4]
call fcn.0041e7d0
mov ecx, dword [ebp - 0x38]
movzx edx, byte [ecx + 0x110]
cmp edx, 4
jl 0x40484d
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax + 0x10d]
cmp ecx, 3
jl 0x404839
mov edx, dword [ebp - 0x38]
mov al, byte [edx + 0x1f1]
mov byte [ebp - 0x48], al
jmp 0x404845
mov ecx, dword [ebp - 0x38]
mov dl, byte [ecx + 0x10d]
mov byte [ebp - 0x48], dl
mov al, byte [ebp - 0x48]
mov byte [ebp - 0x49], al
jmp 0x404859
mov ecx, dword [ebp - 0x38]
mov dl, byte [ecx + 0x110]
mov byte [ebp - 0x49], dl
mov al, byte [ebp - 0x49]
push eax
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x53c4]
call fcn.0041f720
jmp 0x404957
mov edx, dword [ebp - 0x38]
movzx eax, byte [edx + 0x10e]
cmp eax, 3
jl 0x404888
mov dword [ebp - 0x50], 0
jmp 0x404895
mov ecx, dword [ebp - 0x38]
movzx edx, byte [ecx + 0x10e]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax + 0x10d]
cmp ecx, 3
jl 0x4048ad
mov dword [ebp - 0x54], 0
jmp 0x4048ba
mov edx, dword [ebp - 0x38]
movzx eax, byte [edx + 0x10d]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x38]
movzx edx, byte [ecx + 0x10c]
cmp edx, 3
jl 0x4048d2
mov dword [ebp - 0x58], 0
jmp 0x4048df
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax + 0x10c]
mov dword [ebp - 0x58], ecx
mov dl, byte [ebp - 0x50]
push edx
mov al, byte [ebp - 0x54]
push eax
mov cl, byte [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 0x53c4]
call fcn.0041e7d0
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax + 0x110]
cmp ecx, 4
jl 0x404939
mov edx, dword [ebp - 0x38]
movzx eax, byte [edx + 0x10d]
cmp eax, 3
jl 0x404925
mov ecx, dword [ebp - 0x38]
mov dl, byte [ecx + 0x1f1]
mov byte [ebp - 0x59], dl
jmp 0x404931
mov eax, dword [ebp - 0x38]
mov cl, byte [eax + 0x10d]
mov byte [ebp - 0x59], cl
mov dl, byte [ebp - 0x59]
mov byte [ebp - 0x5a], dl
jmp 0x404945
mov eax, dword [ebp - 0x38]
mov cl, byte [eax + 0x110]
mov byte [ebp - 0x5a], cl
mov dl, byte [ebp - 0x5a]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x53c4]
call fcn.0041f720
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x10]
cmp eax, 0x7d0
sbb ecx, ecx
add ecx, 2
push ecx
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 0x53c4]
call fcn.0041b1e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x10]
cmp eax, 0x7d0
jae 0x404996
mov ecx, dword [ebp - 0x38]
call fcn.0040d960
mov dword [ebp - 0x60], eax
jmp 0x40499d
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x1c], eax
xor ecx, ecx
cmp dword [ebp - 0x1c], 0
sete cl
push ecx
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 0x53c4]
call fcn.0041e280
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x53c4]
call fcn.0041e300
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x53c4]
call fcn.0041e200
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x38]
movzx edx, byte [ecx + 0xb8]
cmp edx, 2
jl 0x404a07
mov dword [ebp - 0x64], 0
jmp 0x404a14
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax + 0xb8]
mov dword [ebp - 0x64], ecx
mov dl, byte [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x53c4]
call fcn.0041f010
mov ecx, dword [ebp - 0x38]
call fcn.00403540
test eax, eax
jne 0x404a39
xor eax, eax
jmp 0x404bc8
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x1dc]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x5404
call fcn.00401900
push 0
mov ecx, dword [ebp - 0x38]
call fcn.0043c422
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax + 0x1cc]
cmp ecx, 5
jne 0x404a73
mov dword [ebp - 0x68], 0x10
jmp 0x404a8c
mov edx, dword [ebp - 0x38]
movzx eax, byte [edx + 0x1cc]
sub eax, 1
neg eax
sbb eax, eax
neg eax
add eax, 1
mov dword [ebp - 0x68], eax
mov cl, byte [ebp - 0x68]
mov byte [ebp - 0x15], cl
mov edx, dword [ebp - 0x38]
movzx eax, word [edx + 0x1c8]
mov ecx, dword [ebp - 0x38]
movzx edx, word [ecx + 0x1ca]
imul eax, edx
movzx ecx, byte [ebp - 0x15]
imul eax, ecx
add eax, 0x100000
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x2ac], 0
jne 0x404adb
push 1
mov eax, dword [ebp - 0x14]
push eax
call fcn.00453605
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x2ac], eax
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x2b4], 0
jne 0x404afe
push 1
mov eax, dword [ebp - 0x14]
push eax
call fcn.00453605
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x2b4], eax
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x2b0], 0
jne 0x404b21
push 1
mov eax, dword [ebp - 0x14]
push eax
call fcn.00453605
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x2b0], eax
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x2ac], 0
je 0x404b45
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x2b4], 0
je 0x404b45
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x2b0], 0
jne 0x404b5a
push 0
push 0
push str.Failed_to_create_buffers_to_display_the_image
mov ecx, dword [ebp - 0x38]
call fcn.0043b9e7
xor eax, eax
jmp 0x404bc8
mov edx, dword [ebp - 0x38]
mov al, byte [edx + 0x1cc]
push eax
mov ecx, dword [ebp - 0x38]
mov dx, word [ecx + 0x1ca]
push edx
mov eax, dword [ebp - 0x38]
mov cx, word [eax + 0x1c8]
push ecx
push 0x3f0
mov ecx, dword [ebp - 0x38]
call fcn.0043f72c
mov edx, dword [eax + 0x20]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x53c4]
call fcn.0041dd70
mov ecx, dword [ebp - 0x38]
mov dl, byte [ecx + 0x27a]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.004041c0
mov eax, dword [ebp - 0x38]
mov dword [eax + 0xf8], 0
mov ecx, dword [ebp - 0x38]
call fcn.004093e0
mov ecx, dword [ebp - 0x38]
call fcn.0040f340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret