Function at 0x14007a300
Capabilities:
Check os version

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x6c0
mov qword [r11 - 0x658], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14035d8c0]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rcx, [r11 - 0x58]
call fcn.14000a1bc
nop
mov byte [rsp + 0x688], sil
lea r8d, [rsi + 0x1b]
lea rdx, str.srl::DirectX_10::Initialize
lea rcx, [rsp + 0x690]
call fcn.140009e14
nop
call fcn.1400227c0
cmp dword [rax + 8], 4
jl 0x14007a38c
mov byte [rsp + 0x688], 1
lea rcx, [rsp + 0x688]
call fcn.140018900
movzx r13d, byte [rbx + 0x48]
mov byte [rsp + 0x34], r13b
test r13b, r13b
jne 0x14007b549
lea rcx, str.d3d10.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x14007a3be
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x50], rsi
mov qword [rbx + 0x50], rdi
test rdi, rdi
je 0x14007af8f
lea rcx, str.dxgi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x14007a3ee
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x58], rsi
mov qword [rbx + 0x58], rdi
test rdi, rdi
je 0x14007aa00
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 0x14007a474
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 0x14007a474
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 0x14007a474
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 0x14007a474
mov r13b, 1
mov byte [rsp + 0x34], r13b
jmp 0x14007b541
call fcn.1400227c0
cmp dword [rax + 8], 2
jl 0x14007b541
call fcn.1400227c0
mov r12, rax
lea rcx, [rsp + 0x290]
call fcn.14001bb00
nop
lea rcx, [rsp + 0x5e8]
call fcn.14000a1bc
nop
mov r15d, 4
mov r8d, r15d
lea rdx, str.WARN
lea rcx, [rsp + 0x5e8]
call fcn.140009e14
lea rcx, [rsp + 0x570]
call fcn.14000a1bc
nop
mov r14d, esi
mov dword [rsp + 0x38], esi
lea esi, [r15 - 2]
nop dword [rax]
cmp r14d, dword [r12 + 0x10]
jge 0x14007a575
cmp r14d, 0xa
jge 0x14007a575
mov rcx, qword [rsp + 0x580]
mov rdx, qword [rsp + 0x588]
mov rax, rdx
sub rax, rcx
cmp rax, rsi
jb 0x14007a54c
lea rdi, [rcx + 2]
mov qword [rsp + 0x580], rdi
lea rbx, [rsp + 0x570]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x570]
lea rcx, [rbx + rcx*2]
mov r8, r15
lea rdx, [0x1402f2578]
call fcn.14022f3d0
xor eax, eax
mov word [rbx + rdi*2], ax
jmp 0x14007a568
mov qword [rsp + 0x20], rsi
lea r9, [0x1402f2578]
mov rdx, rsi
lea rcx, [rsp + 0x570]
call fcn.140023610
inc r14d
mov dword [rsp + 0x38], r14d
jmp 0x14007a4e0
lea rcx, [rsp + 0x5c8]
call fcn.14000a1bc
nop
lea rcx, [rsp + 0x668]
call fcn.14000a1bc
nop
lea r8, [rsp + 0x668]
lea rdx, [rsp + 0x5c8]
mov rcx, r12
call fcn.1400228f0
lea r15, [rsp + 0x570]
cmp qword [rsp + 0x588], 8
cmovae r15, qword [rsp + 0x570]
mov edx, 0x2040
lea rcx, [rsp + 0x260]
call fcn.14022d4c4
mov rcx, qword [rsp + 0x2a0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0x2a0]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x5c8]
cmp qword [rsp + 0x5e0], 8
cmovae rdx, qword [rsp + 0x5c8]
mov r8, qword [rsp + 0x5d8]
lea rcx, [rsp + 0x2a0]
call fcn.140019270
mov rbx, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x270]
call fcn.14022d4c4
mov rdi, rax
lea rdx, [0x1402f20d0]
mov rcx, rbx
call fcn.140018e90
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov edx, dword [rdi + 8]
call qword [rdi]
mov edx, 6
lea rcx, [rsp + 0x280]
call fcn.14022d4ec
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 eax, 0x30
mov word [rcx + rbx + 0x58], ax
lea edx, [rax - 0x2d]
lea rcx, [rsp + 0x1d0]
call fcn.14022d4d8
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x668]
cmp qword [rsp + 0x680], 8
cmovae rdx, qword [rsp + 0x668]
mov r8, qword [rsp + 0x678]
mov rcx, rbx
call fcn.140019270
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x1e0]
call fcn.14022d4ec
mov rdi, rax
lea rdx, [0x1402f20d0]
mov rcx, rbx
call fcn.140018e90
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov edi, 0x20
mov word [rdx + rbx + 0x58], di
lea edx, [rdi + 0x20]
lea rcx, [rsp + 0x1f0]
call fcn.14022d4c4
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x5e8]
cmp qword [rsp + 0x600], 8
cmovae rdx, qword [rsp + 0x5e8]
mov r8, qword [rsp + 0x5f8]
mov rcx, rbx
call fcn.140019270
lea rdx, [0x1402f25c8]
mov rcx, rax
call fcn.140018e90
mov rcx, rax
mov rdx, r15
call fcn.140018e90
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14036cfc0], eax
jle 0x14007a7de
lea rcx, [0x14036cfc0]
call fcn.14022b1d8
cmp dword [0x14036cfc0], 0xffffffff
jne 0x14007a7de
lea rbx, [0x14036cfc8]
mov rcx, rbx
call fcn.14000a1bc
lea rcx, [0x14027e0e0]
call fcn.14022ace0
lea rcx, [0x14036cfc0]
call fcn.14022b178
jmp 0x14007a7e5
lea rbx, [0x14036cfc8]
lea rcx, [rsp + 0x530]
call fcn.140009da0
xor r14d, r14d
mov qword [rsp + 0x540], r14
mov qword [rsp + 0x548], 7
mov word [rsp + 0x530], r14w
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x318]
test dl, 2
jne 0x14007a874
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rax]
test rcx, rcx
je 0x14007a874
mov rax, qword [rsp + 0x2c8]
mov rdx, qword [rax]
mov qword [rsp + 0x50], rcx
lea r8, [rsp + 0x310]
lea rax, [rsp + 0x50]
cmp rcx, qword [rsp + 0x310]
cmovae r8, rax
mov r8, qword [r8]
sub r8, rdx
sar r8, 1
lea rcx, [rsp + 0x530]
call fcn.140009e14
jmp 0x14007a8b8
test dl, 4
jne 0x14007a8b8
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rax]
test rcx, rcx
je 0x14007a8b8
mov rax, qword [rsp + 0x2c0]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x2f8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x530]
call fcn.140009e14
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
mov edi, 1
mov dword [rsp + 0x30], edi
mov rdx, qword [0x14036cfe0]
cmp rdx, 8
jb 0x14007a91e
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x5b0], rdx
mov rcx, qword [0x14036cfc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007a919
add rdx, 0x27
mov qword [rsp + 0x5b0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007b587
call fcn.1400045a8
mov qword [0x14036cfd8], r14
mov qword [0x14036cfe0], 7
mov word [0x14036cfc8], r14w
movups xmm0, xmmword [rsp + 0x530]
movups xmmword [0x14036cfc8], xmm0
movups xmm1, xmmword [rsp + 0x540]
movups xmmword [0x14036cfd8], xmm1
mov qword [rsp + 0x540], r14
mov qword [rsp + 0x548], 7
mov word [rsp + 0x530], r14w
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x530]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x668]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x5c8]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x570]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x5e8]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x290]
call fcn.14001b7c0
call fcn.1400227c0
cmp qword [0x14036cfe0], 8
cmovae rbx, qword [0x14036cfc8]
mov r8, qword [0x14036cfd8]
mov rdx, rbx
mov rcx, rax
call fcn.140019270
lea rdx, str.Unable_to_get_all_proc_addresses_from_DirectX_10
jmp 0x14007b511
call fcn.1400227c0
cmp dword [rax + 8], 2
jl 0x14007b541
call fcn.1400227c0
mov r12, rax
lea rcx, [rsp + 0x390]
call fcn.14001bb00
nop
lea rcx, [rsp + 0x648]
call fcn.14000a1bc
nop
mov r15d, 4
mov r8d, r15d
lea rdx, str.WARN
lea rcx, [rsp + 0x648]
call fcn.140009e14
lea rcx, [rsp + 0x590]
call fcn.14000a1bc
nop
mov r14d, esi
mov dword [rsp + 0x3c], esi
lea esi, [r15 - 2]
nop dword [rax]
cmp r14d, dword [r12 + 0x10]
jge 0x14007ab05
cmp r14d, 0xa
jge 0x14007ab05
mov rcx, qword [rsp + 0x5a0]
mov rdx, qword [rsp + 0x5a8]
mov rax, rdx
sub rax, rcx
cmp rax, rsi
jb 0x14007aadc
lea rdi, [rcx + 2]
mov qword [rsp + 0x5a0], rdi
lea rbx, [rsp + 0x590]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x590]
lea rcx, [rbx + rcx*2]
mov r8, r15
lea rdx, [0x1402f2578]
call fcn.14022f3d0
xor eax, eax
mov word [rbx + rdi*2], ax
jmp 0x14007aaf8
mov qword [rsp + 0x20], rsi
lea r9, [0x1402f2578]
mov rdx, rsi
lea rcx, [rsp + 0x590]
call fcn.140023610
inc r14d
mov dword [rsp + 0x3c], r14d
jmp 0x14007aa70
lea rcx, [rsp + 0x628]
call fcn.14000a1bc
nop
lea rcx, [rsp + 0x608]
call fcn.14000a1bc
nop
lea r8, [rsp + 0x608]
lea rdx, [rsp + 0x628]
mov rcx, r12
call fcn.1400228f0
lea rsi, [rsp + 0x590]
cmp qword [rsp + 0x5a8], 8
cmovae rsi, qword [rsp + 0x590]
mov edx, 0x2040
lea rcx, [rsp + 0x250]
call fcn.14022d4c4
mov rcx, qword [rsp + 0x3a0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0x3a0]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x628]
cmp qword [rsp + 0x640], 8
cmovae rdx, qword [rsp + 0x628]
mov r8, qword [rsp + 0x638]
lea rcx, [rsp + 0x3a0]
call fcn.140019270
mov rbx, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x200]
call fcn.14022d4c4
mov rdi, rax
lea rdx, [0x1402f20d0]
mov rcx, rbx
call fcn.140018e90
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov edx, dword [rdi + 8]
call qword [rdi]
mov edx, 6
lea rcx, [rsp + 0x210]
call fcn.14022d4ec
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 eax, 0x30
mov word [rcx + rbx + 0x58], ax
lea edx, [rax - 0x2d]
lea rcx, [rsp + 0x220]
call fcn.14022d4d8
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x608]
cmp qword [rsp + 0x620], 8
cmovae rdx, qword [rsp + 0x608]
mov r8, qword [rsp + 0x618]
mov rcx, rbx
call fcn.140019270
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x230]
call fcn.14022d4ec
mov rdi, rax
lea rdx, [0x1402f20d0]
mov rcx, rbx
call fcn.140018e90
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov edi, 0x20
mov word [rdx + rbx + 0x58], di
lea edx, [rdi + 0x20]
lea rcx, [rsp + 0x240]
call fcn.14022d4c4
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x648]
cmp qword [rsp + 0x660], 8
cmovae rdx, qword [rsp + 0x648]
mov r8, qword [rsp + 0x658]
mov rcx, rbx
call fcn.140019270
lea rdx, [0x1402f25c8]
mov rcx, rax
call fcn.140018e90
mov rcx, rax
mov rdx, rsi
call fcn.140018e90
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14036cfc0], eax
jle 0x14007ad6e
lea rcx, [0x14036cfc0]
call fcn.14022b1d8
cmp dword [0x14036cfc0], 0xffffffff
jne 0x14007ad6e
lea rbx, [0x14036cfc8]
mov rcx, rbx
call fcn.14000a1bc
lea rcx, [0x14027e0e0]
call fcn.14022ace0
lea rcx, [0x14036cfc0]
call fcn.14022b178
jmp 0x14007ad75
lea rbx, [0x14036cfc8]
lea rcx, [rsp + 0x550]
call fcn.140009da0
xor esi, esi
mov qword [rsp + 0x560], rsi
mov qword [rsp + 0x568], 7
mov word [rsp + 0x550], si
mov edi, 8
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x418]
test dl, 2
jne 0x14007ae07
mov rax, qword [rsp + 0x3e8]
mov rcx, qword [rax]
test rcx, rcx
je 0x14007ae07
mov rax, qword [rsp + 0x3c8]
mov rdx, qword [rax]
mov qword [rsp + 0x58], rcx
lea r8, [rsp + 0x410]
lea rax, [rsp + 0x58]
cmp rcx, qword [rsp + 0x410]
cmovae r8, rax
mov r8, qword [r8]
sub r8, rdx
sar r8, 1
lea rcx, [rsp + 0x550]
call fcn.140009e14
jmp 0x14007ae4b
test dl, 4
jne 0x14007ae4b
mov rax, qword [rsp + 0x3e0]
mov rcx, qword [rax]
test rcx, rcx
je 0x14007ae4b
mov rax, qword [rsp + 0x3c0]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x3f8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x550]
call fcn.140009e14
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x30], r15d
mov rdx, qword [0x14036cfe0]
cmp rdx, 8
jb 0x14007aead
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x5c0], rdx
mov rcx, qword [0x14036cfc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007aea8
add rdx, 0x27
mov qword [rsp + 0x5c0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007b58d
call fcn.1400045a8
mov qword [0x14036cfd8], rsi
mov qword [0x14036cfe0], 7
mov word [0x14036cfc8], si
movups xmm0, xmmword [rsp + 0x550]
movups xmmword [0x14036cfc8], xmm0
movups xmm1, xmmword [rsp + 0x560]
movups xmmword [0x14036cfd8], xmm1
mov qword [rsp + 0x560], rsi
mov qword [rsp + 0x568], 7
mov word [rsp + 0x550], si
and r15d, 0xfffffffb
mov dword [rsp + 0x30], r15d
lea rcx, [rsp + 0x550]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x608]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x628]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x590]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x648]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x390]
call fcn.14001b7c0
call fcn.1400227c0
cmp qword [0x14036cfe0], 8
cmovae rbx, qword [0x14036cfc8]
mov r8, qword [0x14036cfd8]
mov rdx, rbx
mov rcx, rax
call fcn.140019270
lea rdx, str.Unable_to_open_dxgi.dll
jmp 0x14007b511
call fcn.1400227c0
cmp dword [rax + 8], 2
jl 0x14007b541
call fcn.1400227c0
mov r12, rax
lea rcx, [rsp + 0xd0]
call fcn.14001bb00
nop
lea rcx, [rsp + 0x510]
call fcn.14000a1bc
nop
mov r15d, 4
mov r8d, r15d
lea rdx, str.WARN
lea rcx, [rsp + 0x510]
call fcn.140009e14
lea rcx, [rsp + 0x4b0]
call fcn.14000a1bc
nop
mov r14d, esi
mov dword [rsp + 0x40], esi
lea esi, [r15 - 2]
nop dword [rax + rax]
cmp r14d, dword [r12 + 0x10]
jge 0x14007b095
cmp r14d, 0xa
jge 0x14007b095
mov rcx, qword [rsp + 0x4c0]
mov rdx, qword [rsp + 0x4c8]
mov rax, rdx
sub rax, rcx
cmp rax, rsi
jb 0x14007b06c
lea rdi, [rcx + 2]
mov qword [rsp + 0x4c0], rdi
lea rbx, [rsp + 0x4b0]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x4b0]
lea rcx, [rbx + rcx*2]
mov r8, r15
lea rdx, [0x1402f2578]
call fcn.14022f3d0
xor eax, eax
mov word [rbx + rdi*2], ax
jmp 0x14007b088
mov qword [rsp + 0x20], rsi
lea r9, [0x1402f2578]
mov rdx, rsi
lea rcx, [rsp + 0x4b0]
call fcn.140023610
inc r14d
mov dword [rsp + 0x40], r14d
jmp 0x14007b000
lea rcx, [rsp + 0x4f0]
call fcn.14000a1bc
nop
lea rcx, [rsp + 0x4d0]
call fcn.14000a1bc
nop
lea r8, [rsp + 0x4d0]
lea rdx, [rsp + 0x4f0]
mov rcx, r12
call fcn.1400228f0
lea rsi, [rsp + 0x4b0]
cmp qword [rsp + 0x4c8], 8
cmovae rsi, qword [rsp + 0x4b0]
mov edx, 0x2040
lea rcx, [rsp + 0x60]
call fcn.14022d4c4
mov rcx, qword [rsp + 0xe0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0xe0]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x4f0]
cmp qword [rsp + 0x508], 8
cmovae rdx, qword [rsp + 0x4f0]
mov r8, qword [rsp + 0x500]
lea rcx, [rsp + 0xe0]
call fcn.140019270
mov rbx, rax
mov r14d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov edx, r14d
lea rcx, [rsp + 0x98]
call fcn.14022d4c4
mov rdi, rax
lea rdx, [0x1402f20d0]
mov rcx, rbx
call fcn.140018e90
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov edx, dword [rdi + 8]
call qword [rdi]
lea edx, [r14 - 0xa]
lea rcx, [rsp + 0x80]
call fcn.14022d4ec
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 eax, 0x30
mov word [rcx + rbx + 0x58], ax
lea edx, [rax - 0x2d]
lea rcx, [rsp + 0x70]
call fcn.14022d4d8
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x4d0]
cmp qword [rsp + 0x4e8], 8
cmovae rdx, qword [rsp + 0x4d0]
mov r8, qword [rsp + 0x4e0]
mov rcx, rbx
call fcn.140019270
mov rbx, rax
lea edx, [r14 - 0xb]
lea rcx, [rsp + 0xa8]
call fcn.14022d4ec
mov rdi, rax
lea rdx, [0x1402f20d0]
mov rcx, rbx
call fcn.140018e90
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov edi, 0x20
mov word [rdx + rbx + 0x58], di
lea edx, [rdi + 0x20]
lea rcx, [rsp + 0xb8]
call fcn.14022d4c4
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x510]
cmp qword [rsp + 0x528], 8
cmovae rdx, qword [rsp + 0x510]
mov r8, qword [rsp + 0x520]
mov rcx, rbx
call fcn.140019270
lea rdx, [0x1402f25c8]
mov rcx, rax
call fcn.140018e90
mov rcx, rax
mov rdx, rsi
call fcn.140018e90
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14036cfc0], eax
jle 0x14007b2fa
lea rcx, [0x14036cfc0]
call fcn.14022b1d8
cmp dword [0x14036cfc0], 0xffffffff
jne 0x14007b2fa
lea rbx, [0x14036cfc8]
mov rcx, rbx
call fcn.14000a1bc
lea rcx, [0x14027e0e0]
call fcn.14022ace0
lea rcx, [0x14036cfc0]
call fcn.14022b178
jmp 0x14007b301
lea rbx, [0x14036cfc8]
lea rcx, [rsp + 0x490]
call fcn.140009da0
xor esi, esi
mov qword [rsp + 0x4a0], rsi
mov qword [rsp + 0x4a8], 7
mov word [rsp + 0x490], si
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x158]
test dl, 2
jne 0x14007b38e
mov rax, qword [rsp + 0x128]
mov rcx, qword [rax]
test rcx, rcx
je 0x14007b38e
mov rax, qword [rsp + 0x108]
mov rdx, qword [rax]
mov qword [rsp + 0x48], rcx
lea r8, [rsp + 0x150]
lea rax, [rsp + 0x48]
cmp rcx, qword [rsp + 0x150]
cmovae r8, rax
mov r8, qword [r8]
sub r8, rdx
sar r8, 1
lea rcx, [rsp + 0x490]
call fcn.140009e14
jmp 0x14007b3d2
test dl, 4
jne 0x14007b3d2
mov rax, qword [rsp + 0x120]
mov rcx, qword [rax]
test rcx, rcx
je 0x14007b3d2
mov rax, qword [rsp + 0x100]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x138]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x490]
call fcn.140009e14
and edi, 0xffffffdf
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x30], r14d
mov rdx, qword [0x14036cfe0]
cmp rdx, 8
jb 0x14007b434
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x5b8], rdx
mov rcx, qword [0x14036cfc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b42f
add rdx, 0x27
mov qword [rsp + 0x5b8], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007b593
call fcn.1400045a8
mov qword [0x14036cfd8], rsi
mov qword [0x14036cfe0], 7
mov word [0x14036cfc8], si
movups xmm0, xmmword [rsp + 0x490]
movups xmmword [0x14036cfc8], xmm0
movups xmm1, xmmword [rsp + 0x4a0]
movups xmmword [0x14036cfd8], xmm1
mov qword [rsp + 0x4a0], rsi
mov qword [rsp + 0x4a8], 7
mov word [rsp + 0x490], si
and r14d, 0xffffffef
mov dword [rsp + 0x30], r14d
lea rcx, [rsp + 0x490]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x4d0]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x4f0]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x4b0]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x510]
call fcn.140009bb8
nop
lea rcx, [rsp + 0xd0]
call fcn.14001b7c0
call fcn.1400227c0
cmp qword [0x14036cfe0], 8
cmovae rbx, qword [0x14036cfc8]
mov r8, qword [0x14036cfd8]
mov rdx, rbx
mov rcx, rax
call fcn.140019270
lea rdx, str.Unable_to_open_d3d10.dll
mov rcx, rax
call fcn.140018e90
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rbx, rax
mov dl, 0xa
add rcx, rax
call fcn.140019760
movzx edx, ax
mov rcx, rbx
call fcn.1400195a0
mov rcx, rbx
call fcn.14001a220
nop
jmp 0x14007b549
lea rcx, [rsp + 0x688]
call fcn.14001a370
movzx eax, r13b
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.14022aa20
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140231e34
nop
call fcn.140231e34
nop
call fcn.140231e34
int3