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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x3c0
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
mov rbx, rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [r11 - 0x70], xmm0
movdqa xmm1, xmmword [0x1402d3620]
movdqu xmmword [r11 - 0x60], xmm1
mov word [r11 - 0x70], r14w
mov byte [r11 - 0x78], r14b
lea rdx, str.srl::DirectX_10::Initialize
lea rcx, [r11 - 0x70]
call fcn.1400184d0
nop
call fcn.140021130
cmp dword [rax + 8], 4
jl 0x14006ed18
lea rcx, [rsp + 0x350]
call fcn.140016330
movzx esi, byte [rbx + 0x48]
mov byte [rsp + 0x30], sil
test sil, sil
jne 0x14006fc0b
lea rcx, str.d3d10.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x14006ed49
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x50], rdi
test rdi, rdi
je 0x14006f50a
lea rcx, str.dxgi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x14006ed75
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x58], rdi
test rdi, rdi
je 0x14006ee45
lea rdx, str.D3D10CreateDevice
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
test rax, rax
je 0x14006edf7
lea rdx, str.CreateDXGIFactory
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x14006edf7
lea rdx, str.D3D10GetPixelShaderProfile
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
test rax, rax
je 0x14006edf7
lea rdx, str.D3D10GetVertexShaderProfile
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
test rax, rax
je 0x14006edf7
mov sil, 1
mov byte [rsp + 0x30], sil
jmp 0x14006fc04
call fcn.140021130
cmp dword [rax + 8], 2
jl 0x14006fc04
call fcn.140021130
mov edx, 2
mov rcx, rax
call fcn.140021430
mov rbx, rax
call fcn.140021130
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14006ee2d
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140016d70
lea rdx, str.Unable_to_get_all_proc_addresses_from_DirectX_10
jmp 0x14006f4f5
call fcn.140021130
cmp dword [rax + 8], 2
jl 0x14006fc04
call fcn.140021130
mov rdi, rax
lea rcx, [rsp + 0x90]
call fcn.140019550
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x2d0], xmm0
mov qword [rsp + 0x2e0], r14
mov qword [rsp + 0x2e8], 7
mov word [rsp + 0x2d0], r14w
lea rdx, str.WARN
lea rcx, [rsp + 0x2d0]
call fcn.1400184d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x2f0], xmm0
mov rdx, r14
mov qword [rsp + 0x300], rdx
mov r8d, 7
mov qword [rsp + 0x308], r8
mov word [rsp + 0x2f0], r14w
mov ebx, r14d
cmp ebx, dword [rdi + 0x10]
jge 0x14006ef69
cmp ebx, 0xa
jge 0x14006ef69
mov rax, r8
sub rax, rdx
lea rcx, [rsp + 0x2f0]
cmp rax, 2
jb 0x14006ef38
lea rax, [rdx + 2]
mov qword [rsp + 0x300], rax
cmp r8, 8
cmovae rcx, qword [rsp + 0x2f0]
mov eax, dword [0x1402cca20]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], r14w
inc ebx
mov r8, qword [rsp + 0x308]
mov rdx, qword [rsp + 0x300]
jmp 0x14006eed6
mov qword [rsp + 0x20], 2
lea r9, [0x1402cca20]
mov edx, 2
call fcn.140022120
inc ebx
mov r8, qword [rsp + 0x308]
mov rdx, qword [rsp + 0x300]
jmp 0x14006eed6
xorps xmm0, xmm0
movups xmmword [rsp + 0x2b0], xmm0
mov qword [rsp + 0x2c0], r14
mov qword [rsp + 0x2c8], 7
mov word [rsp + 0x2b0], r14w
movups xmmword [rsp + 0x290], xmm0
mov qword [rsp + 0x2a0], r14
mov qword [rsp + 0x2a8], 7
mov word [rsp + 0x290], r14w
call fcn.140231aac
mov edx, VariantTimeToDosDateTime
lea rcx, [rsp + 0x398]
call fcn.140231bfc
lea rdx, [rsp + 0x398]
lea rcx, [rsp + 0x2b0]
call fcn.1400184d0
lea rcx, [rsp + 0x190]
call fcn.140019550
nop
cmp dword [rdi + 0x14], 0
jne 0x14006f010
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x14], eax
xor edx, edx
lea rcx, [rsp + 0x1a0]
call fcn.140013030
jmp 0x14006f036
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d35d0]
lea rcx, [rsp + 0x1a0]
call fcn.140021b10
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x1a8]
call fcn.14001a150
nop
mov rdx, qword [rsp + 0x2a8]
cmp rdx, 8
jb 0x14006f094
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x290]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f08f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fc46
call fcn.1400041d4
movups xmm0, xmmword [rsp + 0x330]
movups xmmword [rsp + 0x290], xmm0
movups xmm1, xmmword [rsp + 0x340]
movups xmmword [rsp + 0x2a0], xmm1
lea rcx, [rsp + 0x190]
call fcn.140019440
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x38]
call fcn.1402237b8
mov rdi, rax
mov edx, 0x2040
lea rcx, [rsp + 0x48]
call fcn.1402237b8
mov rcx, qword [rsp + 0xa0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0xa0]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x2b0]
cmp qword [rsp + 0x2c8], 8
cmovae rdx, qword [rsp + 0x2b0]
mov r8, qword [rsp + 0x2c0]
lea rcx, [rsp + 0xa0]
call fcn.140016d70
lea rdx, [0x1402cc558]
mov rcx, rax
call fcn.140016ab0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov edx, dword [rdi + 8]
call qword [rdi]
mov edx, 6
lea rcx, [rsp + 0x58]
call fcn.1402237e0
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov word [rcx + rbx + 0x58], 0x30
mov edx, 3
lea rcx, [rsp + 0x68]
call fcn.1402237cc
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x290]
cmp qword [rsp + 0x2a8], 8
cmovae rdx, qword [rsp + 0x290]
mov r8, qword [rsp + 0x2a0]
mov rcx, rbx
call fcn.140016d70
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x78]
call fcn.1402237e0
mov rdi, rax
lea rdx, [0x1402cc558]
mov rcx, rbx
call fcn.140016ab0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov word [rcx + rbx + 0x58], 0x20
mov edx, 0x40
lea rcx, [rsp + 0x398]
call fcn.1402237b8
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x2d0]
cmp qword [rsp + 0x2e8], 8
cmovae rdx, qword [rsp + 0x2d0]
mov r8, qword [rsp + 0x2e0]
mov rcx, rbx
call fcn.140016d70
lea rbx, [rsp + 0x2f0]
cmp qword [rsp + 0x308], 8
cmovae rbx, qword [rsp + 0x2f0]
lea rdx, [0x1402cca70]
mov rcx, rax
call fcn.140016ab0
mov rdx, rbx
mov rcx, rax
call fcn.140016ab0
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14032a0a4], eax
jg 0x14006fc4c
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0xa8]
call fcn.14001a150
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x14006f304
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031b5e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f2ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fca5
call fcn.1400041d4
movups xmm0, xmmword [rsp + 0x330]
movups xmmword [0x14031b5e0], xmm0
movups xmm1, xmmword [rsp + 0x340]
movups xmmword [0x14031b5f0], xmm1
mov rdx, qword [rsp + 0x2a8]
cmp rdx, 8
jb 0x14006f36a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x290]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f365
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fcab
call fcn.1400041d4
mov qword [rsp + 0x2a0], r14
mov qword [rsp + 0x2a8], 7
mov word [rsp + 0x290], r14w
mov rdx, qword [rsp + 0x2c8]
cmp rdx, 8
jb 0x14006f3cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f3ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fcb1
call fcn.1400041d4
mov qword [rsp + 0x2c0], r14
mov qword [rsp + 0x2c8], 7
mov word [rsp + 0x2b0], r14w
mov rdx, qword [rsp + 0x308]
cmp rdx, 8
jb 0x14006f434
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f42f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fcb7
call fcn.1400041d4
mov qword [rsp + 0x300], r14
mov qword [rsp + 0x308], 7
mov word [rsp + 0x2f0], r14w
mov rdx, qword [rsp + 0x2e8]
cmp rdx, 8
jb 0x14006f499
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f494
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fcbd
call fcn.1400041d4
mov qword [rsp + 0x2e0], r14
mov qword [rsp + 0x2e8], 7
mov word [rsp + 0x2d0], r14w
lea rcx, [rsp + 0x90]
call fcn.140019440
call fcn.140021130
lea rdx, [0x14031b5e0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x14031b5e0]
mov r8, qword [0x14031b5f0]
mov rcx, rax
call fcn.140016d70
lea rdx, str.Unable_to_open_dxgi.dll
mov rcx, rax
call fcn.140016ab0
mov rcx, rax
call fcn.140017c90
jmp 0x14006fc04
call fcn.140021130
cmp dword [rax + 8], 2
jl 0x14006fc04
call fcn.140021130
mov rdi, rax
lea rcx, [rsp + 0x90]
call fcn.140019550
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x310], xmm0
mov qword [rsp + 0x320], r14
mov qword [rsp + 0x328], 7
mov word [rsp + 0x310], r14w
lea rdx, str.WARN
lea rcx, [rsp + 0x310]
call fcn.1400184d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x290], xmm0
mov rdx, r14
mov qword [rsp + 0x2a0], rdx
mov r8d, 7
mov qword [rsp + 0x2a8], r8
mov word [rsp + 0x290], r14w
mov ebx, r14d
nop dword [rax + rax]
cmp ebx, dword [rdi + 0x10]
jge 0x14006f633
cmp ebx, 0xa
jge 0x14006f633
mov rax, r8
sub rax, rdx
lea rcx, [rsp + 0x290]
cmp rax, 2
jb 0x14006f602
lea rax, [rdx + 2]
mov qword [rsp + 0x2a0], rax
cmp r8, 8
cmovae rcx, qword [rsp + 0x290]
mov eax, dword [0x1402cca20]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], r14w
inc ebx
mov r8, qword [rsp + 0x2a8]
mov rdx, qword [rsp + 0x2a0]
jmp 0x14006f5a0
mov qword [rsp + 0x20], 2
lea r9, [0x1402cca20]
mov edx, 2
call fcn.140022120
inc ebx
mov r8, qword [rsp + 0x2a8]
mov rdx, qword [rsp + 0x2a0]
jmp 0x14006f5a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x2d0], xmm0
mov qword [rsp + 0x2e0], r14
mov qword [rsp + 0x2e8], 7
mov word [rsp + 0x2d0], r14w
movups xmmword [rsp + 0x2b0], xmm0
mov qword [rsp + 0x2c0], r14
mov qword [rsp + 0x2c8], 7
mov word [rsp + 0x2b0], r14w
call fcn.140231aac
mov edx, VariantTimeToDosDateTime
lea rcx, [rsp + 0x2f0]
call fcn.140231bfc
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0x2d0]
call fcn.1400184d0
lea rcx, [rsp + 0x190]
call fcn.140019550
nop
cmp dword [rdi + 0x14], 0
jne 0x14006f6da
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x14], eax
xor edx, edx
lea rcx, [rsp + 0x1a0]
call fcn.140013030
jmp 0x14006f700
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d35d0]
lea rcx, [rsp + 0x1a0]
call fcn.140021b10
lea rdx, [rsp + 0x378]
lea rcx, [rsp + 0x1a8]
call fcn.14001a150
nop
mov rdx, qword [rsp + 0x2c8]
cmp rdx, 8
jb 0x14006f75e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f759
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fcc3
call fcn.1400041d4
movups xmm0, xmmword [rsp + 0x378]
movups xmmword [rsp + 0x2b0], xmm0
movups xmm1, xmmword [rsp + 0x388]
movups xmmword [rsp + 0x2c0], xmm1
movdqa xmm0, xmmword [0x1402d3620]
movdqu xmmword [rsp + 0x388], xmm0
mov word [rsp + 0x378], r14w
lea rcx, [rsp + 0x190]
call fcn.140019440
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x398]
call fcn.1402237b8
mov rdi, rax
mov edx, 0x2040
lea rcx, [rsp + 0x78]
call fcn.1402237b8
mov rcx, qword [rsp + 0xa0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0xa0]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x2d0]
cmp qword [rsp + 0x2e8], 8
cmovae rdx, qword [rsp + 0x2d0]
mov r8, qword [rsp + 0x2e0]
lea rcx, [rsp + 0xa0]
call fcn.140016d70
lea rdx, [0x1402cc558]
mov rcx, rax
call fcn.140016ab0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov edx, dword [rdi + 8]
call qword [rdi]
mov edx, 6
lea rcx, [rsp + 0x68]
call fcn.1402237e0
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov word [rcx + rbx + 0x58], 0x30
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.1402237cc
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x2b0]
cmp qword [rsp + 0x2c8], 8
cmovae rdx, qword [rsp + 0x2b0]
mov r8, qword [rsp + 0x2c0]
mov rcx, rbx
call fcn.140016d70
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x48]
call fcn.1402237e0
mov rdi, rax
lea rdx, [0x1402cc558]
mov rcx, rbx
call fcn.140016ab0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov word [rcx + rbx + 0x58], 0x20
mov edx, 0x40
lea rcx, [rsp + 0x38]
call fcn.1402237b8
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x310]
cmp qword [rsp + 0x328], 8
cmovae rdx, qword [rsp + 0x310]
mov r8, qword [rsp + 0x320]
mov rcx, rbx
call fcn.140016d70
lea rbx, [rsp + 0x290]
cmp qword [rsp + 0x2a8], 8
cmovae rbx, qword [rsp + 0x290]
lea rdx, [0x1402cca70]
mov rcx, rax
call fcn.140016ab0
mov rdx, rbx
mov rcx, rax
call fcn.140016ab0
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14032a0a4], eax
jg 0x14006fcc9
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0xa8]
call fcn.14001a150
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x14006f9e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031b5e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f9e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fd22
call fcn.1400041d4
movups xmm0, xmmword [rsp + 0x330]
movups xmmword [0x14031b5e0], xmm0
movups xmm1, xmmword [rsp + 0x340]
movups xmmword [0x14031b5f0], xmm1
movdqa xmm0, xmmword [0x1402d3620]
movdqu xmmword [rsp + 0x340], xmm0
mov word [rsp + 0x330], r14w
mov rdx, qword [rsp + 0x2c8]
cmp rdx, 8
jb 0x14006fa68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fa63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fd28
call fcn.1400041d4
mov qword [rsp + 0x2c0], r14
mov qword [rsp + 0x2c8], 7
mov word [rsp + 0x2b0], r14w
mov rdx, qword [rsp + 0x2e8]
cmp rdx, 8
jb 0x14006facd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fac8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fd2e
call fcn.1400041d4
mov qword [rsp + 0x2e0], r14
mov qword [rsp + 0x2e8], 7
mov word [rsp + 0x2d0], r14w
mov rdx, qword [rsp + 0x2a8]
cmp rdx, 8
jb 0x14006fb32
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x290]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fb2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fd34
call fcn.1400041d4
mov qword [rsp + 0x2a0], r14
mov qword [rsp + 0x2a8], 7
mov word [rsp + 0x290], r14w
mov rdx, qword [rsp + 0x328]
cmp rdx, 8
jb 0x14006fb97
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x310]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fb92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fd3a
call fcn.1400041d4
mov qword [rsp + 0x320], r14
mov qword [rsp + 0x328], 7
mov word [rsp + 0x310], r14w
lea rcx, [rsp + 0x90]
call fcn.140019440
call fcn.140021130
lea rdx, [0x14031b5e0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x14031b5e0]
mov r8, qword [0x14031b5f0]
mov rcx, rax
call fcn.140016d70
lea rdx, str.Unable_to_open_d3d10.dll
mov rcx, rax
call fcn.140016ab0
mov rcx, rax
call fcn.140017c90
nop
jmp 0x14006fc0b
lea rcx, [rsp + 0x350]
call fcn.140017d20
movzx eax, sil
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.140220e50
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.14022a144
nop
lea rcx, [0x14032a0a4]
call fcn.140221194
cmp dword [0x14032a0a4], 0xffffffff
jne 0x14006f2a8
xorps xmm0, xmm0
movups xmmword [0x14031b5e0], xmm0
movdqa xmm1, xmmword [0x1402d3620]
movdqu xmmword [0x14031b5f0], xmm1
mov word [0x14031b5e0], r14w
lea rcx, [0x14026f080]
call fcn.1402210a8
lea rcx, [0x14032a0a4]
call fcn.140221128
nop
jmp 0x14006f2a8
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
nop
lea rcx, [0x14032a0a4]
call fcn.140221194
cmp dword [0x14032a0a4], 0xffffffff
jne 0x14006f98c
xorps xmm0, xmm0
movups xmmword [0x14031b5e0], xmm0
movdqa xmm1, xmmword [0x1402d3620]
movdqu xmmword [0x14031b5f0], xmm1
mov word [0x14031b5e0], r14w
lea rcx, [0x14026f080]
call fcn.1402210a8
lea rcx, [0x14032a0a4]
call fcn.140221128
nop
jmp 0x14006f98c
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
int3