Function at 0x14014c4b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x160
mov rdi, qword [0x14022c040]
mov r9d, dword [rdx + 0x3c]
mov rbp, qword [rdi]
mov qword [rsp + 0x158], rbp
xor ebp, ebp
mov rbx, rcx
mov rsi, rdx
test r9d, r9d
jne 0x14014c1fd
xor ebp, ebp
test byte [rcx + 0x94], 3
setne bpl
xor r8d, r8d
lea rdx, [0x14014bdd0]
lea rcx, [0x14014be40]
call qword [sym.imp.libpcre2_8_0.dll_pcre2_general_context_create_8]
mov qword [rbx + 0x80], rax
test rax, rax
je 0x14014c456
mov r8d, dword [rsi + 0x3c]
test r8d, r8d
jne 0x14014c2f0
mov r12d, 0x400
mov edx, dword [rsi + 0x94]
mov r8d, r12d
test edx, edx
jne 0x14014c261
call fcn.1400285c0
test eax, eax
setne al
xor ebp, 1
and ebp, eax
neg ebp
and ebp, 0x40a0000
mov r8d, ebp
or r8d, r12d
mov rax, qword [rbx + 0x78]
mov rcx, qword [rbx + 0x18]
lea r9, [rsp + 0x3c]
mov rdx, qword [rbx + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.libpcre2_8_0.dll_pcre2_compile_8]
mov qword [rbx + 0x68], rax
mov rcx, rax
test rax, rax
je 0x14014c462
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.libpcre2_8_0.dll_pcre2_match_data_create_from_pattern_8]
mov qword [rbx + 0x70], rax
test rax, rax
je 0x14014c485
lea rdx, [rbx + 0x90]
mov ecx, 1
call qword [sym.imp.libpcre2_8_0.dll_pcre2_config_8]
mov eax, dword [rbx + 0x90]
test eax, eax
jne 0x14014c320
mov rax, qword [rsp + 0x158]
sub rax, qword [rdi]
jne 0x14014c451
add rsp, 0x160
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov ecx, dword [rsi + 0x94]
mov r8d, 0x408
test ecx, ecx
jne 0x14014c261
mov rcx, qword [rbx + 0x18]
call fcn.140047c10
test eax, eax
jne 0x14014c3d0
mov r12d, 0x408
jmp 0x14014c237
mov rcx, qword [rbx + 0x68]
mov edx, 1
call qword [sym.imp.libpcre2_8_0.dll_pcre2_jit_compile_8]
mov esi, eax
cmp eax, 0xffffffd0
je 0x14014c378
test eax, eax
jne 0x14014c41d
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x48]
mov edx, 0xa
call qword [sym.imp.libpcre2_8_0.dll_pcre2_pattern_info_8]
test eax, eax
jne 0x14014c491
cmp qword [rsp + 0x48], 0
jne 0x14014c2cd
mov dword [rbx + 0x90], 0
jmp 0x14014c2cd
mov eax, dword [0x1401e7d00]
cmp eax, 0xffffffff
je 0x14014c410
test eax, eax
je 0x14014c366
mov rdi, qword [rbx + 0x20]
mov edx, 0x40
cmp rdi, rdx
cmovbe rdx, rdi
lea rcx, str._nPerhaps_prefix__NO_JIT__to_your_pattern_
lea r9, [0x1402159f3]
cmp rdi, 0x40
jbe 0x14014c3b6
lea r9, [0x1402159f4]
mov qword [rsp + 0x28], rcx
lea rcx, str.Couldnt_JIT_the_PCRE2_pattern__.s_s__got__d_s
mov dword [rsp + 0x20], esi
mov r8, qword [rbx + 0x18]
call fcn.1400b6950
nop
mov rcx, qword [rbx + 0x80]
call qword [sym.imp.libpcre2_8_0.dll_pcre2_maketables_8]
mov rcx, qword [rbx + 0x80]
mov qword [rbx + 0x88], rax
call qword [sym.imp.libpcre2_8_0.dll_pcre2_compile_context_create_8]
mov rdx, qword [rbx + 0x88]
mov qword [rbx + 0x78], rax
mov rcx, rax
call qword [sym.imp.libpcre2_8_0.dll_pcre2_set_character_tables_8]
jmp 0x14014c315
call fcn.14014c130
test eax, eax
je 0x14014c366
mov eax, dword [0x1401e7d00]
mov rdi, qword [rbx + 0x20]
cmp eax, 0xffffffff
jne 0x14014c431
call fcn.14014c130
mov edx, 0x40
lea rcx, [0x1402159f3]
cmp rdi, rdx
cmovbe rdx, rdi
test eax, eax
je 0x14014c3a2
jmp 0x14014c39b
call fcn.1401d96b0
lea rcx, str.Couldnt_allocate_PCRE2_general_context
call fcn.1400b6950
lea rsi, [rsp + 0x50]
mov ecx, dword [rsp + 0x3c]
mov r8d, 0x100
mov rdx, rsi
call qword [sym.imp.libpcre2_8_0.dll_pcre2_get_error_message_8]
mov rdx, rsi
mov rcx, rbx
call fcn.14014be50
lea rcx, str.Couldnt_allocate_PCRE2_match_data
call fcn.1400b6950
mov r9d, eax
lea r8, str.pcre2_pattern_info___failed:__d
mov edx, 0x18e
lea rcx, str.grep.c
call fcn.1400b6d50
nop
nop dword [rax]
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x458
mov rbp, qword [0x14022c040]
mov rdi, rdx
mov rbx, rcx
mov rdx, qword [rbp]
mov qword [rsp + 0x448], rdx
mov edx, dword [rdi + 0x90]
test edx, edx
je 0x14014c560
mov eax, dword [rdi + 0x3c]
mov rsi, qword [rbx + 0x20]
mov r12, qword [rbx + 0x18]
and eax, 1
shl eax, 2
cmp edx, 3
sete cl
or eax, ecx
mov ecx, dword [rdi + 0x50]
and ecx, 1
shl ecx, 3
or eax, ecx
movzx ecx, byte [rbx + 0x94]
and ecx, 0xfffffff2
or eax, ecx
mov byte [rbx + 0x94], al
cmp edx, 4
jne 0x14014c5a8
test rsi, rsi
je 0x14014c5e0
mov rcx, qword [str._________AA__A__________________]
mov rax, r12
lea r8, [r12 + rsi]
jmp 0x14014c54d
add rax, 1
cmp r8, rax
je 0x14014c5e0
movzx edx, byte [rax]
test byte [rcx + rdx], 0x18
je 0x14014c540
xor edx, edx
jmp 0x14014c5e5
mov edx, dword [rdi + 0x8c]
mov eax, 1
test edx, edx
je 0x14014c574
mov eax, 2
mov edx, dword [rdi + 0x3c]
mov rsi, qword [rbx + 0x20]
mov dword [rdi + 0x90], eax
mov eax, dword [rdi + 0x50]
mov r12, qword [rbx + 0x18]
and edx, 1
and eax, 1
shl edx, 2
shl eax, 3
or eax, edx
movzx edx, byte [rbx + 0x94]
and edx, 0xfffffff2
or eax, edx
mov byte [rbx + 0x94], al
xor edx, edx
mov r8, rsi
mov rcx, r12
call sub.msvcrt.dll_memchr
test rax, rax
je 0x14014c521
mov rax, qword [str.PF__]
lea rcx, str.given_pattern_contains_NULL_byte__via__f__file__._This_is_only_supported_with__P_under_PCRE_v2
cmp dword [rax], 0
je 0x14014c5d9
call fcn.1401d81b8
mov rcx, rax
call fcn.1400b6950
nop
mov edx, 1
movzx eax, byte [rbx + 0x94]
add edx, edx
and eax, 0xfffffffd
or eax, edx
mov byte [rbx + 0x94], al
mov edx, eax
test al, 3
je 0x14014c638
and edx, 2
je 0x14014c6c0
mov rax, qword [rsp + 0x448]
sub rax, qword [rbp]
jne 0x14014c7c6
mov rdx, rdi
mov rcx, rbx
add rsp, 0x458
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp 0x14014c1c0
lea rdx, str._NO_JIT_
mov rcx, r12
call fcn.14008e400
test eax, eax
jne 0x14014c760
movzx edx, byte [rbx + 0x94]
test dl, 3
jne 0x14014c5ff
mov eax, dword [rdi + 0x90]
cmp eax, 4
je 0x14014c608
and edx, 4
lea rsi, [rbx + 0x30]
cmp dl, 1
mov rcx, rsi
sbb r8d, r8d
and r8d, 0xfffffffe
add r8d, 6
mov edx, r8d
or edx, 1
cmp eax, 2
cmove r8d, edx
mov rdx, qword [rbx + 0x18]
call fcn.1400ea0e0
test eax, eax
jne 0x14014c7a3
mov rax, qword [rsp + 0x448]
sub rax, qword [rbp]
jne 0x14014c7c6
add rsp, 0x458
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rax, qword [0x14022c910]
lea rsi, [rsp + 0x20]
mov r13, qword [rbx + 0x18]
mov r8d, 2
mov rcx, rsi
lea rdx, [0x140215b11]
mov r12, qword [rbx + 0x20]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
call fcn.14008f5f0
mov rdx, qword [rbx + 0x18]
mov r8, qword [rbx + 0x20]
mov rcx, rsi
call fcn.14008f5f0
mov r8d, 2
mov rcx, rsi
lea rdx, [0x140215b14]
call fcn.14008f5f0
mov rax, qword [rsp + 0x30]
mov rcx, rbx
mov rdx, rdi
mov qword [rbx + 0x18], rax
mov rax, qword [rsp + 0x28]
mov qword [rbx + 0x20], rax
call 0x14014c1c0
mov qword [rbx + 0x18], r13
mov rcx, rsi
mov qword [rbx + 0x20], r12
call fcn.14008e580
jmp 0x14014c69c
mov rdx, qword [rbx + 0x20]
mov r8, qword [rbx + 0x18]
cmp rdx, 9
je 0x14014c797
lea rax, [r8 + 9]
mov rcx, qword [str._________AA__A__________________]
add r8, rdx
jmp 0x14014c789
add rax, 1
cmp rax, r8
je 0x14014c797
movzx edx, byte [rax]
test byte [rcx + rdx], 0x18
je 0x14014c780
jmp 0x14014c64f
or byte [rbx + 0x94], 2
jmp 0x14014c64f
lea rdi, [rsp + 0x40]
mov rdx, rsi
mov ecx, eax
mov r9d, 0x400
mov r8, rdi
call fcn.1400ea200
mov rdx, rdi
mov rcx, rbx
call fcn.14014be50
call fcn.1401d96b0
nop
nop dword [rax]