Function at 0x140009a70
Capabilities:
Get common file path
Get file version info

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x860]
sub rsp, 0x960
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rbp + 0x850], rax
mov rdi, rdx
mov rbx, rcx
xor r15d, r15d
lea rcx, [rbp + 0x450]
mov edx, 0x104
mov r13d, r15d
mov rsi, r8
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [r15 + 0x20]
test eax, eax
je 0x14000ab31
lea r8, [rbp + 0x450]
mov qword [rsp + 0x9b8], r12
mov edx, 0x200
mov word [rbp + 0x656], r15w
lea rcx, [rbp + 0x50]
call fcn.1401c573c
lea r8, str.ddraw.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c5894
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x140009c8a
mov ecx, eax
call fcn.14003159c
mov r14, rax
test rax, rax
je 0x140009c8a
mov r8d, dword [rsp + 0x28]
lea rcx, [rbp + 0x50]
mov r9, rax
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140009c7d
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140260f74]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140009c7d
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140009c7d
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.140031594
mov dword [rsp + 0x24], 0x40002
mov dword [rsp + 0x20], 0x5f
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x140009bb7
jl 0x140009bdf
cmp r12d, 0x5f
jb 0x140009bdf
test rbx, rbx
je 0x140009bc2
mov dword [rbx], 1
test rdi, rdi
je 0x140009bca
mov dword [rdi], r13d
mov ecx, 0x20
test rsi, rsi
je 0x140009bd7
mov word [rsi], cx
mov r13d, 1
jmp 0x140009be4
mov ecx, 0x20
mov dword [rsp + 0x24], 0x40003
mov dword [rsp + 0x20], 0x448
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x140009c0d
jl 0x140009c31
cmp r12d, 0x448
jb 0x140009c31
test rbx, rbx
je 0x140009c18
mov dword [rbx], 2
test rdi, rdi
je 0x140009c23
mov dword [rdi], 0
test rsi, rsi
je 0x140009c2b
mov word [rsi], cx
mov r13d, 1
mov dword [rsp + 0x24], 0x40004
mov dword [rsp + 0x20], 0x44
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x140009c57
jl 0x140009c87
cmp r12d, 0x44
jb 0x140009c87
test rbx, rbx
je 0x140009c62
mov dword [rbx], 3
xor r15d, r15d
test rdi, rdi
je 0x140009c6d
mov dword [rdi], r15d
test rsi, rsi
je 0x140009c75
mov word [rsi], cx
mov r13d, 1
jmp 0x140009c8a
mov rcx, r14
call fcn.140031594
jmp 0x140009c8a
xor r15d, r15d
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c573c
lea r8, str.d3drg8x.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c5894
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x140009d94
mov ecx, eax
call fcn.14003159c
mov r14, rax
test rax, rax
je 0x140009d94
mov r8d, dword [rsp + 0x28]
lea rcx, [rbp + 0x50]
mov r9, rax
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140009d8c
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140260f74]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140009d8c
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140009d8c
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.140031594
mov dword [rsp + 0x24], 0x40004
mov dword [rsp + 0x20], 0x46
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x140009d61
jl 0x140009d94
cmp r12d, 0x46
jb 0x140009d94
test rbx, rbx
je 0x140009d6c
mov dword [rbx], 3
test rdi, rdi
je 0x140009d77
mov dword [rdi], 0
test rsi, rsi
je 0x140009d84
mov eax, 0x61
mov word [rsi], ax
mov r13d, 1
jmp 0x140009d94
mov rcx, r14
call fcn.140031594
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c573c
lea r8, str.ddraw.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c5894
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x140009f51
mov ecx, eax
call fcn.14003159c
mov r14, rax
test rax, rax
je 0x140009f51
mov r8d, dword [rsp + 0x28]
lea rcx, [rbp + 0x50]
mov r9, rax
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140009f49
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140260f74]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140009f49
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140009f49
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.140031594
mov dword [rsp + 0x24], 0x40005
mov dword [rsp + 0x20], LoadRegTypeLib
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x140009e7a
jl 0x140009ea3
cmp r12d, 0x9b
jb 0x140009ea3
test rbx, rbx
je 0x140009e85
mov dword [rbx], 5
test rdi, rdi
je 0x140009e90
mov dword [rdi], 0
test rsi, rsi
je 0x140009e9d
mov eax, 0x20
mov word [rsi], ax
mov r13d, 1
mov dword [rsp + 0x24], 0x40006
mov dword [rsp + 0x20], 0x13e
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x140009ecc
jl 0x140009ef5
cmp r12d, 0x13e
jb 0x140009ef5
test rbx, rbx
je 0x140009ed7
mov dword [rbx], 6
test rdi, rdi
je 0x140009ee2
mov dword [rdi], 0
test rsi, rsi
je 0x140009eef
mov eax, 0x20
mov word [rsi], ax
mov r13d, 1
mov dword [rsp + 0x24], 0x40006
mov dword [rsp + 0x20], 0x1b4
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x140009f1e
jl 0x140009f51
cmp r12d, 0x1b4
jb 0x140009f51
test rbx, rbx
je 0x140009f29
mov dword [rbx], 6
test rdi, rdi
je 0x140009f34
mov dword [rdi], 1
test rsi, rsi
je 0x140009f41
mov eax, 0x20
mov word [rsi], ax
mov r13d, 1
jmp 0x140009f51
mov rcx, r14
call fcn.140031594
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c573c
lea r8, str.dplayx.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c5894
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000a062
mov ecx, eax
call fcn.14003159c
mov r14, rax
test rax, rax
je 0x14000a062
mov r8d, dword [rsp + 0x28]
lea rcx, [rbp + 0x50]
mov r9, rax
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000a05a
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140260f74]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000a05a
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000a05a
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.140031594
mov dword [rsp + 0x24], 0x40006
mov dword [rsp + 0x20], 0x30206
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000a02f
jl 0x14000a062
cmp r12d, 0x30206
jb 0x14000a062
test rbx, rbx
je 0x14000a03a
mov dword [rbx], 6
test rdi, rdi
je 0x14000a045
mov dword [rdi], 1
test rsi, rsi
je 0x14000a052
mov eax, 0x61
mov word [rsi], ax
mov r13d, 1
jmp 0x14000a062
mov rcx, r14
call fcn.140031594
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c573c
lea r8, str.ddraw.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c5894
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000a173
mov ecx, eax
call fcn.14003159c
mov r14, rax
test rax, rax
je 0x14000a173
mov r8d, dword [rsp + 0x28]
lea rcx, [rbp + 0x50]
mov r9, rax
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000a16b
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140260f74]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000a16b
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000a16b
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.140031594
mov dword [rsp + 0x24], 0x40007
mov dword [rsp + 0x20], 0x2bc
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000a140
jl 0x14000a173
cmp r12d, 0x2bc
jb 0x14000a173
test rbx, rbx
je 0x14000a14b
mov dword [rbx], 7
test rdi, rdi
je 0x14000a156
mov dword [rdi], 0
test rsi, rsi
je 0x14000a163
mov eax, 0x20
mov word [rsi], ax
mov r13d, 1
jmp 0x14000a173
mov rcx, r14
call fcn.140031594
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c573c
lea r8, str.dinput.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c5894
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000a284
mov ecx, eax
call fcn.14003159c
mov r14, rax
test rax, rax
je 0x14000a284
mov r8d, dword [rsp + 0x28]
lea rcx, [rbp + 0x50]
mov r9, rax
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000a27c
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140260f74]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000a27c
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000a27c
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.140031594
mov dword [rsp + 0x24], 0x40007
mov dword [rsp + 0x20], 0x2cc
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000a251
jl 0x14000a284
cmp r12d, 0x2cc
jb 0x14000a284
test rbx, rbx
je 0x14000a25c
mov dword [rbx], 7
test rdi, rdi
je 0x14000a267
mov dword [rdi], 0
test rsi, rsi
je 0x14000a274
mov eax, 0x61
mov word [rsi], ax
mov r13d, 1
jmp 0x14000a284
mov rcx, r14
call fcn.140031594
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c573c
lea r8, str.ddraw.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c5894
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000a3db
mov ecx, eax
call fcn.14003159c
mov r14, rax
test rax, rax
je 0x14000a3db
mov r8d, dword [rsp + 0x28]
lea rcx, [rbp + 0x50]
mov r9, rax
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000a3d3
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140260f74]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000a3d3
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000a3d3
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.140031594
mov eax, r15d
shr rax, 0x10
cmp ax, 4
jne 0x14000a379
mov dword [rsp + 0x24], 0x40008
mov dword [rsp + 0x20], 0x190
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000a3a8
jl 0x14000a3db
cmp r12d, 0x190
jae 0x14000a3a8
jmp 0x14000a3db
cmp ax, 5
jne 0x14000a3db
mov dword [rsp + 0x24], 0x50001
mov dword [rsp + 0x20], 0x8d20190
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000a3a8
jl 0x14000a3db
cmp r12d, 0x8d20190
jb 0x14000a3db
test rbx, rbx
je 0x14000a3b3
mov dword [rbx], 8
test rdi, rdi
je 0x14000a3be
mov dword [rdi], 0
test rsi, rsi
je 0x14000a3cb
mov eax, 0x20
mov word [rsi], ax
mov r13d, 1
jmp 0x14000a3db
mov rcx, r14
call fcn.140031594
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c573c
lea r8, str.d3d8.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c5894
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000a5bb
mov ecx, eax
call fcn.14003159c
mov r15, rax
test rax, rax
je 0x14000a5bb
mov r8d, dword [rsp + 0x28]
lea rcx, [rbp + 0x50]
mov r9, rax
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000a5b3
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r15
lea rdx, [0x140260f74]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000a5b3
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000a5b3
mov r14d, dword [rax + 8]
mov rcx, r15
mov r12d, dword [rax + 0xc]
call fcn.140031594
mov ecx, r14d
shr rcx, 0x10
cmp cx, 4
jne 0x14000a4d0
mov dword [rsp + 0x24], 0x40008
mov dword [rsp + 0x20], 0x10371
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r14d, eax
jg 0x14000a4ff
jl 0x14000a528
cmp r12d, 0x10371
jae 0x14000a4ff
jmp 0x14000a528
cmp cx, 5
jne 0x14000a528
mov dword [rsp + 0x24], 0x50001
mov dword [rsp + 0x20], 0xa280371
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r14d, eax
jg 0x14000a4ff
jl 0x14000a528
cmp r12d, 0xa280371
jb 0x14000a528
test rbx, rbx
je 0x14000a50a
mov dword [rbx], 8
test rdi, rdi
je 0x14000a515
mov dword [rdi], 1
test rsi, rsi
je 0x14000a522
mov eax, 0x20
mov word [rsi], ax
mov r13d, 1
cmp cx, 4
jne 0x14000a559
mov dword [rsp + 0x24], 0x40008
mov dword [rsp + 0x20], 0x10385
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r14d, eax
jg 0x14000a588
jl 0x14000a5bb
cmp r12d, 0x10385
jae 0x14000a588
jmp 0x14000a5bb
cmp cx, 5
jne 0x14000a5bb
mov dword [rsp + 0x24], 0x50001
mov dword [rsp + 0x20], 0xa280385
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r14d, eax
jg 0x14000a588
jl 0x14000a5bb
cmp r12d, 0xa280385
jb 0x14000a5bb
test rbx, rbx
je 0x14000a593
mov dword [rbx], 8
test rdi, rdi
je 0x14000a59e
mov dword [rdi], 1
test rsi, rsi
je 0x14000a5ab
mov eax, 0x61
mov word [rsi], ax
mov r13d, 1
jmp 0x14000a5bb
mov rcx, r15
call fcn.140031594
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c573c
lea r8, str.mpg2splt.ax
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c5894
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000a6cc
mov ecx, eax
call fcn.14003159c
mov r14, rax
test rax, rax
je 0x14000a6cc
mov r8d, dword [rsp + 0x28]
lea rcx, [rbp + 0x50]
mov r9, rax
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000a6c4
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140260f74]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000a6c4
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000a6c4
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.140031594
mov dword [rsp + 0x24], 0x60003
mov dword [rsp + 0x20], 0x10375
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000a699
jl 0x14000a6cc
cmp r12d, 0x10375
jb 0x14000a6cc
test rbx, rbx
je 0x14000a6a4
mov dword [rbx], 8
test rdi, rdi
je 0x14000a6af
mov dword [rdi], 1
test rsi, rsi
je 0x14000a6bc
mov eax, 0x62
mov word [rsi], ax
mov r13d, 1
jmp 0x14000a6cc
mov rcx, r14
call fcn.140031594
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c573c
lea r8, str.dpnet.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c5894
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000a823
mov ecx, eax
call fcn.14003159c
mov r14, rax
test rax, rax
je 0x14000a823
mov r8d, dword [rsp + 0x28]
lea rcx, [rbp + 0x50]
mov r9, rax
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000a81b
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140260f74]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000a81b
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000a81b
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.140031594
mov eax, r15d
shr rax, 0x10
cmp ax, 4
jne 0x14000a7c1
mov dword [rsp + 0x24], 0x40009
mov dword [rsp + 0x20], 0x86
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000a7f0
jl 0x14000a823
cmp r12d, 0x86
jae 0x14000a7f0
jmp 0x14000a823
cmp ax, 5
jne 0x14000a823
mov dword [rsp + 0x24], 0x50002
mov dword [rsp + 0x20], 0xe5d0086
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000a7f0
jl 0x14000a823
cmp r12d, 0xe5d0086
jb 0x14000a823
test rbx, rbx
je 0x14000a7fb
mov dword [rbx], 8
test rdi, rdi
je 0x14000a806
mov dword [rdi], 2
test rsi, rsi
je 0x14000a813
mov eax, 0x20
mov word [rsi], ax
mov r13d, 1
jmp 0x14000a823
mov rcx, r14
call fcn.140031594
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c573c
lea r8, [0x1402610b8]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c5894
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r12, qword [rsp + 0x9b8]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000a90d
mov ecx, eax
call fcn.14003159c
mov r14, rax
test rax, rax
je 0x14000a90d
mov r8d, dword [rsp + 0x28]
lea rcx, [rbp + 0x50]
mov r9, rax
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000a905
xor r15d, r15d
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], r15
lea rdx, [0x140260f74]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000a905
cmp qword [rsp + 0x20], r15
je 0x14000a905
mov rcx, r14
call fcn.140031594
test rbx, rbx
je 0x14000a8db
mov dword [rbx], 9
test rdi, rdi
je 0x14000a8e3
mov dword [rdi], r15d
test rsi, rsi
je 0x14000a8f0
mov eax, 0x20
mov word [rsi], ax
mov r13d, 1
test rbx, rbx
je 0x14000a90d
mov eax, dword [rbx]
mov dword [0x1403b0cf8], eax
jmp 0x14000a90d
mov rcx, r14
call fcn.140031594
xor edx, edx
lea rcx, [rsp + 0x34]
mov r8d, 0x118
call fcn.1401b8ea0
lea rcx, str.ntdll.dll
mov dword [rsp + 0x30], 0x11c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000a955
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000a955
lea rcx, [rsp + 0x30]
call rax
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c573c
lea r8, str.d3d11.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c5894
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000aa40
mov ecx, eax
call fcn.14003159c
mov r14, rax
test rax, rax
je 0x14000aa40
mov r8d, dword [rsp + 0x28]
lea rcx, [rbp + 0x50]
mov r9, rax
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000aa38
xor r15d, r15d
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], r15
lea rdx, [0x140260f74]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000aa38
cmp qword [rsp + 0x20], r15
je 0x14000aa38
mov rcx, r14
call fcn.140031594
test rbx, rbx
je 0x14000aa05
mov dword [rbx], VariantTimeToDosDateTime
test rdi, rdi
je 0x14000aa0d
mov dword [rdi], r15d
test rsi, rsi
je 0x14000aa1a
mov eax, 0x20
mov word [rsi], ax
cmp dword [rsp + 0x34], 0xa
mov r13d, 1
jb 0x14000aa31
mov eax, dword [rbx]
mov dword [0x1403b0cf8], eax
jmp 0x14000aa40
call fcn.140019260
jmp 0x14000aa40
mov rcx, r14
call fcn.140031594
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c573c
lea r8, str.d3d12.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c5894
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000ab25
mov ecx, eax
call fcn.14003159c
mov r14, rax
test rax, rax
je 0x14000ab25
mov r8d, dword [rsp + 0x28]
lea rcx, [rbp + 0x50]
mov r9, rax
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000ab1d
xor r15d, r15d
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], r15
lea rdx, [0x140260f74]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000ab1d
cmp qword [rsp + 0x20], r15
je 0x14000ab1d
mov rcx, r14
call fcn.140031594
test rbx, rbx
je 0x14000aaf0
mov dword [rbx], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
test rdi, rdi
je 0x14000aaf8
mov dword [rdi], r15d
test rsi, rsi
je 0x14000ab05
mov eax, 0x20
mov word [rsi], ax
cmp dword [rsp + 0x34], 0xa
jb 0x14000ab16
mov eax, dword [rbx]
mov dword [0x1403b0cf8], eax
jmp 0x14000ab49
call fcn.140019260
jmp 0x14000ab49
mov rcx, r14
call fcn.140031594
test r13d, r13d
jne 0x14000ab49
xor r15d, r15d
lea ecx, [r13 + 0x20]
test rbx, rbx
je 0x14000ab39
mov dword [rbx], r15d
test rdi, rdi
je 0x14000ab41
mov dword [rdi], r15d
test rsi, rsi
je 0x14000ab49
mov word [rsi], cx
xor eax, eax
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.1401b2ef0
add rsp, 0x960
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret