Function at 0x140007cb0
Capabilities:
Initialize winsock library

Disassembly:
push rbx
push rbp
push rsi
push r12
push r13
push r15
sub rsp, 0x558
mov rax, qword [0x1401dd3a0]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov rsi, qword [rsp + 0x5b0]
xor r15d, r15d
mov rbx, rdx
lea rdx, [rsp + 0x50]
mov r12, r9
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0xa8], r8
mov dword [rsp + 0x54], ecx
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x40], r15
mov r13d, r15d
mov ebp, r15d
mov dword [rsp + 0x64], 0x103
call fcn.14002e6a0
mov r9, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x140007d49
call fcn.1400de36c
lea rdx, str.InstallIfsLspProtocolChains:_Unable_to_enumerate_catalog_n
lea rcx, [rax + 0x60]
call fcn.1400df124
or eax, 0xffffffff
jmp 0x140008db8
mov qword [rsp + 0x598], rdi
mov qword [rsp + 0x550], r14
mov r14d, dword [rsp + 0x50]
mov edx, r15d
lea rdi, str....._src_netlspinstaller_srcinstall.cpp
test r14d, r14d
jle 0x140007dac
nop dword [rax]
movsxd rax, edx
imul rax, rax, 0x274
mov r8, qword [rax + r9 + 0x14]
lea rcx, [rax + r9 + 0x14]
cmp r8, qword [rbx]
jne 0x140007d98
mov r8, qword [rcx + 8]
cmp r8, qword [rbx + 8]
jne 0x140007d98
mov eax, r15d
jmp 0x140007d9d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x140007f2a
inc edx
cmp edx, r14d
jl 0x140007d70
mov dword [rsp + 0x60], r15d
lea rcx, str.swifdiag.log
call fcn.140001910
mov rbx, rax
test rax, rax
je 0x140007ec6
mov rax, qword [rax]
lea rcx, str.installIfsLspProtocolChains
lea r8, str.default
mov qword [rsp + 0x20], rcx
mov r9, rdi
mov edx, 3
mov rcx, rbx
call qword [rax + 8]
test al, al
je 0x140007ec6
mov byte [rbx + 0xf8], 0x61
mov eax, r15d
mov r8b, 0x2e
mov rcx, rdi
mov edx, 1
nop word [rax + rax]
cmp r8b, 0x5c
movzx r8d, byte [rcx + 1]
cmove eax, edx
inc rcx
inc edx
test r8b, r8b
jne 0x140007e10
add rax, rdi
mov rcx, rbx
mov dword [rbx + 0x108], 0x641
mov qword [rbx + 0x100], rax
lea rax, str.installIfsLspProtocolChains
mov qword [rbx + 0x110], rax
call fcn.1400027f0
mov rbx, r15
mov rdi, rax
lea r15, str.ASSERTION_FAILED:_dwDummyLspId___0
nop dword [rax]
inc rbx
cmp byte [rbx + r15], bpl
jne 0x140007e60
mov ecx, dword [rax + 0x430]
mov dword [rax + 0x430], ebp
cmp ebx, ecx
jge 0x140007eae
movzx eax, byte [rax + 0x42c]
sub ecx, ebx
mov byte [rsp + 0x30], al
mov esi, ecx
nop dword [rax + rax]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rdi
call fcn.14002f090
sub rsi, 1
jne 0x140007e90
mov rsi, qword [rsp + 0x68]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call fcn.14002f090
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + 8]
mov edi, dword [rsp + 0x5b8]
mov rcx, qword [0x1401e3ce8]
mov edx, 8
mov r8, rdi
mov qword [rsp + 0xa0], rdi
imul r8, r8, 0x274
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x140007f58
mov ebx, 0x2747
mov dword [rsp + 0x34], ebx
call fcn.1400de36c
lea rdx, str.InstallIfsLspProtocolChains:_LspAlloc_failed:__d_n
lea rcx, [rax + 0x60]
mov r8d, ebx
call fcn.1400df124
mov r13, rbp
or ebx, 0xffffffff
jmp 0x140008d5f
movsxd rax, edx
imul rax, rax, 0x274
add rax, r9
je 0x140007dac
mov edi, dword [rax + 0x24]
mov dword [rsp + 0x60], edi
test edi, edi
jne 0x140007ec6
lea rdi, str....._src_netlspinstaller_srcinstall.cpp
jmp 0x140007db1
xor eax, eax
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x98], rcx
test edi, edi
jle 0x1400082b9
mov rdx, rsi
mov qword [rsp + 0x88], rdx
nop word [rax + rax]
xor esi, esi
mov dword [rsp + 0x58], esi
test r14d, r14d
jle 0x14000828f
mov r12, qword [rsp + 0x48]
xor ebx, ebx
mov rdi, rcx
lea r15d, [rax + 1]
mov qword [rsp + 0x80], rbx
imul rdi, rdi, 0x274
add rdi, qword [rsp + 0x78]
add r12, 0x28
nop word [rax + rax]
mov r8d, dword [r12 - 4]
mov edx, dword [rdx]
lea rcx, str.Matching_selected_ID__d_to_catalog__d_n
call fcn.1400deedc
mov rdx, qword [rsp + 0x88]
mov r11d, dword [r12 - 4]
cmp dword [rdx], r11d
jne 0x140008252
cmp dword [r12], 6
jge 0x140008453
lea rdx, [r12 - 0x28]
mov rcx, rdi
mov r8d, 0x274
call fcn.1400e1e90
lea rcx, [rsp + 0xb0]
lea rdx, [r12 - 0x28]
mov r8d, 0x274
call fcn.1400e1e90
mov rax, qword [rsp + 0x78]
movsxd r11, dword [rsp + 0x5c]
imul r11, r11, 0x274
mov r9, qword [rsp + 0xa8]
lea r8, [0x14019fd88]
lea rcx, [r11 + rax + 0x74]
mov edx, 0xff
call fcn.140002920
mov ebx, eax
test eax, eax
js 0x14000842e
mov eax, dword [r12]
cmp eax, 2
jl 0x1400080ed
lea ebx, [rax - 2]
movsxd r9, ebx
test ebx, ebx
js 0x1400080ed
mov rbp, qword [rsp + 0x48]
mov rax, qword [rsp + 0x80]
add rax, r9
lea r11, [rbp + 0x24]
lea r10, [rbp + rax*4 + 0x2c]
jmp 0x1400080a5
mov rbp, qword [rsp + 0x48]
mov r8d, dword [r10]
xor ecx, ecx
mov rax, r11
xor edx, edx
nop
cmp dword [rax], r8d
je 0x1400080c9
inc ecx
inc rdx
add rax, 0x274
cmp ecx, r14d
jl 0x1400080b0
xor ebp, ebp
jmp 0x1400080e1
imul rdx, rdx, 0x274
mov ebp, dword [rdx + rbp]
shr ebp, 0x11
not ebp
and ebp, 1
jne 0x14000817c
dec ebx
sub r10, 4
sub r9, 1
jns 0x1400080a0
cmp ebp, 1
je 0x14000813c
mov eax, dword [rdi + 0x28]
mov ecx, 6
cmp eax, ecx
cmovl ecx, eax
movsxd rdx, ecx
test ecx, ecx
jle 0x140008122
lea rcx, [rdi + rdx*4 + 0x2c]
nop dword [rax + rax]
mov eax, dword [rcx - 4]
dec rdx
sub rcx, 4
mov dword [rcx + 4], eax
test rdx, rdx
jg 0x140008110
mov eax, dword [rsp + 0x60]
mov dword [rdi + 0x2c], eax
inc dword [rdi + 0x28]
mov eax, dword [rsp + 0xd4]
or dword [rdi], 0x20000
mov dword [rdi + 0x30], eax
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x80]
mov esi, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x88]
inc eax
inc rcx
inc r15d
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0x98], rcx
add rdi, 0x274
jmp 0x14000825e
mov eax, dword [r12]
mov ecx, 6
lea r10d, [rbx + 1]
cmp eax, ecx
movsxd r9, r10d
cmovl ecx, eax
movsxd rdx, ecx
cmp rdx, r9
jle 0x1400081c2
lea r8, [r12 + rdx*4 + 4]
sub rdx, r9
nop word [rax + rax]
mov eax, dword [r8 - 4]
add r8, 0xfffffffffffffffc
sub rdx, 1
mov dword [r8 + 4], eax
jne 0x1400081b0
mov dword [r12 + r9*4 + 4], 0
inc dword [r12]
movsxd rax, r10d
lea r8, [rdi + rax*4 + 0x2c]
sub rax, rax
mov dword [r12 + 0x48], r15d
lea r9, [rdi + rax*4 + 0x30]
mov edx, r10d
nop word [rax + rax]
mov eax, dword [rdi + 0x28]
mov ecx, 7
cmp eax, ecx
cmovl ecx, eax
cmp edx, ecx
jge 0x140008213
mov eax, dword [r8]
inc edx
add r8, 4
mov dword [r9], eax
add r9, 4
jmp 0x1400081f0
mov eax, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xb0]
mov dword [rdi + 0x2c], eax
mov eax, 1
mov r9d, r15d
sub eax, r10d
mov r8d, r14d
mov r13d, 1
add dword [rdi + 0x28], eax
or dword [rdi], 0x20000
mov dword [rsp + 0x20], ebx
call fcn.140007a80
jmp 0x14000813c
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x98]
inc esi
add rbx, 0x9d
add r12, 0x274
cmp esi, r14d
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x80], rbx
jl 0x140007fd0
mov r8d, dword [rsp + 0x38]
mov edi, dword [rsp + 0x5b8]
inc r8d
add rdx, 4
cmp r8d, edi
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x88], rdx
jl 0x140007f90
mov r12, qword [rsp + 0x90]
mov r15, qword [rsp + 0x78]
cmp eax, edi
je 0x1400083c9
lea rcx, str.swifdiag.log
call fcn.140001910
mov rbx, rax
test rax, rax
je 0x1400083c9
mov rax, qword [rax]
lea rsi, str....._src_netlspinstaller_srcinstall.cpp
lea rbp, str.installIfsLspProtocolChains
lea r8, str.default
mov r9, rsi
mov edx, 3
mov rcx, rbx
mov qword [rsp + 0x20], rbp
call qword [rax + 8]
test al, al
je 0x1400083c9
mov byte [rbx + 0xf8], 0x61
xor eax, eax
mov r8b, 0x2e
mov rcx, rsi
mov edx, 1
cmp r8b, 0x5c
movzx r8d, byte [rcx + 1]
cmove eax, edx
inc rcx
inc edx
test r8b, r8b
jne 0x140008320
add rax, rsi
mov rcx, rbx
mov dword [rbx + 0x108], 0x6b0
mov qword [rbx + 0x100], rax
mov qword [rbx + 0x110], rbp
call fcn.1400027f0
xor ebx, ebx
lea rbp, str.ASSERTION_FAILED:_LayerIdx___int_dwCatalogIdArrayCount
mov rdi, rax
inc rbx
cmp byte [rbx + rbp], 0
jne 0x140008365
mov ecx, dword [rax + 0x430]
mov dword [rax + 0x430], 0
cmp ebx, ecx
jge 0x1400083aa
movzx eax, byte [rax + 0x42c]
sub ecx, ebx
mov byte [rsp + 0x30], al
mov esi, ecx
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rdi
call fcn.14002f090
sub rsi, 1
jne 0x140008391
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
call fcn.14002f090
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + 8]
mov edi, dword [rsp + 0x5b8]
xor ebx, ebx
test edi, edi
jle 0x1400084c4
mov ebp, dword [rsp + 0x54]
nop word [rax + rax]
movsxd rdi, ebx
imul rdi, rdi, 0x274
add rdi, r15
lea rcx, [rdi + 0x14]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
jne 0x140008497
lea rdx, [rdi + 0x14]
mov r9, rdi
mov r8, r12
mov ecx, ebp
mov dword [rsp + 0x20], 1
call fcn.140007280
test eax, eax
jne 0x140008475
mov edi, dword [rsp + 0x5b8]
inc ebx
cmp ebx, edi
jl 0x1400083e0
jmp 0x1400084c8
call fcn.1400de36c
lea rdx, str.InstallIfsLspProtocolChains:_StringCchPrintfW_failed:_0x_x_n
mov r8d, ebx
lea rcx, [rax + 0x60]
call fcn.1400df124
mov r13, qword [rsp + 0x40]
or ebx, 0xffffffff
jmp 0x140008d5f
call fcn.1400de36c
lea rdx, str.InstallIfsLspProtocolChain:_Too_many_LSPs_installed__n
lea rcx, [rax + 0x60]
call fcn.1400df124
mov r13, qword [rsp + 0x40]
or ebx, 0xffffffff
jmp 0x140008d5f
call fcn.1400de36c
lea rdx, str.InstallIfsLspProtocolChains:_Unable_to_install_the_dummy_LSP_entry__n
lea rcx, [rax + 0x60]
call fcn.1400df124
mov r13, qword [rsp + 0x40]
or ebx, 0xffffffff
jmp 0x140008d5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400de36c
lea rdx, str.InstallIfsLspProtocolChains:_UuidCreate_failed:__d_n
lea rcx, [rax + 0x60]
mov r8d, ebx
call fcn.1400df124
mov r13, qword [rsp + 0x40]
or ebx, 0xffffffff
jmp 0x140008d5f
mov ebp, dword [rsp + 0x54]
cmp r13d, 1
jne 0x140008d2a
mov r13d, dword [rsp + 0x54]
lea rdx, [rsp + 0x38]
mov ecx, r13d
call fcn.14002e6a0
mov r9, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x140008513
call fcn.1400de36c
lea rdx, str.InstallIfsLspProtocolChains:_Unable_to_enumerate_catalog_n
lea rcx, [rax + 0x60]
call fcn.1400df124
mov r13, qword [rsp + 0x40]
or ebx, 0xffffffff
jmp 0x140008d5f
test edi, edi
jle 0x1400086c9
mov r12d, dword [rsp + 0x38]
lea r13, [r15 + 0x24]
lea rbp, [r15 + 0x14]
lea r15, str....._src_netlspinstaller_srcinstall.cpp
lea rsi, str.ASSERTION_FAILED:_pLayeredEntries__i__.dwCatalogEntryId___0
lea r14, str.installIfsLspProtocolChains
nop dword [rax]
xor edx, edx
test r12d, r12d
jle 0x14000858c
nop word [rax + rax]
movsxd rax, edx
imul rax, rax, 0x274
mov r8, qword [rax + r9 + 0x14]
lea rcx, [rax + r9 + 0x14]
cmp r8, qword [rbp]
jne 0x140008578
mov r8, qword [rcx + 8]
cmp r8, qword [rbp + 8]
jne 0x140008578
xor eax, eax
jmp 0x14000857d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1400087a1
inc edx
cmp edx, r12d
jl 0x140008550
xor ecx, ecx
mov dword [r13], ecx
test ecx, ecx
jne 0x14000869d
lea rcx, str.swifdiag.log
call fcn.140001910
mov rbx, rax
test rax, rax
je 0x140008698
mov r10, qword [rax]
lea r8, str.default
mov r9, r15
mov edx, 3
mov rcx, rax
mov qword [rsp + 0x20], r14
call qword [r10 + 8]
test al, al
je 0x140008698
mov byte [rbx + 0xf8], 0x61
xor eax, eax
mov r8b, 0x2e
mov rcx, r15
mov edx, 1
nop dword [rax]
cmp r8b, 0x5c
movzx r8d, byte [rcx + 1]
cmove eax, edx
inc rcx
inc edx
test r8b, r8b
jne 0x1400085f0
add rax, r15
mov rcx, rbx
mov dword [rbx + 0x108], 0x6d7
mov qword [rbx + 0x100], rax
mov qword [rbx + 0x110], r14
call fcn.1400027f0
mov rdi, rax
xor ebx, ebx
nop
inc rbx
cmp byte [rbx + rsi], 0
jne 0x140008630
mov ecx, dword [rax + 0x430]
mov dword [rax + 0x430], 0
cmp ebx, ecx
jge 0x140008680
movzx eax, byte [rax + 0x42c]
sub ecx, ebx
mov byte [rsp + 0x30], al
mov esi, ecx
nop dword [rax]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rdi
call fcn.14002f090
sub rsi, 1
jne 0x140008660
lea rsi, str.ASSERTION_FAILED:_pLayeredEntries__i__.dwCatalogEntryId___0
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.14002f090
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + 8]
mov r9, qword [rsp + 0x70]
add rbp, 0x274
add r13, 0x274
sub qword [rsp + 0xa0], 1
jne 0x140008540
mov r14d, dword [rsp + 0x50]
mov r15, qword [rsp + 0x78]
mov r13d, dword [rsp + 0x54]
xor esi, esi
mov r12d, esi
test r14d, r14d
jle 0x14000886b
mov r9, qword [rsp + 0x48]
lea rbx, [r9 + 0x28]
cmp dword [rbx + 0x48], 0
je 0x140008858
cmp dword [rbx], 0
mov r8d, esi
jle 0x14000871d
lea rdx, [rbx + 4]
cmp dword [rdx], 0
jne 0x140008711
mov ecx, dword [rbx + 0x48]
dec ecx
imul rcx, rcx, 0x274
mov eax, dword [rcx + r15 + 0x24]
mov dword [rdx], eax
mov dword [rbx + 0x48], esi
inc r8d
add rdx, 4
cmp r8d, dword [rbx]
jl 0x1400086f6
movsxd rdi, r12d
lea r8, [rsp + 0x64]
lea rdx, [rsp + 0x330]
mov dword [rsp + 0x64], 0x103
imul rdi, rdi, 0x274
add rdi, r9
lea r9, [rsp + 0x34]
lea rcx, [rdi + 0x14]
call sub.WS2_32.dll_WSCGetProviderPath
cmp eax, 0xffffffff
je 0x1400088e8
or esi, 0xffffffff
cmp byte [0x1401e3cc8], 0
jne 0x1400087bc
lea rcx, [rsp + 0x330]
mov rdx, rdi
call fcn.14000bda0
test eax, eax
jne 0x14000883b
call fcn.1400de36c
mov r8d, dword [rsp + 0x34]
lea rdx, str.InstallIfsLspProtocolChains:_UpdateProvider_failed:__d_n
lea rcx, [rax + 0x60]
call fcn.1400df124
mov r13, qword [rsp + 0x40]
or ebx, 0xffffffff
jmp 0x140008d5f
movsxd rax, edx
imul rax, rax, 0x274
add rax, r9
je 0x14000858c
mov ecx, dword [rax + 0x24]
jmp 0x14000858e
cmp r13d, 2
jne 0x1400087e9
lea rax, [rsp + 0x34]
lea r9d, [r13 - 1]
lea rdx, [rsp + 0x330]
lea rcx, [rdi + 0x14]
mov r8, rdi
mov qword [rsp + 0x20], rax
call qword [0x1401e3cd0]
mov esi, eax
jmp 0x140008813
cmp r13d, 1
jne 0x140008818
lea rax, [rsp + 0x34]
lea rdx, [rsp + 0x330]
lea rcx, [rdi + 0x14]
mov r9d, r13d
mov r8, rdi
mov qword [rsp + 0x20], rax
call qword [0x1401e3cd8]
mov esi, eax
cmp esi, 0xffffffff
jne 0x14000883b
call fcn.1400de36c
mov r8d, dword [rsp + 0x34]
lea rdx, str.updateProvider:_WSCUpdateProvider_failed:__d_n
lea rcx, [rax + 0x60]
call fcn.1400df124
cmp esi, 0xffffffff
je 0x14000877a
mov r9d, dword [rbx]
mov edx, dword [rbx - 4]
lea r8, [rdi + 0x74]
lea rcx, str.Updated_entry_ID:__d:__S__chain_len___d__n
call fcn.1400deedc
mov r9, qword [rsp + 0x48]
xor esi, esi
inc r12d
add rbx, 0x274
cmp r12d, r14d
jl 0x1400086e0
mov r8, qword [rsp + 0x48]
mov rcx, qword [0x1401e3ce8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rsp + 0x70]
mov rcx, qword [0x1401e3ce8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsp + 0x70], rsi
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, [rsp + 0xb0]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea rdx, [rsp + 0x50]
mov ecx, r13d
call fcn.14002e6a0
mov r12, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x14000890f
call fcn.1400de36c
lea rdx, str.InstallIfsLspProtocolChains:_Unable_to_enumerate_catalog_n
lea rcx, [rax + 0x60]
call fcn.1400df124
or eax, 0xffffffff
jmp 0x140008da8
call fcn.1400de36c
mov r8d, dword [rsp + 0x34]
lea rdx, str.InstallIfsLspProtocolChains:_WSCGetProviderPath_failed:__d_n
lea rcx, [rax + 0x60]
call fcn.1400df124
mov r13, qword [rsp + 0x40]
or ebx, 0xffffffff
jmp 0x140008d5f
movsxd r15, dword [rsp + 0x50]
mov rcx, qword [0x1401e3ce8]
mov edx, 8
mov r8, r15
shl r8, 2
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, 0x2747
mov r13, rax
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x34]
test r13, r13
cmove eax, ebx
mov dword [rsp + 0x34], eax
test r13, r13
jne 0x14000896a
call fcn.1400de36c
lea rdx, str.InstallIfsLspProtocolChains:_Unable_to_enumerate_catalog_n
lea rcx, [rax + 0x60]
call fcn.1400df124
or ebx, 0xffffffff
jmp 0x140008d5f
mov r11d, dword [rsp + 0x5b8]
mov ebp, esi
mov r9d, esi
test r11d, r11d
jle 0x1400089fb
mov rbx, qword [rsp + 0x68]
mov r8, r13
mov r10, rbx
sub r10, r13
nop word [rax + rax]
mov eax, esi
test r15d, r15d
jle 0x1400089b2
mov edx, dword [r10 + r8]
lea rcx, [r12 + 0x24]
cmp dword [rcx], edx
je 0x1400089cf
inc eax
add rcx, 0x274
cmp eax, r15d
jl 0x1400089a0
call fcn.1400de36c
lea rdx, str.InstallIfsLspProtocolChain:_Unable_to_find_entry_to_reorder_catalog__n
lea rcx, [rax + 0x60]
call fcn.1400df124
or ebx, 0xffffffff
jmp 0x140008d5f
movsxd rcx, eax
imul rcx, rcx, 0x274
add rcx, r12
je 0x1400089b2
mov eax, dword [rcx + 0x24]
mov dword [rcx + 0x70], 1
inc r9d
mov dword [r8], eax
add r8, 4
inc ebp
cmp r9d, r11d
jl 0x140008990
jmp 0x140008a00
mov rbx, qword [rsp + 0x68]
mov dword [rsp + 0x58], esi
movsxd rdi, ebp
test r11d, r11d
jle 0x140008b7c
mov eax, esi
test r15d, r15d
jle 0x140008a32
mov edx, dword [rbx]
lea rcx, [r12 + 0x24]
nop
cmp dword [rcx], edx
je 0x140008a54
inc eax
add rcx, 0x274
cmp eax, r15d
jl 0x140008a20
call fcn.1400de36c
lea rdx, str.InstallIfsLspProtocolChain:_Unable_to_find_entry_to_reorder_catalog__n
lea rcx, [rax + 0x60]
call fcn.1400df124
mov r13, qword [rsp + 0x40]
or ebx, 0xffffffff
jmp 0x140008d5f
movsxd r14, eax
imul r14, r14, 0x274
add r14, r12
je 0x140008a32
mov r9d, dword [r14 + 0x28]
mov edx, dword [r14 + 0x24]
lea r8, [r14 + 0x74]
lea rcx, str.Looping_through:__d:__S__chain_len___d__n
call fcn.1400deedc
mov eax, dword [r14 + 0x28]
mov dword [rsp + 0x38], 1
dec eax
cmp eax, 1
jle 0x140008b57
lea rbx, [r12 + 0x70]
mov esi, r15d
lea r13, [r14 + 0x30]
mov qword [rsp + 0x90], rbx
nop word [rax + rax]
mov ecx, dword [r13]
mov r8d, r15d
mov rdx, r12
call fcn.140007530
mov edx, dword [r13]
lea rcx, str.___Finding_dummy_ID_for_chain_entry:__d_is__d_n
mov r8d, eax
mov r12d, eax
call fcn.1400deedc
mov r15, qword [rsp + 0x40]
nop word [rax + rax]
cmp dword [rbx - 0x48], 2
jl 0x140008b12
cmp dword [rbx - 0x44], r12d
jne 0x140008b12
cmp dword [rbx], 0
jne 0x140008b12
mov eax, dword [rbx - 0x4c]
lea rcx, str.______Adding:__d_n
inc ebp
mov dword [r15 + rdi*4], eax
mov edx, dword [rbx - 0x4c]
inc rdi
mov dword [rbx], 1
call fcn.1400deedc
add rbx, 0x274
sub rsi, 1
jne 0x140008ae0
mov ecx, dword [rsp + 0x38]
mov eax, dword [r14 + 0x28]
mov r15d, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x90]
mov r12, qword [rsp + 0x48]
inc ecx
dec eax
add r13, 4
mov dword [rsp + 0x38], ecx
cmp ecx, eax
mov rsi, r15
jl 0x140008ab0
mov rbx, qword [rsp + 0x68]
xor esi, esi
mov ecx, dword [rsp + 0x58]
add rbx, 4
inc ecx
mov qword [rsp + 0x68], rbx
cmp ecx, dword [rsp + 0x5b8]
mov dword [rsp + 0x58], ecx
jl 0x140008a10
mov r13, qword [rsp + 0x40]
movsxd rax, ebp
test r15d, r15d
jle 0x140008baf
lea rdx, [r13 + rax*4]
lea rcx, [r12 + 0x24]
mov r8d, r15d
cmp dword [rcx + 0x4c], 0
jne 0x140008ba2
mov eax, dword [rcx]
inc ebp
add rdx, 4
mov dword [rdx - 4], eax
add rcx, 0x274
sub r8, 1
jne 0x140008b91
cmp ebp, r15d
je 0x140008cc1
lea rcx, str.swifdiag.log
call fcn.140001910
mov rbx, rax
test rax, rax
je 0x140008cc1
mov r10, qword [rax]
lea rdi, str....._src_netlspinstaller_srcinstall.cpp
lea rbp, str.installIfsLspProtocolChains
lea r8, str.default
mov r9, rdi
mov edx, 3
mov rcx, rax
mov qword [rsp + 0x20], rbp
call qword [r10 + 8]
test al, al
je 0x140008cc1
mov byte [rbx + 0xf8], 0x61
mov eax, esi
mov r8b, 0x2e
mov rcx, rdi
mov edx, 1
nop dword [rax + rax]
cmp r8b, 0x5c
movzx r8d, byte [rcx + 1]
cmove eax, edx
inc rcx
inc edx
test r8b, r8b
jne 0x140008c20
add rax, rdi
mov rcx, rbx
mov dword [rbx + 0x108], 0x770
mov qword [rbx + 0x100], rax
mov qword [rbx + 0x110], rbp
call fcn.1400027f0
mov rbx, rsi
lea rbp, str.ASSERTION_FAILED:_idx__iProviderCount
mov rdi, rax
inc rbx
cmp byte [rbx + rbp], 0
jne 0x140008c66
mov ecx, dword [rax + 0x430]
mov dword [rax + 0x430], esi
cmp ebx, ecx
jge 0x140008ca9
movzx eax, byte [rax + 0x42c]
sub ecx, ebx
mov byte [rsp + 0x30], al
mov esi, ecx
nop
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rdi
call fcn.14002f090
sub rsi, 1
jne 0x140008c90
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
call fcn.14002f090
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + 8]
mov ebp, dword [rsp + 0x54]
cmp ebp, 1
jne 0x140008cd9
mov edx, r15d
mov rcx, r13
call sub.WS2_32.dll_WSCWriteProviderOrder32
mov ebx, eax
jmp 0x140008ceb
cmp ebp, 2
jne 0x140008d58
mov edx, r15d
mov rcx, r13
call sub.WS2_32.dll_WSCWriteProviderOrder
mov ebx, eax
test ebx, ebx
je 0x140008d58
mov dword [rsp + 0x34], ebx
call fcn.1400de36c
lea rdx, str.writeProviderOrder:_WSCWriteProviderOrder_failed:__d_n
lea rcx, [rax + 0x60]
mov r8d, ebx
call fcn.1400df124
call fcn.1400de36c
mov r8d, dword [rsp + 0x34]
lea rcx, [rax + 0x60]
lea rdx, str.InstallIfsLspProtocolChains:_WriteProviderOrder_failed:__d_n
call fcn.1400df124
or ebx, 0xffffffff
jmp 0x140008d5f
mov edx, dword [rsp + 0x60]
mov ecx, ebp
call fcn.1400076c0
test eax, eax
je 0x140008d58
call fcn.1400de36c
lea rdx, str.InstallIfsLspProtocolChains:_Unable_to_reorder_Winsock_catalog__n
lea rcx, [rax + 0x60]
call fcn.1400df124
mov r13, qword [rsp + 0x40]
or ebx, 0xffffffff
jmp 0x140008d5f
mov r13, qword [rsp + 0x40]
xor ebx, ebx
mov r8, qword [rsp + 0x48]
mov rcx, qword [0x1401e3ce8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140008d8f
mov rcx, qword [0x1401e3ce8]
mov r8, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r13, r13
je 0x140008da6
mov rcx, qword [0x1401e3ce8]
mov r8, r13
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
mov rdi, qword [rsp + 0x598]
mov r14, qword [rsp + 0x550]
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.1400dd780
add rsp, 0x558
pop r15
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret