Function at 0x1400f5fe0
Capabilities:
Check if file exists
Copy file
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a00]
mov eax, 0x1b00
call fcn.1401e33b0
sub rsp, rax
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x19f0], rax
mov r15, r8
mov rbx, rdx
lea rdx, str.CBaseDlgMgr::ReadyPnPGraphicResource
lea rcx, [rsp + 0x70]
call fcn.14001abe0
nop
lea r12, [0x1402a8360]
lea rsi, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f60b5
test byte [rcx + 0x1c], 1
je 0x1400f607d
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x64
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f60b5
test byte [rcx + 0x1c], 1
je 0x1400f60b5
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x65
mov qword [rsp + 0x20], rbx
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x7e0]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5d0]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x11f0]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x9f0]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1c0]
call fcn.1401e7e40
xor edi, edi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x68], edi
mov qword [rsp + 0x60], rdi
mov rcx, r15
call fcn.140005020
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov rcx, rax
mov rax, qword [rax]
lea r8, [rbp + 0x11f0]
lea rdx, str.TEMPPATH
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
lea rcx, [rbp + 0x11f0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0x11ee], 0x5c
je 0x1400f6195
lea rdx, [0x140251df8]
lea rcx, [rbp + 0x11f0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp + 0x11f0]
lea rcx, [rbp + 0x5d0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.InsDrv.ini
lea rcx, [rbp + 0x5d0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rbp + 0x5d0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x7e0]
lea r8, [0x140251dfc]
mov rdx, rbx
lea rcx, str.Installer_Info
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
mov r10, qword [0x1402a8360]
cmp r10, r12
je 0x1400f62d5
test byte [r10 + 0x1c], 4
je 0x1400f6243
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x66
lea rax, [rbp + 0x11f0]
mov qword [rsp + 0x20], rax
lea r8, [0x14025f1b8]
mov rcx, qword [r10 + 0x10]
call fcn.140006c90
mov r10, qword [0x1402a8360]
cmp r10, r12
je 0x1400f62d5
test byte [r10 + 0x1c], 4
je 0x1400f628e
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x67
lea rax, [rbp + 0x5d0]
mov qword [rsp + 0x20], rax
lea r8, [0x14025f1b8]
mov rcx, qword [r10 + 0x10]
call fcn.140006c90
mov r10, qword [0x1402a8360]
cmp r10, r12
je 0x1400f62d5
test byte [r10 + 0x1c], 4
je 0x1400f62d5
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x68
lea rax, [rbp + 0x7e0]
mov qword [rsp + 0x20], rax
lea r8, [0x14025f1b8]
mov rcx, qword [r10 + 0x10]
call fcn.140006c90
mov r10, qword [0x1402a8360]
test ebx, ebx
je 0x1400f6b4d
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov rcx, rax
mov rax, qword [rax]
lea r8, [rbp + 0x9f0]
lea rdx, str.SOURCEDIR
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
lea rcx, [rbp + 0x9f0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0x9ee], 0x5c
je 0x1400f633e
lea rdx, [0x140251df8]
lea rcx, [rbp + 0x9f0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp + 0x7e0]
lea rcx, [rbp + 0x9f0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f6398
test byte [rcx + 0x1c], 4
je 0x1400f6398
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x69
lea rax, [rbp + 0x9f0]
mov qword [rsp + 0x20], rax
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rbp + 0x9f0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400f640c
mov r10, qword [0x1402a8360]
cmp r10, r12
je 0x1400f63e9
test byte [r10 + 0x1c], 4
je 0x1400f63e9
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x6c]
lea r8, [0x14025f1b8]
mov rcx, qword [r10 + 0x10]
call fcn.140001ad0
mov r10, qword [0x1402a8360]
mov byte [rsp + 0x78], 1
cmp r10, r12
je 0x1400f6bd0
test byte [r10 + 0x1c], 1
je 0x1400f6bd0
mov edx, WSAGetLastError
jmp 0x1400f6b9e
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x3d0]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x40]
call fcn.1401e7e40
mov qword [rsp + 0x40], 0x100
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x100
lea rax, [rbp + 0x3d0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x9f0]
call fcn.1401fded0
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x1400f6c6f
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x40]
mov r14, 0xffffffffffffffff
cmp rax, 0x10000
jae 0x1400f64be
lea rax, [rbp - 0x40]
movzx edx, ax
lea rcx, [rsp + 0x58]
call fcn.1400041d0
jmp 0x1400f64e1
lea rcx, [rbp - 0x40]
mov rax, r14
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400f64c5
mov r8d, eax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.140004e60
nop
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f6524
test byte [rcx + 0x1c], 4
je 0x1400f6524
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, WSAGetLastError
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rdx, str..av_
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.1401ecc18
lea rcx, str..avi
lea r13, str..bmp
test eax, eax
jne 0x1400f655f
mov rax, r14
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400f6550
mov rdx, rcx
jmp 0x1400f658f
lea rdx, str..bm_
mov rcx, rbx
call fcn.1401ecc18
test eax, eax
jne 0x1400f65a1
mov rax, r14
nop word [rax + rax]
inc rax
cmp word [r13 + rax*2], 0
jne 0x1400f6580
mov rdx, r13
mov r8d, eax
lea rcx, [rsp + 0x58]
call fcn.140004e60
mov rbx, qword [rsp + 0x58]
mov r8, rbx
mov edx, 0x100
lea rcx, [rbp + 0x3d0]
call fcn.1401ec614
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f65fb
test byte [rcx + 0x1c], 4
je 0x1400f65fb
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.WSOCK32.dll_WSAGetLastError
lea rax, [rbp + 0x3d0]
mov qword [rsp + 0x20], rax
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rdx, str..avi
mov rcx, rbx
call fcn.1401ecc18
test eax, eax
jne 0x1400f6648
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f6698
test byte [rcx + 0x1c], 4
je 0x1400f6698
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x70]
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
jmp 0x1400f6698
mov rdx, r13
mov rcx, rbx
call fcn.1401ecc18
test eax, eax
jne 0x1400f6a9a
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f6693
test byte [rcx + 0x1c], 4
je 0x1400f6693
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x71]
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov edi, 1
lea rdx, [rbp + 0x11f0]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f6706
test byte [rcx + 0x1c], 4
je 0x1400f6706
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.WSOCK32.dll_WSACleanup
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x6c]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x9f0]
call qword [sym.imp.SETUPAPI.dll_SetupGetFileCompressionInfoW]
test eax, eax
jne 0x1400f6a21
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f677d
test byte [rcx + 0x1c], 4
je 0x1400f677d
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x75]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
mov eax, dword [rsp + 0x50]
test eax, eax
jne 0x1400f6843
lea r8d, [rax + 1]
lea rdx, [rbp + 0x1c0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400f67c7
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f68fd
test byte [rcx + 0x1c], 4
je 0x1400f68fd
mov edx, 0x76
jmp 0x1400f68da
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f6821
test byte [rcx + 0x1c], 2
je 0x1400f6821
mov rdi, rsi
cmp qword [0x1402bbdc8], 8
cmovae rdi, qword [0x1402bbdb0]
lea rcx, [rsp + 0x70]
call fcn.14001b0b0
mov edx, 0x77
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x14025f1b8]
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
mov byte [rsp + 0x78], 1
cmp rcx, r12
je 0x1400f6b1b
test byte [rcx + 0x1c], 1
je 0x1400f6b1b
mov edx, 0x78
jmp 0x1400f6af0
dec eax
cmp eax, 1
jbe 0x1400f68a6
cmp rcx, r12
je 0x1400f6884
test byte [rcx + 0x1c], 4
je 0x1400f6884
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x7c
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rcx, qword [0x1402a8360]
mov byte [rsp + 0x78], 1
cmp rcx, r12
je 0x1400f6b1b
test byte [rcx + 0x1c], 1
je 0x1400f6b1b
mov edx, 0x7d
jmp 0x1400f6af0
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x1c0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SETUPAPI.dll_SetupDecompressOrCopyFileW]
test eax, eax
jne 0x1400f69a5
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f68fd
test byte [rcx + 0x1c], 4
je 0x1400f68fd
lea edx, [rax + 0x79]
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
lea r8, [rbp + 0x1c0]
lea rdx, [0x1402548bc]
mov rcx, r15
call fcn.140018e20
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f695c
test byte [rcx + 0x1c], 4
je 0x1400f695c
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x80
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
mov byte [rsp + 0x78], 1
cmp rcx, r12
je 0x1400f6b1e
test byte [rcx + 0x1c], 1
je 0x1400f6b1e
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x81
mov dword [rsp + 0x20], edi
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
jmp 0x1400f6b1e
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f69ff
test byte [rcx + 0x1c], 2
je 0x1400f69ff
mov rdi, rsi
cmp qword [0x1402bbdc8], 8
cmovae rdi, qword [0x1402bbdb0]
lea rcx, [rsp + 0x70]
call fcn.14001b0b0
mov edx, 0x7a
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x14025f1b8]
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
mov byte [rsp + 0x78], 1
cmp rcx, r12
je 0x1400f6b1b
test byte [rcx + 0x1c], 1
je 0x1400f6b1b
mov edx, 0x7b
jmp 0x1400f6af0
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f6a7b
test byte [rcx + 0x1c], 2
je 0x1400f6a7b
mov rdi, rsi
cmp qword [0x1402bbdc8], 8
cmovae rdi, qword [0x1402bbdb0]
lea rcx, [rsp + 0x70]
call fcn.14001b0b0
mov edx, 0x7e
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x14025f1b8]
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
mov byte [rsp + 0x78], 1
cmp rcx, r12
je 0x1400f6b1b
test byte [rcx + 0x1c], 1
je 0x1400f6b1b
mov edx, 0x7f
jmp 0x1400f6af0
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1400f6adb
test byte [rcx + 0x1c], 4
je 0x1400f6adb
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, WSAStartup
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rcx, qword [0x1402a8360]
mov byte [rsp + 0x78], 1
cmp rcx, r12
je 0x1400f6b1b
test byte [rcx + 0x1c], 1
je 0x1400f6b1b
mov edx, reloc.WSOCK32.dll_WSAStartup
mov r9, rsi
cmp qword [0x1402bbdc8], 8
mov dword [rsp + 0x20], 0xffffffff
cmovae r9, qword [0x1402bbdb0]
lea r8, [0x14025f1b8]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
mov edi, r14d
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x1400f6b41
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov r10, qword [0x1402a8360]
jmp 0x1400f6bd7
cmp r10, r12
je 0x1400f6b88
test byte [r10 + 0x1c], 4
je 0x1400f6b88
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x6a
lea r8, [0x14025f1b8]
mov rcx, qword [r10 + 0x10]
call fcn.140001ad0
mov r10, qword [0x1402a8360]
mov byte [rsp + 0x78], 1
cmp r10, r12
je 0x1400f6bd0
test byte [r10 + 0x1c], 1
je 0x1400f6bd0
mov edx, WSAGetLastError
mov r9, rsi
cmp qword [0x1402bbdc8], 8
mov dword [rsp + 0x20], 0xffffffff
cmovae r9, qword [0x1402bbdb0]
lea r8, [0x14025f1b8]
mov rcx, qword [r10 + 0x10]
call fcn.140001b40
mov r10, qword [0x1402a8360]
mov rdi, 0xffffffffffffffff
lea rax, vtable.WppTrace.0
mov qword [rsp + 0x70], rax
cmp byte [rsp + 0x78], 0
jne 0x1400f6c31
cmp r10, r12
je 0x1400f6c31
test byte [r10 + 0x1c], 1
je 0x1400f6c31
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
cmp qword [0x1402bbdc8], 8
cmovae rsi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rcx
mov r9, rsi
lea r8, [0x140252818]
mov rcx, qword [r10 + 0x10]
call fcn.140006c90
lea rcx, [rbp - 0x60]
call fcn.1400048a0
lea rcx, [rbp - 0x80]
call fcn.1400048a0
mov eax, edi
mov rcx, qword [rbp + 0x19f0]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x1b40]
add rsp, 0x1b00
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001470
int3