Function at 0x140012c60
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x14049b9c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], r8
lea rdx, [rsp + 0x40]
add rcx, 0x468
mov r8d, 8
movzx ebp, r9b
call fcn.1400452a0
test rax, rax
je 0x140012cab
mov rbx, qword [rax + 8]
jmp 0x140012cad
xor ebx, ebx
xor dil, dil
cmp byte [0x14049c4ca], dil
je 0x140012d13
mov rax, qword [rsp + 0x38]
test bpl, bpl
je 0x140012ccf
mov ecx, 0xfffe
and word [rax + 0x118], cx
cmp qword [0x14049c498], 0
movzx edx, word [rax + 0x118]
jne 0x140012ceb
or dx, 1
mov word [rax + 0x118], dx
mov rcx, qword [rax + 0x110]
mov rax, qword [rax + 0x10]
mov word [rcx + rax], dx
lea rdx, [rsp + 0x38]
lea rcx, [0x14049c490]
call fcn.14003fa50
test al, al
jne 0x140012ff9
test bpl, bpl
je 0x140012e06
cmp dword [rsi + 0x480], 0
jbe 0x140012d31
lea rcx, [rsi + 0x420]
call fcn.140007ed0
mov rcx, qword [0x14049cb18]
test rcx, rcx
je 0x140012d53
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x28]
mov qword [0x14049cb18], 0
test rbx, rbx
je 0x140012e12
cmp dword [rsi + 0x668], 2
lea rbx, [rsi + 0x5d0]
jne 0x140012d72
mov rax, qword [rbx + 0x40]
jmp 0x140012d76
mov rax, qword [rbx + 0x10]
sub rax, qword [rbx + 0x28]
add rax, qword [rbx]
test rax, rax
je 0x140012d98
lea r8, [rsi + 0x308]
mov rcx, rbx
lea rdx, str._s_n
call fcn.14003d9d0
mov rdx, qword [0x14049c530]
lea rcx, [rsi + 0x4e8]
call fcn.14003d820
test eax, eax
jne 0x140012dff
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsi + 0x4e8]
mov edx, 2
call fcn.14003d5c0
test al, al
jne 0x140012dff
mov rdx, qword [0x14049c530]
mov rcx, rbx
call fcn.140008310
test al, al
jne 0x140012dff
mov rdx, qword [0x14049c530]
lea rcx, [rsi + 0x6b8]
call fcn.140008310
test al, al
setne al
jmp 0x140012fc1
mov al, 1
jmp 0x140012fc1
test rbx, rbx
je 0x140012e12
xor al, al
jmp 0x140012fc1
cmp byte [0x14049c4ca], dil
jne 0x140012e39
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.140010b00
movzx edi, al
test bpl, bpl
je 0x140012fbd
jmp 0x140012f7d
test bpl, bpl
je 0x140012fbd
mov rbp, qword [0x14049c498]
xor ebx, ebx
mov qword [rsp + 0x70], r14
test rbp, rbp
je 0x140012eca
nop word [rax + rax]
mov rax, qword [0x14049c490]
mov rbx, qword [rax + rbp*8 - 8]
test dil, dil
jne 0x140012ec1
cmp byte [rsi + 0x4e3], dil
jne 0x140012fd7
cmp byte [0x14049c9f1], dil
jne 0x140012fd7
mov eax, dword [reloc.WS2_32.dll_bind]
cmp eax, 3
je 0x140012fd7
test eax, eax
je 0x140012fd7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
mov ecx, eax
call fcn.14000aa60
mov rdx, rax
lea rcx, str.malformed_binlog:_it_does_not_contain_any_Format_description_log_event._Found_a__s_event__which_is_not_safe_to_process_without_a_Format_description_log_event.
call fcn.140009010
mov dil, 1
sub rbp, 1
jne 0x140012e60
mov rcx, qword [rsp + 0x38]
mov rax, qword [rbx + 0x50]
lea r14, [rcx + 0x58]
mov qword [rcx + 0x50], rax
mov edx, dword [rbx + 0x60]
mov eax, dword [r14 + 0xc]
inc edx
cmp rdx, rax
ja 0x140012eed
test eax, eax
jne 0x140012ef9
mov rcx, r14
call fcn.140016590
test al, al
jne 0x140012f1e
mov eax, dword [rbx + 0x60]
mov dword [r14 + 8], eax
test eax, eax
je 0x140012f13
mov rdx, qword [rbx + 0x58]
mov r8d, eax
mov rcx, qword [r14]
call fcn.140092830
mov ecx, dword [r14 + 8]
mov rax, qword [r14]
mov byte [rcx + rax], 0
mov rdx, qword [0x14049c498]
xor ebp, ebp
mov r14, qword [rsp + 0x70]
lea rax, [rdx - 1]
test rax, rax
je 0x140012f72
xor ebx, ebx
nop word [rax + rax]
mov rax, qword [0x14049c490]
mov rcx, qword [rbx + rax]
test rcx, rcx
je 0x140012f62
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x28]
mov rdx, qword [0x14049c498]
inc rbp
lea rax, [rdx - 1]
add rbx, 8
cmp rbp, rax
jb 0x140012f40
mov qword [0x14049c498], 0
test dil, dil
jne 0x140012fbd
cmp byte [rsi + 0x4e1], dil
je 0x140012fb2
mov rcx, qword [rsi + 0x328]
lea rdx, [rsp + 0x48]
call fcn.140055e10
mov rcx, qword [0x14049c530]
lea rdx, str._Number_of_rows:__s_n
mov r8, rax
call fcn.140018470
mov qword [rsi + 0x328], 0
movzx eax, dil
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14008e500
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rbx]
mov r8, rsi
mov rdx, qword [0x14049c530]
mov rcx, rbx
call qword [rax]
test al, al
jne 0x140012ec1
xor dil, dil
jmp 0x140012ec4
lea rcx, str.Out_of_memory:_cant_allocate_memory_to_store_the_flashback_events.
call fcn.140009010
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3