Function at 0x1400049a0
Capabilities:
Terminate process

Disassembly:
push r13
sub rsp, 0x8d0
mov rax, qword [0x1400284a0]
xor rax, rsp
mov qword [rsp + 0x8a0], rax
lea rcx, str.running_bootstrap_script_...
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
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]
mov rcx, qword [0x14002e618]
call fcn.140005690
lea r9, [0x14001e3d0]
mov edx, 0x400
lea r8, str._PostgreSQL__s_n
mov r13, rax
lea rcx, [rsp + 0x4a0]
call fcn.14000ea30
mov r8, qword [r13]
lea rcx, [rsp + 0x4a0]
sub r8, rcx
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x140004a34
inc rcx
test eax, eax
jne 0x140004a21
mov qword [rsp + 0x8e0], rbx
test edx, edx
je 0x140004a99
cmp dword [0x14002f818], 4
jg 0x140004a68
mov r8, qword [0x14002e618]
lea r9, str.12.4
lea rdx, str.input_file___s__does_not_belong_to_PostgreSQL__s
mov ecx, 4
call fcn.14000dcf0
lea rcx, str.Check_your_installation_or_specify_the_correct_path_using_the_option__L._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
mov qword [rsp + 0x8f0], rsi
lea rdx, [0x14001e284]
mov qword [rsp + 0x8c8], rdi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x8c0], r12
mov r8d, reloc.LIBPQ.dll_Ordinal_64
mov qword [rsp + 0x8b8], r14
mov qword [rsp + 0x8b0], r15
call fcn.14000eb20
cmp qword [r13], 0
mov ecx, 1
je 0x140004afc
mov rax, r13
nop word [rax + rax]
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x140004af0
movsxd r15, ecx
lea rcx, [r15*8]
call fcn.14000cc90
mov r12, rax
mov r14, 0xffffffffffffffff
lea rax, [rsp + 0x60]
nop dword [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x140004b20
mov qword [rsp + 0x8e8], rbp
lea edi, [r14 - 0xb]
mov dword [rsp + 0x40], edi
test r15, r15
jle 0x140004c12
mov rsi, r13
nop word [rax + rax]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140004bf7
lea rdx, str.NAMEDATALEN
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140004bf7
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140004b80
movsxd rax, edi
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov rbp, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [rdi + rbp]
mov r8, rbx
lea rdx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rcx, [rbx + rdi]
add rdx, 0xb
add rdx, rdi
add rcx, rbp
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140004be0
mov edi, dword [rsp + 0x40]
jmp 0x140004bfa
mov rbp, qword [rsi]
mov rax, rsi
add rsi, 8
sub rax, r13
mov qword [rax + r12], rbp
sub r15, 1
jne 0x140004b50
mov r8d, 8
lea rdx, [0x14001e284]
lea rcx, [rsp + 0x60]
call fcn.14000eb20
cmp qword [r12], 0
mov ecx, 1
je 0x140004c4c
mov rax, r12
nop dword [rax + rax]
inc ecx
lea rax, [rax + 8]
cmp qword [rax], 0
jne 0x140004c40
movsxd r15, ecx
lea rcx, [r15*8]
call fcn.14000cc90
mov r13, rax
mov r14, 0xffffffffffffffff
lea rax, [rsp + 0x60]
nop dword [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x140004c70
lea edi, [r14 - 0xe]
mov dword [rsp + 0x40], edi
test r15, r15
jle 0x140004d52
mov rsi, r12
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x140004d37
lea rdx, str.SIZEOF_POINTER
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140004d37
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140004cc0
movsxd rax, edi
inc rax
add rcx, rax
call fcn.14000cc90
sub ebx, dword [rsi]
mov rcx, rax
mov rdx, qword [rsi]
mov rbp, rax
movsxd rdi, ebx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd rbx, r14d
lea rcx, [rdi + rbp]
mov r8, rbx
lea rdx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
lea rax, [rbx + rdi]
add rdx, 0xe
add rdx, rdi
add rax, rbp
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140004d20
mov edi, dword [rsp + 0x40]
jmp 0x140004d3a
mov rbp, qword [rsi]
mov rax, r13
sub rax, r12
mov qword [rax + rsi], rbp
add rsi, 8
sub r15, 1
jne 0x140004c90
lea r8, [0x14001ed80]
mov rcx, r13
lea rdx, str.ALIGNOF_POINTER
call fcn.1400057e0
lea r8, [0x14001ed98]
mov rcx, rax
lea rdx, str.FLOAT4PASSBYVAL
call fcn.1400057e0
lea r8, [0x14001ed98]
mov rcx, rax
lea rdx, str.FLOAT8PASSBYVAL
call fcn.1400057e0
mov rcx, qword [0x14002e5c8]
mov rbx, rax
call fcn.140005440
mov r8, rax
lea rdx, str.POSTGRES
mov rcx, rbx
call fcn.1400057e0
mov r8d, dword [0x14002e60c]
lea rdx, [0x14001e284]
lea rcx, [rsp + 0x48]
mov rbx, rax
call fcn.14000eb20
lea rcx, [rsp + 0x48]
call fcn.14000cc00
mov r8, rax
lea rdx, str.ENCODING
mov rcx, rbx
call fcn.1400057e0
mov rcx, qword [0x14002e590]
mov rbx, rax
call fcn.140005440
mov r8, rax
lea rdx, str.LC_COLLATE
mov rcx, rbx
call fcn.1400057e0
mov rcx, qword [0x14002e598]
mov rbx, rax
call fcn.140005440
mov r8, rax
lea rdx, str.LC_CTYPE
mov rcx, rbx
call fcn.1400057e0
mov r9, qword [0x14002e590]
lea r8, str.LC_COLLATE_s
mov edx, 0x400
lea rcx, [rsp + 0xa0]
mov rsi, rax
call fcn.14000ea30
lea rcx, [rsp + 0xa0]
call fcn.14000cc00
mov rcx, rax
call fcn.140010e60
mov r9, qword [0x14002e598]
lea r8, str.LC_CTYPE_s
mov edx, 0x400
lea rcx, [rsp + 0xa0]
call fcn.14000ea30
lea rcx, [rsp + 0xa0]
call fcn.14000cc00
mov rcx, rax
call fcn.140010e60
lea rcx, str.LC_ALL
call fcn.140010f80
lea rcx, str.PGCLIENTENCODING
call fcn.140010f80
cmp byte [0x14002e5d1], 0
lea r8, [0x140018768]
mov rax, r8
lea rcx, str._d_5
cmovne rax, rcx
cmp byte [0x14002e5d5], 0
mov qword [rsp + 0x38], rax
lea rcx, [0x14001ee44]
mov rax, qword [0x140028010]
cmovne r8, rcx
mov ecx, dword [0x14002e608]
mov qword [rsp + 0x30], rax
shl ecx, 0x14
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], ecx
lea r9, [0x14002eaf0]
lea rcx, [rsp + 0xa0]
mov edx, 0x400
lea r8, str.__s____boot__x1__X__u__s__s__s
call fcn.14000ea30
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 ecx, 2
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]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
lea rdx, [0x14001e064]
lea rcx, [rsp + 0xa0]
mov dword [rax], 0
call fcn.140012da0
mov r15, qword [rsp + 0x8b0]
mov rdi, rax
mov r14, qword [rsp + 0x8b8]
mov r12, qword [rsp + 0x8c0]
mov rbp, qword [rsp + 0x8e8]
test rax, rax
jne 0x140004fb6
cmp dword [0x14002f818], 4
jg 0x140005015
lea r8, [rsp + 0xa0]
lea rdx, str.could_not_execute_command___s_:__m
lea ecx, [rax + 4]
call fcn.14000dcf0
jmp 0x140005015
mov rax, qword [rsi]
mov rbx, rsi
test rax, rax
je 0x140005009
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
test eax, eax
js 0x140004fde
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
test eax, eax
jns 0x140004ff3
mov byte [0x14002e66c], 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
mov dword [0x14002e6d4], ecx
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbx + 8]
add rbx, 8
test rax, rax
jne 0x140004fc1
mov rcx, rdi
call fcn.14000c5e0
test eax, eax
je 0x140005021
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140005370
mov rsi, qword [rsp + 0x8f0]
mov rdi, qword [rsp + 0x8c8]
mov rbx, qword [rsp + 0x8e0]
mov rcx, qword [rsp + 0x8a0]
xor rcx, rsp
call fcn.140014dd0
add rsp, 0x8d0
pop r13
ret