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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f0b1f
mov eax, dword fs:[0]
push eax
sub esp, 0x5a0
mov eax, dword [0x677010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1a4], 0
lea ecx, [ebp - 0x194]
call fcn.00407a4a
mov dword [ebp - 4], 0
mov byte [ebp - 0x198], 0
push 0x642df0
lea ecx, [ebp - 0x194]
call fcn.00414ef0
mov dword [ebp - 4], 1
call fcn.0041db40
cmp dword [eax + 4], 4
jl 0x4614e4
push ecx
lea ecx, [ebp - 0x198]
call fcn.00412cf0
mov al, byte [esi + 0x20]
mov byte [ebp - 0x199], al
mov byte [ebp - 0x19a], al
test al, al
jne 0x462655
mov byte [ebp - 4], 2
push str.dxgi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x46151a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x24], 0
mov dword [esi + 0x24], edi
test edi, edi
je 0x461b36
push str.CreateDXGIFactory
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x461559
mov al, 1
mov byte [ebp - 0x199], al
mov byte [ebp - 0x19a], al
mov dword [ebp - 4], 1
jmp 0x462655
call fcn.0041db40
cmp dword [eax + 4], 2
jl 0x4620d0
call fcn.0041db40
mov edi, eax
mov dword [ebp - 0x1a8], edi
sub esp, 8
lea ecx, [ebp - 0x39c]
call fcn.00415be0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x134]
call fcn.00407a4a
mov byte [ebp - 4], 4
push str.WARN
lea ecx, [ebp - 0x134]
call fcn.00414ef0
lea ecx, [ebp - 0x104]
call fcn.00407a4a
mov byte [ebp - 4], 5
xor esi, esi
mov dword [ebp - 0x1b0], esi
cmp esi, dword [edi + 0xc]
jge 0x461648
cmp esi, 0xa
jge 0x461648
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xf0]
mov eax, edx
sub eax, ecx
cmp eax, 2
jb 0x461621
lea edi, [ecx + 2]
mov dword [ebp - 0xf4], edi
lea esi, [ebp - 0x104]
cmp edx, 8
cmovae esi, dword [ebp - 0x104]
push 4
push 0x63e4c4
lea eax, [esi + ecx*2]
push eax
call fcn.005bfc60
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x1b0]
mov edi, dword [ebp - 0x1a8]
inc esi
jmp 0x4615b7
mov byte [ebp - 0x1a0], 0
push 2
push 0x63e4c4
push dword [ebp - 0x1a0]
push 2
lea ecx, [ebp - 0x104]
call fcn.0041ea00
inc esi
jmp 0x4615b7
lea ecx, [ebp - 0x14c]
call fcn.00407a4a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa4]
call fcn.00407a4a
mov byte [ebp - 4], 7
call fcn.005c8926
push 0xb
lea eax, [ebp - 0x44]
push eax
call fcn.005c8a22
add esp, 8
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x14c]
call fcn.00414ef0
sub esp, 8
lea ecx, [ebp - 0x5ac]
call fcn.00415be0
mov byte [ebp - 4], 8
cmp dword [edi + 0x10], 0
jne 0x4616b8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x10], eax
push 0
lea ecx, [ebp - 0x59c]
call fcn.004101b0
jmp 0x4616e8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x10]
movd xmm0, eax
cvtdq2pd xmm1, xmm0
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x644390]
divsd xmm1, qword [0x644330]
lea ecx, [ebp - 0x59c]
call fcn.0041e250
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x594]
call fcn.00416830
mov dword [ebp - 0x1a4], 1
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x90]
cmp eax, 8
jb 0x461761
inc eax
mov ecx, dword [ebp - 0xa4]
cmp eax, 0x7fffffff
ja 0x461871
add eax, eax
cmp eax, 0x1000
jb 0x461758
test cl, 0x1f
jne 0x461871
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x461871
sub ecx, eax
cmp ecx, 4
jb 0x461871
cmp ecx, 0x23
ja 0x461871
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
xor eax, eax
mov word [ebp - 0xa4], ax
movups xmm0, xmmword [ebp - 0x17c]
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [ebp - 0x16c]
movq qword [ebp - 0x94], xmm0
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], 7
mov word [ebp - 0x17c], ax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x17c]
call fcn.004075ab
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5ac]
call fcn.00415840
lea eax, [ebp - 0x104]
cmp dword [ebp - 0xf0], 8
cmovae eax, dword [ebp - 0x104]
mov dword [ebp - 0x1a0], eax
push 0x2040
lea eax, [ebp - 0x1bc]
push eax
call fcn.005be8d1
mov ecx, dword [ebp - 0x38c]
mov ecx, dword [ecx + 4]
lea edx, [ebp - 0x38c]
add ecx, edx
push dword [eax + 4]
push ecx
mov eax, dword [eax]
call eax
add esp, 0x10
mov eax, dword [ebp - 0x13c]
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x14c]
cmp dword [ebp - 0x138], 8
cmovae edx, dword [ebp - 0x14c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x38c]
call fcn.004137f0
mov esi, eax
push 0x10
lea eax, [ebp - 0x1ac]
push eax
call fcn.005be8d1
add esp, 0xc
mov edi, eax
mov edx, 0x63e114
mov ecx, esi
call fcn.00413320
mov esi, eax
test esi, esi
jne 0x461876
xor ecx, ecx
jmp 0x46187d
call fcn.005c3f14
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edi + 4]
push ecx
mov eax, dword [edi]
call eax
push 0
push 6
lea eax, [ebp - 0x23c]
push eax
call fcn.005be8ff
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov eax, 0x30
mov word [ecx + esi + 0x40], ax
push 0
push 3
lea eax, [ebp - 0x22c]
push eax
call fcn.005be8e5
add esp, 0x20
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
cmovae edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.004137f0
mov edi, eax
push 0
push 5
lea eax, [ebp - 0x21c]
push eax
call fcn.005be8ff
mov esi, eax
mov edx, 0x63e114
mov ecx, edi
call fcn.00413320
mov edx, esi
mov ecx, eax
call fcn.0041e9d0
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov eax, 0x20
mov word [ecx + esi + 0x40], ax
push 0x40
lea eax, [ebp - 0x20c]
push eax
call fcn.005be8d1
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push dword [eax + 4]
push ecx
mov eax, dword [eax]
call eax
add esp, 0x20
mov eax, dword [ebp - 0x124]
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x134]
cmp dword [ebp - 0x120], 8
cmovae edx, dword [ebp - 0x134]
mov byte [ebp - 4], 7
push eax
mov ecx, esi
call fcn.004137f0
add esp, 4
mov edx, 0x63e504
mov ecx, eax
call fcn.00413320
mov edx, dword [ebp - 0x1a0]
mov ecx, eax
call fcn.00413320
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6835d0]
cmp eax, dword [ecx + 4]
jle 0x4619e1
push 0x6835d0
call fcn.005bcd79
add esp, 4
cmp dword [0x6835d0], 0xffffffff
jne 0x4619e1
mov ecx, 0x6835d4
call fcn.00407a4a
push 0x5ff870
call fcn.005bc9d9
push 0x6835d0
call fcn.005bcd3a
add esp, 8
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x384]
call fcn.00416830
mov dword [ebp - 0x1a4], 3
mov byte [ebp - 4], 0xd
mov eax, dword [0x6835e8]
cmp eax, 8
jb 0x461a59
inc eax
mov ecx, dword [0x6835d4]
cmp eax, 0x7fffffff
ja 0x461871
add eax, eax
cmp eax, 0x1000
jb 0x461a50
test cl, 0x1f
jne 0x461871
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x461871
sub ecx, eax
cmp ecx, 4
jb 0x461871
cmp ecx, 0x23
ja 0x461871
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
mov dword [0x6835e4], 0
mov dword [0x6835e8], 7
xor eax, eax
mov word [0x6835d4], ax
movups xmm0, xmmword [ebp - 0x164]
movups xmmword [0x6835d4], xmm0
movq xmm0, qword [ebp - 0x154]
movq qword [0x6835e4], xmm0
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], 7
mov word [ebp - 0x164], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x164]
call fcn.004075ab
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa4]
call fcn.004075ab
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14c]
call fcn.004075ab
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x104]
call fcn.004075ab
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x134]
call fcn.004075ab
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x39c]
call fcn.00415840
call fcn.0041db40
mov edx, 0x6835d4
mov ecx, eax
call fcn.00413a60
mov edx, str.Unable_to_get_all_proc_addresses_from_DXGI
mov ecx, eax
call fcn.00413320
push eax
call fcn.00414850
add esp, 4
mov dword [ebp - 4], 1
jmp 0x462655
call fcn.0041db40
cmp dword [eax + 4], 2
jl 0x4620d0
call fcn.0041db40
mov edi, eax
mov dword [ebp - 0x1a0], edi
sub esp, 8
lea ecx, [ebp - 0x44c]
call fcn.00415be0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x74]
call fcn.00407a4a
mov byte [ebp - 4], 0xf
push str.WARN
lea ecx, [ebp - 0x74]
call fcn.00414ef0
lea ecx, [ebp - 0x5c]
call fcn.00407a4a
mov byte [ebp - 4], 0x10
xor esi, esi
mov dword [ebp - 0x1b4], esi
cmp esi, dword [edi + 0xc]
jge 0x461c03
cmp esi, 0xa
jge 0x461c03
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov eax, edx
sub eax, ecx
cmp eax, 2
jb 0x461be2
lea edi, [ecx + 2]
mov dword [ebp - 0x4c], edi
lea esi, [ebp - 0x5c]
cmp edx, 8
cmovae esi, dword [ebp - 0x5c]
push 4
push 0x63e4c4
lea eax, [esi + ecx*2]
push eax
call fcn.005bfc60
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x1b4]
mov edi, dword [ebp - 0x1a0]
inc esi
jmp 0x461b8b
mov byte [ebp - 0x1a8], 0
push 2
push 0x63e4c4
push dword [ebp - 0x1a8]
push 2
lea ecx, [ebp - 0x5c]
call fcn.0041ea00
inc esi
jmp 0x461b8b
lea ecx, [ebp - 0xbc]
call fcn.00407a4a
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x8c]
call fcn.00407a4a
mov byte [ebp - 4], 0x12
call fcn.005c8926
push 0xb
lea eax, [ebp - 0x2c]
push eax
call fcn.005c8a22
add esp, 8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00414ef0
sub esp, 8
lea ecx, [ebp - 0x2ec]
call fcn.00415be0
mov byte [ebp - 4], 0x13
cmp dword [edi + 0x10], 0
jne 0x461c73
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x10], eax
push 0
lea ecx, [ebp - 0x2dc]
call fcn.004101b0
jmp 0x461ca3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x10]
movd xmm0, eax
cvtdq2pd xmm1, xmm0
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x644390]
divsd xmm1, qword [0x644330]
lea ecx, [ebp - 0x2dc]
call fcn.0041e250
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.00416830
mov dword [ebp - 0x1a4], 4
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x461d19
inc eax
mov ecx, dword [ebp - 0x8c]
cmp eax, 0x7fffffff
ja 0x461871
add eax, eax
cmp eax, 0x1000
jb 0x461d10
test cl, 0x1f
jne 0x461871
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x461871
sub ecx, eax
cmp ecx, 4
jb 0x461871
cmp ecx, 0x23
ja 0x461871
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
xor eax, eax
mov word [ebp - 0x8c], ax
movups xmm0, xmmword [ebp - 0x11c]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [ebp - 0x10c]
movq qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], 7
mov word [ebp - 0x11c], ax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x11c]
call fcn.004075ab
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2ec]
call fcn.00415840
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
cmovae eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1a0], eax
push 0x2040
lea eax, [ebp - 0x1d4]
push eax
call fcn.005be8d1
mov ecx, dword [ebp - 0x43c]
mov ecx, dword [ecx + 4]
lea edx, [ebp - 0x43c]
add ecx, edx
push dword [eax + 4]
push ecx
mov eax, dword [eax]
call eax
add esp, 0x10
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 8
cmovae edx, dword [ebp - 0xbc]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x43c]
call fcn.004137f0
mov esi, eax
push 0x10
lea eax, [ebp - 0x1cc]
push eax
call fcn.005be8d1
add esp, 0xc
mov edi, eax
mov edx, 0x63e114
mov ecx, esi
call fcn.00413320
mov esi, eax
test esi, esi
jne 0x461e17
xor ecx, ecx
jmp 0x461e1e
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edi + 4]
push ecx
mov eax, dword [edi]
call eax
push 0
push 6
lea eax, [ebp - 0x204]
push eax
call fcn.005be8ff
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov eax, 0x30
mov word [ecx + esi + 0x40], ax
push 0
push 3
lea eax, [ebp - 0x1f4]
push eax
call fcn.005be8e5
add esp, 0x20
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov ecx, dword [ebp - 0x7c]
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x12
push ecx
mov ecx, eax
call fcn.004137f0
mov edi, eax
push 0
push 5
lea eax, [ebp - 0x1e4]
push eax
call fcn.005be8ff
mov esi, eax
mov edx, 0x63e114
mov ecx, edi
call fcn.00413320
mov edx, esi
mov ecx, eax
call fcn.0041e9d0
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov eax, 0x20
mov word [ecx + esi + 0x40], ax
push 0x40
lea eax, [ebp - 0x1c4]
push eax
call fcn.005be8d1
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push dword [eax + 4]
push ecx
mov eax, dword [eax]
call eax
add esp, 0x20
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae edx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x12
push eax
mov ecx, esi
call fcn.004137f0
add esp, 4
mov edx, 0x63e504
mov ecx, eax
call fcn.00413320
mov edx, dword [ebp - 0x1a0]
mov ecx, eax
call fcn.00413320
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6835d0]
cmp eax, dword [ecx + 4]
jle 0x461f70
push 0x6835d0
call fcn.005bcd79
add esp, 4
cmp dword [0x6835d0], 0xffffffff
jne 0x461f70
mov ecx, 0x6835d4
call fcn.00407a4a
push 0x5ff870
call fcn.005bc9d9
push 0x6835d0
call fcn.005bcd3a
add esp, 8
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x434]
call fcn.00416830
mov dword [ebp - 0x1a4], 0xc
mov byte [ebp - 4], 0x18
mov eax, dword [0x6835e8]
cmp eax, 8
jb 0x461fe8
inc eax
mov ecx, dword [0x6835d4]
cmp eax, 0x7fffffff
ja 0x461871
add eax, eax
cmp eax, 0x1000
jb 0x461fdf
test cl, 0x1f
jne 0x461871
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x461871
sub ecx, eax
cmp ecx, 4
jb 0x461871
cmp ecx, 0x23
ja 0x461871
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
mov dword [0x6835e4], 0
mov dword [0x6835e8], 7
xor eax, eax
mov word [0x6835d4], ax
movups xmm0, xmmword [ebp - 0xd4]
movups xmmword [0x6835d4], xmm0
movq xmm0, qword [ebp - 0xc4]
movq qword [0x6835e4], xmm0
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xd4]
call fcn.004075ab
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x8c]
call fcn.004075ab
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xbc]
call fcn.004075ab
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x5c]
call fcn.004075ab
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x74]
call fcn.004075ab
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44c]
call fcn.00415840
call fcn.0041db40
mov ecx, dword [0x6835e4]
mov byte [ebp - 4], 0x19
mov edx, 0x6835d4
cmp dword [0x6835e8], 8
cmovae edx, dword [0x6835d4]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.004137f0
mov edx, str.Unable_to_open_dxgi.dll
mov ecx, eax
call fcn.00413320
push eax
call fcn.00414850
add esp, 8
mov dword [ebp - 4], 1
jmp 0x462655
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.00414900
mov al, byte [ebp - 0x199]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005bc745
mov esp, ebp
pop ebp
ret