Function at 0x140005980
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x990]
sub rsp, 0xa90
mov rax, qword [0x1400284a0]
xor rax, rsp
mov qword [rbp + 0x980], rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.creating_configuration_files_...
mov rbx, rax
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [0x14002e640]
call fcn.140005690
mov r9d, dword [0x140028004]
lea r8, str.max_connections___d
mov edx, 0x400
lea rcx, [rbp + 0x100]
mov r13, rax
call fcn.14000ea30
cmp qword [r13], 0
mov edx, 1
je 0x140005a30
mov rcx, r13
inc edx
lea rcx, [rcx + 8]
cmp qword [rcx], 0
jne 0x140005a24
movsxd r12, edx
lea rcx, [r12*8]
call fcn.14000cc90
mov rbx, rax
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x100]
mov r14, 0xffffffffffffffff
inc r14
cmp byte [rax + r14], 0
jne 0x140005a56
mov qword [rsp + 0xac0], rsi
lea edi, [r14 - 0x16]
mov dword [rsp + 0x20], edi
mov qword [rsp + 0xac8], r15
test r12, r12
jle 0x140005b4c
mov rsi, r13
mov rcx, qword [rsi]
test rcx, rcx
je 0x140005b31
lea rdx, str.max_connections__100
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140005b2c
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140005ab2
movsxd rax, edi
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov r15, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [rdi + r15]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [rbx + rdi]
add rdx, 0x16
add rdx, rdi
add rcx, r15
nop word [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140005b10
mov rbx, qword [rsp + 0x28]
mov edi, dword [rsp + 0x20]
jmp 0x140005b34
mov rbx, qword [rsp + 0x28]
mov r15, qword [rsi]
mov rax, rsi
add rsi, 8
sub rax, r13
mov qword [rax + rbx], r15
sub r12, 1
jne 0x140005a84
mov eax, dword [0x140028008]
lea r8d, [rax*8]
mov ecx, r8d
and ecx, 0x800003ff
jge 0x140005b6f
dec ecx
or ecx, 0xfffffc00
inc ecx
mov eax, r8d
cdq
and edx, 0x3ff
lea r9d, [rdx + rax]
sar r9d, 0xa
lea rdx, str.shared_buffers___dkB
test ecx, ecx
lea rcx, [rbp + 0x100]
cmovne r9d, r8d
lea r8, str.shared_buffers___dMB
cmovne r8, rdx
mov edx, 0x400
call fcn.14000ea30
cmp qword [rbx], 0
mov ecx, 1
je 0x140005bcc
mov rax, rbx
nop dword [rax + rax]
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x140005bc0
movsxd r12, ecx
lea rcx, [r12*8]
call fcn.14000cc90
mov r13, rax
mov r14, 0xffffffffffffffff
lea rax, [rbp + 0x100]
nop dword [rax]
inc r14
cmp byte [rax + r14], 0
jne 0x140005bf0
lea edi, [r14 - 0x16]
mov dword [rsp + 0x20], edi
test r12, r12
jle 0x140005cdc
mov rsi, rbx
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x140005cc1
lea rdx, str.shared_buffers__32MB
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140005cbc
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140005c40
movsxd rax, edi
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov r15, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [rdi + r15]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [rbx + rdi]
add rdx, 0x16
add rdx, rdi
add rcx, r15
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140005ca0
mov rbx, qword [rsp + 0x28]
mov edi, dword [rsp + 0x20]
jmp 0x140005cc4
mov rbx, qword [rsp + 0x28]
mov r15, qword [rsi]
mov rax, r13
sub rax, rbx
mov qword [rax + rsi], r15
add rsi, 8
sub r12, 1
jne 0x140005c10
lea r8, str.unix_socket_directories__
mov edx, 0x400
lea rcx, [rbp + 0x100]
call fcn.14000ea30
cmp qword [r13], 0
mov ecx, 1
je 0x140005d0f
mov rax, r13
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x140005d03
movsxd r12, ecx
lea rcx, [r12*8]
call fcn.14000cc90
mov qword [rsp + 0x28], rax
mov r14, 0xffffffffffffffff
lea rax, [rbp + 0x100]
inc r14
cmp byte [rax + r14], 0
jne 0x140005d32
lea edi, [r14 - 0x21]
mov dword [rsp + 0x20], edi
test r12, r12
jle 0x140005e14
mov rsi, r13
mov rcx, qword [rsi]
test rcx, rcx
je 0x140005df7
lea rdx, str.unix_socket_directories___tmp
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140005df7
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140005d80
movsxd rax, edi
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov r15, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [rdi + r15]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [rbx + rdi]
add rdx, 0x21
add rdx, rdi
add rcx, r15
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140005de0
mov edi, dword [rsp + 0x20]
jmp 0x140005dfa
mov r15, qword [rsi]
mov rax, qword [rsp + 0x28]
sub rax, r13
mov qword [rax + rsi], r15
add rsi, 8
sub r12, 1
jne 0x140005d50
mov ecx, 5
call fcn.140005610
mov r9, rax
lea r8, str.min_wal_size___s
mov edx, 0x400
lea rcx, [rbp + 0x100]
call fcn.14000ea30
mov r13, qword [rsp + 0x28]
mov ecx, 1
cmp qword [r13], 0
je 0x140005e5c
mov rax, r13
nop dword [rax]
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x140005e50
movsxd r12, ecx
lea rcx, [r12*8]
call fcn.14000cc90
mov qword [rsp + 0x28], rax
mov r14, 0xffffffffffffffff
lea rax, [rbp + 0x100]
nop
inc r14
cmp byte [rax + r14], 0
jne 0x140005e80
lea edi, [r14 - 0x14]
mov dword [rsp + 0x20], edi
test r12, r12
jle 0x140005f64
mov rsi, r13
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x140005f47
lea rdx, str.min_wal_size__80MB
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140005f47
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140005ed0
movsxd rax, edi
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov r15, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [rdi + r15]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [rbx + rdi]
add rdx, 0x14
add rdx, rdi
add rcx, r15
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140005f30
mov edi, dword [rsp + 0x20]
jmp 0x140005f4a
mov r15, qword [rsi]
mov rax, qword [rsp + 0x28]
sub rax, r13
mov qword [rax + rsi], r15
add rsi, 8
sub r12, 1
jne 0x140005ea0
mov ecx, reloc.LIBPQ.dll_Ordinal_64
call fcn.140005610
mov r9, rax
lea r8, str.max_wal_size___s
mov edx, 0x400
lea rcx, [rbp + 0x100]
call fcn.14000ea30
mov r13, qword [rsp + 0x28]
mov ecx, 1
cmp qword [r13], 0
je 0x140005fac
mov rax, r13
nop dword [rax]
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x140005fa0
movsxd r12, ecx
lea rcx, [r12*8]
call fcn.14000cc90
mov qword [rsp + 0x28], rax
mov r14, 0xffffffffffffffff
lea rax, [rbp + 0x100]
nop
inc r14
cmp byte [rax + r14], 0
jne 0x140005fd0
lea edi, [r14 - 0x13]
mov dword [rsp + 0x20], edi
test r12, r12
jle 0x1400060b4
mov rsi, r13
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x140006097
lea rdx, str.max_wal_size__1GB
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140006097
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140006020
movsxd rax, edi
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov r15, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [rdi + r15]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [rbx + rdi]
add rdx, 0x13
add rdx, rdi
add rcx, r15
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140006080
mov edi, dword [rsp + 0x20]
jmp 0x14000609a
mov r15, qword [rsi]
mov rax, qword [rsp + 0x28]
sub rax, r13
mov qword [rax + rsi], r15
add rsi, 8
sub r12, 1
jne 0x140005ff0
mov rcx, qword [0x14002e5b8]
call fcn.140013480
test rax, rax
jne 0x1400060e6
cmp dword [0x14002f818], 4
jg 0x14000738a
lea rdx, str.out_of_memory
lea ecx, [rax + 4]
call fcn.14000dcf0
jmp 0x14000738a
mov r9, rax
lea r8, str.lc_messages___s
mov edx, 0x400
lea rcx, [rbp + 0x100]
call fcn.14000ea30
mov r13, qword [rsp + 0x28]
mov ecx, 1
cmp qword [r13], 0
je 0x14000612c
mov rax, r13
nop word [rax + rax]
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x140006120
movsxd r12, ecx
lea rcx, [r12*8]
call fcn.14000cc90
mov qword [rsp + 0x28], rax
mov r14, 0xffffffffffffffff
lea rax, [rbp + 0x100]
nop
inc r14
cmp byte [rax + r14], 0
jne 0x140006150
lea edi, [r14 - 0x12]
mov dword [rsp + 0x20], edi
test r12, r12
jle 0x140006234
mov rsi, r13
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x140006217
lea rdx, str.lc_messages__C
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140006217
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400061a0
movsxd rax, edi
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov r15, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [r15 + rdi]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [r15 + rbx]
add rdx, 0x12
add rdx, rdi
add rcx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140006200
mov edi, dword [rsp + 0x20]
jmp 0x14000621a
mov r15, qword [rsi]
mov rax, qword [rsp + 0x28]
sub rax, r13
mov qword [rax + rsi], r15
add rsi, 8
sub r12, 1
jne 0x140006170
mov rcx, qword [0x14002e5a0]
call fcn.140013480
test rax, rax
jne 0x140006266
cmp dword [0x14002f818], 4
jg 0x14000738a
lea rdx, str.out_of_memory
lea ecx, [rax + 4]
call fcn.14000dcf0
jmp 0x14000738a
mov r9, rax
lea r8, str.lc_monetary___s
mov edx, 0x400
lea rcx, [rbp + 0x100]
call fcn.14000ea30
mov r13, qword [rsp + 0x28]
mov ecx, 1
cmp qword [r13], 0
je 0x1400062ac
mov rax, r13
nop word [rax + rax]
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x1400062a0
movsxd r12, ecx
lea rcx, [r12*8]
call fcn.14000cc90
mov qword [rsp + 0x28], rax
mov r14, 0xffffffffffffffff
lea rax, [rbp + 0x100]
nop
inc r14
cmp byte [rax + r14], 0
jne 0x1400062d0
lea edi, [r14 - 0x12]
mov dword [rsp + 0x20], edi
test r12, r12
jle 0x1400063b7
mov rsi, r13
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x140006397
lea rdx, str.lc_monetary__C
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140006397
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140006320
movsxd rax, edi
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov r15, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [r15 + rdi]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [r15 + rbx]
add rdx, 0x12
add rdx, rdi
add rcx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140006380
mov edi, dword [rsp + 0x20]
jmp 0x14000639a
mov r15, qword [rsi]
mov rcx, qword [rsp + 0x28]
mov rax, rsi
sub rax, r13
add rsi, 8
mov qword [rax + rcx], r15
sub r12, 1
jne 0x1400062f0
mov rcx, qword [0x14002e5a8]
call fcn.140013480
test rax, rax
jne 0x1400063e9
cmp dword [0x14002f818], 4
jg 0x14000738a
lea rdx, str.out_of_memory
lea ecx, [rax + 4]
call fcn.14000dcf0
jmp 0x14000738a
mov r9, rax
lea r8, str.lc_numeric___s
mov edx, 0x400
lea rcx, [rbp + 0x100]
call fcn.14000ea30
mov r13, qword [rsp + 0x28]
mov ecx, 1
cmp qword [r13], 0
je 0x14000642c
mov rax, r13
nop dword [rax + rax]
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x140006420
movsxd r12, ecx
lea rcx, [r12*8]
call fcn.14000cc90
mov qword [rsp + 0x28], rax
mov r14, 0xffffffffffffffff
lea rax, [rbp + 0x100]
nop
inc r14
cmp byte [rax + r14], 0
jne 0x140006450
lea edi, [r14 - 0x11]
mov dword [rsp + 0x20], edi
test r12, r12
jle 0x140006537
mov rsi, r13
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x140006517
lea rdx, str.lc_numeric__C
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140006517
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400064a0
movsxd rax, edi
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov r15, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [r15 + rdi]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [r15 + rbx]
add rdx, 0x11
add rdx, rdi
add rcx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140006500
mov edi, dword [rsp + 0x20]
jmp 0x14000651a
mov r15, qword [rsi]
mov rcx, qword [rsp + 0x28]
mov rax, rsi
sub rax, r13
add rsi, 8
mov qword [rax + rcx], r15
sub r12, 1
jne 0x140006470
mov rcx, qword [0x14002e5b0]
call fcn.140013480
test rax, rax
jne 0x140006569
cmp dword [0x14002f818], 4
jg 0x14000738a
lea rdx, str.out_of_memory
lea ecx, [rax + 4]
call fcn.14000dcf0
jmp 0x14000738a
mov r9, rax
lea r8, str.lc_time___s
mov edx, 0x400
lea rcx, [rbp + 0x100]
call fcn.14000ea30
mov r13, qword [rsp + 0x28]
mov ecx, 1
cmp qword [r13], 0
je 0x1400065ac
mov rax, r13
nop dword [rax + rax]
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x1400065a0
movsxd r12, ecx
lea rcx, [r12*8]
call fcn.14000cc90
mov rdi, rax
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x100]
mov r14, 0xffffffffffffffff
inc r14
cmp byte [rax + r14], 0
jne 0x1400065d2
lea r15d, [r14 - 0xe]
mov dword [rsp + 0x20], r15d
test r12, r12
jle 0x1400066b8
mov rsi, r13
mov rcx, qword [rsi]
test rcx, rcx
je 0x140006698
lea rdx, str.lc_time__C
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140006698
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140006620
movsxd rax, r15d
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov r15, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [r15 + rdi]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [r15 + rbx]
add rdx, 0xe
add rdx, rdi
add rcx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140006680
mov rdi, qword [rsp + 0x28]
jmp 0x14000669b
mov r15, qword [rsi]
mov rax, rsi
add rsi, 8
sub rax, r13
mov qword [rax + rdi], r15
mov r15d, dword [rsp + 0x20]
sub r12, 1
jne 0x1400065f1
mov rbx, qword [0x14002e5b0]
xor edx, edx
lea ecx, [rdx + 5]
call fcn.140010cc0
test rax, rax
je 0x1400067cd
mov rcx, rax
call fcn.14000cc00
mov rdx, rbx
mov ecx, 5
mov rdi, rax
call fcn.140010cc0
xor eax, eax
lea r9, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea r8, [0x14001f74c]
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x500]
mov edx, Ordinal_130
mov dword [rsp + 0x3c], 0x16
mov dword [rsp + 0x40], 0xa
mov dword [rsp + 0x44], 0x85
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
mov rdx, rdi
mov ecx, 5
mov rbx, rax
call fcn.140010cc0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x1400067c8
lea rdx, [0x14001f750]
lea rcx, [rbp + 0x500]
call sub.VCRUNTIME140.dll_strstr
lea rdx, [0x14001f754]
mov rbx, rax
lea rcx, [rbp + 0x500]
call sub.VCRUNTIME140.dll_strstr
lea rdx, [0x14001f758]
mov rdi, rax
lea rcx, [rbp + 0x500]
call sub.VCRUNTIME140.dll_strstr
test rbx, rbx
je 0x1400067c8
test rdi, rdi
je 0x1400067c8
test rax, rax
je 0x1400067c8
cmp rax, rbx
jae 0x1400067b9
cmp rdi, rbx
jbe 0x1400067bc
mov rdi, qword [rsp + 0x28]
xor ecx, ecx
jmp 0x1400067d2
cmp rdi, rbx
mov rdi, qword [rsp + 0x28]
sbb ecx, ecx
add ecx, 2
jmp 0x1400067d2
mov rdi, qword [rsp + 0x28]
mov ecx, 2
test ecx, ecx
je 0x14000682f
cmp ecx, 1
je 0x140006805
mov eax, dword [0x14001e780]
movups xmm0, xmmword [0x14001e770]
mov dword [rbp + 0x110], eax
movzx eax, word [0x14001e784]
mov word [rbp + 0x114], ax
movzx eax, byte [0x14001e786]
jmp 0x140006857
mov eax, dword [0x14001e768]
movups xmm0, xmmword [str.datestyle__iso__dmy]
mov dword [rbp + 0x110], eax
movzx eax, word [0x14001e76c]
mov word [rbp + 0x114], ax
movzx eax, byte [0x14001e76e]
jmp 0x140006857
mov eax, dword [0x14001e750]
movups xmm0, xmmword [str.datestyle__iso__ymd]
mov dword [rbp + 0x110], eax
movzx eax, word [0x14001e754]
mov word [rbp + 0x114], ax
movzx eax, byte [0x14001e756]
movaps xmmword [rbp + 0x100], xmm0
mov ecx, 1
mov byte [rbp + 0x116], al
cmp qword [rdi], 0
je 0x14000687e
mov rax, rdi
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x140006872
movsxd r12, ecx
lea rcx, [r12*8]
call fcn.14000cc90
mov r13, rax
mov r14, 0xffffffffffffffff
lea rax, [rbp + 0x100]
nop
inc r14
cmp byte [rax + r14], 0
jne 0x1400068a0
lea r15d, [r14 - 0x17]
mov dword [rsp + 0x20], r15d
test r12, r12
jle 0x140006988
mov rsi, rdi
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x140006968
lea rdx, str.datestyle__iso__mdy
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140006968
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400068f0
movsxd rax, r15d
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov r15, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [r15 + rdi]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [r15 + rbx]
add rdx, 0x17
add rdx, rdi
add rcx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140006950
mov rdi, qword [rsp + 0x28]
jmp 0x14000696b
mov r15, qword [rsi]
mov rax, rsi
add rsi, 8
sub rax, rdi
mov qword [rax + r13], r15
mov r15d, dword [rsp + 0x20]
sub r12, 1
jne 0x1400068c0
mov rcx, qword [0x14002e5c0]
call fcn.140013480
test rax, rax
jne 0x1400069ba
cmp dword [0x14002f818], 4
jg 0x14000738a
lea rdx, str.out_of_memory
lea ecx, [rax + 4]
call fcn.14000dcf0
jmp 0x14000738a
mov r9, rax
lea r8, str.default_text_search_config__pg_catalog._s
mov edx, 0x400
lea rcx, [rbp + 0x100]
call fcn.14000ea30
cmp qword [r13], 0
mov ecx, 1
je 0x1400069f0
mov rax, r13
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x1400069e4
movsxd r12, ecx
lea rcx, [r12*8]
call fcn.14000cc90
mov rdi, rax
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x100]
mov r14, 0xffffffffffffffff
inc r14
cmp byte [rax + r14], 0
jne 0x140006a16
lea r15d, [r14 - 0x31]
mov dword [rsp + 0x20], r15d
test r12, r12
jle 0x140006b08
mov rsi, r13
nop word [rax + rax]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140006ae8
lea rdx, str.default_text_search_config__pg_catalog.simple
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140006ae8
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140006a70
movsxd rax, r15d
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov r15, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [r15 + rdi]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [r15 + rbx]
add rdx, 0x31
add rdx, rdi
add rcx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140006ad0
mov rdi, qword [rsp + 0x28]
jmp 0x140006aeb
mov r15, qword [rsi]
mov rax, rdi
sub rax, r13
mov qword [rax + rsi], r15
add rsi, 8
mov r15d, dword [rsp + 0x20]
sub r12, 1
jne 0x140006a40
mov rcx, qword [0x14002e6e8]
test rcx, rcx
je 0x140006df9
call fcn.140013480
test rax, rax
jne 0x140006b43
cmp dword [0x14002f818], 4
jg 0x14000738a
lea rdx, str.out_of_memory
lea ecx, [rax + 4]
call fcn.14000dcf0
jmp 0x14000738a
mov r9, rax
lea r8, str.timezone___s
mov edx, 0x400
lea rcx, [rbp + 0x100]
call fcn.14000ea30
cmp qword [rdi], 0
mov ecx, 1
je 0x140006b7c
mov rax, rdi
nop dword [rax]
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x140006b70
movsxd r12, ecx
lea rcx, [r12*8]
call fcn.14000cc90
mov r13, rax
mov r14, 0xffffffffffffffff
lea rax, [rbp + 0x100]
nop dword [rax]
inc r14
cmp byte [rax + r14], 0
jne 0x140006ba0
lea r15d, [r14 - 0x11]
mov dword [rsp + 0x20], r15d
test r12, r12
jle 0x140006c88
mov rsi, rdi
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x140006c68
lea rdx, str.timezone__GMT
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140006c68
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140006bf0
movsxd rax, r15d
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov r15, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [r15 + rdi]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [r15 + rbx]
add rdx, 0x11
add rdx, rdi
add rcx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140006c50
mov rdi, qword [rsp + 0x28]
jmp 0x140006c6b
mov r15, qword [rsi]
mov rax, r13
sub rax, rdi
mov qword [rax + rsi], r15
add rsi, 8
mov r15d, dword [rsp + 0x20]
sub r12, 1
jne 0x140006bc0
mov rcx, qword [0x14002e6e8]
call fcn.140013480
test rax, rax
jne 0x140006cba
cmp dword [0x14002f818], 4
jg 0x14000738a
lea rdx, str.out_of_memory
lea ecx, [rax + 4]
call fcn.14000dcf0
jmp 0x14000738a
mov r9, rax
lea r8, str.log_timezone___s
mov edx, 0x400
lea rcx, [rbp + 0x100]
call fcn.14000ea30
cmp qword [r13], 0
mov ecx, 1
je 0x140006cf0
mov rax, r13
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x140006ce4
movsxd r12, ecx
lea rcx, [r12*8]
call fcn.14000cc90
mov qword [rsp + 0x28], rax
mov r14, 0xffffffffffffffff
lea rax, [rbp + 0x100]
inc r14
cmp byte [rax + r14], 0
jne 0x140006d13
lea edi, [r14 - 0x15]
mov dword [rsp + 0x20], edi
test r12, r12
jle 0x140006df4
mov rsi, r13
mov rcx, qword [rsi]
test rcx, rcx
je 0x140006dd7
lea rdx, str.log_timezone__GMT
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140006dd7
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140006d60
movsxd rax, edi
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov r15, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [r15 + rdi]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [r15 + rbx]
add rdx, 0x15
add rdx, rdi
add rcx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140006dc0
mov edi, dword [rsp + 0x20]
jmp 0x140006dda
mov r15, qword [rsi]
mov rax, qword [rsp + 0x28]
sub rax, r13
mov qword [rax + rsi], r15
add rsi, 8
sub r12, 1
jne 0x140006d31
mov rdi, qword [rsp + 0x28]
mov r9, qword [0x14002e6e0]
lea r8, str.dynamic_shared_memory_type___s
mov edx, 0x400
lea rcx, [rbp + 0x100]
call fcn.14000ea30
cmp qword [rdi], 0
mov ecx, 1
je 0x140006e3c
mov rax, rdi
nop word [rax + rax]
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x140006e30
movsxd r12, ecx
lea rcx, [r12*8]
call fcn.14000cc90
mov r13, rax
mov r14, 0xffffffffffffffff
lea rax, [rbp + 0x100]
nop dword [rax]
inc r14
cmp byte [rax + r14], 0
jne 0x140006e60
lea edi, [r14 - 0x23]
mov dword [rsp + 0x20], edi
test r12, r12
jle 0x140006f44
mov rsi, qword [rsp + 0x28]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140006f27
lea rdx, str.dynamic_shared_memory_type__posix
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140006f27
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140006eb0
movsxd rax, edi
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov r15, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [r15 + rdi]
mov r8, rbx
lea rdx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [r15 + rbx]
add rdx, 0x23
add rdx, rdi
add rcx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140006f10
mov edi, dword [rsp + 0x20]
jmp 0x140006f2a
mov r15, qword [rsi]
mov rax, r13
sub rax, qword [rsp + 0x28]
mov qword [rax + rsi], r15
add rsi, 8
sub r12, 1
jne 0x140006e80
lea r8, str.effective_io_concurrency__0
mov rcx, r13
lea rdx, str.effective_io_concurrency__1
call fcn.1400057e0
lea r8, str.update_process_title__off
mov rcx, rax
lea rdx, str.update_process_title__on
call fcn.1400057e0
mov rcx, qword [0x14002e5f0]
lea rdx, str.scram_sha_256
mov r14, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140006fa1
mov rcx, qword [0x14002e5e8]
lea rdx, str.scram_sha_256
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140006fba
lea r8, str.password_encryption__scram_sha_256
mov rcx, r14
lea rdx, str.password_encryption__md5
call fcn.1400057e0
mov r14, rax
cmp dword [0x140028478], 0x1c0
jne 0x140006fdf
lea r8, str.log_file_mode__0640
mov rcx, r14
lea rdx, str.log_file_mode__0600
call fcn.1400057e0
mov r14, rax
mov r9, qword [0x14002e578]
lea r8, str._s_postgresql.conf
mov edx, 0x400
lea rcx, [rbp + 0x580]
call fcn.14000ea30
mov rdx, r14
lea rcx, [rbp + 0x580]
call fcn.140007ba0
mov edx, dword [0x14002847c]
lea rcx, [rbp + 0x580]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__chmod]
test eax, eax
jne 0x140007369
lea rcx, str._Do_not_edit_this_file_manually__n
call fcn.14000cc00
lea rcx, str._It_will_be_overwritten_by_the_ALTER_SYSTEM_command._n
mov qword [rsp + 0x30], rax
mov rbx, rax
call fcn.14000cc00
mov r8, qword [0x14002e578]
lea rdx, str._s_postgresql.auto.conf
xor r12d, r12d
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x580]
mov qword [rsp + 0x40], r12
call fcn.14000eb20
lea rdx, [0x14001e064]
lea rcx, [rbp + 0x580]
call fcn.1400104a0
mov rsi, rax
test rax, rax
jne 0x1400070a3
cmp dword [0x14002f818], 4
jg 0x14000738a
lea rdx, str.could_not_open_file___s__for_writing:__m
jmp 0x140007379
lea rdi, [rsp + 0x30]
test rbx, rbx
je 0x1400070d6
nop dword [rax]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
test eax, eax
js 0x1400070e3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rdi + 8]
add rdi, 8
test rbx, rbx
jne 0x1400070b0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test eax, eax
je 0x1400070fc
cmp dword [0x14002f818], 4
jg 0x14000738a
lea rdx, str.could_not_write_file___s_:__m
jmp 0x140007379
mov edx, dword [0x14002847c]
lea rcx, [rbp + 0x580]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__chmod]
test eax, eax
jne 0x140007369
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x14002e630]
call fcn.140005690
mov r14, rax
mov edx, 1
cmp qword [rax], r12
je 0x14000714b
mov rcx, rax
nop dword [rax]
inc edx
lea rcx, [rcx + 8]
cmp qword [rcx], r12
jne 0x140007140
movsxd rsi, edx
lea rcx, [rsi*8]
call fcn.14000cc90
mov r15, rax
test rsi, rsi
jle 0x14000719d
mov rbx, r12
mov rdi, rax
nop dword [rax]
mov rcx, qword [r14 + rbx*8]
test rcx, rcx
je 0x14000718a
lea rdx, str._remove_line_for_nolocal_
call sub.VCRUNTIME140.dll_strstr
test rax, rax
jne 0x140007195
mov rax, qword [r14 + rbx*8]
mov qword [rdi], rax
add rdi, 8
inc rbx
cmp rbx, rsi
jl 0x140007170
mov ecx, 0x202
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
movdqa xmm0, xmmword [0x140021250]
xorps xmm1, xmm1
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x58], r12
movdqu xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x48], xmm1
test eax, eax
jne 0x1400071ee
lea r9, [rsp + 0x28]
xor edx, edx
lea r8, [rsp + 0x30]
lea rcx, [0x14001ea64]
call fcn.140013510
test eax, eax
je 0x14000721d
lea r8, [0x14001ea68]
mov rcx, r15
lea rdx, str.host____all_____________all_____________::1
call fcn.1400057e0
lea r8, [0x14001eac8]
mov rcx, rax
lea rdx, str.host____replication_____all_____________::1
call fcn.1400057e0
mov r15, rax
mov r8, qword [0x14002e5e8]
lea rdx, str._authmethodhost_
mov rcx, r15
call fcn.1400057e0
mov r8, qword [0x14002e5f0]
lea rdx, str._authmethodlocal_
mov rcx, rax
call fcn.1400057e0
mov r8, qword [0x14002e5f0]
lea r10, str.trust
mov r9, rax
mov rdx, r12
nop dword [rax]
movzx ecx, byte [r8 + rdx]
inc rdx
cmp cl, byte [r10 + rdx - 1]
jne 0x14000727e
cmp rdx, 6
jne 0x140007260
lea r8, str._CAUTION:_Configuring_the_system_for_local__trust__authentication_n_allows_any_local_user_to_connect_as_any_PostgreSQL_user__including_n_the_database_superuser.__If_you_do_not_trust_all_your_local_users__n_use_another_authentication_method._n
jmp 0x1400072b5
mov rcx, qword [0x14002e5e8]
nop word [rax + rax]
movzx eax, byte [rcx + r12]
inc r12
cmp al, byte [r10 + r12 - 1]
jne 0x1400072ae
cmp r12, 6
jne 0x140007290
lea r8, str._CAUTION:_Configuring_the_system_for_local__trust__authentication_n_allows_any_local_user_to_connect_as_any_PostgreSQL_user__including_n_the_database_superuser.__If_you_do_not_trust_all_your_local_users__n_use_another_authentication_method._n
jmp 0x1400072b5
lea r8, [0x140018768]
lea rdx, str._authcomment_
mov rcx, r9
call fcn.1400057e0
mov r9, qword [0x14002e578]
lea r8, str._s_pg_hba.conf
mov edx, 0x400
lea rcx, [rbp + 0x580]
mov rbx, rax
call fcn.14000ea30
mov rdx, rbx
lea rcx, [rbp + 0x580]
call fcn.140007ba0
mov edx, dword [0x14002847c]
lea rcx, [rbp + 0x580]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__chmod]
test eax, eax
jne 0x140007369
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x14002e638]
call fcn.140005690
mov r9, qword [0x14002e578]
lea r8, str._s_pg_ident.conf
mov edx, 0x400
lea rcx, [rbp + 0x580]
mov rbx, rax
call fcn.14000ea30
mov rdx, rbx
lea rcx, [rbp + 0x580]
call fcn.140007ba0
mov edx, dword [0x14002847c]
lea rcx, [rbp + 0x580]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__chmod]
test eax, eax
je 0x140007396
cmp dword [0x14002f818], 4
jg 0x14000738a
lea rdx, str.could_not_change_permissions_of___s_:__m
lea r8, [rbp + 0x580]
mov ecx, 4
call fcn.14000dcf0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140005370
mov r15, qword [rsp + 0xac8]
mov rsi, qword [rsp + 0xac0]
mov rcx, qword [rbp + 0x980]
xor rcx, rsp
call fcn.140014dd0
mov rbx, qword [rsp + 0xad0]
add rsp, 0xa90
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret