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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x848
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov rsi, rcx
mov rdi, rdx
lea rcx, [rsp + 0x430]
xor r15d, r15d
mov edx, 0x104
mov rbx, r8
mov r14d, r15d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140084984
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x200
mov qword [rsp + 0x898], r12
mov word [rsp + 0x636], r14w
mov qword [rsp + 0x840], r13
call fcn.1400f9e00
lea r8, str.ddraw.dll
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400fb090
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [rsp + 0x28], eax
je 0x140083bd6
mov ecx, eax
call fcn.1400c90e8
test rax, rax
mov rbp, rax
je 0x140083bd6
mov r8d, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140083bce
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x14013b180]
mov rcx, rbp
mov qword [rsp + 0x20], r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140083bce
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140083bce
mov r13d, dword [rax + 8]
mov r12d, dword [rax + 0xc]
mov rcx, rbp
call fcn.1400c90e0
mov dword [rsp + 0x24], 0x40002
mov dword [rsp + 0x20], 0x5f
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x140083aff
cmp r13d, eax
jb 0x140083b22
cmp r12d, 0x5f
ja 0x140083aff
cmp r12d, 0x5f
jb 0x140083b22
test rsi, rsi
je 0x140083b0a
mov dword [rsi], 1
test rdi, rdi
je 0x140083b12
mov dword [rdi], r15d
test rbx, rbx
je 0x140083b1c
mov word [rbx], 0x20
mov r14d, 1
mov dword [rsp + 0x24], 0x40003
mov dword [rsp + 0x20], 0x448
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x140083b57
cmp r13d, eax
jb 0x140083b7a
cmp r12d, 0x448
ja 0x140083b57
cmp r12d, 0x448
jb 0x140083b7a
test rsi, rsi
je 0x140083b62
mov dword [rsi], 2
test rdi, rdi
je 0x140083b6a
mov dword [rdi], r15d
test rbx, rbx
je 0x140083b74
mov word [rbx], 0x20
mov r14d, 1
mov dword [rsp + 0x24], 0x40004
mov dword [rsp + 0x20], 0x44
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x140083ba9
cmp r13d, eax
jb 0x140083bd6
cmp r12d, 0x44
ja 0x140083ba9
cmp r12d, 0x44
jb 0x140083bd6
test rsi, rsi
je 0x140083bb4
mov dword [rsi], 3
test rdi, rdi
je 0x140083bbc
mov dword [rdi], r15d
test rbx, rbx
je 0x140083bc6
mov word [rbx], 0x20
mov r14d, 1
jmp 0x140083bd6
mov rcx, rbp
call fcn.1400c90e0
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400f9e00
lea r8, str.d3drg8x.dll
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400fb090
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [rsp + 0x28], eax
je 0x140083ce5
mov ecx, eax
call fcn.1400c90e8
test rax, rax
mov rbp, rax
je 0x140083ce5
mov r8d, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140083cdd
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x14013b180]
mov rcx, rbp
mov qword [rsp + 0x20], r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140083cdd
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140083cdd
mov r13d, dword [rax + 8]
mov r12d, dword [rax + 0xc]
mov rcx, rbp
call fcn.1400c90e0
mov dword [rsp + 0x24], 0x40004
mov dword [rsp + 0x20], 0x46
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x140083cb8
cmp r13d, eax
jb 0x140083ce5
cmp r12d, 0x46
ja 0x140083cb8
cmp r12d, 0x46
jb 0x140083ce5
test rsi, rsi
je 0x140083cc3
mov dword [rsi], 3
test rdi, rdi
je 0x140083ccb
mov dword [rdi], r15d
test rbx, rbx
je 0x140083cd5
mov word [rbx], 0x61
mov r14d, 1
jmp 0x140083ce5
mov rcx, rbp
call fcn.1400c90e0
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400f9e00
lea r8, str.ddraw.dll
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400fb090
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [rsp + 0x28], eax
je 0x140083eb5
mov ecx, eax
call fcn.1400c90e8
test rax, rax
mov rbp, rax
je 0x140083eb5
mov r8d, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140083ead
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x14013b180]
mov rcx, rbp
mov qword [rsp + 0x20], r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140083ead
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140083ead
mov r13d, dword [rax + 8]
mov r12d, dword [rax + 0xc]
mov rcx, rbp
call fcn.1400c90e0
mov dword [rsp + 0x24], 0x40005
mov dword [rsp + 0x20], LoadRegTypeLib
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x140083dd5
cmp r13d, eax
jb 0x140083df8
cmp r12d, 0x9b
ja 0x140083dd5
cmp r12d, 0x9b
jb 0x140083df8
test rsi, rsi
je 0x140083de0
mov dword [rsi], 5
test rdi, rdi
je 0x140083de8
mov dword [rdi], r15d
test rbx, rbx
je 0x140083df2
mov word [rbx], 0x20
mov r14d, 1
mov dword [rsp + 0x24], 0x40006
mov dword [rsp + 0x20], 0x13e
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x140083e2d
cmp r13d, eax
jb 0x140083e50
cmp r12d, 0x13e
ja 0x140083e2d
cmp r12d, 0x13e
jb 0x140083e50
test rsi, rsi
je 0x140083e38
mov dword [rsi], 6
test rdi, rdi
je 0x140083e40
mov dword [rdi], r15d
test rbx, rbx
je 0x140083e4a
mov word [rbx], 0x20
mov r14d, 1
mov dword [rsp + 0x24], 0x40006
mov dword [rsp + 0x20], 0x1b4
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x140083e85
cmp r13d, eax
jb 0x140083eb5
cmp r12d, 0x1b4
ja 0x140083e85
cmp r12d, 0x1b4
jb 0x140083eb5
test rsi, rsi
je 0x140083e90
mov dword [rsi], 6
test rdi, rdi
je 0x140083e9b
mov dword [rdi], 1
test rbx, rbx
je 0x140083ea5
mov word [rbx], 0x20
mov r14d, 1
jmp 0x140083eb5
mov rcx, rbp
call fcn.1400c90e0
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400f9e00
lea r8, str.dplayx.dll
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400fb090
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [rsp + 0x28], eax
je 0x140083fcd
mov ecx, eax
call fcn.1400c90e8
test rax, rax
mov rbp, rax
je 0x140083fcd
mov r8d, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140083fc5
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x14013b180]
mov rcx, rbp
mov qword [rsp + 0x20], r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140083fc5
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140083fc5
mov r13d, dword [rax + 8]
mov r12d, dword [rax + 0xc]
mov rcx, rbp
call fcn.1400c90e0
mov dword [rsp + 0x24], 0x40006
mov dword [rsp + 0x20], 0x30206
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x140083f9d
cmp r13d, eax
jb 0x140083fcd
cmp r12d, 0x30206
ja 0x140083f9d
cmp r12d, 0x30206
jb 0x140083fcd
test rsi, rsi
je 0x140083fa8
mov dword [rsi], 6
test rdi, rdi
je 0x140083fb3
mov dword [rdi], 1
test rbx, rbx
je 0x140083fbd
mov word [rbx], 0x61
mov r14d, 1
jmp 0x140083fcd
mov rcx, rbp
call fcn.1400c90e0
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400f9e00
lea r8, str.ddraw.dll
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400fb090
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [rsp + 0x28], eax
je 0x1400840e2
mov ecx, eax
call fcn.1400c90e8
test rax, rax
mov rbp, rax
je 0x1400840e2
mov r8d, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400840da
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x14013b180]
mov rcx, rbp
mov qword [rsp + 0x20], r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400840da
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1400840da
mov r13d, dword [rax + 8]
mov r12d, dword [rax + 0xc]
mov rcx, rbp
call fcn.1400c90e0
mov dword [rsp + 0x24], 0x40007
mov dword [rsp + 0x20], 0x2bc
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x1400840b5
cmp r13d, eax
jb 0x1400840e2
cmp r12d, 0x2bc
ja 0x1400840b5
cmp r12d, 0x2bc
jb 0x1400840e2
test rsi, rsi
je 0x1400840c0
mov dword [rsi], 7
test rdi, rdi
je 0x1400840c8
mov dword [rdi], r15d
test rbx, rbx
je 0x1400840d2
mov word [rbx], 0x20
mov r14d, 1
jmp 0x1400840e2
mov rcx, rbp
call fcn.1400c90e0
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400f9e00
lea r8, str.dinput.dll
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400fb090
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [rsp + 0x28], eax
je 0x1400841f7
mov ecx, eax
call fcn.1400c90e8
test rax, rax
mov rbp, rax
je 0x1400841f7
mov r8d, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400841ef
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x14013b180]
mov rcx, rbp
mov qword [rsp + 0x20], r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400841ef
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1400841ef
mov r13d, dword [rax + 8]
mov r12d, dword [rax + 0xc]
mov rcx, rbp
call fcn.1400c90e0
mov dword [rsp + 0x24], 0x40007
mov dword [rsp + 0x20], 0x2cc
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x1400841ca
cmp r13d, eax
jb 0x1400841f7
cmp r12d, 0x2cc
ja 0x1400841ca
cmp r12d, 0x2cc
jb 0x1400841f7
test rsi, rsi
je 0x1400841d5
mov dword [rsi], 7
test rdi, rdi
je 0x1400841dd
mov dword [rdi], r15d
test rbx, rbx
je 0x1400841e7
mov word [rbx], 0x61
mov r14d, 1
jmp 0x1400841f7
mov rcx, rbp
call fcn.1400c90e0
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400f9e00
lea r8, str.ddraw.dll
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400fb090
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [rsp + 0x28], eax
je 0x14008435e
mov ecx, eax
call fcn.1400c90e8
test rax, rax
mov rbp, rax
je 0x14008435e
mov r8d, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140084356
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x14013b180]
mov rcx, rbp
mov qword [rsp + 0x20], r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140084356
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140084356
mov r12d, dword [rax + 8]
mov r13d, dword [rax + 0xc]
mov rcx, rbp
call fcn.1400c90e0
mov r11d, r12d
shr r11d, 0x10
cmp r11w, 4
jne 0x1400842f5
mov dword [rsp + 0x24], 0x40008
mov dword [rsp + 0x20], 0x190
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r12d, eax
ja 0x140084331
cmp r12d, eax
jb 0x1400842f5
cmp r13d, 0x190
ja 0x140084331
cmp r13d, 0x190
jae 0x140084331
cmp r11w, 5
jne 0x14008435e
mov dword [rsp + 0x24], 0x50001
mov dword [rsp + 0x20], 0x8d20190
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r12d, eax
ja 0x140084331
cmp r12d, eax
jb 0x14008435e
cmp r13d, 0x8d20190
ja 0x140084331
cmp r13d, 0x8d20190
jb 0x14008435e
test rsi, rsi
je 0x14008433c
mov dword [rsi], 8
test rdi, rdi
je 0x140084344
mov dword [rdi], r15d
test rbx, rbx
je 0x14008434e
mov word [rbx], 0x20
mov r14d, 1
jmp 0x14008435e
mov rcx, rbp
call fcn.1400c90e0
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400f9e00
lea r8, str.d3d8.dll
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400fb090
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [rsp + 0x28], eax
je 0x14008455d
mov ecx, eax
call fcn.1400c90e8
test rax, rax
mov r12, rax
je 0x14008455d
mov r8d, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140084555
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x14013b180]
mov rcx, r12
mov qword [rsp + 0x20], r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140084555
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140084555
mov r13d, dword [rax + 8]
mov ebp, dword [rax + 0xc]
mov rcx, r12
call fcn.1400c90e0
mov r11d, r13d
shr r11d, 0x10
cmp r11w, 4
jne 0x140084459
mov dword [rsp + 0x24], 0x40008
mov dword [rsp + 0x20], 0x10371
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x140084493
cmp r13d, eax
jb 0x140084459
cmp ebp, 0x10371
ja 0x140084493
cmp ebp, 0x10371
jae 0x140084493
cmp r11w, 5
jne 0x1400844b9
mov dword [rsp + 0x24], 0x50001
mov dword [rsp + 0x20], 0xa280371
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x140084493
cmp r13d, eax
jb 0x1400844b9
cmp ebp, 0xa280371
ja 0x140084493
cmp ebp, 0xa280371
jb 0x1400844b9
test rsi, rsi
je 0x14008449e
mov dword [rsi], 8
test rdi, rdi
je 0x1400844a9
mov dword [rdi], 1
test rbx, rbx
je 0x1400844b3
mov word [rbx], 0x20
mov r14d, 1
cmp r11w, 4
jne 0x1400844f3
mov dword [rsp + 0x24], 0x40008
mov dword [rsp + 0x20], 0x10385
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x14008452d
cmp r13d, eax
jb 0x1400844f3
cmp ebp, 0x10385
ja 0x14008452d
cmp ebp, 0x10385
jae 0x14008452d
cmp r11w, 5
jne 0x14008455d
mov dword [rsp + 0x24], 0x50001
mov dword [rsp + 0x20], 0xa280385
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x14008452d
cmp r13d, eax
jb 0x14008455d
cmp ebp, 0xa280385
ja 0x14008452d
cmp ebp, 0xa280385
jb 0x14008455d
test rsi, rsi
je 0x140084538
mov dword [rsi], 8
test rdi, rdi
je 0x140084543
mov dword [rdi], 1
test rbx, rbx
je 0x14008454d
mov word [rbx], 0x61
mov r14d, 1
jmp 0x14008455d
mov rcx, r12
call fcn.1400c90e0
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400f9e00
lea r8, str.mpg2splt.ax
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400fb090
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [rsp + 0x28], eax
je 0x140084675
mov ecx, eax
call fcn.1400c90e8
test rax, rax
mov rbp, rax
je 0x140084675
mov r8d, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14008466d
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x14013b180]
mov rcx, rbp
mov qword [rsp + 0x20], r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14008466d
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14008466d
mov r13d, dword [rax + 8]
mov r12d, dword [rax + 0xc]
mov rcx, rbp
call fcn.1400c90e0
mov dword [rsp + 0x24], 0x60003
mov dword [rsp + 0x20], 0x10375
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r13d, eax
ja 0x140084645
cmp r13d, eax
jb 0x140084675
cmp r12d, 0x10375
ja 0x140084645
cmp r12d, 0x10375
jb 0x140084675
test rsi, rsi
je 0x140084650
mov dword [rsi], 8
test rdi, rdi
je 0x14008465b
mov dword [rdi], 1
test rbx, rbx
je 0x140084665
mov word [rbx], 0x62
mov r14d, 1
jmp 0x140084675
mov rcx, rbp
call fcn.1400c90e0
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400f9e00
lea r8, str.dpnet.dll
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400fb090
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [rsp + 0x28], eax
je 0x1400847df
mov ecx, eax
call fcn.1400c90e8
test rax, rax
mov rbp, rax
je 0x1400847df
mov r8d, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400847d7
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x14013b180]
mov rcx, rbp
mov qword [rsp + 0x20], r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400847d7
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1400847d7
mov r12d, dword [rax + 8]
mov r13d, dword [rax + 0xc]
mov rcx, rbp
call fcn.1400c90e0
mov r11d, r12d
shr r11d, 0x10
cmp r11w, 4
jne 0x140084773
mov dword [rsp + 0x24], 0x40009
mov dword [rsp + 0x20], 0x86
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r12d, eax
ja 0x1400847af
cmp r12d, eax
jb 0x140084773
cmp r13d, 0x86
ja 0x1400847af
cmp r13d, 0x86
jae 0x1400847af
cmp r11w, 5
jne 0x1400847df
mov dword [rsp + 0x24], 0x50002
mov dword [rsp + 0x20], 0xe5d0086
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp r12d, eax
ja 0x1400847af
cmp r12d, eax
jb 0x1400847df
cmp r13d, 0xe5d0086
ja 0x1400847af
cmp r13d, 0xe5d0086
jb 0x1400847df
test rsi, rsi
je 0x1400847ba
mov dword [rsi], 8
test rdi, rdi
je 0x1400847c5
mov dword [rdi], 2
test rbx, rbx
je 0x1400847cf
mov word [rbx], 0x20
mov r14d, 1
jmp 0x1400847df
mov rcx, rbp
call fcn.1400c90e0
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400f9e00
lea r8, str.d3d9.dll
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400fb090
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r13, qword [rsp + 0x840]
mov r12, qword [rsp + 0x898]
test eax, eax
mov dword [rsp + 0x28], eax
je 0x1400848bc
mov ecx, eax
call fcn.1400c90e8
test rax, rax
mov rbp, rax
je 0x1400848bc
mov r8d, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400848b4
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x14013b180]
mov rcx, rbp
mov qword [rsp + 0x20], r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400848b4
cmp qword [rsp + 0x20], r15
je 0x1400848b4
mov rcx, rbp
call fcn.1400c90e0
test rsi, rsi
je 0x14008489a
mov dword [rsi], 9
test rdi, rdi
je 0x1400848a2
mov dword [rdi], r15d
test rbx, rbx
je 0x1400848ac
mov word [rbx], 0x20
mov r14d, 1
jmp 0x1400848bc
mov rcx, rbp
call fcn.1400c90e0
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400f9e00
lea r8, str.d3d10.dll
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400fb090
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [rsp + 0x28], eax
je 0x14008497f
mov ecx, eax
call fcn.1400c90e8
test rax, rax
mov rbp, rax
je 0x14008497f
mov r8d, dword [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140084977
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x14013b180]
mov rcx, rbp
mov qword [rsp + 0x20], r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140084977
cmp qword [rsp + 0x20], r15
je 0x140084977
mov rcx, rbp
call fcn.1400c90e0
test rsi, rsi
je 0x140084963
mov dword [rsi], 0xa
test rdi, rdi
je 0x14008496b
mov dword [rdi], r15d
test rbx, rbx
je 0x140084999
mov word [rbx], 0x20
jmp 0x140084999
mov rcx, rbp
call fcn.1400c90e0
test r14d, r14d
jne 0x140084999
test rsi, rsi
je 0x14008498c
mov dword [rsi], r15d
test rdi, rdi
je 0x140084994
mov dword [rdi], r15d
test rbx, rbx
jne 0x140084970
xor eax, eax
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.1400f9790
add rsp, 0x848
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret