Function at 0x14022ba10
Capabilities:
Authenticate hmac
Encode data using xor
Parse credit card information

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
mov qword [r8], 0
test rdx, rdx
je 0x14022bbdf
movzx eax, word [rcx]
cmp eax, 0x2f
je 0x14022ba33
cmp eax, 0x5c
jne 0x14022ba6a
cmp rdx, 2
jb 0x14022bbdf
movzx eax, word [rcx + 2]
cmp eax, 0x5c
je 0x14022ba4f
cmp eax, 0x2f
jne 0x14022bb3d
cmp rdx, 2
jne 0x14022bbe8
mov qword [r8], 2
mov eax, 2
jmp 0x14022bbe1
mov r11b, 1
xor r9d, r9d
xor r10d, r10d
movabs rax, 0xa7608d98032ac898
lea rsi, [rdx + rax]
movabs rdi, 0x19d2dba5a3ce7eda
sub rsi, rdi
sub rsi, rax
sub rsi, r10
add rsi, rdi
cmp rsi, 2
jb 0x14022bc98
movzx eax, word [rcx + r10*2]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
setae al
setb bl
mov rsi, r10
or rsi, 1
cmp rsi, rdx
setae sil
setb dil
xor dil, bl
and sil, al
or sil, dil
jne 0x14022bc98
mov rax, r10
xor rax, 1
nop
inc rax
test rcx, rcx
movzx esi, word [rcx + rax*2 - 2]
mov edi, esi
and edi, 0xffffffdf
xor edi, 0xffffffbf
mov ebx, esi
and ebx, 0x7f9f
lea edi, [rdi + rbx*2]
cmp di, 0x1a
setb bl
mov edi, esi
add edi, 0xffffffd0
cmp di, 0xa
setb bpl
cmp si, 0x24
sete dil
mov r14d, dword [0x1404ef704]
cmp r14d, 0x44
jg 0x14022bae6
or dil, bpl
or dil, bl
je 0x14022bc72
cmp rdx, rax
jne 0x14022bae0
jmp 0x14022bc98
cmp rdx, 4
jb 0x14022bbdf
cmp word [rcx + 2], 0x3f
jne 0x14022bbdf
mov eax, dword [0x1404ef700]
lea r9d, [rax - 1]
imul r9d, eax
test r9b, 1
nop word cs:[rax + rax]
movzx eax, word [rcx + 4]
mov r9d, dword [0x1404ef704]
cmp r9d, 0x36
jg 0x14022bb70
cmp ax, 0x3f
jne 0x14022bbdf
nop word [rax + rax]
mov eax, dword [0x1404ef700]
lea r9d, [rax - 1]
imul r9d, eax
test r9b, 1
jne 0x14022bb90
lea rax, [fcn.14022ba10]
add eax, eax
add eax, 0x3fc0
mov r9d, eax
not r9d
test r9d, eax
jne 0x14022bb90
movzx eax, word [rcx + 6]
mov r10d, 4
mov r9b, 1
xor r11d, r11d
cmp eax, 0x2f
je 0x14022ba73
cmp eax, 0x5c
je 0x14022ba73
xor eax, eax
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
cmp rdx, 4
jb 0x14022bc50
movzx eax, word [rcx + 4]
cmp eax, 0x3f
je 0x14022bc00
cmp eax, 0x2e
jne 0x14022bc50
nop dword [rax]
mov eax, dword [0x1404ef700]
mov r9d, eax
not r9d
imul r9d, eax
test r9b, 1
je 0x14022bc21
mov eax, dword [0x1404ef704]
cmp eax, 0x62
jge 0x14022bc00
movzx eax, word [rcx + 6]
mov r9d, dword [0x1404ef704]
cmp r9d, 0xb
jg 0x14022bc16
mov r10d, 4
mov r9b, 1
xor r11d, r11d
cmp eax, 0x2f
je 0x14022ba73
cmp eax, 0x5c
je 0x14022ba73
movzx r9d, word [rcx + 4]
xor eax, eax
cmp r9d, 0x2f
je 0x14022bbe1
cmp r9d, 0x5c
je 0x14022bbe1
mov r10d, 2
mov r9b, 1
jmp 0x14022bcd1
cmp si, 0x3a
jne 0x14022bc98
mov qword [r8], rax
cmp rax, rdx
jae 0x14022bcc9
movzx ecx, word [rcx + rax*2]
cmp ecx, 0x2f
je 0x14022bbe1
cmp ecx, 0x5c
je 0x14022bbe1
jmp 0x14022bcc9
mov eax, dword [0x1404ef704]
cmp eax, 0x25
jg 0x14022bcb0
mov al, 1
test al, al
jne 0x14022bcc4
nop dword [rax]
mov eax, dword [0x1404ef700]
lea esi, [rax - 1]
imul esi, eax
test sil, 1
jne 0x14022bcb0
jmp 0x14022bca3
test r11b, r11b
je 0x14022bcd1
mov rax, rdx
jmp 0x14022bbe1
mov eax, dword [0x1404ef704]
cmp eax, 0x4f
jg 0x14022bcf0
mov eax, dword [0x1404ef704]
cmp eax, 0x20
jl 0x14022bcfd
nop word [rax + rax]
mov eax, dword [0x1404ef704]
cmp eax, 0x33
jge 0x14022bcf0
jmp 0x14022bcdc
mov r11, rdx
sub r11, r10
je 0x14022bd38
lea rcx, [rcx + r10*2]
mov rsi, r10
not rsi
add rsi, rdx
xor eax, eax
nop word cs:[rax + rax]
movzx edx, word [rcx + rax*2]
cmp edx, 0x5c
je 0x14022bd3f
cmp edx, 0x2f
je 0x14022bd3f
cmp rsi, rax
je 0x14022bd3c
inc rax
jmp 0x14022bd20
xor eax, eax
jmp 0x14022bd3f
mov rax, r11
movabs rcx, 0x9443b75481dde1e1
sub rax, rcx
add rax, r10
mov rdx, rax
xor rdx, rcx
and rax, rcx
lea rax, [rdx + rax*2]
test r9b, r9b
je 0x14022bbe1
mov qword [r8], rax
jmp 0x14022bbe1