Function at 0x140003240
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x17f0]
mov eax, 0x18f0
call fcn.14000e1d0
sub rsp, rax
mov rax, qword [0x1400163a0]
xor rax, rsp
mov qword [rbp + 0x17c0], rax
mov r14, r9
mov qword [rsp + 0x50], r9
mov r9, qword [0x140016010]
mov rsi, r8
mov qword [rsp + 0x48], r8
mov rdi, rdx
mov qword [rsp + 0x40], rdx
lea r8, str._s__s
mov qword [rsp + 0x20], rcx
mov edx, 0x400
lea rcx, [rbp + 0x7c0]
xor r13d, r13d
call fcn.14000a5f0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x7c0]
call fcn.1400090b0
test eax, eax
jne 0x1400039a3
movzx eax, word [rsp + 0x66]
mov qword [rsp + 0x18e0], r12
mov r12d, 0x4000
mov qword [rsp + 0x18d8], r15
mov r15d, 0xf000
and ax, r15w
cmp ax, r12w
jne 0x140003993
lea rcx, [rbp + 0x7c0]
mov qword [rsp + 0x18e8], rbx
call fcn.1400066f0
mov qword [rsp + 0x58], rax
mov rbx, rax
test rax, rax
jne 0x140003320
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r9, qword [0x140016018]
lea r8, str._s_testtablespace
mov edx, 0x400
lea rcx, [rbp + 0x3c0]
call fcn.14000a5f0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x3c0]
call fcn.1400090b0
test eax, eax
jne 0x1400033b2
movzx eax, word [rbp - 0x6a]
and ax, r15w
cmp ax, r12w
jne 0x1400033b2
mov dl, 1
lea rcx, [rbp + 0x3c0]
call fcn.140007810
test al, al
jne 0x1400033b2
lea rcx, str._n_s:_could_not_remove_test_tablespace___s__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 [0x140016460]
lea r9, [rbp + 0x3c0]
mov rcx, rax
mov rdx, rbx
call fcn.14000a880
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rbp + 0x3c0]
call fcn.1400047b0
mov r8, qword [rbx]
mov r12, rbx
test r8, r8
je 0x140003a69
lea r9, str..source
nop dword [rax]
nop dword [rax + rax]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x1400033f0
cmp rax, 8
jb 0x140003966
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp byte [r8 + rax + 1], 0
lea rax, [rax + 1]
jne 0x140003410
lea rdx, [rax + r8]
xor ecx, ecx
movzx eax, byte [rdx + rcx - 7]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x140003966
cmp rcx, 8
jne 0x140003422
inc r13d
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [r8 + rdx], 0
jne 0x140003445
mov r9, r8
lea rcx, [rbp + 0x13c0]
lea r8, [0x14000f838]
sub rdx, 6
call fcn.14000a5f0
mov rax, qword [r12]
lea r9, [rbp + 0x7c0]
lea r8, str._s__s
mov qword [rsp + 0x20], rax
mov edx, 0x400
lea rcx, [rbp + 0xfc0]
call fcn.14000a5f0
lea rax, [rbp + 0x13c0]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
lea r8, str._s__s__s._s
mov r9, rdi
mov qword [rsp + 0x20], rsi
mov edx, 0x400
lea rcx, [rbp + 0xbc0]
call fcn.14000a5f0
lea rdx, [0x14000f84c]
lea rcx, [rbp + 0xfc0]
call fcn.14000c740
mov r15, rax
test rax, rax
je 0x140003a15
lea rdx, [0x14000f880]
lea rcx, [rbp + 0xbc0]
call fcn.14000c740
mov r14, rax
test rax, rax
je 0x1400039c1
mov r8, r15
lea rcx, [rbp - 0x40]
mov edx, 0x400
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140003948
nop dword [rax + rax]
mov rdi, qword [0x140016010]
lea rdx, str._abs_srcdir_
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x1400035e6
lea rcx, [rbp - 0x40]
call fcn.1400079b0
mov rsi, rax
lea rcx, [rbp - 0x40]
lea rax, [rbp - 0x40]
mov r8, rbx
sub r8, rax
mov rdx, rsi
inc r8
call fcn.14000c9a0
lea rcx, [rbp - 0x40]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140003570
xor edx, edx
nop dword [rax]
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140003580
lea rcx, [rbp - 0x40]
mov r8, rsi
sub r8, rcx
lea rcx, [rbp - 0x40]
add r8, rbx
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400035a3
xor edx, edx
nop
movzx eax, byte [r8 + rdx + 0xc]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400035b0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, str._abs_srcdir_
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
jne 0x140003543
mov rdi, qword [0x140016018]
lea rdx, str._abs_builddir_
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x1400036b6
nop dword [rax]
lea rcx, [rbp - 0x40]
call fcn.1400079b0
mov rsi, rax
lea rcx, [rbp - 0x40]
lea rax, [rbp - 0x40]
mov r8, rbx
sub r8, rax
mov rdx, rsi
inc r8
call fcn.14000c9a0
lea rcx, [rbp - 0x40]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140003640
xor edx, edx
nop dword [rax]
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140003650
lea rcx, [rbp - 0x40]
mov r8, rsi
sub r8, rcx
lea rcx, [rbp - 0x40]
add r8, rbx
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140003673
xor edx, edx
nop
movzx eax, byte [r8 + rdx + 0xe]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140003680
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, str._abs_builddir_
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
jne 0x140003610
lea rdx, str._testtablespace_
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140003786
lea rcx, [rbp - 0x40]
call fcn.1400079b0
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rax, [rbp - 0x40]
mov r8, rbx
sub r8, rax
mov rdx, rdi
inc r8
call fcn.14000c9a0
lea rcx, [rbp - 0x40]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140003700
lea r8, [rbp + 0x3c0]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140003720
lea rcx, [rbp - 0x40]
mov r8, rdi
sub r8, rcx
lea rax, [rbp - 0x40]
add r8, rbx
dec rax
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140003744
xor edx, edx
movzx ecx, byte [r8 + rdx + 0x10]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140003750
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, str._testtablespace_
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
jne 0x1400036d2
mov rdi, qword [str._lib]
lea rdx, str._libdir_
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140003856
nop dword [rax]
lea rcx, [rbp - 0x40]
call fcn.1400079b0
mov rsi, rax
lea rcx, [rbp - 0x40]
lea rax, [rbp - 0x40]
mov r8, rbx
sub r8, rax
mov rdx, rsi
inc r8
call fcn.14000c9a0
lea rcx, [rbp - 0x40]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400037e0
xor edx, edx
nop dword [rax]
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400037f0
lea rcx, [rbp - 0x40]
mov r8, rsi
sub r8, rcx
lea rcx, [rbp - 0x40]
add r8, rbx
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140003813
xor edx, edx
nop
movzx eax, byte [r8 + rdx + 8]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140003820
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, str._libdir_
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
jne 0x1400037b0
lea rdx, str._DLSUFFIX_
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140003916
lea rcx, [rbp - 0x40]
call fcn.1400079b0
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rax, [rbp - 0x40]
mov r8, rbx
sub r8, rax
mov rdx, rdi
inc r8
call fcn.14000c9a0
lea rcx, [rbp - 0x40]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400038a0
mov eax, dword [str..dll]
mov r8, rdi
mov dword [rcx], eax
movzx eax, byte [0x14000f900]
mov byte [rcx + 4], al
lea rcx, [rbp - 0x40]
sub r8, rcx
lea rcx, [rbp - 0x40]
add r8, rbx
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400038d0
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx + 0xa]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400038e0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, str._DLSUFFIX_
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
jne 0x140003872
mov rdx, r14
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov r8, r15
lea rcx, [rbp - 0x40]
mov edx, 0x400
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140003520
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r14, qword [rsp + 0x50]
lea r9, str..source
mov r8, qword [r12 + 8]
add r12, 8
test r8, r8
jne 0x1400033e0
test r13d, r13d
jle 0x140003a69
mov rcx, qword [rsp + 0x58]
call fcn.140006890
mov rbx, qword [rsp + 0x18e8]
mov r12, qword [rsp + 0x18e0]
mov r15, qword [rsp + 0x18d8]
mov rcx, qword [rbp + 0x17c0]
xor rcx, rsp
call fcn.14000e240
add rsp, 0x18f0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call fcn.14000be10
lea rcx, str._s:_could_not_open_file___s__for_writing:__s_n
mov rbx, rax
call sub.libintl_8.dll_libintl_gettext
mov ecx, 2
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x140016460]
lea r9, [rbp + 0xbc0]
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov rdx, rdi
call fcn.14000a880
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call fcn.14000be10
lea rcx, str._s:_could_not_open_file___s__for_reading:__s_n
mov rbx, rax
call sub.libintl_8.dll_libintl_gettext
mov ecx, 2
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x140016460]
lea r9, [rbp + 0xfc0]
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov rdx, rdi
call fcn.14000a880
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str._s:_no_.source_files_found_in___s__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 [0x140016460]
lea r9, [rbp + 0x7c0]
mov rcx, rax
mov rdx, rbx
call fcn.14000a880
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3