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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f11c0
mov eax, dword fs:[0]
push eax
sub esp, 0x7f8
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 - 0x250], 0
lea ecx, [ebp - 0x23c]
call fcn.00407a4a
mov dword [ebp - 4], 0
mov byte [ebp - 0x240], 0
push 0x643410
lea ecx, [ebp - 0x23c]
call fcn.00414ef0
mov dword [ebp - 4], 1
call fcn.0041db40
cmp dword [eax + 4], 4
jl 0x4678a4
push ecx
lea ecx, [ebp - 0x240]
call fcn.00412cf0
mov al, byte [esi + 0x2c]
mov byte [ebp - 0x241], al
mov byte [ebp - 0x249], al
test al, al
jne 0x46908e
mov byte [ebp - 4], 2
push str.d3d10.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x254], eax
mov ecx, dword [esi + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ecx, ecx
je 0x4678e6
push ecx
call edi
mov eax, dword [ebp - 0x254]
mov dword [esi + 0x30], 0
mov dword [esi + 0x30], eax
test eax, eax
je 0x46852d
push str.dxgi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x254], eax
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x467919
push ecx
call edi
mov eax, dword [ebp - 0x254]
mov dword [esi + 0x34], 0
mov dword [esi + 0x34], eax
test eax, eax
je 0x467f55
push str.D3D10CreateDevice
push dword [esi + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x46798f
push str.CreateDXGIFactory
push dword [esi + 0x34]
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x46798f
push str.D3D10GetPixelShaderProfile
push dword [esi + 0x30]
call edi
mov dword [esi + 0x24], eax
test eax, eax
je 0x46798f
push str.D3D10GetVertexShaderProfile
push dword [esi + 0x30]
call edi
mov dword [esi + 0x28], eax
test eax, eax
je 0x46798f
mov al, 1
mov byte [ebp - 0x241], al
mov byte [ebp - 0x249], al
mov dword [ebp - 4], 1
jmp 0x46908e
call fcn.0041db40
cmp dword [eax + 4], 2
jl 0x468ae8
call fcn.0041db40
mov edi, eax
mov dword [ebp - 0x254], edi
sub esp, 8
lea ecx, [ebp - 0x6a4]
call fcn.00415be0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1dc]
call fcn.00407a4a
mov byte [ebp - 4], 4
push str.WARN
lea ecx, [ebp - 0x1dc]
call fcn.00414ef0
lea ecx, [ebp - 0x14c]
call fcn.00407a4a
mov byte [ebp - 4], 5
xor esi, esi
mov dword [ebp - 0x264], esi
cmp esi, dword [edi + 0xc]
jge 0x467a7e
cmp esi, 0xa
jge 0x467a7e
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x138]
mov eax, edx
sub eax, ecx
cmp eax, 2
jb 0x467a57
lea edi, [ecx + 2]
mov dword [ebp - 0x13c], edi
lea esi, [ebp - 0x14c]
cmp edx, 8
cmovae esi, dword [ebp - 0x14c]
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 - 0x264]
mov edi, dword [ebp - 0x254]
inc esi
jmp 0x4679ed
mov byte [ebp - 0x248], 0
push 2
push 0x63e4c4
push dword [ebp - 0x248]
push 2
lea ecx, [ebp - 0x14c]
call fcn.0041ea00
inc esi
jmp 0x4679ed
lea ecx, [ebp - 0x1f4]
call fcn.00407a4a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x11c]
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 - 0x1f4]
call fcn.00414ef0
sub esp, 8
lea ecx, [ebp - 0x754]
call fcn.00415be0
mov byte [ebp - 4], 8
cmp dword [edi + 0x10], 0
jne 0x467aee
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x10], eax
push 0
lea ecx, [ebp - 0x744]
call fcn.004101b0
jmp 0x467b1e
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 - 0x744]
call fcn.0041e250
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x73c]
call fcn.00416830
mov dword [ebp - 0x250], 1
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x108]
cmp eax, 8
jb 0x467b97
inc eax
mov ecx, dword [ebp - 0x11c]
cmp eax, 0x7fffffff
ja 0x467ca7
add eax, eax
cmp eax, 0x1000
jb 0x467b8e
test cl, 0x1f
jne 0x467ca7
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x467ca7
sub ecx, eax
cmp ecx, 4
jb 0x467ca7
cmp ecx, 0x23
ja 0x467ca7
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 7
xor eax, eax
mov word [ebp - 0x11c], ax
movups xmm0, xmmword [ebp - 0x224]
movups xmmword [ebp - 0x11c], xmm0
movq xmm0, qword [ebp - 0x214]
movq qword [ebp - 0x10c], xmm0
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 7
mov word [ebp - 0x224], ax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x224]
call fcn.004075ab
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x754]
call fcn.00415840
lea eax, [ebp - 0x14c]
cmp dword [ebp - 0x138], 8
cmovae eax, dword [ebp - 0x14c]
mov dword [ebp - 0x248], eax
push 0x2040
lea eax, [ebp - 0x26c]
push eax
call fcn.005be8d1
mov ecx, dword [ebp - 0x694]
mov ecx, dword [ecx + 4]
lea edx, [ebp - 0x694]
add ecx, edx
push dword [eax + 4]
push ecx
mov eax, dword [eax]
call eax
add esp, 0x10
mov eax, dword [ebp - 0x1e4]
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x1f4]
cmp dword [ebp - 0x1e0], 8
cmovae edx, dword [ebp - 0x1f4]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x694]
call fcn.004137f0
mov esi, eax
push 0x10
lea eax, [ebp - 0x258]
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 0x467cac
xor ecx, ecx
jmp 0x467cb3
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 - 0x334]
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 - 0x324]
push eax
call fcn.005be8e5
add esp, 0x20
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov ecx, dword [ebp - 0x10c]
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x11c]
cmp dword [ebp - 0x108], 8
cmovae edx, dword [ebp - 0x11c]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.004137f0
mov edi, eax
push 0
push 5
lea eax, [ebp - 0x314]
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 - 0x2d4]
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 - 0x1cc]
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x1dc]
cmp dword [ebp - 0x1c8], 8
cmovae edx, dword [ebp - 0x1dc]
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 - 0x248]
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 0x467e17
push 0x6835d0
call fcn.005bcd79
add esp, 4
cmp dword [0x6835d0], 0xffffffff
jne 0x467e17
mov ecx, 0x6835d4
call fcn.00407a4a
push 0x5ff870
call fcn.005bc9d9
push 0x6835d0
call fcn.005bcd3a
add esp, 8
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x68c]
call fcn.00416830
mov dword [ebp - 0x250], 3
mov byte [ebp - 4], 0xd
mov eax, dword [0x6835e8]
cmp eax, 8
jb 0x467e8f
inc eax
mov ecx, dword [0x6835d4]
cmp eax, 0x7fffffff
ja 0x467ca7
add eax, eax
cmp eax, 0x1000
jb 0x467e86
test cl, 0x1f
jne 0x467ca7
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x467ca7
sub ecx, eax
cmp ecx, 4
jb 0x467ca7
cmp ecx, 0x23
ja 0x467ca7
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 - 0x20c]
movups xmmword [0x6835d4], xmm0
movq xmm0, qword [ebp - 0x1fc]
movq qword [0x6835e4], xmm0
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f8], 7
mov word [ebp - 0x20c], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20c]
call fcn.004075ab
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x11c]
call fcn.004075ab
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1f4]
call fcn.004075ab
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14c]
call fcn.004075ab
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1dc]
call fcn.004075ab
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6a4]
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_DirectX_10
jmp 0x468511
call fcn.0041db40
cmp dword [eax + 4], 2
jl 0x468ae8
call fcn.0041db40
mov edi, eax
mov dword [ebp - 0x248], edi
sub esp, 8
lea ecx, [ebp - 0x494]
call fcn.00415be0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x17c]
call fcn.00407a4a
mov byte [ebp - 4], 0xf
push str.WARN
lea ecx, [ebp - 0x17c]
call fcn.00414ef0
lea ecx, [ebp - 0x134]
call fcn.00407a4a
mov byte [ebp - 4], 0x10
xor esi, esi
mov dword [ebp - 0x260], esi
cmp esi, dword [edi + 0xc]
jge 0x468044
cmp esi, 0xa
jge 0x468044
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x120]
mov eax, edx
sub eax, ecx
cmp eax, 2
jb 0x46801d
lea edi, [ecx + 2]
mov dword [ebp - 0x124], edi
lea esi, [ebp - 0x134]
cmp edx, 8
cmovae esi, dword [ebp - 0x134]
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 - 0x260]
mov edi, dword [ebp - 0x248]
inc esi
jmp 0x467fb3
mov byte [ebp - 0x254], 0
push 2
push 0x63e4c4
push dword [ebp - 0x254]
push 2
lea ecx, [ebp - 0x134]
call fcn.0041ea00
inc esi
jmp 0x467fb3
lea ecx, [ebp - 0x194]
call fcn.00407a4a
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x104]
call fcn.00407a4a
mov byte [ebp - 4], 0x12
call fcn.005c8926
push 0xb
lea eax, [ebp - 0x5c]
push eax
call fcn.005c8a22
add esp, 8
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x194]
call fcn.00414ef0
sub esp, 8
lea ecx, [ebp - 0x804]
call fcn.00415be0
mov byte [ebp - 4], 0x13
cmp dword [edi + 0x10], 0
jne 0x4680b4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x10], eax
push 0
lea ecx, [ebp - 0x7f4]
call fcn.004101b0
jmp 0x4680e4
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 - 0x7f4]
call fcn.0041e250
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x7ec]
call fcn.00416830
mov dword [ebp - 0x250], 4
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xf0]
cmp eax, 8
jb 0x46815d
inc eax
mov ecx, dword [ebp - 0x104]
cmp eax, 0x7fffffff
ja 0x467ca7
add eax, eax
cmp eax, 0x1000
jb 0x468154
test cl, 0x1f
jne 0x467ca7
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x467ca7
sub ecx, eax
cmp ecx, 4
jb 0x467ca7
cmp ecx, 0x23
ja 0x467ca7
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 7
xor eax, eax
mov word [ebp - 0x104], ax
movups xmm0, xmmword [ebp - 0x1c4]
movups xmmword [ebp - 0x104], xmm0
movq xmm0, qword [ebp - 0x1b4]
movq qword [ebp - 0xf4], xmm0
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], 7
mov word [ebp - 0x1c4], ax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1c4]
call fcn.004075ab
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x804]
call fcn.00415840
lea eax, [ebp - 0x134]
cmp dword [ebp - 0x120], 8
cmovae eax, dword [ebp - 0x134]
mov dword [ebp - 0x248], eax
push 0x2040
lea eax, [ebp - 0x2cc]
push eax
call fcn.005be8d1
mov ecx, dword [ebp - 0x484]
mov ecx, dword [ecx + 4]
lea edx, [ebp - 0x484]
add ecx, edx
push dword [eax + 4]
push ecx
mov eax, dword [eax]
call eax
add esp, 0x10
mov eax, dword [ebp - 0x184]
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x194]
cmp dword [ebp - 0x180], 8
cmovae edx, dword [ebp - 0x194]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x484]
call fcn.004137f0
mov esi, eax
push 0x10
lea eax, [ebp - 0x2c4]
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 0x46826d
xor ecx, ecx
jmp 0x468274
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 - 0x2f4]
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 - 0x2e4]
push eax
call fcn.005be8e5
add esp, 0x20
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov ecx, dword [ebp - 0xf4]
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x104]
cmp dword [ebp - 0xf0], 8
cmovae edx, dword [ebp - 0x104]
mov byte [ebp - 4], 0x12
push ecx
mov ecx, eax
call fcn.004137f0
mov edi, eax
push 0
push 5
lea eax, [ebp - 0x304]
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 - 0x2bc]
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 - 0x16c]
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x17c]
cmp dword [ebp - 0x168], 8
cmovae edx, dword [ebp - 0x17c]
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 - 0x248]
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 0x4683d8
push 0x6835d0
call fcn.005bcd79
add esp, 4
cmp dword [0x6835d0], 0xffffffff
jne 0x4683d8
mov ecx, 0x6835d4
call fcn.00407a4a
push 0x5ff870
call fcn.005bc9d9
push 0x6835d0
call fcn.005bcd3a
add esp, 8
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x47c]
call fcn.00416830
mov dword [ebp - 0x250], 0xc
mov byte [ebp - 4], 0x18
mov eax, dword [0x6835e8]
cmp eax, 8
jb 0x468450
inc eax
mov ecx, dword [0x6835d4]
cmp eax, 0x7fffffff
ja 0x467ca7
add eax, eax
cmp eax, 0x1000
jb 0x468447
test cl, 0x1f
jne 0x467ca7
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x467ca7
sub ecx, eax
cmp ecx, 4
jb 0x467ca7
cmp ecx, 0x23
ja 0x467ca7
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 - 0x1ac]
movups xmmword [0x6835d4], xmm0
movq xmm0, qword [ebp - 0x19c]
movq qword [0x6835e4], xmm0
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], 7
mov word [ebp - 0x1ac], ax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1ac]
call fcn.004075ab
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x104]
call fcn.004075ab
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x194]
call fcn.004075ab
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x134]
call fcn.004075ab
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x17c]
call fcn.004075ab
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x494]
call fcn.00415840
call fcn.0041db40
mov edx, 0x6835d4
mov ecx, eax
call fcn.00413a60
mov edx, str.Unable_to_open_dxgi.dll
mov ecx, eax
call fcn.00413320
push eax
call fcn.00414850
add esp, 4
mov dword [ebp - 4], 1
jmp 0x46908e
call fcn.0041db40
cmp dword [eax + 4], 2
jl 0x468ae8
call fcn.0041db40
mov edi, eax
mov dword [ebp - 0x248], edi
sub esp, 8
lea ecx, [ebp - 0x544]
call fcn.00415be0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x8c]
call fcn.00407a4a
mov byte [ebp - 4], 0x1a
push str.WARN
lea ecx, [ebp - 0x8c]
call fcn.00414ef0
lea ecx, [ebp - 0x74]
call fcn.00407a4a
mov byte [ebp - 4], 0x1b
xor esi, esi
mov dword [ebp - 0x25c], esi
cmp esi, dword [edi + 0xc]
jge 0x468600
cmp esi, 0xa
jge 0x468600
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov eax, edx
sub eax, ecx
cmp eax, 2
jb 0x4685df
lea edi, [ecx + 2]
mov dword [ebp - 0x64], edi
lea esi, [ebp - 0x74]
cmp edx, 8
cmovae esi, dword [ebp - 0x74]
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 - 0x25c]
mov edi, dword [ebp - 0x248]
inc esi
jmp 0x468588
mov byte [ebp - 0x254], 0
push 2
push 0x63e4c4
push dword [ebp - 0x254]
push 2
lea ecx, [ebp - 0x74]
call fcn.0041ea00
inc esi
jmp 0x468588
lea ecx, [ebp - 0xa4]
call fcn.00407a4a
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xec]
call fcn.00407a4a
mov byte [ebp - 4], 0x1d
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 - 0xa4]
call fcn.00414ef0
sub esp, 8
lea ecx, [ebp - 0x3e4]
call fcn.00415be0
mov byte [ebp - 4], 0x1e
cmp dword [edi + 0x10], 0
jne 0x468670
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x10], eax
push 0
lea ecx, [ebp - 0x3d4]
call fcn.004101b0
jmp 0x4686a0
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 - 0x3d4]
call fcn.0041e250
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x3cc]
call fcn.00416830
mov dword [ebp - 0x250], 0x10
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0xd8]
cmp eax, 8
jb 0x468719
inc eax
mov ecx, dword [ebp - 0xec]
cmp eax, 0x7fffffff
ja 0x467ca7
add eax, eax
cmp eax, 0x1000
jb 0x468710
test cl, 0x1f
jne 0x467ca7
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x467ca7
sub ecx, eax
cmp ecx, 4
jb 0x467ca7
cmp ecx, 0x23
ja 0x467ca7
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
xor eax, eax
mov word [ebp - 0xec], ax
movups xmm0, xmmword [ebp - 0x164]
movups xmmword [ebp - 0xec], xmm0
movq xmm0, qword [ebp - 0x154]
movq qword [ebp - 0xdc], xmm0
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], 7
mov word [ebp - 0x164], ax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x164]
call fcn.004075ab
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x3e4]
call fcn.00415840
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae eax, dword [ebp - 0x74]
mov dword [ebp - 0x248], eax
push 0x2040
lea eax, [ebp - 0x284]
push eax
call fcn.005be8d1
mov ecx, dword [ebp - 0x534]
mov ecx, dword [ecx + 4]
lea edx, [ebp - 0x534]
add ecx, edx
push dword [eax + 4]
push ecx
mov eax, dword [eax]
call eax
add esp, 0x10
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 0x20
lea edx, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
cmovae edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x534]
call fcn.004137f0
mov esi, eax
push 0x10
lea eax, [ebp - 0x27c]
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 0x468820
xor ecx, ecx
jmp 0x468827
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 - 0x2b4]
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 - 0x2a4]
push eax
call fcn.005be8e5
add esp, 0x20
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov ecx, dword [ebp - 0xdc]
mov byte [ebp - 4], 0x21
lea edx, [ebp - 0xec]
cmp dword [ebp - 0xd8], 8
cmovae edx, dword [ebp - 0xec]
mov byte [ebp - 4], 0x1d
push ecx
mov ecx, eax
call fcn.004137f0
mov edi, eax
push 0
push 5
lea eax, [ebp - 0x294]
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 - 0x274]
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 - 0x7c]
mov byte [ebp - 4], 0x22
lea edx, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x1d
push eax
mov ecx, esi
call fcn.004137f0
add esp, 4
mov edx, 0x63e504
mov ecx, eax
call fcn.00413320
mov edx, dword [ebp - 0x248]
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 0x468985
push 0x6835d0
call fcn.005bcd79
add esp, 4
cmp dword [0x6835d0], 0xffffffff
jne 0x468985
mov ecx, 0x6835d4
call fcn.00407a4a
push 0x5ff870
call fcn.005bc9d9
push 0x6835d0
call fcn.005bcd3a
add esp, 8
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x52c]
call fcn.00416830
mov dword [ebp - 0x250], 0x30
mov byte [ebp - 4], 0x23
mov eax, dword [0x6835e8]
cmp eax, 8
jb 0x4689fd
inc eax
mov ecx, dword [0x6835d4]
cmp eax, 0x7fffffff
ja 0x467ca7
add eax, eax
cmp eax, 0x1000
jb 0x4689f4
test cl, 0x1f
jne 0x467ca7
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x467ca7
sub ecx, eax
cmp ecx, 4
jb 0x467ca7
cmp ecx, 0x23
ja 0x467ca7
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 - 0xbc]
movups xmmword [0x6835d4], xmm0
movq xmm0, qword [ebp - 0xac]
movq qword [0x6835e4], xmm0
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xbc]
call fcn.004075ab
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xec]
call fcn.004075ab
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xa4]
call fcn.004075ab
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x74]
call fcn.004075ab
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x8c]
call fcn.004075ab
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x544]
call fcn.00415840
call fcn.0041db40
mov ecx, dword [0x6835e4]
mov byte [ebp - 4], 0x24
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_d3d10.dll
mov ecx, eax
call fcn.00413320
push eax
call fcn.00414850
add esp, 8
mov dword [ebp - 4], 1
jmp 0x46908e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.00414900
mov al, byte [ebp - 0x241]
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