Function at 0x68a2efc0
Capabilities:
Check os version
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2164
call fcn.68a53f50
mov eax, dword [0x68aaf040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x2004
lea eax, [ebp - 0x213c]
mov edi, ecx
push 0
push eax
call fcn.68a3b750
lea eax, [ebp - 0x213c]
mov dword [ebp - 0x138], 0x114
mov dword [edi + 0x44], eax
xor esi, esi
mov eax, dword [edi + 0xc]
xorps xmm0, xmm0
push 0x10c
mov dword [ebp - 0x214c], eax
lea eax, [ebp - 0x130]
push esi
push eax
movlpd qword [ebp - 0x215c], xmm0
movlpd qword [ebp - 0x2154], xmm0
mov dword [ebp - 0x134], esi
call fcn.68a3b750
add esp, 0x18
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x68a2f068
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x68a2f062
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x68a2f139
cmp dword [ebp - 0x134], 6
mov ecx, str.D:_A__GA___WD__A__GA___AN__A__GA___S_1_15_2_1_S:_ML__NW___LW_
jae 0x68a2f07d
mov ecx, str.D:_A__GA___WD__A__GA___AN_
jmp 0x68a2f090
jne 0x68a2f090
cmp dword [ebp - 0x130], 2
mov eax, str.D:_A__GA___WD__A__GA___AN_S:_ML__NW___LW_
cmovae eax, ecx
mov ecx, eax
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 1
push ecx
mov dword [ebp - 0x2148], 0xc
mov dword [ebp - 0x2144], 0
mov dword [ebp - 0x2140], 0
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x68a2f0d3
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2144], eax
jmp 0x68a2f0e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x68a2f0ea
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x68a2f130
lea eax, [ebp - 0x2148]
push eax
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push 0xff
push 6
push 0x40000003
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
je 0x68a2f11b
mov dword [edi + 8], eax
jmp 0x68a2f130
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x68a2f130
movzx esi, si
or esi, 0x80070000
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
js 0x68a2f47e
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [edi + 0x30]
test esi, esi
je 0x68a2f161
push edi
push 0
mov ecx, esi
call dword [0x68a57338]
call esi
add esp, 8
push ebx
lea ebx, [edi + 8]
push dword [edi + 0xc]
mov dword [ebp - 0x2164], ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x68a2f25d
lea eax, [ebp - 0x215c]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x68a2f272
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x68a2f1d8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x2144], eax
mov eax, dword [edi + 0xc]
push 0xffffffffffffffff
mov dword [ebp - 0x2140], eax
lea eax, [ebp - 0x2144]
push esi
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
neg eax
sbb esi, esi
and esi, 0x7fffbffc
add esi, 0x80004004
jmp 0x68a2f1f8
cmp eax, 0x217
je 0x68a2f272
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x68a2f1fa
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x68a2f272
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push esi
push dword [edi + 0x14]
push str.WaitForAnyConnection_pipename:__s__failed_with_an_error:_0x_08x
push 0x3a5
push 0x68a60164
push 1
call fcn.68a2de70
mov eax, dword [edi + 0x30]
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
je 0x68a2f23c
push edi
push 1
mov ecx, eax
call dword [0x68a57338]
call dword [ebp - 0xc]
add esp, 8
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
mov eax, esi
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.68a3943b
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x68a2f274
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x68a2f204
lea eax, [ebp - 0x215c]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
push 4
lea edx, [ebp - 0x10]
mov ecx, edi
call fcn.68a2e6a0
add esp, 0xc
test eax, eax
js 0x68a2f44f
cmp dword [ebp - 8], 4
jne 0x68a2f434
mov eax, dword [ebp - 0x10]
mov esi, 0x80070057
mov dword [ebp - 0xc], 0
sub eax, 1
jne 0x68a2f427
mov dword [ebp - 0x2160], eax
mov edx, edi
push ecx
lea eax, [ebp - 0x215c]
push eax
lea ecx, [ebp - 0x2160]
call fcn.68a2eb10
mov esi, eax
add esp, 8
test esi, esi
js 0x68a2f40d
mov ebx, dword [ebp - 0x2160]
push dword [ebx + 0x1c]
movzx eax, word [ebx + 0xc]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push eax
push dword [ebx + 4]
push dword [ebx]
push str.Received_scan_script_message__message_id:__d__message_size:__d__encoding_:__d__trigger_:__d__url_size:__d__script_size:__d_
push 0x316
push 0x68a60164
push 3
call fcn.68a2de70
xor eax, eax
mov dword [ebp - 0x24], 3
mov word [ebp - 0x1c], ax
add esp, 0x28
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], al
mov dword [ebp - 0x20], 0x14
movzx eax, word [ebx + 0xc]
sub eax, 0
je 0x68a2f34f
sub eax, 1
jne 0x68a2f37d
mov esi, dword [edi + 0x3c]
jmp 0x68a2f352
mov esi, dword [edi + 0x38]
test esi, esi
je 0x68a2f376
push dword [ebx + 0x10]
mov ecx, esi
push dword [edi]
push dword [ebx + 0x1c]
push dword [ebx + 0x20]
push dword [ebx + 0x18]
call dword [0x68a57338]
call esi
add esp, 0x14
mov byte [ebp - 0x14], al
jmp 0x68a2f37d
mov dword [ebp - 0x18], 0x80004002
lea eax, [ebp - 0x215c]
mov ecx, edi
push eax
lea eax, [ebp - 0xc]
push eax
push 0x14
lea edx, [ebp - 0x24]
call fcn.68a2e780
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x68a2f3b7
push esi
push str.Serialize_server_response_message_failed_with_an_error:_0x_08x
push 0x353
push 0x68a60164
push 1
call fcn.68a2de70
add esp, 0x14
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x2160], eax
test eax, eax
je 0x68a2f3e1
push dword [eax]
push 0xfeedfeed
push ebx
call fcn.68a3b750
mov eax, dword [ebp - 0x2160]
add esp, 0xc
add eax, 4
cmp eax, ebx
je 0x68a2f3ea
push ebx
call fcn.68a3fe50
add esp, 4
mov eax, dword [ebp - 0x2160]
mov ebx, dword [ebp - 0x2164]
mov dword [eax], 0
test esi, esi
jns 0x68a2f469
push esi
push str.HandleMessage_failed_with_an_error:_0x_08x
push 0x393
jmp 0x68a2f45a
push esi
push str.Deserialize_client_request_message_failed_with_an_error:_0x_08x
push 0x35a
push 0x68a60164
push 1
call fcn.68a2de70
add esp, 0x14
push esi
push str.HandleMessage_failed_with_an_error:_0x_08x
push 0x393
jmp 0x68a2f45a
push str.Read_message_keyword_failed_invalid_data.
push 0x398
push 0x68a60164
push 1
call fcn.68a2de70
add esp, 0x10
jmp 0x68a2f469
push eax
push str.Read_message_keyword_failed_with_an_error:_0x_08x
push 0x39d
push 0x68a60164
push 1
call fcn.68a2de70
add esp, 0x14
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
jmp 0x68a2f165
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x68a2f493
movzx esi, si
or esi, 0x80070000
push esi
push dword [edi + 0x14]
push str.CreateScriptShieldNamedPipe_pipename:__s__failed_with_an_error:_0x_08x
push 0x3b5
push 0x68a60164
push 1
call fcn.68a2de70
mov ecx, dword [ebp - 4]
add esp, 0x18
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.68a3943b
mov esp, ebp
pop ebp
ret