Function at 0x140022830
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x140022e1b
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x140022e1b
cmp ecx, 0x29
jne 0x140022881
cmp dword [rbx + 0x1c], 0
jne 0x140022e1b
test dword [rbx + 0x80], 0x10000000
je 0x140022e39
jmp 0x140022daa
cmp ecx, 0x2e
jne 0x140022916
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.140027120
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x140022df9
cmp byte [rax], 0x5c
jne 0x140022b9b
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x140022908
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1400228dd
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x1400228f9
cmp cl, 0x29
je 0x1400228f9
mov rcx, rax
test r9b, 0x10
jne 0x140022908
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x1400228f9
mov rdx, rcx
cmp r8b, 0x7d
jne 0x140022908
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x140022df9
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x140022df9
cmp ecx, 0x5c
jne 0x140022ac7
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x140022986
cmp byte [rax], cl
jne 0x140022980
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x14002297d
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x14002295b
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x140022977
cmp cl, 0x29
je 0x140022977
mov rcx, rax
test r9b, 0x10
jne 0x14002297d
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x140022977
mov rdx, rcx
cmp r8b, 0x7d
jne 0x14002297d
lea rax, [rdx + 1]
jmp 0x140022980
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027ba0
test byte [rbx + 0x80], 0x80
je 0x140022aba
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x140022a3b
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140027120
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x140022a2e
cmp byte [rax], 0x5c
jne 0x140022a28
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x140022a25
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1400229f2
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x140022a0e
cmp cl, 0x29
je 0x140022a0e
mov rcx, rax
test r9b, 0x10
jne 0x140022a25
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x140022a0e
mov rdx, rcx
cmp r8b, 0x7d
jne 0x140022a25
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.140027ba0
jmp 0x140022e0d
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027ba0
jmp 0x140022e0d
cmp al, 0x42
jne 0x140022aba
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140027120
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x140022aad
cmp byte [rax], 0x5c
jne 0x140022aa7
lea r8, [rax + 1]
cmp r8, rcx
je 0x140022aa7
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140022a8c
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x140022aa3
cmp dl, 0x29
je 0x140022aa3
test r9b, 0x10
jne 0x140022aa7
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x140022aa3
cmp dl, 0x7d
jne 0x140022aa7
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027ba0
jmp 0x140022e0d
mov rcx, rbx
call fcn.140022e70
jmp 0x140022e01
cmp ecx, 0x5b
jne 0x140022ba6
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x140022b29
cmp byte [rax], 0x5c
jne 0x140022b23
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140022b23
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140022b09
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x140022b1f
cmp r8b, 0x29
je 0x140022b1f
test r9b, 0x10
jne 0x140022b23
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x140022b1f
cmp dl, 0x7d
jne 0x140022b23
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027ba0
mov rcx, rbx
call fcn.140023570
cmp dword [rbx + 0x7c], 0x5d
jne 0x140022e2b
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140022df9
cmp byte [rax], 0x5c
jne 0x140022b9b
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140022b9b
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140022b81
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x140022b97
cmp r8b, 0x29
je 0x140022b97
test r9b, 0x10
jne 0x140022b9b
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x140022b97
cmp dl, 0x7d
jne 0x140022b9b
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x140022df9
cmp ecx, 0x28
jne 0x140022c94
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x140022c08
cmp byte [rax], 0x5c
jne 0x140022c02
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140022c02
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140022be8
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x140022bfe
cmp r8b, 0x29
je 0x140022bfe
test r9b, 0x10
jne 0x140022c02
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x140022bfe
cmp dl, 0x7d
jne 0x140022c02
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027ba0
mov rcx, rbx
call fcn.140027e20
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x140022e39
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140022c7e
cmp byte [rax], 0x5c
jne 0x140022c78
lea r8, [rax + 1]
cmp r8, rcx
je 0x140022c78
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140022c5d
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x140022c74
cmp dl, 0x29
je 0x140022c74
test r9b, 0x10
jne 0x140022c78
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x140022c74
cmp dl, 0x7d
jne 0x140022c78
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027ba0
test sil, sil
je 0x140022e0d
jmp 0x140022e01
cmp ecx, 0x5e
jne 0x140022cfa
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.140027120
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x140022ced
cmp byte [rax], 0x5c
jne 0x140022cea
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x140022cea
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x140022cd9
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x140022ce7
test dl, 0x10
jne 0x140022cea
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x140022cea
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.140027ba0
jmp 0x140022e0d
cmp ecx, 0x24
jne 0x140022d60
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.140027120
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x140022d53
cmp byte [rax], 0x5c
jne 0x140022d50
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x140022d50
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x140022d3f
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x140022d4d
test dl, 0x10
jne 0x140022d50
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x140022d50
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.140027ba0
jmp 0x140022e0d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140022e55
cmp ecx, 0x3f
je 0x140022e55
cmp ecx, 0x7b
je 0x140022e55
cmp ecx, 0x7d
jne 0x140022d95
test dword [rbx + 0x80], 0x10000000
je 0x140022e47
jmp 0x140022daa
cmp ecx, 0x5d
jne 0x140022daa
test dword [rbx + 0x80], 0x10000000
je 0x140022e2b
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140021de0
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x140022df9
cmp byte [rax], 0x5c
jne 0x140022df6
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x140022df6
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x140022de5
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x140022df3
test dl, 0x10
jne 0x140022df6
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x140022df6
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.140027ba0
mov rcx, rbx
call fcn.1400272d0
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x140022854
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
mov rcx, rbx
call fcn.140025510
int3
mov edx, 5
mov rcx, rbx
call fcn.140025510
int3
mov edx, 6
mov rcx, rbx
call fcn.140025510
int3
mov edx, 0xa
mov rcx, rbx
call fcn.140025510
int3