Function at 0x1400015c0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14001c210]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov dword [rsp + 0x44], ecx
mov qword [rsp + 0x48], rdx
mov r15d, 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x44]
xor esi, esi
xor r12d, r12d
xor r8d, r8d
mov r13d, r15d
mov r14d, r15d
lea edi, [rsi + 2]
mov dword [rsp + 0x40], r12d
call fcn.14000a440
lea rcx, [0x140001d00]
call fcn.14001177c
lea rcx, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.14000ad10
mov rdx, qword [rsp + 0x38]
lea rcx, [0x140001d10]
call fcn.14000abe0
mov rdx, qword [rsp + 0x38]
lea rcx, [0x14001d740]
call fcn.14000bbf0
lea rdx, [0x140001080]
mov ecx, edi
call qword [sym.imp.MSVCR110.dll_signal]
mov rcx, qword [rsp + 0x38]
lea edx, [rsi + 0x68]
call fcn.14000aa70
lea r8d, [r15 + 0x67]
xor edx, edx
mov rcx, rax
mov rbx, rax
call sub.MSVCR110.dll_memset
mov rax, qword [rsp + 0x38]
mov qword [0x14001c260], rbx
mov qword [rbx + 8], rax
mov rax, qword [0x14001c260]
lea rdx, str.default
mov dword [rax + 0x30], edi
mov rax, qword [0x14001c260]
lea rcx, [rsp + 0x50]
mov qword [rax + 0x58], rdx
mov r9, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x38]
call fcn.14000c400
test eax, eax
je 0x1400016dd
mov ecx, edi
call qword [sym.imp.MSVCR110.dll_exit]
int3
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x30]
lea rdx, str.cnmspdBbtivxlC:T:
call fcn.14000c230
mov edx, eax
test eax, eax
jne 0x14000180b
lea r8, [0x140000000]
nop dword [rax]
movsx edx, byte [rsp + 0x30]
lea eax, [rdx - 0x54]
cmp eax, 0x24
ja case.0x140001737.91
cdqe
movzx eax, byte [r8 + rax + 0x1cd4]
mov ecx, dword [r8 + rax*4 + 0x1cb4]
add rcx, r8
jmp rcx
mov rax, qword [0x14001c260]
mov dword [rax + 0x60], 1
jmp 0x1400017df
xor r15d, r15d
dec edi
lea esi, [r15 + 4]
jmp 0x1400017df
mov rax, qword [0x14001c260]
xor r14d, r14d
xor r13d, r13d
mov dword [rax + 0x64], 1
lea esi, [r14 + 3]
dec edi
jmp 0x1400017df
mov r12d, 1
inc edi
jmp 0x1400017df
mov rcx, qword [0x14001c260]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rcx + 8]
call fcn.14000b640
mov rcx, qword [0x14001c260]
mov qword [rcx + 0x58], rax
jmp 0x1400017df
mov rax, qword [0x14001c260]
mov esi, 2
mov dword [rax + 0x64], 1
jmp 0x1400017df
xor r14d, r14d
lea esi, [r14 + 1]
jmp 0x1400017df
mov rcx, qword [0x14001c260]
mov r8, qword [rsp + 0x58]
add rcx, 8
call fcn.140002290
mov ebx, eax
test eax, eax
jne 0x140001889
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x30]
lea rdx, str.cnmspdBbtivxlC:T:
call fcn.14000c230
lea r8, [0x140000000]
mov edx, eax
test eax, eax
je 0x140001710
mov rcx, qword [0x14001c260]
cmp dword [rcx + 0x38], 1
jne 0x14000181d
xor r14d, r14d
inc edi
mov rax, qword [rsp + 0x50]
movsxd rbx, dword [rax + 0x18]
cmp edx, 0x1117e
jne 0x140001c8b
mov eax, dword [rsp + 0x44]
sub eax, ebx
cmp eax, edi
jne 0x140001c8b
test r15d, r15d
je 0x140001947
mov rax, qword [rsp + 0x48]
mov rcx, qword [rcx + 8]
mov rdx, qword [rax + rbx*8]
call fcn.14000b640
mov rcx, qword [0x14001c260]
inc ebx
mov qword [rcx + 0x40], rax
mov rcx, qword [0x14001c260]
cmp dword [rcx + 0x60], 0
je 0x1400018b4
mov rdx, qword [rcx + 8]
mov r9d, 3
mov r8, rax
mov qword [rsp + 0x28], rdx
jmp 0x1400018cd
call qword [sym.imp.MSVCR110.dll___iob_func]
mov r8, qword [0x14001c260]
lea rdx, str.Error:__s_n
mov r8, qword [r8 + 0x10]
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
mov ecx, ebx
call qword [sym.imp.MSVCR110.dll_exit]
int3
mov eax, dword [rcx + 0x64]
mov r8, qword [rcx + 0x40]
neg eax
mov rax, qword [rcx + 8]
sbb r9d, r9d
mov qword [rsp + 0x28], rax
add r9d, 2
mov rdx, qword [rcx + 0x58]
mov dword [rsp + 0x20], 0xfff
call fcn.140002670
mov edi, eax
test eax, eax
je 0x140001940
call qword [sym.imp.MSVCR110.dll___iob_func]
mov r8, qword [0x14001c260]
lea rdx, str.Error_opening_database__s_n
mov r8, qword [r8 + 0x40]
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
lea rdx, [rsp + 0x60]
mov r8d, 0x100
mov ecx, edi
call fcn.14000a380
call qword [sym.imp.MSVCR110.dll___iob_func]
lea r8, [rsp + 0x60]
lea rcx, [rax + 0x60]
lea rdx, [0x140013c84]
call qword [sym.imp.MSVCR110.dll_fprintf]
mov ecx, 1
call qword [sym.imp.MSVCR110.dll_exit]
int3
mov rcx, qword [0x14001c260]
test r13d, r13d
je 0x140001992
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
movsxd rdx, ebx
mov rdx, qword [rax + rdx*8]
call fcn.14000b640
mov rcx, qword [0x14001c260]
inc ebx
mov qword [rcx + 0x48], rax
mov rcx, qword [0x14001c260]
call fcn.140001450
test eax, eax
je 0x14000198b
mov ecx, 6
call qword [sym.imp.MSVCR110.dll_exit]
int3
mov rcx, qword [0x14001c260]
cmp dword [rcx + 0x38], 1
jne 0x1400019c2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
movsxd rdx, ebx
mov rdx, qword [rax + rdx*8]
call fcn.14000b640
mov rcx, qword [0x14001c260]
inc ebx
mov qword [rcx + 0x28], rax
mov rcx, qword [0x14001c260]
test r14d, r14d
je 0x140001a08
add rcx, 8
call fcn.140001e60
mov edi, eax
test eax, eax
je 0x140001a01
call qword [sym.imp.MSVCR110.dll___iob_func]
mov r8, qword [0x14001c260]
lea rdx, str.Error:__s_n
mov r8, qword [r8 + 0x10]
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
mov ecx, edi
call qword [sym.imp.MSVCR110.dll_exit]
int3
mov rcx, qword [0x14001c260]
test r12d, r12d
je 0x140001a35
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
movsxd rdx, ebx
mov rdx, qword [rax + rdx*8]
call fcn.14000b640
mov rcx, qword [0x14001c260]
mov qword [rcx + 0x50], rax
mov rcx, qword [0x14001c260]
mov edx, esi
dec edx
je 0x140001b0e
dec edx
je 0x140001a67
dec edx
je 0x140001a5d
call fcn.1400012a0
test eax, eax
je 0x140001b5c
mov ecx, eax
call qword [sym.imp.MSVCR110.dll_exit]
int3
call fcn.1400010d0
jmp 0x140001b5c
call fcn.1400014e0
test eax, eax
je 0x140001aea
cmp eax, 2
je 0x140001abc
lea ecx, [rax - 0xafc82]
cmp ecx, 1
jbe 0x140001abc
cmp eax, 0xafcee
je 0x140001abc
cmp eax, 0xafc92
je 0x140001abc
call qword [sym.imp.MSVCR110.dll___iob_func]
mov r8, qword [0x14001c260]
lea rdx, str.Password_mismatch_for_user__s_n
mov r8, qword [r8 + 0x48]
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
mov ecx, 3
call qword [sym.imp.MSVCR110.dll_exit]
int3
call qword [sym.imp.MSVCR110.dll___iob_func]
mov r8, qword [0x14001c260]
lea rdx, str.The_user__s_could_not_be_found_in_database_n
mov r8, qword [r8 + 0x48]
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
mov ecx, 6
call qword [sym.imp.MSVCR110.dll_exit]
int3
call qword [sym.imp.MSVCR110.dll___iob_func]
mov r8, qword [0x14001c260]
lea rdx, str.Password_validated_for_user__s_n
mov r8, qword [r8 + 0x48]
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
jmp 0x140001b5c
call fcn.140001000
test eax, eax
je 0x140001b45
call qword [sym.imp.MSVCR110.dll___iob_func]
mov r8, qword [0x14001c260]
lea rdx, str.Cannot_find_user__s_in_database_n
mov r8, qword [r8 + 0x48]
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
mov ecx, 6
call qword [sym.imp.MSVCR110.dll_exit]
int3
mov rax, qword [0x14001c260]
mov dword [rsp + 0x40], 1
mov qword [rax + 0x48], 0
test r15d, r15d
je 0x140001bf7
mov rbx, qword [0x14001c260]
cmp dword [rbx + 0x64], 0
jne 0x140001bf7
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140001340
test eax, eax
je 0x140001ba5
lea rdx, [rsp + 0x60]
mov r8d, 0x100
mov ecx, eax
call fcn.14000a380
mov ecx, 1
call qword [sym.imp.MSVCR110.dll_exit]
int3
mov rax, qword [0x14001c260]
cmp dword [rax + 0x60], 0
je 0x140001bbb
lea rbx, str.created
jmp 0x140001bd2
cmp dword [rsp + 0x40], 0
lea rax, str.modified
lea rbx, str.updated
cmovne rbx, rax
call qword [sym.imp.MSVCR110.dll___iob_func]
mov r8, qword [0x14001c260]
lea rdx, str.Database__s__s._n
mov r8, qword [r8 + 0x40]
lea rcx, [rax + 0x30]
mov r9, rbx
call qword [sym.imp.MSVCR110.dll_fprintf]
cmp esi, 4
jne 0x140001c47
call qword [sym.imp.MSVCR110.dll___iob_func]
mov r8, qword [0x14001c260]
mov r9, qword [r8 + 0x28]
test r12d, r12d
jne 0x140001c29
mov r8, qword [r8 + 0x48]
lea rcx, [rax + 0x60]
lea rdx, str._s:_s_n
call qword [sym.imp.MSVCR110.dll_fprintf]
jmp 0x140001c47
mov rcx, qword [r8 + 0x50]
mov r8, qword [r8 + 0x48]
lea rdx, str._s:_s:_s_n
mov qword [rsp + 0x20], rcx
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
mov rbx, qword [0x14001c260]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140001c5b
call fcn.1400025e0
mov qword [rbx], 0
xor eax, eax
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140011830
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.htdbm____program_for_manipulating_DBM_password_databases._n_nUsage:_htdbm_____cimBdpstvx____C_cost____TDBTYPE__database_username_n_________________b_cmBdptsv____C_cost____TDBTYPE__database_username_password_n_________________n_imBdpst_____C_cost__username_n_________________nb_mBdpst_____C_cost__username_password_n_________________v_imBdps______C_cost____TDBTYPE__database_username_n_________________vb_mBdps______C_cost____TDBTYPE__database_username_password_n_________________x_______________________TDBTYPE__database_username_n_________________l_______________________TDBTYPE__database_nOptions:_n____c___Create_a_new_database._n____n___Dont_update_database__display_results_on_stdout._n____b___Use_the_password_from_the_command_line_rather_than_prompting_for_it._n____i___Read_password_from_stdin_without_verification__for_script_usage_._n____m___Force_MD5_encryption_of_the_password__default_._n____B___Force_BCRYPT_encryption_of_the_password__very_secure_._n____C___Set_the_computing_time_used_for_the_bcrypt_algorithm_n_________higher_is_more_secure_but_slower__default:__d__valid:_4_to_31_._n____d___Force_CRYPT_encryption_of_the_password__8_chars_max__insecure_._n____s___Force_SHA_encryption_of_the_password__insecure_._n____p___Do_not_encrypt_the_password__plaintext__insecure_._n____T___DBM_Type__SDBMGDBMDBdefault_._n____l___Display_usernames_from_database_on_stdout._n____v___Verify_the_username_password._n____x___Remove_the_username_record_from_database._n____t___The_last_param_is_username_comment._nThe_SHA_algorithm_does_not_use_a_salt_and_is_less_secure_than_the_MD5_algorithm._n
mov r8d, 5
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
mov ecx, 2
call qword [sym.imp.MSVCR110.dll_exit]
int3