Function at 0x140003570
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x880]
sub rsp, 0x980
mov rax, qword [0x1400284a0]
xor rax, rsp
mov qword [rbp + 0x860], rax
mov edi, ecx
mov r12, rdx
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor r9d, r9d
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_setvbuf]
mov rcx, qword [r12]
call fcn.14000d9f0
mov rcx, qword [r12]
call fcn.140011a10
mov rcx, qword [r12]
lea rdx, str.initdb_12
mov qword [0x14002e610], rax
call fcn.14000bff0
xor esi, esi
cmp edi, 1
jle 0x140003699
mov rbx, qword [r12 + 8]
lea rdx, str.__help
mov ecx, esi
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140003615
cmp rcx, 7
jne 0x140003600
jmp 0x140003638
movzx eax, byte [rbx]
cmp al, byte [0x140020dc4]
jne 0x14000364d
movzx eax, byte [rbx + 1]
cmp al, byte [0x140020dc5]
jne 0x14000364d
movzx eax, byte [rbx + 2]
cmp al, byte [0x140020dc6]
jne 0x14000364d
mov rcx, qword [0x14002e610]
call fcn.140007900
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.__version
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140003683
movzx eax, byte [rbx]
cmp al, byte [0x140020dd4]
jne 0x140003699
movzx eax, byte [rbx + 1]
cmp al, byte [0x140020dd5]
jne 0x140003699
movzx eax, byte [rbx + 2]
cmp al, byte [0x140020dd6]
jne 0x140003699
lea rcx, str.initdb__PostgreSQL__12.4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x9c0], r13
lea rax, [rsp + 0x78]
mov qword [rsp + 0x978], r14
lea r9, str.pgdata
lea r8, str.dD:E:kL:nNU:WA:sST:X:g
mov qword [rsp + 0x970], r15
mov rdx, r12
mov qword [rsp + 0x20], rax
mov ecx, edi
call fcn.140013a70
cmp eax, 0xffffffff
je 0x1400039d7
lea r15, [0x140000000]
lea r14, str.ident
lea rbx, str.peer
lea r13, [0x14001c508]
nop dword [rax + rax]
dec eax
cmp eax, 0x72
ja case.0x140003721.28
cdqe
movzx eax, byte [r15 + rax + 0x4928]
mov ecx, dword [r15 + rax*4 + 0x48b8]
add rcx, r15
jmp rcx
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov r8, rax
mov qword [0x14002e5e8], rax
mov qword [0x14002e5f0], rax
mov rdx, rsi
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + rdx]
inc rdx
cmp cl, byte [r14 + rdx - 1]
jne 0x140003770
cmp rdx, 6
jne 0x140003750
mov qword [0x14002e5f0], rbx
jmp 0x1400039ac
mov rcx, rsi
movzx eax, byte [r8 + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x1400039ac
cmp rcx, 5
jne 0x140003773
mov qword [0x14002e5e8], r14
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e5f0], rax
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e5e8], rax
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e578], rax
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e580], rax
jmp 0x1400039ac
mov byte [0x14002e5d0], 1
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e5c8], rax
jmp 0x1400039ac
lea rcx, str.Running_in_debug_mode._n
mov byte [0x14002e5d1], 1
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
call fcn.14000ed30
jmp 0x1400039ac
lea rcx, str.Running_in_no_clean_mode.__Mistakes_will_not_be_cleaned_up._n
mov byte [0x14002e5d2], 1
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
call fcn.14000ed30
jmp 0x1400039ac
mov byte [section..data], sil
jmp 0x1400039ac
mov byte [0x14002e5d3], 1
jmp 0x1400039ac
mov byte [0x14002e5d5], 1
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e570], rax
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e588], rax
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e590], rax
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e598], rax
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e5a0], rax
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e5a8], rax
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e5b0], rax
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e5b8], rax
jmp 0x1400039ac
mov qword [0x14002e588], r13
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e5d8], rax
jmp 0x1400039ac
mov byte [0x14002e5d4], 1
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e5c0], rax
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e5f8], rax
jmp 0x1400039ac
mov rcx, qword [0x14002f820]
call fcn.14000cc00
mov qword [0x14002e600], rax
jmp 0x1400039ac
mov ecx, 0x1c0
call fcn.14000d160
lea rax, [rsp + 0x78]
mov rdx, r12
lea r9, str.pgdata
mov qword [rsp + 0x20], rax
lea r8, str.dD:E:kL:nNU:WA:sST:X:g
mov ecx, edi
call fcn.140013a70
cmp eax, 0xffffffff
jne 0x140003700
movsxd rax, dword [0x140028490]
cmp eax, edi
jge 0x140003aa6
cmp qword [0x14002e578], rsi
jne 0x140003a0d
mov rcx, qword [r12 + rax*8]
call fcn.14000cc00
mov qword [0x14002e578], rax
mov eax, dword [0x140028490]
inc eax
mov dword [0x140028490], eax
cmp eax, edi
jge 0x140003aa6
cmp dword [0x14002f818], 4
jg 0x140003a36
movsxd r8, eax
lea rdx, str.too_many_command_line_arguments__first_is___s__
mov ecx, 4
mov r8, qword [r12 + r8*8]
call fcn.14000dcf0
lea rcx, str.Try___s___help__for_more_information._n
call sub.libintl_8.dll_libintl_gettext
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x14002e610]
mov rdx, rbx
mov rcx, rax
call fcn.14000ecc0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.Try___s___help__for_more_information._n
call sub.libintl_8.dll_libintl_gettext
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x14002e610]
mov rdx, rbx
mov rcx, rax
call fcn.14000ecc0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [0x140003370]
call fcn.140015690
cmp byte [0x14002e5d3], sil
je 0x140003b7b
call fcn.1400018f0
mov rcx, qword [0x14002e578]
call fcn.1400131c0
test eax, eax
jg 0x140003af4
cmp dword [0x14002f818], 4
jg 0x140004074
mov r8, qword [0x14002e578]
lea rdx, str.could_not_access_directory___s_:__m
jmp 0x14000406a
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.syncing_data_to_disk_...
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 [0x14002e578]
mov edx, 0x1d4c4
call fcn.14000d2b0
call fcn.140005370
mov r14, qword [rsp + 0x978]
xor eax, eax
mov r13, qword [rsp + 0x9c0]
mov r15, qword [rsp + 0x970]
mov rcx, qword [rbp + 0x860]
xor rcx, rsp
call fcn.140014dd0
add rsp, 0x980
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp byte [0x14002e5d0], sil
je 0x140003bb0
cmp qword [0x14002e5d8], rsi
je 0x140003bb0
cmp dword [0x14002f818], 4
jg 0x140004074
lea rdx, str.password_prompt_and_password_file_cannot_be_specified_together
mov ecx, 4
call fcn.14000dcf0
jmp 0x140004074
mov rdi, qword [0x14002e5f0]
lea rbx, str.trust
test rdi, rdi
jne 0x140003bd4
mov byte [0x14002e66d], 1
mov rdi, rbx
mov qword [0x14002e5f0], rbx
cmp qword [0x14002e5e8], rsi
jne 0x140003beb
mov byte [0x14002e66d], 1
mov qword [0x14002e5e8], rbx
lea r14, str.trust
mov r8, rbx
nop word [rax + rax]
mov rax, rdi
sub r8, rdi
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140003c23
inc rax
test ecx, ecx
jne 0x140003c10
test edx, edx
je 0x140003c96
mov edx, 0x20
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x140003c5c
mov edx, 0x20
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rdx, qword [r14]
mov r8, rdi
sub r8, rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140003c96
mov r8, qword [r14 + 8]
add r14, 8
test r8, r8
jne 0x140003c00
cmp dword [0x14002f818], 4
jg 0x140004074
lea r9, [0x140020ef8]
mov r8, rdi
lea rdx, str.invalid_authentication_method___s__for___s__connections
mov ecx, 4
call fcn.14000dcf0
jmp 0x140004074
mov rdi, qword [0x14002e5e8]
lea r14, str.trust
nop dword [rax]
nop dword [rax + rax]
mov rax, rdi
sub rbx, rdi
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + rbx]
sub edx, ecx
jne 0x140003cd2
inc rax
test ecx, ecx
jne 0x140003cc0
test edx, edx
je 0x140003d43
mov edx, 0x20
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x140003d0b
mov edx, 0x20
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rdx, qword [r14]
mov r8, rdi
sub r8, rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140003d43
mov rbx, qword [r14 + 8]
add r14, 8
test rbx, rbx
jne 0x140003cb0
cmp dword [0x14002f818], 4
jg 0x140004074
lea r9, str.host
mov r8, rdi
lea rdx, str.invalid_authentication_method___s__for___s__connections
lea ecx, [rbx + 4]
call fcn.14000dcf0
jmp 0x140004074
mov rbx, qword [0x14002e5f0]
lea r14, [0x14001c430]
mov rcx, rsi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r14 + rcx - 1]
jne 0x140003d76
cmp rcx, 4
jne 0x140003d60
jmp 0x140003da0
lea rdx, [0x14001c438]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140003da0
lea rdx, str.scram_sha_256
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140003e6e
mov rdi, qword [0x14002e5e8]
mov rcx, rsi
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [r14 + rcx - 1]
jne 0x140003dc6
cmp rcx, 4
jne 0x140003db0
jmp 0x140003df0
lea rdx, [0x14001c438]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140003df0
lea rdx, str.scram_sha_256
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140003e6e
cmp byte [0x14002e5d0], sil
jne 0x140003e6e
cmp qword [0x14002e5d8], rsi
jne 0x140003e6e
cmp dword [0x14002f818], 4
jg 0x140004074
nop
movzx eax, byte [rbx + rsi]
inc rsi
cmp al, byte [r14 + rsi - 1]
jne 0x140003e36
cmp rsi, 4
jne 0x140003e10
mov rdi, rbx
lea rdx, str.must_specify_a_password_for_the_superuser_to_enable__s_authentication
mov r8, rbx
jmp 0x14000406a
lea rdx, [0x14001c438]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140003e5c
lea rdx, str.scram_sha_256
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140003e5f
mov rdi, rbx
mov r8, rdi
lea rdx, str.must_specify_a_password_for_the_superuser_to_enable__s_authentication
jmp 0x14000406a
mov rcx, qword [0x14002e600]
test rcx, rcx
jne 0x140003e86
mov dword [0x14002e608], 0x10
jmp 0x140003ee1
mov r8d, 0xa
lea rdx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov ecx, eax
mov dword [0x14002e608], eax
mov rax, qword [rsp + 0x70]
cmp rax, qword [0x14002e600]
je 0x14000488a
cmp byte [rax], sil
jne 0x14000488a
shl ecx, 0x14
test ecx, ecx
jle 0x140004878
lea eax, [rcx - 1]
test ecx, eax
jne 0x140004878
lea eax, [rcx - 0x100000]
cmp eax, 0x3ff00000
ja 0x140004878
call fcn.14000e060
call fcn.1400018f0
mov rdi, qword [r12]
lea r14, [0x14002eaf0]
mov r9, r14
lea r8, str.postgres__PostgreSQL__12.4_n
mov rcx, rdi
lea rdx, str.postgres
call fcn.14000c4a0
mov ebx, eax
test eax, eax
jns 0x140003f9e
lea rdx, [rbp + 0x460]
mov rcx, rdi
call fcn.14000c160
test eax, eax
jns 0x140003f45
mov rdx, qword [0x14002e610]
lea rcx, [rbp + 0x460]
mov r8d, 0x400
call fcn.1400105a0
cmp ebx, 0xffffffff
jne 0x140003f6a
cmp dword [0x14002f818], 4
jg 0x140003f92
mov r8, qword [0x14002e610]
lea r9, [rbp + 0x460]
lea rdx, str.The_program__postgres__is_needed_by__s_but_was_not_found_in_the_nsame_directory_as___s_._nCheck_your_installation.
jmp 0x140003f88
cmp dword [0x14002f818], 4
jg 0x140003f92
mov r9, qword [0x14002e610]
lea r8, [rbp + 0x460]
lea rdx, str.The_program__postgres__was_found_by___s__nbut_was_not_the_same_version_as__s._nCheck_your_installation.
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, rsi
lea r13, [0x14002e6f0]
nop dword [rax + rax]
movzx eax, byte [rcx + r14]
mov byte [rcx + r13], al
lea rcx, [rcx + 1]
test al, al
jne 0x140003fb0
mov rcx, r13
call fcn.140011140
mov rcx, r13
mov byte [rax], sil
call fcn.140011270
mov rcx, qword [0x14002e570]
test rcx, rcx
jne 0x140004080
mov ecx, 0x400
call fcn.14000cc90
mov rdx, rax
mov qword [0x14002e570], rax
mov rcx, r14
call fcn.140011b10
mov rcx, qword [0x14002e570]
call fcn.140011270
mov rcx, qword [0x14002e610]
call fcn.14000e500
mov rcx, rax
call fcn.14000cc00
mov rcx, qword [0x14002e5c8]
lea rdx, [0x140020f84]
test rcx, rcx
mov r8d, 3
mov rbx, rax
cmove rcx, rax
mov qword [0x14002e5c8], rcx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1400040d9
cmp dword [0x14002f818], 4
jg 0x140004074
mov r8, qword [0x14002e5c8]
lea rdx, str.superuser_name___s__is_disallowed__role_names_cannot_begin_with__pg__
mov ecx, 4
call fcn.14000dcf0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x140004007
cmp al, 0x5c
je 0x140004007
movzx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x1400040bd
mov rcx, qword [0x14002e570]
cmp byte [rcx + 1], 0x3a
jne 0x1400040bd
movzx eax, byte [rcx + 2]
cmp al, 0x2f
je 0x140004007
cmp al, 0x5c
je 0x140004007
cmp dword [0x14002f818], 4
jg 0x140004074
lea rdx, str.input_file_location_must_be_an_absolute_path
mov ecx, 4
call fcn.14000dcf0
jmp 0x140004074
lea rcx, str.The_files_belonging_to_this_database_system_will_be_owned_by_user___s_._nThis_user_must_also_own_the_server_process._n_n
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
mov rdx, rbx
call fcn.14000ed30
lea rcx, str.12.4
mov edi, esi
call fcn.14000cc00
mov rbx, 0xffffffffffffffff
mov r9, rax
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], sil
jne 0x140004110
dec rcx
add rcx, r9
cmp rcx, r9
je 0x140004135
movzx eax, byte [rcx]
sub al, 0x30
cmp al, 9
jbe 0x140004135
dec rcx
cmp rcx, r9
jne 0x140004124
lea r14, [rcx + 1]
mov r8d, 0xa
mov rcx, r9
lea rdx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov rcx, qword [rsp + 0x70]
mov r15d, eax
cmp byte [rcx], sil
je 0x140004190
inc rcx
lea rdx, [rsp + 0x70]
mov r8d, 0xa
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov rcx, qword [rsp + 0x70]
mov esi, eax
cmp byte [rcx], dil
je 0x140004190
inc rcx
lea rdx, [rsp + 0x70]
mov r8d, 0xa
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov edi, eax
mov qword [rsp + 0x30], r14
lea r8, str._02ld._02ld._04ld_s
mov dword [rsp + 0x28], edi
lea rcx, [0x14002e670]
mov r9d, r15d
mov dword [rsp + 0x20], esi
mov edx, 0x64
call fcn.14000ea30
mov rdx, qword [0x14002e570]
lea r8, str.postgres.bki
lea rcx, str._s__s
call fcn.14000cf70
mov rdx, qword [0x14002e570]
lea r8, str.postgres.description
lea rcx, str._s__s
mov qword [0x14002e618], rax
call fcn.14000cf70
mov rdx, qword [0x14002e570]
lea r8, str.postgres.shdescription
lea rcx, str._s__s
mov qword [0x14002e620], rax
call fcn.14000cf70
mov rdx, qword [0x14002e570]
lea r8, str.pg_hba.conf.sample
lea rcx, str._s__s
mov qword [0x14002e628], rax
call fcn.14000cf70
mov rdx, qword [0x14002e570]
lea r8, str.pg_ident.conf.sample
lea rcx, str._s__s
mov qword [0x14002e630], rax
call fcn.14000cf70
mov rdx, qword [0x14002e570]
lea r8, str.postgresql.conf.sample
lea rcx, str._s__s
mov qword [0x14002e638], rax
call fcn.14000cf70
mov rdx, qword [0x14002e570]
lea r8, str.snowball_create.sql
lea rcx, str._s__s
mov qword [0x14002e640], rax
call fcn.14000cf70
mov rdx, qword [0x14002e570]
lea r8, str.information_schema.sql
lea rcx, str._s__s
mov qword [0x14002e648], rax
call fcn.14000cf70
mov rdx, qword [0x14002e570]
lea r8, str.sql_features.txt
lea rcx, str._s__s
mov qword [0x14002e650], rax
call fcn.14000cf70
mov rdx, qword [0x14002e570]
lea r8, str.system_views.sql
lea rcx, str._s__s
mov qword [0x14002e658], rax
call fcn.14000cf70
cmp byte [0x14002e5d4], 0
mov qword [0x14002e660], rax
jne 0x140004318
cmp byte [0x14002e5d1], 0
je 0x1400043b7
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, qword [0x14002e578]
lea r8, str.12.4
mov rcx, rax
lea rdx, str.VERSION_s_nPGDATA_s_nshare_path_s_nPGPATH_s_nPOSTGRES_SUPERUSERNAME_s_nPOSTGRES_BKI_s_nPOSTGRES_DESCR_s_nPOSTGRES_SHDESCR_s_nPOSTGRESQL_CONF_SAMPLE_s_nPG_HBA_SAMPLE_s_nPG_IDENT_SAMPLE_s_n
mov rax, qword [0x14002e638]
mov qword [rsp + 0x60], rax
mov rax, qword [0x14002e630]
mov qword [rsp + 0x58], rax
mov rax, qword [0x14002e640]
mov qword [rsp + 0x50], rax
mov rax, qword [0x14002e628]
mov qword [rsp + 0x48], rax
mov rax, qword [0x14002e620]
mov qword [rsp + 0x40], rax
mov rax, qword [0x14002e618]
mov qword [rsp + 0x38], rax
mov rax, qword [0x14002e5c8]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14002e570]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.14000ecc0
cmp byte [0x14002e5d4], 0
je 0x1400043b7
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x14002e618]
call fcn.140005070
mov rcx, qword [0x14002e620]
call fcn.140005070
mov rcx, qword [0x14002e628]
call fcn.140005070
mov rcx, qword [0x14002e630]
call fcn.140005070
mov rcx, qword [0x14002e638]
call fcn.140005070
mov rcx, qword [0x14002e640]
call fcn.140005070
mov rcx, qword [0x14002e648]
call fcn.140005070
mov rcx, qword [0x14002e650]
call fcn.140005070
mov rcx, qword [0x14002e658]
call fcn.140005070
mov rcx, qword [0x14002e660]
call fcn.140005070
call fcn.140001e10
cmp qword [0x14002e5c0], 0
mov rcx, qword [0x14002e598]
jne 0x140004489
call fcn.140005530
mov qword [0x14002e5c0], rax
test rax, rax
jne 0x1400044f9
cmp dword [0x14002f818], 2
jg 0x140004479
mov r8, qword [0x14002e598]
lea rdx, str.could_not_find_suitable_text_search_configuration_for_locale___s_
lea ecx, [rax + 2]
call fcn.14000dcf0
lea rax, [0x1400208f4]
mov qword [0x14002e5c0], rax
jmp 0x1400044f9
call fcn.140005530
test rax, rax
jne 0x1400044b4
cmp dword [0x14002f818], 3
jg 0x1400044f9
mov r8, qword [0x14002e598]
lea rdx, str.suitable_text_search_configuration_for_locale___s__is_unknown
lea ecx, [rax + 3]
call fcn.14000dcf0
jmp 0x1400044f9
mov r8, qword [0x14002e5c0]
mov r9, r8
sub r9, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x1400044d4
inc rax
test ecx, ecx
jne 0x1400044c1
test edx, edx
je 0x1400044f9
cmp dword [0x14002f818], 3
jg 0x1400044f9
mov r9, qword [0x14002e598]
lea rdx, str.specified_text_search_configuration___s__might_not_match_locale___s_
mov ecx, 3
call fcn.14000dcf0
lea rcx, str.The_default_text_search_configuration_will_be_set_to___s_._n
call sub.libintl_8.dll_libintl_gettext
mov rdx, qword [0x14002e5c0]
mov rcx, rax
call fcn.14000ed30
lea rcx, [0x14001ee90]
call fcn.14000ed30
cmp byte [0x14002e5d5], 0
lea rax, str.Data_page_checksums_are_disabled._n
lea rcx, str.Data_page_checksums_are_enabled._n
cmove rcx, rax
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
call fcn.14000ed30
cmp byte [0x14002e5d0], 0
jne 0x1400046af
mov rcx, qword [0x14002e5d8]
test rcx, rcx
je 0x14000463c
lea rdx, [0x14001e030]
call fcn.1400104a0
mov rdi, rax
test rax, rax
jne 0x140004589
cmp dword [0x14002f818], 4
jg 0x1400045e0
lea rdx, str.could_not_open_file___s__for_reading:__m
jmp 0x1400045cf
mov r8, rdi
lea rcx, [rbp - 0x80]
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
mov rcx, rdi
test rax, rax
jne 0x1400045ec
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
je 0x1400045bf
cmp dword [0x14002f818], 4
jg 0x1400045e0
lea rdx, str.could_not_read_password_from_file___s_:__m
jmp 0x1400045cf
cmp dword [0x14002f818], 4
jg 0x1400045e0
lea rdx, str.password_file___s__is_empty
mov r8, qword [0x14002e5d8]
mov ecx, 4
call fcn.14000dcf0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rax, [rbp - 0x80]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400045f6
movsxd rax, ebx
test ebx, ebx
jle 0x14000462c
movzx ecx, byte [rsp + rax + 0x7f]
cmp cl, 0xd
je 0x140004615
cmp cl, 0xa
jne 0x14000462c
dec rax
cmp rax, 0x64
jae 0x1400048b0
mov byte [rbp + rax - 0x80], 0
test rax, rax
jg 0x140004606
lea rcx, [rbp - 0x80]
call fcn.14000cc00
mov qword [0x14002e5e0], rax
lea rcx, [0x14001ee90]
call fcn.14000ed30
call fcn.140002860
cmp byte [section..data], 0
je 0x14000475c
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.syncing_data_to_disk_...
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 [0x14002e578]
mov edx, 0x1d4c4
call fcn.14000d2b0
call fcn.140005370
jmp 0x140004770
lea rcx, [0x14001ee90]
call fcn.14000ed30
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]
xor r9d, r9d
lea rdx, [rbp - 0x80]
lea rcx, str.Enter_new_superuser_password:
lea r8d, [r9 + 0x64]
call fcn.140012ab0
xor r9d, r9d
lea rdx, [rbp - 0x10]
lea rcx, str.Enter_it_again:
lea r8d, [r9 + 0x64]
call fcn.140012ab0
lea rax, [rbp - 0x80]
lea r8, [rbp - 0x10]
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140004723
inc rax
test ecx, ecx
jne 0x140004710
test edx, edx
je 0x14000462c
lea rcx, str.Passwords_didnt_match._n
call sub.libintl_8.dll_libintl_gettext
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov rdx, rbx
call fcn.14000ecc0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str._nSync_to_disk_skipped._nThe_data_directory_might_become_corrupt_if_the_operating_system_crashes._n
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
call fcn.14000ed30
cmp byte [0x14002e66d], 0
je 0x1400047c4
lea rcx, [0x14001ee90]
call fcn.14000ed30
cmp dword [0x14002f818], 3
jg 0x14000479f
lea rdx, str.enabling__trust__authentication_for_local_connections
mov ecx, 3
call fcn.14000dcf0
lea rcx, str.You_can_change_this_by_editing_pg_hba.conf_or_using_the_option__A__or_n__auth_local_and___auth_host__the_next_time_you_run_initdb._n
call sub.libintl_8.dll_libintl_gettext
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov rdx, rbx
call fcn.14000ecc0
call sub.LIBPQ.dll_Ordinal_77
mov rdx, qword [r12]
lea rcx, [rbp + 0x60]
mov r8d, 0x400
mov rbx, rax
call fcn.1400105a0
lea rcx, [rbp + 0x60]
call fcn.140011270
lea rcx, [rbp + 0x60]
call fcn.140011d70
lea r8, str.pg_ctl
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x60]
call fcn.1400111b0
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.14000adf0
lea rdx, str.__D
mov rcx, rbx
call sub.LIBPQ.dll_Ordinal_75
mov rdx, qword [0x14002e6d8]
mov rcx, rbx
call fcn.14000adf0
lea rcx, str.logfile
call sub.libintl_8.dll_libintl_gettext
mov r8, rax
lea rdx, str.__l__s_start
mov rcx, rbx
call sub.LIBPQ.dll_Ordinal_91
lea rcx, str._nSuccess._You_can_now_start_the_database_server_using:_n_n_____s_n_n
call sub.libintl_8.dll_libintl_gettext
mov rdx, qword [rbx]
mov rcx, rax
call fcn.14000ed30
mov rcx, rbx
call sub.LIBPQ.dll_Ordinal_76
mov byte [0x14002e5d6], 1
jmp 0x140003b44
cmp dword [0x14002f818], 4
jg 0x1400048a4
lea rdx, str.argument_of___wal_segsize_must_be_a_power_of_2_between_1_and_1024
jmp 0x14000489a
cmp dword [0x14002f818], 4
jg 0x1400048a4
lea rdx, str.argument_of___wal_segsize_must_be_a_number
mov ecx, 4
call fcn.14000dcf0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140014efc
int3