Function at 0x140018ca0
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
push r12
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rax, qword [0x14049b9c0]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov dword [rsp + 0x40], ecx
xor r15d, r15d
mov qword [rsp + 0x48], rdx
mov edi, r15d
mov rax, qword [rdx]
mov qword [0x1404ad320], rax
call fcn.14003ed70
xor ecx, ecx
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x10]
call sub.api_ms_win_crt_time_l1_1_0.dll__localtime64_s
mov eax, dword [rbp + 0x24]
lea r8, [rbp - 0x80]
add eax, 0x76c
mov dword [0x14049ca5c], 0xe10
mov dword [rsp + 0x58], eax
lea rdx, [0x14049ca5c]
mov eax, dword [rbp + 0x20]
lea rcx, [rsp + 0x58]
inc eax
mov byte [rsp + 0x74], dil
mov dword [rsp + 0x5c], eax
mov r12d, 1
mov eax, dword [rbp + 0x1c]
mov dword [rsp + 0x60], eax
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x64], eax
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x70], r15d
mov dword [rsp + 0x78], r12d
call fcn.1400195c0
call sub.api_ms_win_crt_time_l1_1_0.dll__tzset
lea r9, [rsp + 0x48]
mov byte [0x1404accf0], r12b
lea r8, [rsp + 0x40]
lea rdx, str.mysqlbinlog
lea rcx, [0x140097c50]
call fcn.140040760
xor ecx, ecx
test eax, eax
je 0x140018dad
cmp eax, 4
je 0x140018da0
call fcn.14003ec30
mov ecx, r12d
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
call fcn.14003ec30
xor ecx, ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov rax, qword [rsp + 0x48]
lea rdx, [0x14049c540]
xor r9d, r9d
mov qword [0x14049cac0], rax
mov r8d, 0x400
mov qword [rsp + 0x180], rbx
mov dword [rsp + 0x20], r15d
call fcn.14003fe60
mov ecx, 0x1b0
call fcn.14008dd88
mov qword [rsp + 0x50], rax
mov r11, rax
test rax, rax
je 0x1400193df
mov qword [rax + 0x140], 3
lea r10, [rax + 0x150]
mov byte [rax + 0x148], dil
lea r8, [rax + 0x170]
mov qword [r10 + 0x10], r15
lea r9, [r10 + 8]
mov qword [r9 + 0x10], r15
lea rdx, [r8 + 8]
lea rbx, vtable.ilink.0
mov qword [r9], rbx
lea rcx, [rax + 0x190]
mov qword [rdx], rbx
lea rax, [rcx + 8]
mov qword [rdx + 8], r15
mov qword [rdx + 0x10], r15
mov qword [rax], rbx
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [r10], r9
mov qword [r10 + 0x10], r10
mov qword [r8], rdx
mov qword [r8 + 0x10], r8
mov qword [rcx], rax
mov qword [rcx + 0x10], rcx
mov qword [0x14049cab0], r11
test r11, r11
je 0x1400193e6
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14000d1c0
cmp dword [rsp + 0x40], edi
je 0x1400193c5
cmp byte [0x14049caca], dil
jne 0x1400193f2
cmp dword [reloc.WS2_32.dll_bind], 2
jne 0x140018eac
mov dword [reloc.WS2_32.dll_bind], r12d
mov ecx, dword [0x14049c4cc]
call fcn.1400400f0
cmp byte [0x14049c4ca], dil
je 0x140018f3a
cmp byte [0x14049c9f5], dil
je 0x140018ede
lea rcx, str.The___raw_mode_is_not_allowed_with___flashback_mode
call fcn.140009010
mov ecx, r12d
call fcn.1400086d0
int3
mov dword [rsp + 0x30], r15d
lea rdx, [0x14049c460]
mov qword [rsp + 0x28], 0x400
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], 0x400
xor ecx, ecx
call fcn.14003f9b0
mov dword [rsp + 0x30], r15d
lea rdx, [0x14049c490]
mov qword [rsp + 0x28], 0x400
xor r9d, r9d
mov r8d, 8
mov qword [rsp + 0x20], 0x400
xor ecx, ecx
call fcn.14003f9b0
cmp byte [0x14049c9f6], dil
je 0x140018f4a
mov byte [0x14049c9d0], r12b
cmp byte [0x14049c9f5], dil
je 0x140018fd0
cmp byte [0x14049c9f2], dil
jne 0x140018f71
lea rcx, str.The___raw_mode_only_works_with___read_from_remote_server
call fcn.140009010
mov ecx, r12d
call fcn.1400086d0
int3
cmp byte [0x14049cac8], dil
je 0x140018f86
lea rcx, str.The___database_option_is_ignored_in_raw_mode
call fcn.140017c00
cmp qword [0x1402c9090], 0xffffffffffffffff
je 0x140018f9c
lea rcx, str.The___stop_position_option_is_ignored_in_raw_mode
call fcn.140017c00
cmp dword [0x1402cabe4], 0x7fffffff
je 0x140018fb4
lea rcx, str.The___stop_datetime_option_is_ignored_in_raw_mode
call fcn.140017c00
mov rax, qword [0x14049c9c8]
mov qword [0x14049c530], r15
test rax, rax
je 0x140019023
mov qword [0x1402cabd8], rax
jmp 0x140019023
mov rcx, qword [0x14049c9c8]
test rcx, rcx
je 0x140019014
mov edx, 0x8001
mov r8d, reloc.WS2_32.dll_recv
call fcn.14003ea60
mov qword [0x14049c530], rax
test rax, rax
jne 0x140019023
mov rdx, qword [0x14049c9c8]
lea rcx, str.Could_not_create_log_file__s
call fcn.140009010
mov ecx, r12d
call fcn.1400086d0
int3
mov ecx, r12d
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov qword [0x14049c530], rax
cmp qword [0x14049ca50], rdi
mov qword [rbp - 0x40], r15
jne 0x140019067
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.14003f180
test al, al
je 0x140019047
mov edi, r12d
jmp 0x1400193f2
lea rcx, [rbp - 0x70]
call fcn.14003f350
mov rdx, rax
xor ecx, ecx
mov r8d, reloc.WS2_32.dll_recv
call fcn.14003bbb0
mov qword [0x14049ca50], rax
mov dword [rsp + 0x30], r15d
lea rdx, [0x14049c788]
mov qword [rsp + 0x28], 0x64
xor r9d, r9d
mov r8d, 8
mov qword [rsp + 0x20], 0x64
xor ecx, ecx
call fcn.14003f9b0
test al, al
je 0x1400190a1
mov edi, r12d
jmp 0x1400193f2
mov rdx, qword [0x14049ca50]
lea rcx, [0x14049c580]
test rdx, rdx
je 0x1400190bb
call fcn.14000b590
jmp 0x1400190c0
call fcn.14000b540
cmp byte [0x14049c9f5], dil
jne 0x14001913d
mov rcx, qword [0x14049c530]
lea rdx, str.__50530_SET___SESSION.PSEUDO_SLAVE_MODE1___n
call fcn.140018470
mov rcx, qword [0x14049c530]
lea rdx, str.__40019_SET___session.max_delayed_threads0___n
call fcn.140018470
cmp byte [0x14049c9d1], dil
je 0x14001910b
mov rcx, qword [0x14049c530]
lea rdx, str.__32316_SET__OLD_SQL_LOG_BIN__SQL_LOG_BIN__SQL_LOG_BIN0___n
call fcn.140018470
mov rcx, qword [0x14049c530]
lea rdx, str.__50003_SET__OLD_COMPLETION_TYPE__COMPLETION_TYPE_COMPLETION_TYPE0___n
call fcn.140018470
mov r8, qword [0x14049ca38]
test r8, r8
je 0x14001913d
mov rcx, qword [0x14049c530]
lea rdx, str._n__40101_SET__OLD_CHARACTER_SET_CLIENT__CHARACTER_SET_CLIENT____n__40101_SET__OLD_CHARACTER_SET_RESULTS__CHARACTER_SET_RESULTS____n__40101_SET__OLD_COLLATION_CONNECTION__COLLATION_CONNECTION____n__40101_SET_NAMES__s____n
call fcn.140018470
mov eax, dword [rsp + 0x40]
mov rbx, qword [0x1402c9090]
sub eax, r12d
mov dword [rsp + 0x40], eax
mov qword [0x1402c9090], 0xffffffffffffffff
js 0x1400191a8
nop dword [rax]
test eax, eax
jne 0x14001916b
mov qword [0x1402c9090], rbx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
add rax, 8
mov qword [rsp + 0x48], rax
call fcn.140008af0
mov edi, eax
test eax, eax
jne 0x14001919f
mov eax, dword [rsp + 0x40]
sub eax, r12d
mov qword [reloc.WS2_32.dll_connect], 4
mov dword [rsp + 0x40], eax
jns 0x140019160
cmp edi, r12d
je 0x140019333
cmp byte [0x14049c4ca], r15b
je 0x14001924d
mov qword [rsp + 0x188], rsi
mov rsi, qword [0x14049c468]
test rsi, rsi
je 0x14001921a
mov qword [rsp + 0x140], r14
mov r14, rsi
shl r14, 4
nop dword [rax + rax]
mov rbx, qword [0x14049c460]
lea rdx, [0x1400989d4]
mov rcx, qword [0x14049c530]
mov r8, qword [rbx + r14 - 0x10]
call fcn.140018470
mov rcx, qword [rbx + r14 - 0x10]
call fcn.14003b830
lea r14, [r14 - 0x10]
sub rsi, r12
jne 0x1400191e0
mov r14, qword [rsp + 0x140]
mov rcx, qword [0x14049c530]
lea rdx, str.COMMIT_n_____n
call fcn.140018470
lea rcx, [0x14049c460]
call fcn.14003f8e0
lea rcx, [0x14049c490]
call fcn.14003f8e0
mov rsi, qword [rsp + 0x188]
lea rcx, [0x1402cabc0]
call fcn.14000b760
test al, al
jne 0x140019287
mov rbx, qword [0x14049c530]
test rbx, rbx
je 0x140019287
lea rcx, [0x1402cabc0]
call fcn.140014a90
mov r8, rax
lea rdx, [0x1400989d4]
mov rcx, rbx
call fcn.140018470
cmp byte [0x14049c9f5], r15b
jne 0x140019333
cmp byte [0x14049c4ca], r15b
je 0x1400192b0
mov rcx, qword [0x14049c530]
lea rdx, str.DELIMITER___n
call fcn.140018470
cmp byte [0x14049c9f5], r15b
jne 0x140019333
mov rcx, qword [0x14049c530]
lea rdx, str._End_of_log_file_nROLLBACK___added_by_mysqlbinlog____n__50003_SET_COMPLETION_TYPE_OLD_COMPLETION_TYPE___n
call fcn.140018470
cmp byte [0x14049c9d1], r15b
je 0x1400192e8
mov rcx, qword [0x14049c530]
lea rdx, str.__32316_SET_SQL_LOG_BIN_OLD_SQL_LOG_BIN___n
call fcn.140018470
cmp qword [0x14049ca38], r15
je 0x140019304
mov rcx, qword [0x14049c530]
lea rdx, str.__40101_SET_CHARACTER_SET_CLIENT_OLD_CHARACTER_SET_CLIENT____n__40101_SET_CHARACTER_SET_RESULTS_OLD_CHARACTER_SET_RESULTS____n__40101_SET_COLLATION_CONNECTION_OLD_COLLATION_CONNECTION____n
call fcn.140018470
mov rcx, qword [0x14049c530]
lea rdx, str.__50530_SET___SESSION.PSEUDO_SLAVE_MODE0___n
call fcn.140018470
cmp qword [0x14049cae8], r15
je 0x140019333
mov rcx, qword [0x14049c530]
lea rdx, str.__100001_SET___SESSION.SERVER_ID__GLOBAL.SERVER_ID____n__100001_SET___SESSION.GTID_DOMAIN_ID__GLOBAL.GTID_DOMAIN_ID____n
call fcn.140018470
cmp qword [rbp - 0x40], r15
je 0x140019342
lea rcx, [rbp - 0x70]
call fcn.14003f100
cmp qword [0x14049c530], r15
je 0x14001936d
mov ecx, r12d
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, qword [0x14049c530]
cmp rcx, rax
je 0x140019368
xor edx, edx
call fcn.14003e9a0
jmp 0x14001936d
call fcn.14008dacc
cmp edi, r12d
je 0x1400193a2
cmp qword [0x14049cae0], r15
je 0x1400193a2
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
movzx r8d, byte [0x1402cab5c]
mov rdx, rax
mov rcx, qword [0x14049cae0]
call fcn.140016850
test al, al
cmovne edi, r12d
call fcn.140007ca0
mov ecx, dword [0x14049c52c]
or ecx, 4
call fcn.14003ec30
cmp edi, r12d
sete r15b
mov ecx, r15d
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
cmp byte [0x14049caca], dil
jne 0x1400193f2
lea rcx, str.Please_provide_the_log_file_s_._Run_with___help_for_usage_instructions.
call fcn.140009010
mov edi, r12d
jmp 0x1400193f2
mov qword [0x14049cab0], r15
lea rcx, str.Failed_to_create_Rpl_filter
call fcn.140009010
call fcn.140007ca0
mov ecx, dword [0x14049c52c]
call fcn.14003ec30
mov ecx, edi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3