Function at 0x43aea0
Capabilities:
Check if file exists

Disassembly:
push rbp
push rdi
push rsi
push rbx
mov byte [rsp - 0xc88], 0
mov byte [rsp - 0x1c88], 0
sub rsp, 0x1c88
mov rbp, rsp
mov rsi, rdx
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x128], 0
mov qword [rbp + 0x130], 0
mov qword [rbp + 0x140], 0
mov qword [rbp + 0x138], 0
mov qword [rbp + 0x150], 0
mov qword [rbp + 0x148], 0
mov qword [rbp + 0x158], 0
lea rdi, [rbp + 0x1c60]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
mov qword [rbp + 0x1cb0], rcx
mov qword [rbp + 0x1cc0], r8
mov rcx, qword [rbp + 0x1cc0]
call fcn.004099e0
nop
mov qword [rbp + 0x1c58], 0
xor eax, eax
mov byte [rbp + 0x37], al
mov rcx, qword [0x0045caf0]
lea rdx, [0x0043bdbc]
call fcn.00439190
lea rcx, [rbp + 0x158]
lea rdx, [0x0043bddc]
mov r8, qword [rbp + 0x1cc0]
call fcn.0040a950
mov rcx, qword [0x0045caf0]
mov rdx, qword [rbp + 0x158]
call fcn.00439190
mov rcx, qword [rbp + 0x1cc0]
call fcn.0040a5e0
mov rcx, rax
xor edx, edx
xor r8, r8
lea r9, [rbp + 0x79e]
mov dword [rsp + 0x20], 0x104
mov qword [rsp + 0x28], 0
call sub.SetupApi.dll_SetupGetInfDriverStoreLocationW
test eax, eax
jne 0x43b1b8
call sub.kernel32.dll_GetLastError
cmp eax, 0x490
jne 0x43b13e
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043be38]
mov r9, qword [rbp + 0x1cc0]
mov dword [rsp + 0x20], 0xffffffff
call fcn.00439400
mov rcx, qword [0x0045caf0]
lea rdx, [0x0043beb0]
call fcn.00439190
jmp 0x43b4a5
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x43b189
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043bee4]
mov r9, qword [rbp + 0x1cc0]
mov dword [rsp + 0x20], 0xffffffff
call fcn.00439400
mov rcx, qword [0x0045caf0]
lea rdx, [0x0043bf64]
call fcn.00439190
jmp 0x43b4a5
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043bf90]
mov r9, qword [rbp + 0x1cc0]
mov dword [rsp + 0x20], eax
call fcn.00439400
jmp 0x43b4a5
lea rcx, [rbp + 0x148]
lea rdx, [rbp + 0x79e]
mov r8d, 0x105
call fcn.0040a680
lea rcx, [rbp + 0x150]
lea rdx, [0x0043bfe4]
mov r8, qword [rbp + 0x148]
call fcn.0040a950
mov rcx, qword [0x0045caf0]
mov rdx, qword [rbp + 0x150]
call fcn.00439190
lea rcx, [rbp + 0x182]
mov edx, 0x61c
xor r8, r8
call fcn.00406810
mov dword [rbp + 0x182], 0x61c
lea rcx, [rbp + 0x79e]
xor edx, edx
lea r8, [rbp + 0x182]
mov rax, qword [0x0044eed0]
call qword [rax]
test eax, eax
setne sil
test sil, sil
jne 0x43b35f
call sub.kernel32.dll_GetLastError
mov ebx, eax
lea rcx, [rbp + 0x138]
mov edx, ebx
call fcn.0043a1f0
lea rcx, [rbp + 0x140]
lea rdx, [0x0043c010]
mov r8, qword [rbp + 0x138]
call fcn.0040a950
mov rcx, qword [0x0045caf0]
mov rdx, qword [rbp + 0x140]
call fcn.00439190
cmp ebx, 0xe0000241
je 0x43b296
cmp ebx, 0xe0000242
jne 0x43b2b1
mov rcx, qword [0x0045caf0]
lea rdx, [0x0043c034]
call fcn.00439190
mov sil, 1
jmp 0x43b3ca
cmp ebx, 3
jne 0x43b2ce
mov rcx, qword [0x0045caf0]
lea rdx, [0x0043bf64]
call fcn.00439190
jmp 0x43b3ca
cmp ebx, 0x490
je 0x43b2de
cmp ebx, 0xe000022f
jne 0x43b2f6
mov rcx, qword [0x0045caf0]
lea rdx, [0x0043c050]
call fcn.00439190
jmp 0x43b3ca
cmp ebx, 0x800b0109
je 0x43b30e
cmp ebx, 0x800b010a
je 0x43b30e
cmp ebx, 0xe0000244
jne 0x43b326
mov rcx, qword [0x0045caf0]
lea rdx, [0x0043c080]
call fcn.00439190
jmp 0x43b3ca
lea rcx, [rbp + 0x130]
mov edx, ebx
call fcn.0043a1f0
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c0ac]
mov r9, qword [rbp + 0x130]
mov dword [rsp + 0x20], 0xffffffff
call fcn.00439400
jmp 0x43b3ca
mov rcx, qword [0x0045caf0]
lea rdx, [0x0043c0e8]
call fcn.00439190
lea rcx, [rbp + 0x128]
lea rdx, [rbp + 0x38e]
mov r8d, 0x104
call fcn.0040a680
mov rcx, qword [rbp + 0x128]
lea rdx, [0x0043c11c]
call fcn.0040ab60
test eax, eax
jne 0x43b3b7
mov rcx, qword [0x0045caf0]
lea rdx, [0x0043c034]
call fcn.00439190
jmp 0x43b3ca
mov rcx, qword [0x0045caf0]
lea rdx, [0x0043c16c]
call fcn.00439190
test sil, sil
jne 0x43b419
lea rcx, [rbp + 0x120]
lea rdx, [rbp + 0x186]
mov r8d, 0x104
call fcn.0040a680
cmp qword [rbp + 0x120], 0
jne 0x43b419
lea rcx, [rbp + 0x118]
lea rdx, [rbp + 0x38e]
mov r8d, 0x104
call fcn.0040a680
cmp qword [rbp + 0x118], 0
je 0x43b4a5
lea rcx, [rbp + 0x108]
lea rdx, [rbp + 0x186]
mov r8d, 0x104
call fcn.0040a680
lea rcx, [rbp + 0x110]
lea rdx, [0x0043c188]
mov r8, qword [rbp + 0x108]
call fcn.0040a950
mov rcx, qword [0x0045caf0]
mov rdx, qword [rbp + 0x110]
call fcn.00439190
lea rcx, [rbp + 0xf8]
lea rdx, [rbp + 0x38e]
mov r8d, 0x104
call fcn.0040a680
lea rcx, [rbp + 0x100]
lea rdx, [0x0043c1b8]
mov r8, qword [rbp + 0xf8]
call fcn.0040a950
mov rcx, qword [0x0045caf0]
mov rdx, qword [rbp + 0x100]
call fcn.00439190
mov dword [rbp + 0xdbc], 0
mov rcx, qword [rbp + 0x1cc0]
call fcn.0040a5e0
mov rsi, rax
mov rcx, rsi
mov edx, 3
xor r8, r8
xor r9, r9
lea rax, [rbp + 0xdbc]
mov qword [rsp + 0x20], rax
mov rax, qword [0x0044f248]
call qword [rax]
test eax, eax
jne 0x43b55c
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x43b531
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c1e8]
lea r9, [0x0043c230]
mov dword [rsp + 0x20], eax
call fcn.00439400
mov rcx, qword [0x0045caf0]
lea rdx, [0x0043c268]
call fcn.00439190
jmp 0x43b6c7
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c1e8]
xor r9, r9
mov dword [rsp + 0x20], eax
call fcn.00439400
jmp 0x43b6c7
mov ecx, dword [rbp + 0xdbc]
call fcn.00405d80
mov rbx, rax
mov rcx, rbx
mov edx, dword [rbp + 0xdbc]
xor r8, r8
call fcn.00406810
mov rcx, rsi
mov edx, 3
mov r8, rbx
mov r9d, dword [rbp + 0xdbc]
mov qword [rsp + 0x20], 0
mov rax, qword [0x0044f248]
call qword [rax]
test eax, eax
jne 0x43b5ce
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c298]
xor r9, r9
mov dword [rsp + 0x20], eax
call fcn.00439400
jmp 0x43b6bf
lea rcx, [rbp + 0x9a8]
mov edx, 0x414
xor r8, r8
call fcn.00406810
mov dword [rbp + 0x9a8], 0x414
mov rcx, rbx
xor edx, edx
xor r8, r8
lea r9, [rbp + 0x9a8]
mov rax, qword [0x0044f278]
call qword [rax]
test eax, eax
jne 0x43b633
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c2e0]
xor r9, r9
mov dword [rsp + 0x20], eax
call fcn.00439400
jmp 0x43b6bf
lea rcx, [rbp + 0xe8]
lea rdx, [rbp + 0x9ac]
mov r8d, 0x104
call fcn.0040a680
lea rcx, [rbp + 0xf0]
lea rdx, [0x0043c340]
mov r8, qword [rbp + 0xe8]
call fcn.0040a950
mov rcx, qword [0x0045caf0]
mov rdx, qword [rbp + 0xf0]
call fcn.00439190
lea rcx, [rbp + 0xd8]
lea rdx, [rbp + 0xbb4]
mov r8d, 0x104
call fcn.0040a680
lea rcx, [rbp + 0xe0]
lea rdx, [0x0043c370]
mov r8, qword [rbp + 0xd8]
call fcn.0040a950
mov rcx, qword [0x0045caf0]
mov rdx, qword [rbp + 0xe0]
call fcn.00439190
mov rcx, rbx
call fcn.00405de0
lea rcx, [rbp + 0x13f0]
mov edx, 0x620
xor r8, r8
call fcn.00406810
mov dword [rbp + 0x13f0], 0x620
mov rcx, qword [rbp + 0x1cb0]
lea rdx, [rbp + 0x1c60]
lea r8, [rbp + 0x13f0]
call fcn.00439d90
test al, al
jne 0x43b72e
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c3a0]
xor r9, r9
mov dword [rsp + 0x20], eax
call fcn.00439400
jmp 0x43bd48
lea rcx, [rbp + 0xdc0]
mov edx, 0x630
xor r8, r8
call fcn.00406810
mov dword [rbp + 0xdc0], 0x630
mov rcx, qword [rbp + 0x1cb0]
lea rdx, [rbp + 0x1c60]
lea r8, [rbp + 0x13f0]
lea r9, [rbp + 0xdc0]
mov dword [rsp + 0x20], 0x630
mov qword [rsp + 0x28], 0
mov rax, qword [0x0044f220]
call qword [rax]
test eax, eax
jne 0x43b7c3
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x43b7c3
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c3dc]
xor r9, r9
mov dword [rsp + 0x20], eax
call fcn.00439400
mov rcx, rbp
call fcn.0043ae50
jmp 0x43bd48
lea rcx, [rbp + 0xd0]
lea rdx, [rbp + 0xfe0]
mov r8d, 0x104
call fcn.0040a680
cmp qword [rbp + 0xd0], 0
je 0x43b80d
lea rcx, [rbp + 0xc8]
lea rdx, [rbp + 0xde0]
mov r8d, pe_nt_image_headers64
call fcn.0040a680
cmp qword [rbp + 0xc8], 0
jne 0x43b8a1
lea rcx, [rbp + 0xb8]
lea rdx, [rbp + 0xfe0]
mov r8d, 0x104
call fcn.0040a680
lea rcx, [rbp + 0xb0]
lea rdx, [rbp + 0xde0]
mov r8d, pe_nt_image_headers64
call fcn.0040a680
lea rcx, [rbp + 0xc0]
mov edx, 3
mov r8, qword [rbp + 0xb8]
lea r9, [0x0043c448]
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x20], rax
call fcn.0040aa80
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c428]
mov r9, qword [rbp + 0xc0]
mov dword [rsp + 0x20], eax
call fcn.00439400
mov rcx, rbp
call fcn.0043ae50
jmp 0x43bd48
lea rcx, [rbp + 0xa0]
lea rdx, [rbp + 0x1800]
mov r8d, pe_nt_image_headers64
call fcn.0040a680
lea rcx, [rbp + 0xa8]
lea rdx, [0x0043c458]
mov r8, qword [rbp + 0xa0]
call fcn.0040a950
mov rcx, qword [0x0045caf0]
mov rdx, qword [rbp + 0xa8]
call fcn.00439190
lea rcx, [rbp + 0x90]
lea rdx, [rbp + 0x1600]
mov r8d, pe_nt_image_headers64
call fcn.0040a680
lea rcx, [rbp + 0x98]
lea rdx, [0x0043c478]
mov r8, qword [rbp + 0x90]
call fcn.0040a950
mov rcx, qword [0x0045caf0]
mov rdx, qword [rbp + 0x98]
call fcn.00439190
lea rcx, [rbp + 0x80]
lea rdx, [rbp + 0x1400]
mov r8d, pe_nt_image_headers64
call fcn.0040a680
lea rcx, [rbp + 0x88]
lea rdx, [0x0043c4a0]
mov r8, qword [rbp + 0x80]
call fcn.0040a950
mov rcx, qword [0x0045caf0]
mov rdx, qword [rbp + 0x88]
call fcn.00439190
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x1a08]
call fcn.00438f10
lea rcx, [rbp + 0x78]
lea rdx, [0x0043c4c8]
mov r8, qword [rbp + 0x70]
call fcn.0040a950
mov rcx, qword [0x0045caf0]
mov rdx, qword [rbp + 0x78]
call fcn.00439190
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x1a00]
call fcn.00439670
lea rcx, [rbp + 0x68]
lea rdx, [0x0043c4ec]
mov r8, qword [rbp + 0x60]
call fcn.0040a950
mov rcx, qword [0x0045caf0]
mov rdx, qword [rbp + 0x68]
call fcn.00439190
lea rcx, [rbp + 0x160]
mov edx, 0x20
xor r8, r8
call fcn.00406810
mov dword [rbp + 0x160], 0x20
mov rcx, qword [rbp + 0x1cb0]
lea rdx, [rbp + 0x1c60]
lea r8, [rbp + 0x13f0]
lea r9, [rbp + 0x160]
mov rax, qword [0x0044ed98]
call qword [rax]
test eax, eax
jne 0x43ba55
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c504]
xor r9, r9
mov dword [rsp + 0x20], eax
call fcn.00439400
mov rcx, rbp
call fcn.0043ae50
jmp 0x43bd48
lea rcx, [rbp + 0x50]
mov edx, dword [rbp + 0x164]
call fcn.00438f10
lea rcx, [rbp + 0x58]
lea rdx, [0x0043c558]
mov r8, qword [rbp + 0x50]
call fcn.0040a950
mov rcx, qword [0x0045caf0]
mov rdx, qword [rbp + 0x58]
call fcn.00439190
lea rcx, [rbp + 0x40]
mov edx, dword [rbp + 0x168]
call fcn.00438f10
lea rcx, [rbp + 0x48]
lea rdx, [0x0043c57c]
mov r8, qword [rbp + 0x40]
call fcn.0040a950
mov rcx, qword [0x0045caf0]
mov rdx, qword [rbp + 0x48]
call fcn.00439190
mov rcx, qword [rbp + 0x1cb0]
lea rdx, [rbp + 0x1c60]
lea r8, [rbp + 0x13f0]
mov rax, qword [0x0044f2c0]
call qword [rax]
test eax, eax
jne 0x43bb10
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c5a4]
xor r9, r9
mov dword [rsp + 0x20], eax
call fcn.00439400
mov rcx, rbp
call fcn.0043ae50
jmp 0x43bd48
mov rax, qword [0x0044f298]
call qword [rax]
mov qword [rbp + 0x1c58], rax
cmp qword [rbp + 0x1c58], 0xffffffffffffffff
jne 0x43bb77
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c5ec]
xor r9, r9
mov dword [rsp + 0x20], ebx
call fcn.00439400
cmp ebx, 8
jne 0x43bb6a
mov rcx, qword [0x0045caf0]
lea rdx, [0x0043c628]
call fcn.00439190
mov rcx, rbp
call fcn.0043ae50
jmp 0x43bd48
mov rcx, qword [0x0045caf0]
xor edx, edx
call fcn.00439190
lea rcx, [rbp + 0x1a10]
mov edx, 0x248
xor r8, r8
call fcn.00406810
mov dword [rbp + 0x1a10], 0x248
mov rcx, qword [rbp + 0x1cb0]
lea rdx, [rbp + 0x1c60]
lea r8, [rbp + 0x1a10]
mov rax, qword [0x0044ee60]
call qword [rax]
test eax, eax
jne 0x43bbf8
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c658]
xor r9, r9
mov dword [rsp + 0x20], eax
call fcn.00439400
mov rcx, rbp
call fcn.0043ae50
jmp 0x43bd48
mov rax, qword [rbp + 0x1c58]
mov qword [rbp + 0x1a38], rax
lea rax, [rbp + 0x1a14]
or dword [rax], 8
mov rcx, qword [rbp + 0x1cb0]
lea rdx, [rbp + 0x1c60]
lea r8, [rbp + 0x1a10]
mov rax, qword [0x0044f100]
call qword [rax]
test eax, eax
jne 0x43bc65
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c6ac]
xor r9, r9
mov dword [rsp + 0x20], eax
call fcn.00439400
mov rcx, rbp
call fcn.0043ae50
jmp 0x43bd48
mov ecx, 0x15
mov rdx, qword [rbp + 0x1cb0]
lea r8, [rbp + 0x1c60]
mov rax, qword [0x0044f188]
call qword [rax]
test eax, eax
jne 0x43bcb8
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c700]
xor r9, r9
mov dword [rsp + 0x20], eax
call fcn.00439400
mov rcx, rbp
call fcn.0043ae50
jmp 0x43bd48
mov dword [rbp + 0xdbc], 0
mov rcx, qword [rbp + 0x1c58]
mov edx, 0x40
xor r8, r8
lea r9, [0x0043ab30]
mov qword [rsp + 0x20], 0
lea rax, [rbp + 0xdbc]
mov qword [rsp + 0x28], rax
mov rax, qword [0x0044f268]
call qword [rax]
test eax, eax
jne 0x43bd3a
lea rcx, [rbp + 0x38]
mov edx, dword [rbp + 0xdbc]
call fcn.00438f10
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x00438cd8]
lea rdx, [0x0043be00]
lea r8, [0x0043c74c]
mov r9, qword [rbp + 0x38]
mov dword [rsp + 0x20], eax
call fcn.00439400
mov rcx, rbp
call fcn.0043ae50
jmp 0x43bd48
mov rcx, rbp
call fcn.0043ae50
mov al, 1
mov byte [rbp + 0x37], al
nop
lea rcx, [rbp + 0x38]
mov edx, 0x25
call fcn.004098f0
lea rcx, [rbp + 0x1cc0]
call fcn.00409810
movzx rax, byte [rbp + 0x37]
lea rsp, [rbp + 0x1c88]
pop rbx
pop rsi
pop rdi
pop rbp
ret