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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455ff6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x40]
call fcn.00406d7a
push 0x2822e4
call fcn.0044bda2
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0
je 0x4039cd
mov ecx, dword [ebp - 0x24]
call fcn.00425cc0
mov dword [ebp - 0x44], eax
jmp 0x4039d4
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x52ec], edx
push 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x52ec]
call fcn.00426010
test eax, eax
jne 0x403ac5
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 0x52ec]
call fcn.0042d100
test eax, eax
je 0x403a5e
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x52ec]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
je 0x403a40
push 1
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x48], eax
jmp 0x403a47
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x52ec], 0
mov ecx, dword [ebp - 0x40]
call fcn.0040cb1d
jmp 0x403a9b
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x52ec]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
je 0x403a87
push 1
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x4c], eax
jmp 0x403a8e
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x52ec], 0
mov edx, dword [ebp - 0x40]
mov dword [edx + 0x194], 0
push str.No_DemoKit__1____
mov eax, dword [ebp - 0x40]
add eax, 0x532c
push eax
call fcn.00449087
add esp, 8
xor eax, eax
jmp 0x403f6d
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 0x52ec]
call fcn.00427280
and eax, 0xffff
cmp eax, 0x2bc
jl 0x403b2d
push 0x44
push 0x16
push 0x140
push 5
push 0x21c
push 0
push 0x41f
mov ecx, dword [ebp - 0x40]
call fcn.0044e95d
mov ecx, eax
call fcn.0044eafd
push 0x44
push 0x16
push 0xfa
push 5
push 0x378
push 0
push 0x41c
mov ecx, dword [ebp - 0x40]
call fcn.0044e95d
mov ecx, eax
call fcn.0044eafd
jmp 0x403b79
push 0x44
push 0x16
push 0x15e
push 5
push 0x378
push 0
push 0x41f
mov ecx, dword [ebp - 0x40]
call fcn.0044e95d
mov ecx, eax
call fcn.0044eafd
push 0x44
push 0x16
push 0xfa
push 5
push 0x21c
push 0
push 0x41c
mov ecx, dword [ebp - 0x40]
call fcn.0044e95d
mov ecx, eax
call fcn.0044eafd
mov ecx, dword [ebp - 0x40]
call fcn.0040be79
cmp eax, 0xffffffff
jne 0x403b8d
xor eax, eax
jmp 0x403f6d
push 0
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0x52ec]
call fcn.0042c720
push 1
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x52ec]
call fcn.00426010
test eax, eax
jne 0x403c19
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x52ec]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x403bda
push 1
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x38]
call dword [edx]
mov dword [ebp - 0x50], eax
jmp 0x403be1
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x52ec], 0
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x194], 0
push str.No_DemoKit__2____
mov edx, dword [ebp - 0x40]
add edx, 0x532c
push edx
call fcn.00449087
add esp, 8
xor eax, eax
jmp 0x403f6d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x40]
mov cl, byte [eax + 0xae]
push ecx
mov edx, dword [ebp - 0x40]
mov al, byte [edx + 0xad]
push eax
mov ecx, dword [ebp - 0x40]
mov dl, byte [ecx + 0xac]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x52ec]
call fcn.0042c500
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov dl, byte [ecx + 0xb0]
cmp edx, 4
jl 0x403c6c
mov eax, dword [ebp - 0x40]
mov cl, byte [eax + 0xad]
mov byte [ebp - 0x51], cl
jmp 0x403c78
mov edx, dword [ebp - 0x40]
mov al, byte [edx + 0xb0]
mov byte [ebp - 0x51], al
mov cl, byte [ebp - 0x51]
push ecx
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0x52ec]
call fcn.00427420
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x52ec]
call fcn.00427280
mov word [ebp - 0x1c], ax
mov ecx, dword [ebp - 0x1c]
and ecx, 0xffff
cmp ecx, 0x32a
jge 0x403ccd
mov edx, dword [ebp - 0x1c]
and edx, 0xffff
cmp edx, 0x2bb
jg 0x403cef
mov eax, dword [ebp - 0x1c]
and eax, 0xffff
cmp eax, 0x2b2
jl 0x403cef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
cmp eax, 0x14
sbb ecx, ecx
add ecx, 2
push ecx
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0x52ec]
call fcn.004273b0
jmp 0x403d4d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
cmp eax, 0x14
jae 0x403d34
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov cl, byte [eax + 0xaf]
cmp ecx, 3
jl 0x403d1b
mov edx, dword [ebp - 0x40]
mov al, byte [edx + 0x18f]
mov byte [ebp - 0x58], al
jmp 0x403d27
mov ecx, dword [ebp - 0x40]
mov dl, byte [ecx + 0xaf]
mov byte [ebp - 0x58], dl
mov eax, dword [ebp - 0x58]
and eax, 0xff
mov dword [ebp - 0x5c], eax
jmp 0x403d3b
mov dword [ebp - 0x5c], 2
mov cl, byte [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0x52ec]
call fcn.004273b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
cmp eax, 0x14
jae 0x403d68
mov ecx, dword [ebp - 0x40]
call fcn.0040b546
mov dword [ebp - 0x60], eax
jmp 0x403d6f
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x14], eax
xor ecx, ecx
cmp dword [ebp - 0x14], 0
sete cl
push ecx
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0x52ec]
call fcn.0042bf00
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 0x52ec]
call fcn.0042bf80
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x52ec]
call fcn.0042be80
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x40]
call fcn.00402956
test eax, eax
jne 0x403dd4
xor eax, eax
jmp 0x403f6d
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x17c]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x532c
call fcn.0044ba02
push 0
mov ecx, dword [ebp - 0x40]
call fcn.0044dfec
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov cx, word [eax + 0x168]
mov edx, dword [ebp - 0x40]
xor eax, eax
mov ax, word [edx + 0x16a]
imul ecx, eax
lea ecx, [ecx + ecx + 0x400]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x1d0], 0
jne 0x403e3c
mov eax, dword [ebp - 0x10]
push eax
call fcn.004375d5
add esp, 4
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x1d0], eax
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x1d8], 0
jne 0x403e5d
mov eax, dword [ebp - 0x10]
push eax
call fcn.004375d5
add esp, 4
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x1d8], eax
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x1d4], 0
jne 0x403e7e
mov eax, dword [ebp - 0x10]
push eax
call fcn.004375d5
add esp, 4
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x1d4], eax
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x1d0], 0
je 0x403ea2
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x1d8], 0
je 0x403ea2
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x1d4], 0
jne 0x403eba
push 0
push 0
push str.Failed_to_create_buffers_to_display_the_image
mov ecx, dword [ebp - 0x40]
call fcn.0044d890
xor eax, eax
jmp 0x403f6d
mov edx, dword [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x1d0]
push ecx
call fcn.00437170
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x1d8]
push ecx
call fcn.00437170
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x1d4]
push ecx
call fcn.00437170
add esp, 0xc
mov edx, dword [ebp - 0x40]
mov al, byte [edx + 0x16c]
push eax
mov ecx, dword [ebp - 0x40]
mov dx, word [ecx + 0x16a]
push edx
mov eax, dword [ebp - 0x40]
mov cx, word [eax + 0x168]
push ecx
push 0x3f0
mov ecx, dword [ebp - 0x40]
call fcn.0044e95d
mov edx, dword [eax + 0x1c]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x52ec]
call fcn.0042aa20
mov ecx, dword [ebp - 0x40]
mov dl, byte [ecx + 0x192]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.00403653
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x40]
call fcn.00407ca0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret