Function at 0x14000ed50
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 [0x1402ac7a8]
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 0x14000fe11
lea r8, [rbp + 0x450]
mov qword [rsp + 0x9b8], r12
mov edx, 0x200
mov word [rbp + 0x656], r15w
lea rcx, [rbp + 0x50]
call fcn.1401c95ac
lea r8, str.ddraw.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c9704
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000ef6a
mov ecx, eax
call fcn.1400353fc
mov r14, rax
test rax, rax
je 0x14000ef6a
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 0x14000ef5d
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140265034]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000ef5d
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000ef5d
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.1400353f4
mov dword [rsp + 0x24], 0x40002
mov dword [rsp + 0x20], 0x5f
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000ee97
jl 0x14000eebf
cmp r12d, 0x5f
jb 0x14000eebf
test rbx, rbx
je 0x14000eea2
mov dword [rbx], 1
test rdi, rdi
je 0x14000eeaa
mov dword [rdi], r13d
mov ecx, 0x20
test rsi, rsi
je 0x14000eeb7
mov word [rsi], cx
mov r13d, 1
jmp 0x14000eec4
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 0x14000eeed
jl 0x14000ef11
cmp r12d, 0x448
jb 0x14000ef11
test rbx, rbx
je 0x14000eef8
mov dword [rbx], 2
test rdi, rdi
je 0x14000ef03
mov dword [rdi], 0
test rsi, rsi
je 0x14000ef0b
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 0x14000ef37
jl 0x14000ef67
cmp r12d, 0x44
jb 0x14000ef67
test rbx, rbx
je 0x14000ef42
mov dword [rbx], 3
xor r15d, r15d
test rdi, rdi
je 0x14000ef4d
mov dword [rdi], r15d
test rsi, rsi
je 0x14000ef55
mov word [rsi], cx
mov r13d, 1
jmp 0x14000ef6a
mov rcx, r14
call fcn.1400353f4
jmp 0x14000ef6a
xor r15d, r15d
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c95ac
lea r8, str.d3drg8x.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c9704
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000f074
mov ecx, eax
call fcn.1400353fc
mov r14, rax
test rax, rax
je 0x14000f074
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 0x14000f06c
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140265034]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000f06c
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000f06c
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.1400353f4
mov dword [rsp + 0x24], 0x40004
mov dword [rsp + 0x20], 0x46
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000f041
jl 0x14000f074
cmp r12d, 0x46
jb 0x14000f074
test rbx, rbx
je 0x14000f04c
mov dword [rbx], 3
test rdi, rdi
je 0x14000f057
mov dword [rdi], 0
test rsi, rsi
je 0x14000f064
mov eax, 0x61
mov word [rsi], ax
mov r13d, 1
jmp 0x14000f074
mov rcx, r14
call fcn.1400353f4
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c95ac
lea r8, str.ddraw.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c9704
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000f231
mov ecx, eax
call fcn.1400353fc
mov r14, rax
test rax, rax
je 0x14000f231
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 0x14000f229
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140265034]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000f229
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000f229
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.1400353f4
mov dword [rsp + 0x24], 0x40005
mov dword [rsp + 0x20], LoadRegTypeLib
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000f15a
jl 0x14000f183
cmp r12d, 0x9b
jb 0x14000f183
test rbx, rbx
je 0x14000f165
mov dword [rbx], 5
test rdi, rdi
je 0x14000f170
mov dword [rdi], 0
test rsi, rsi
je 0x14000f17d
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 0x14000f1ac
jl 0x14000f1d5
cmp r12d, 0x13e
jb 0x14000f1d5
test rbx, rbx
je 0x14000f1b7
mov dword [rbx], 6
test rdi, rdi
je 0x14000f1c2
mov dword [rdi], 0
test rsi, rsi
je 0x14000f1cf
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 0x14000f1fe
jl 0x14000f231
cmp r12d, 0x1b4
jb 0x14000f231
test rbx, rbx
je 0x14000f209
mov dword [rbx], 6
test rdi, rdi
je 0x14000f214
mov dword [rdi], 1
test rsi, rsi
je 0x14000f221
mov eax, 0x20
mov word [rsi], ax
mov r13d, 1
jmp 0x14000f231
mov rcx, r14
call fcn.1400353f4
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c95ac
lea r8, str.dplayx.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c9704
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000f342
mov ecx, eax
call fcn.1400353fc
mov r14, rax
test rax, rax
je 0x14000f342
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 0x14000f33a
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140265034]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000f33a
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000f33a
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.1400353f4
mov dword [rsp + 0x24], 0x40006
mov dword [rsp + 0x20], 0x30206
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000f30f
jl 0x14000f342
cmp r12d, 0x30206
jb 0x14000f342
test rbx, rbx
je 0x14000f31a
mov dword [rbx], 6
test rdi, rdi
je 0x14000f325
mov dword [rdi], 1
test rsi, rsi
je 0x14000f332
mov eax, 0x61
mov word [rsi], ax
mov r13d, 1
jmp 0x14000f342
mov rcx, r14
call fcn.1400353f4
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c95ac
lea r8, str.ddraw.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c9704
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000f453
mov ecx, eax
call fcn.1400353fc
mov r14, rax
test rax, rax
je 0x14000f453
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 0x14000f44b
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140265034]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000f44b
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000f44b
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.1400353f4
mov dword [rsp + 0x24], 0x40007
mov dword [rsp + 0x20], 0x2bc
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000f420
jl 0x14000f453
cmp r12d, 0x2bc
jb 0x14000f453
test rbx, rbx
je 0x14000f42b
mov dword [rbx], 7
test rdi, rdi
je 0x14000f436
mov dword [rdi], 0
test rsi, rsi
je 0x14000f443
mov eax, 0x20
mov word [rsi], ax
mov r13d, 1
jmp 0x14000f453
mov rcx, r14
call fcn.1400353f4
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c95ac
lea r8, str.dinput.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c9704
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000f564
mov ecx, eax
call fcn.1400353fc
mov r14, rax
test rax, rax
je 0x14000f564
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 0x14000f55c
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140265034]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000f55c
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000f55c
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.1400353f4
mov dword [rsp + 0x24], 0x40007
mov dword [rsp + 0x20], 0x2cc
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000f531
jl 0x14000f564
cmp r12d, 0x2cc
jb 0x14000f564
test rbx, rbx
je 0x14000f53c
mov dword [rbx], 7
test rdi, rdi
je 0x14000f547
mov dword [rdi], 0
test rsi, rsi
je 0x14000f554
mov eax, 0x61
mov word [rsi], ax
mov r13d, 1
jmp 0x14000f564
mov rcx, r14
call fcn.1400353f4
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c95ac
lea r8, str.ddraw.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c9704
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000f6bb
mov ecx, eax
call fcn.1400353fc
mov r14, rax
test rax, rax
je 0x14000f6bb
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 0x14000f6b3
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140265034]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000f6b3
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000f6b3
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.1400353f4
mov eax, r15d
shr rax, 0x10
cmp ax, 4
jne 0x14000f659
mov dword [rsp + 0x24], 0x40008
mov dword [rsp + 0x20], 0x190
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000f688
jl 0x14000f6bb
cmp r12d, 0x190
jae 0x14000f688
jmp 0x14000f6bb
cmp ax, 5
jne 0x14000f6bb
mov dword [rsp + 0x24], 0x50001
mov dword [rsp + 0x20], 0x8d20190
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000f688
jl 0x14000f6bb
cmp r12d, 0x8d20190
jb 0x14000f6bb
test rbx, rbx
je 0x14000f693
mov dword [rbx], 8
test rdi, rdi
je 0x14000f69e
mov dword [rdi], 0
test rsi, rsi
je 0x14000f6ab
mov eax, 0x20
mov word [rsi], ax
mov r13d, 1
jmp 0x14000f6bb
mov rcx, r14
call fcn.1400353f4
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c95ac
lea r8, str.d3d8.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c9704
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000f89b
mov ecx, eax
call fcn.1400353fc
mov r15, rax
test rax, rax
je 0x14000f89b
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 0x14000f893
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r15
lea rdx, [0x140265034]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000f893
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000f893
mov r14d, dword [rax + 8]
mov rcx, r15
mov r12d, dword [rax + 0xc]
call fcn.1400353f4
mov ecx, r14d
shr rcx, 0x10
cmp cx, 4
jne 0x14000f7b0
mov dword [rsp + 0x24], 0x40008
mov dword [rsp + 0x20], 0x10371
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r14d, eax
jg 0x14000f7df
jl 0x14000f808
cmp r12d, 0x10371
jae 0x14000f7df
jmp 0x14000f808
cmp cx, 5
jne 0x14000f808
mov dword [rsp + 0x24], 0x50001
mov dword [rsp + 0x20], 0xa280371
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r14d, eax
jg 0x14000f7df
jl 0x14000f808
cmp r12d, 0xa280371
jb 0x14000f808
test rbx, rbx
je 0x14000f7ea
mov dword [rbx], 8
test rdi, rdi
je 0x14000f7f5
mov dword [rdi], 1
test rsi, rsi
je 0x14000f802
mov eax, 0x20
mov word [rsi], ax
mov r13d, 1
cmp cx, 4
jne 0x14000f839
mov dword [rsp + 0x24], 0x40008
mov dword [rsp + 0x20], 0x10385
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r14d, eax
jg 0x14000f868
jl 0x14000f89b
cmp r12d, 0x10385
jae 0x14000f868
jmp 0x14000f89b
cmp cx, 5
jne 0x14000f89b
mov dword [rsp + 0x24], 0x50001
mov dword [rsp + 0x20], 0xa280385
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r14d, eax
jg 0x14000f868
jl 0x14000f89b
cmp r12d, 0xa280385
jb 0x14000f89b
test rbx, rbx
je 0x14000f873
mov dword [rbx], 8
test rdi, rdi
je 0x14000f87e
mov dword [rdi], 1
test rsi, rsi
je 0x14000f88b
mov eax, 0x61
mov word [rsi], ax
mov r13d, 1
jmp 0x14000f89b
mov rcx, r15
call fcn.1400353f4
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c95ac
lea r8, str.mpg2splt.ax
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c9704
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000f9ac
mov ecx, eax
call fcn.1400353fc
mov r14, rax
test rax, rax
je 0x14000f9ac
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 0x14000f9a4
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140265034]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000f9a4
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000f9a4
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.1400353f4
mov dword [rsp + 0x24], 0x60003
mov dword [rsp + 0x20], 0x10375
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000f979
jl 0x14000f9ac
cmp r12d, 0x10375
jb 0x14000f9ac
test rbx, rbx
je 0x14000f984
mov dword [rbx], 8
test rdi, rdi
je 0x14000f98f
mov dword [rdi], 1
test rsi, rsi
je 0x14000f99c
mov eax, 0x62
mov word [rsi], ax
mov r13d, 1
jmp 0x14000f9ac
mov rcx, r14
call fcn.1400353f4
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c95ac
lea r8, str.dpnet.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c9704
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000fb03
mov ecx, eax
call fcn.1400353fc
mov r14, rax
test rax, rax
je 0x14000fb03
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 0x14000fafb
lea r9, [rsp + 0x28]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov rcx, r14
lea rdx, [0x140265034]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000fafb
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000fafb
mov r15d, dword [rax + 8]
mov rcx, r14
mov r12d, dword [rax + 0xc]
call fcn.1400353f4
mov eax, r15d
shr rax, 0x10
cmp ax, 4
jne 0x14000faa1
mov dword [rsp + 0x24], 0x40009
mov dword [rsp + 0x20], 0x86
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000fad0
jl 0x14000fb03
cmp r12d, 0x86
jae 0x14000fad0
jmp 0x14000fb03
cmp ax, 5
jne 0x14000fb03
mov dword [rsp + 0x24], 0x50002
mov dword [rsp + 0x20], 0xe5d0086
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r15d, eax
jg 0x14000fad0
jl 0x14000fb03
cmp r12d, 0xe5d0086
jb 0x14000fb03
test rbx, rbx
je 0x14000fadb
mov dword [rbx], 8
test rdi, rdi
je 0x14000fae6
mov dword [rdi], 2
test rsi, rsi
je 0x14000faf3
mov eax, 0x20
mov word [rsi], ax
mov r13d, 1
jmp 0x14000fb03
mov rcx, r14
call fcn.1400353f4
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c95ac
lea r8, [0x140265178]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c9704
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 0x14000fbed
mov ecx, eax
call fcn.1400353fc
mov r14, rax
test rax, rax
je 0x14000fbed
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 0x14000fbe5
xor r15d, r15d
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], r15
lea rdx, [0x140265034]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000fbe5
cmp qword [rsp + 0x20], r15
je 0x14000fbe5
mov rcx, r14
call fcn.1400353f4
test rbx, rbx
je 0x14000fbbb
mov dword [rbx], 9
test rdi, rdi
je 0x14000fbc3
mov dword [rdi], r15d
test rsi, rsi
je 0x14000fbd0
mov eax, 0x20
mov word [rsi], ax
mov r13d, 1
test rbx, rbx
je 0x14000fbed
mov eax, dword [rbx]
mov dword [0x1403a6c08], eax
jmp 0x14000fbed
mov rcx, r14
call fcn.1400353f4
xor edx, edx
lea rcx, [rsp + 0x34]
mov r8d, 0x118
call fcn.1401bcd10
lea rcx, str.ntdll.dll
mov dword [rsp + 0x30], 0x11c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fc35
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000fc35
lea rcx, [rsp + 0x30]
call rax
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c95ac
lea r8, str.d3d11.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c9704
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000fd20
mov ecx, eax
call fcn.1400353fc
mov r14, rax
test rax, rax
je 0x14000fd20
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 0x14000fd18
xor r15d, r15d
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], r15
lea rdx, [0x140265034]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000fd18
cmp qword [rsp + 0x20], r15
je 0x14000fd18
mov rcx, r14
call fcn.1400353f4
test rbx, rbx
je 0x14000fce5
mov dword [rbx], VariantTimeToDosDateTime
test rdi, rdi
je 0x14000fced
mov dword [rdi], r15d
test rsi, rsi
je 0x14000fcfa
mov eax, 0x20
mov word [rsi], ax
cmp dword [rsp + 0x34], 0xa
mov r13d, 1
jb 0x14000fd11
mov eax, dword [rbx]
mov dword [0x1403a6c08], eax
jmp 0x14000fd20
call fcn.14001e2e0
jmp 0x14000fd20
mov rcx, r14
call fcn.1400353f4
lea r8, [rbp + 0x450]
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c95ac
lea r8, str.d3d12.dll
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1401c9704
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x14000fe05
mov ecx, eax
call fcn.1400353fc
mov r14, rax
test rax, rax
je 0x14000fe05
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 0x14000fdfd
xor r15d, r15d
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], r15
lea rdx, [0x140265034]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000fdfd
cmp qword [rsp + 0x20], r15
je 0x14000fdfd
mov rcx, r14
call fcn.1400353f4
test rbx, rbx
je 0x14000fdd0
mov dword [rbx], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
test rdi, rdi
je 0x14000fdd8
mov dword [rdi], r15d
test rsi, rsi
je 0x14000fde5
mov eax, 0x20
mov word [rsi], ax
cmp dword [rsp + 0x34], 0xa
jb 0x14000fdf6
mov eax, dword [rbx]
mov dword [0x1403a6c08], eax
jmp 0x14000fe29
call fcn.14001e2e0
jmp 0x14000fe29
mov rcx, r14
call fcn.1400353f4
test r13d, r13d
jne 0x14000fe29
xor r15d, r15d
lea ecx, [r13 + 0x20]
test rbx, rbx
je 0x14000fe19
mov dword [rbx], r15d
test rdi, rdi
je 0x14000fe21
mov dword [rdi], r15d
test rsi, rsi
je 0x14000fe29
mov word [rsi], cx
xor eax, eax
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.1401b6d50
add rsp, 0x960
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret