Function at 0x140003af0
Capabilities:
Initialize winsock library
Resolve dns
Terminate process

Disassembly:
push rbp
push rsi
push r14
lea rbp, [rsp - 0x530]
sub rsp, 0x630
mov rax, qword [0x140013460]
xor rax, rsp
mov qword [rbp + 0x520], rax
mov r14, rcx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400038d0
lea rcx, [rsp + 0x38]
call fcn.1400080e0
mov rsi, rax
test rax, rax
jne 0x140003b65
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r9, qword [rsp + 0x38]
mov r8, qword [0x140013508]
lea rcx, [rax + 0x60]
lea rdx, str._s:__s_n
call fcn.140009670
lea ecx, [rsi + 2]
call qword [sym.imp.MSVCR120.dll_exit]
int3
movdqa xmm0, xmmword [0x140010370]
xor eax, eax
lea rdx, [rbp - 0x80]
movdqu xmmword [rsp + 0x50], xmm0
mov ecx, 0x202
mov qword [rsp + 0x660], rdi
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], rax
movdqu xmmword [rsp + 0x68], xmm0
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140003bc5
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rcx, [0x14000ec20]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x140003bc5
mov dil, 1
jmp 0x140003bc8
xor dil, dil
lea r8, str._s_pg_hba.conf
lea rcx, [rbp + 0x120]
mov r9, r14
mov edx, 0x400
mov qword [rsp + 0x658], rbx
call fcn.140009460
test eax, eax
js 0x14000405d
cdqe
cmp rax, 0x3ff
jae 0x14000405d
lea rdx, [0x14000e798]
lea rcx, [rbp + 0x120]
call qword [sym.imp.MSVCR120.dll_fopen]
mov rbx, rax
test rax, rax
jne 0x140003c6e
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR120.dll_strerror]
lea rcx, str._s:_could_not_open_file___s__for_writing:__s_n
mov rdi, rax
call sub.libintl_8.dll_libintl_gettext
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140013508]
lea r9, [rbp + 0x120]
lea rcx, [rax + 0x60]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140009670
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea rcx, str._Configuration_written_by_config_sspi_auth___n
mov rdx, rax
call qword [sym.imp.MSVCR120.dll_fputs]
test eax, eax
jns 0x140003cd3
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR120.dll_strerror]
lea rcx, str._s:_could_not_write_to_file___s_:__s_n
mov rdi, rax
call sub.libintl_8.dll_libintl_gettext
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140013508]
lea r9, [rbp + 0x120]
lea rcx, [rax + 0x60]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140009670
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea rcx, str.host_all_all_127.0.0.1_32__sspi_include_realm1_mapregress_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
test eax, eax
jns 0x140003d38
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR120.dll_strerror]
lea rcx, str._s:_could_not_write_to_file___s_:__s_n
mov rdi, rax
call sub.libintl_8.dll_libintl_gettext
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140013508]
lea r9, [rbp + 0x120]
lea rcx, [rax + 0x60]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140009670
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3
test dil, dil
je 0x140003da2
lea rcx, str.host_all_all_::1_128__sspi_include_realm1_mapregress_n
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fputs]
test eax, eax
jns 0x140003da2
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR120.dll_strerror]
lea rcx, str._s:_could_not_write_to_file___s_:__s_n
mov rdi, rax
call sub.libintl_8.dll_libintl_gettext
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140013508]
lea r9, [rbp + 0x120]
lea rcx, [rax + 0x60]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140009670
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_fclose]
test eax, eax
je 0x140003e00
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR120.dll_strerror]
lea rcx, str._s:_could_not_write_to_file___s_:__s_n
mov rdi, rax
call sub.libintl_8.dll_libintl_gettext
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140013508]
lea r9, [rbp + 0x120]
lea rcx, [rax + 0x60]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140009670
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea r8, str._s_pg_ident.conf
lea rcx, [rbp + 0x120]
mov r9, r14
mov edx, 0x400
call fcn.140009460
lea rdx, [0x14000e798]
lea rcx, [rbp + 0x120]
call qword [sym.imp.MSVCR120.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x140003e88
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR120.dll_strerror]
lea rcx, str._s:_could_not_open_file___s__for_writing:__s_n
mov rdi, rax
call sub.libintl_8.dll_libintl_gettext
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140013508]
lea r9, [rbp + 0x120]
lea rcx, [rax + 0x60]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140009670
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea rcx, str._Configuration_written_by_config_sspi_auth___n
mov rdx, rax
call qword [sym.imp.MSVCR120.dll_fputs]
test eax, eax
jns 0x140003eed
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR120.dll_strerror]
lea rcx, str._s:_could_not_write_to_file___s_:__s_n
mov rdi, rax
call sub.libintl_8.dll_libintl_gettext
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140013508]
lea r9, [rbp + 0x120]
lea rcx, [rax + 0x60]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140009670
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov rsi, qword [rsp + 0x30]
lea rdx, str.regress____s__s_____s__n
mov r9, rsi
mov r8, r14
mov rcx, rdi
call fcn.140009670
test eax, eax
jns 0x140003f66
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR120.dll_strerror]
lea rcx, str._s:_could_not_write_to_file___s_:__s_n
mov rdi, rax
call sub.libintl_8.dll_libintl_gettext
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140013508]
lea r9, [rbp + 0x120]
lea rcx, [rax + 0x60]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140009670
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov rbx, qword [0x1400134e0]
test rbx, rbx
je 0x140003faa
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx]
lea rdx, str.regress____s__s_____s__n
mov r9, rsi
mov r8, r14
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140009670
test eax, eax
js 0x14000400c
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140003f80
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_fclose]
test eax, eax
je 0x140004091
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR120.dll_strerror]
lea rcx, str._s:_could_not_write_to_file___s_:__s_n
mov rdi, rax
call sub.libintl_8.dll_libintl_gettext
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140013508]
lea r9, [rbp + 0x120]
lea rcx, [rax + 0x60]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140009670
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR120.dll_strerror]
lea rcx, str._s:_could_not_write_to_file___s_:__s_n
mov rdi, rax
call sub.libintl_8.dll_libintl_gettext
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140013508]
lea r9, [rbp + 0x120]
lea rcx, [rax + 0x60]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140009670
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea rcx, str._s:_directory_name_too_long_n
call sub.libintl_8.dll_libintl_gettext
mov rbx, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140013508]
lea rcx, [rax + 0x60]
mov rdx, rbx
call fcn.140009670
mov ecx, 2
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov rbx, qword [rsp + 0x658]
mov rdi, qword [rsp + 0x660]
mov rcx, qword [rbp + 0x520]
xor rcx, rsp
call fcn.14000c8c0
add rsp, 0x630
pop r14
pop rsi
pop rbp
ret