Function at 0x14000a870
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x298
mov rax, qword [0x14005bed0]
xor rax, rsp
mov qword [rsp + 0x280], rax
movsxd r15, dword [rsp + 0x2f0]
mov rbp, qword [rsp + 0x2f8]
xor esi, esi
mov r12, r9
mov qword [rsp + 0x48], r9
mov rdi, rcx
mov ebx, esi
cmp r15d, 1
je 0x14000a8c7
cmp r15d, 2
je 0x14000a8c7
cmp r15d, 3
jne 0x14000acab
lea rcx, str.Trying_to_install__s...
mov rdx, r9
call fcn.140008040
mov rcx, r12
call fcn.140009ed0
test eax, eax
jne 0x14000a8f8
lea rcx, str.Component_already_installed___Installer_will_exit
call fcn.140008040
mov ebx, 0x800f0202
jmp 0x14000acab
lea rcx, str.avfwim.sys
call fcn.140009cb0
lea rdx, [rsp + 0x58]
mov rcx, rdi
mov qword [rsp + 0x58], rsi
call fcn.140008e70
mov ebx, eax
test eax, eax
je 0x14000a94d
lea rcx, str.Install_FAILED___ERROR_0x_x__
mov edx, eax
call fcn.140008040
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x14000acd6
mov rcx, rdi
call fcn.140009130
mov rcx, rdi
call fcn.14001ccf0
jmp 0x14000acd6
lea rcx, [0x14004e800]
mov qword [rsp + 0x2d8], r13
mov qword [rsp + 0x290], r14
call fcn.140008040
lea rdx, [0x14004e7fc]
lea rcx, str.InstallationInfs
call fcn.14001eed0
mov r14, rax
call fcn.14000e400
lea r12, [rbp + 0x10]
mov r13, rax
cmp rbp, r12
jae 0x14000aa7e
nop word [rax + rax]
mov r10, qword [rbp]
test r10, r10
je 0x14000aa71
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r10
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x14000aa71
mov qword [rsp + 0x38], rsi
xor r9d, r9d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rsi
lea r8d, [r9 + 1]
mov rdx, r13
mov rcx, r10
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfW]
test eax, eax
je 0x14000aa49
mov rdx, qword [rbp]
lea r8, [rsp + 0x70]
lea rcx, str._s_was_copied_to__s
call fcn.140008040
lea rcx, [rsp + 0x70]
mov edx, 0x5c
call fcn.14001e518
mov r11, rax
test rax, rax
je 0x14000aa71
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [r11 + 2]
repne scasw ax, word [rdi]
lea r8d, [rax + 2]
mov r9, r14
not rcx
mov rdx, rcx
lea rcx, [r11 + 2]
call fcn.14001f74c
jmp 0x14000aa71
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbp]
lea rcx, str._s_was_not_copied___ERROR__u__
mov r8d, eax
mov ebx, eax
call fcn.140008040
test ebx, ebx
jle 0x14000aa71
movzx ebx, bx
or ebx, 0x80070000
add rbp, 8
cmp rbp, r12
jb 0x14000a9a0
test r13, r13
je 0x14000aa8b
mov rcx, r13
call fcn.14001ccf0
mov r13, qword [rsp + 0x2d8]
test r14, r14
je 0x14000aaa0
mov rcx, r14
call fcn.14001f558
mov r14, qword [rsp + 0x290]
test ebx, ebx
jne 0x14000ac83
lea rcx, str.Call_to_get_network_configuration...
call fcn.140008040
lea edx, [rbx + 6]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
js 0x14000abbc
xor edx, edx
lea rax, [rsp + 0x40]
lea r9, [0x14004f7e0]
lea r8d, [rdx + 1]
lea rcx, [0x14004f870]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x14000abb6
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x50], rsi
lea r8, [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [0x14004f7f0]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x14000ab92
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x60]
lea r8, str.Sample_Netcfg_Application__netcfg.exe_
mov rax, qword [rcx]
mov edx, 0x3a98
call qword [rax + 0x18]
mov ebx, eax
cmp eax, 1
jne 0x14000ab5b
mov rdx, qword [rsp + 0x60]
lea rcx, str.Could_not_lock_INetcfg__it_is_already_locked_by__s
mov ebx, 0x8004a024
call fcn.140008040
jmp 0x14000ab92
test eax, eax
js 0x14000ab92
mov rcx, qword [rsp + 0x40]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
js 0x14000ab82
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
mov rax, qword [rsi]
call qword [rax + 8]
jmp 0x14000ab92
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000aba2
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000aba2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000abb2
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jns 0x14000abc4
call qword [sym.imp.ole32.dll_CoUninitialize]
test ebx, ebx
js 0x14000ac61
lea rcx, str.Call_to_install_network_component...
call fcn.140008040
mov rdx, qword [rsp + 0x48]
lea rax, [0x14005b068]
mov r8, qword [rax + r15*8]
mov rcx, rsi
call fcn.140008590
mov ebx, eax
test eax, eax
js 0x14000ac02
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
lea rcx, str.Applying_network_result____x__...
mov ebx, eax
jmp 0x14000ac09
lea rcx, str.Call_to_install_network_component_FAILED____x__...
mov edx, eax
call fcn.140008040
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
test eax, eax
js 0x14000ac50
mov rax, qword [rsi]
lea r8, [rsp + 0x48]
lea rdx, [0x14004f7f0]
mov rcx, rsi
call qword [rax]
test eax, eax
js 0x14000ac50
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000ac50
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14000ac6f
lea rcx, str.Call_to_get_network_configuration_FAILED____x__...
mov edx, ebx
call fcn.140008040
test ebx, ebx
jne 0x14000ac83
lea rcx, str.AVFWIM_Installed_successfully
xor edx, edx
call fcn.140008040
jmp 0x14000acab
lea rcx, str.AVFWIM_Install_FAILED___ERROR_0x_x__
mov edx, ebx
call fcn.140008040
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x14000acab
mov rcx, rdi
call fcn.140009130
mov rcx, rdi
call fcn.14001ccf0
cmp dword [rsp + 0x300], 0
je 0x14000acc8
lea rcx, str.proceed_with_the_TDI_driver_installation
call fcn.140008040
call fcn.14000a310
mov ebx, eax
lea rcx, str.Network_installation_result__x
mov edx, ebx
call fcn.140008040
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14001d550
add rsp, 0x298
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret