Function at 0x140012320
Capabilities:
Read .ini file

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x31e80]
mov eax, 0x31f80
call fcn.14008ea30
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x31fb0], rbx
mov qword [rsp + 0x31fb8], rsi
mov qword [rsp + 0x31fc0], rdi
mov rax, qword [0x1400cc010]
xor rax, rsp
mov qword [rbp + 0x31e70], rax
xor edx, edx
mov r8d, 0xc7bc
lea rcx, [rbp + 0x256b0]
call fcn.140062890
xor edx, edx
mov r8d, 0xc7bc
lea rcx, [rbp + 0x18ef0]
call fcn.140062890
xor esi, esi
mov edi, esi
mov r14d, esi
mov dword [rsp + 0x3c], esi
xor edx, edx
mov r8d, 0xc7bc
lea rcx, [rbp + 0xc730]
call fcn.140062890
lea rax, str.C:eSupporteDriverLIBInstallAll.ini
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x63de
lea r9, [rbp + 0x256b0]
lea r8, [0x1400aa174]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, esi
mov dword [rsp + 0x38], ebx
add eax, 2
mov dword [rsp + 0x40], eax
lea r12, [rsi - 1]
je 0x1400126d4
lea r14, str.C:eSupporteDriverLIBInstallAll.ini
cmp word [rbp + 0x256b0], si
je 0x1400126cf
mov eax, ebx
cmp word [rbp + rax*2 + 0x256b0], si
jne 0x1400126bd
mov eax, ebx
sub eax, edi
lea r13, [rbp + 0x256b0]
lea r13, [r13 + rax*2]
mov dword [rsp + 0x34], 0xffffffff
mov r15d, esi
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x800
lea r9, [rbp + 0x18ef0]
lea r8, [0x1400aa174]
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, esi
lea edx, [rax + 2]
mov dword [rsp + 0x30], edx
test edx, edx
je 0x1400126b9
lea r14, [rbp + 0x18ef0]
nop dword [rax + rax]
cmp word [rbp + 0x18ef0], si
je 0x1400126ae
cmp word [r14], si
jne 0x14001269d
mov eax, edi
sub eax, r15d
lea rbx, [rbp + 0x18ef0]
lea rbx, [rbx + rax*2]
mov r15d, 0xffffffff
mov rcx, r12
lea r8, str.APP_Name
nop word [rax + rax]
movzx eax, word [rbx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x1400124e6
add rcx, 2
cmp rcx, 9
je 0x1400125a5
movzx eax, word [rbx + rcx*2]
cmp ax, word [r8 + rcx*2]
je 0x1400124c0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140012690
xor edx, edx
mov r8d, 0xc7bc
lea rcx, [rsp + 0x70]
call fcn.140062890
lea rax, str.C:eSupporteDriverLIBInstallAll.ini
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x63de
lea r9, [rsp + 0x70]
lea r8, [0x1400aa174]
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r9d, esi
lea r11d, [rax + 2]
test r11d, r11d
je 0x14001268c
movzx r10d, word [rsp + 0x70]
nop word [rax + rax]
test r10w, r10w
je 0x14001268c
mov eax, r9d
cmp word [rsp + rax*2 + 0x70], si
jne 0x140012649
lea rbx, [rsp + 0x70]
mov rax, rsi
lea rdx, str.WirelessLan
nop word [rax + rax]
movzx ecx, word [rbx + rax*2]
cmp cx, word [rdx + rax*2]
jne 0x1400125ac
movzx ecx, word [rbx + rax*2 + 2]
cmp cx, word [rdx + rax*2 + 2]
jne 0x1400125ac
add rax, 2
cmp rax, 0xc
jne 0x140012580
mov r8d, esi
jmp 0x1400125b3
mov eax, esi
jmp 0x1400124eb
sbb r8d, r8d
or r8d, 1
mov rcx, rsi
lea rdx, str.WirelessLan_DCH
nop dword [rax]
movzx eax, word [rbx + rcx*2]
cmp ax, word [rdx + rcx*2]
jne 0x1400125e4
movzx eax, word [rbx + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x1400125e4
add rcx, 2
cmp rcx, 0x10
jne 0x1400125c0
mov edx, esi
jmp 0x1400125e9
sbb edx, edx
or edx, 1
mov rcx, rsi
nop dword [rax]
movzx eax, word [rbx + rcx*2]
lea rbx, str.WirelessLan_PIE_DCH
cmp ax, word [rbx + rcx*2]
lea rbx, [rsp + 0x70]
jne 0x14001262c
movzx eax, word [rbx + rcx*2 + 2]
lea rbx, str.WirelessLan_PIE_DCH
cmp ax, word [rbx + rcx*2 + 2]
lea rbx, [rsp + 0x70]
jne 0x14001262c
add rcx, 2
cmp rcx, 0x14
jne 0x1400125f0
mov eax, esi
jmp 0x140012631
sbb eax, eax
or eax, 1
test r8d, r8d
je 0x140012656
test edx, edx
je 0x140012656
test eax, eax
je 0x140012656
lea eax, [r9 + 1]
cmp word [rsp + rax*2 + 0x70], si
je 0x14001268c
inc r9d
cmp r9d, r11d
jae 0x14001268c
jmp 0x140012550
lea rax, str.C:eSupporteDriverLIBInstallAll.ini
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x63de
lea r9, [rbp + 0xc730]
lea r8, [0x1400aa174]
lea rdx, str.Slient_Install_Cmd
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [rsp + 0x3c], eax
mov edx, dword [rsp + 0x30]
lea eax, [rdi + 1]
cmp word [rbp + rax*2 + 0x18ef0], si
je 0x1400126ae
inc edi
add r14, 2
inc r15d
cmp edi, edx
jb 0x140012480
mov ebx, dword [rsp + 0x38]
lea r14, str.C:eSupporteDriverLIBInstallAll.ini
mov edi, dword [rsp + 0x34]
inc ebx
mov dword [rsp + 0x38], ebx
inc edi
cmp ebx, dword [rsp + 0x40]
jb 0x140012402
mov r14d, dword [rsp + 0x3c]
cmp word [rbp + 0xc730], si
jne 0x1400126e7
mov eax, 1
jmp 0x140012841
mov ebx, esi
mov ecx, 2
call fcn.14005da5c
mov rdi, rax
mov edx, esi
lea r9d, [r14 + 2]
test r9d, r9d
je 0x14001274c
movzx r10d, word [rbp + 0xc730]
nop dword [rax]
test r10w, r10w
je 0x14001274c
mov eax, edx
cmp word [rbp + rax*2 + 0xc730], si
jne 0x140012743
mov eax, edx
sub eax, ebx
lea rdi, [rbp + 0xc730]
lea rdi, [rdi + rax*2]
mov ebx, 0xffffffff
lea eax, [rdx + 1]
cmp word [rbp + rax*2 + 0xc730], si
je 0x14001274c
inc edx
inc ebx
cmp edx, r9d
jb 0x140012710
xor edx, edx
mov r8d, 0xc7bc
lea rcx, [rsp + 0x70]
call fcn.140062890
mov r9, rdi
lea r8, str.C:eSupporteDriver
lea rdx, [0x1400ac438]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], si
lea rax, [rsp + 0x70]
inc r12
cmp word [rax + r12*2], si
jne 0x140012792
mov r8, r12
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140001a40
nop
lea rcx, [rsp + 0x70]
call fcn.140040a00
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
lea rdx, [0x1400ac444]
call fcn.14006a054
test rax, rax
jne 0x1400127f8
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call fcn.140040a00
mov esi, 1
jmp 0x140012801
mov rcx, rax
call fcn.140069f7c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14001283f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001283a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012871
call fcn.14005da54
mov eax, esi
mov rcx, qword [rbp + 0x31e70]
xor rcx, rsp
call fcn.14005da30
lea r11, [rsp + 0x31f80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140064eec
int3