Function at 0x140088b40
Capabilities:
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 - 0x840]
sub rsp, 0x940
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x830], rax
mov r12, r8
mov rsi, rdx
lea rdx, str.InstallUsbPrinter::GetDriverInfoFromFiles
lea rcx, [rbp - 0x40]
call fcn.14001abe0
nop
lea r13, [0x1402a8360]
lea rdi, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140088bcf
test byte [rcx + 0x1c], 1
je 0x140088bcf
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x28
lea r8, [0x140258570]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x30]
call fcn.1401e7e40
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400136d6.0]
mov ebx, dword [rax + 0xa64]
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
lea r8, [rbp + 0x30]
lea rdx, str.TEMPPATH
mov rcx, r9
call qword [case.0x1400136d6.0]
lea rcx, [rbp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, str.InsDrv.ini
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], reloc.WSOCK32.dll_recv
lea r9, [rbp + 0x10]
lea r8, [0x140255230]
lea rdx, str.PnPWatch
lea rcx, str.Installer_Info
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [0x140255230]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
mov ecx, edx
test eax, eax
sete cl
mov dword [rsi], ecx
mov r14d, 0xffffffff
mov r15d, r14d
mov dword [rsp + 0x30], r14d
lea esi, [rdx + 1]
cmp ebx, 2
jne 0x140088cfd
cmp dword [0x1402bbfd8], edx
je 0x140088cc2
mov eax, esi
mov ecx, ebx
jmp 0x140088cc6
mov eax, edx
mov ecx, esi
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400484a0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14004fa10
nop
lea rcx, [rsp + 0x48]
call fcn.140048610
mov r15d, dword [rsp + 0x30]
mov rax, qword [0x1402bc020]
mov r8d, r15d
mov rdx, r12
lea rcx, [0x1402bc020]
mov rax, qword [rax]
call qword [case.0x1400136d6.0]
cmp dword [0x1402bbfcc], 0
je 0x140088e6b
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x140088f45
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov r12, rax
sub esi, dword [rbx - 8]
mov ecx, dword [rbx - 0xc]
sub ecx, 0x400
or ecx, esi
jge 0x140088d89
mov edx, 0x400
lea rcx, [rsp + 0x38]
call fcn.140004e00
mov rbx, qword [rsp + 0x38]
mov rax, qword [r12]
mov r8, rbx
lea rdx, str.DeviceName
mov rcx, r12
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1401eca00
test eax, eax
js 0x140088f50
cmp eax, dword [rbx - 0xc]
jg 0x140088f50
mov dword [rbx - 0x10], eax
cdqe
xor ecx, ecx
mov word [rbx + rax*2], cx
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400136d6.0]
cmp dword [rax + 0xa64], 2
jne 0x140088e16
lea rcx, [rsp + 0x50]
call fcn.140064bb0
nop
lea r8, [rsp + 0x38]
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.1400683b0
nop
lea rcx, [rsp + 0x50]
call fcn.140064df0
mov rbx, qword [rsp + 0x38]
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov r8, rbx
lea rdx, str.USB_ADDED_DRIVERNAME
mov rcx, r9
call qword [case.0x1400136d6.0]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x140088e6b
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov al, 1
mov byte [rbp - 0x38], al
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140088eb4
test byte [rcx + 0x1c], al
je 0x140088eb4
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x29
lea r8, [0x140258570]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
movzx eax, byte [rbp - 0x38]
mov rcx, qword [0x1402a8360]
lea rdx, vtable.WppTrace.0
mov qword [rbp - 0x40], rdx
test al, al
jne 0x140088f09
cmp rcx, r13
je 0x140088f09
test byte [rcx + 0x1c], 1
je 0x140088f09
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
cmp qword [0x1402bbdc8], 8
cmovae rdi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rbp - 0x10]
call fcn.1400048a0
lea rcx, [rbp - 0x30]
call fcn.1400048a0
mov rcx, qword [rbp + 0x830]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x980]
add rsp, 0x940
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001470
nop
mov ecx, 0x80070057
call fcn.140001470
int3