Function at 0x140021290
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 0x14002187b
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x14002187b
cmp ecx, 0x29
jne 0x1400212e1
cmp dword [rbx + 0x1c], 0
jne 0x14002187b
test dword [rbx + 0x80], 0x10000000
je 0x140021896
jmp 0x14002180a
cmp ecx, 0x2e
jne 0x140021376
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.1400218d0
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x140021859
cmp byte [rax], 0x5c
jne 0x1400215fb
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x140021368
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x14002133d
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x140021359
cmp cl, 0x29
je 0x140021359
mov rcx, rax
test r9b, 0x10
jne 0x140021368
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x140021359
mov rdx, rcx
cmp r8b, 0x7d
jne 0x140021368
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x140021859
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x140021859
cmp ecx, 0x5c
jne 0x140021527
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x1400213e6
cmp byte [rax], cl
jne 0x1400213e0
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x1400213dd
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1400213bb
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x1400213d7
cmp cl, 0x29
je 0x1400213d7
mov rcx, rax
test r9b, 0x10
jne 0x1400213dd
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x1400213d7
mov rdx, rcx
cmp r8b, 0x7d
jne 0x1400213dd
lea rax, [rdx + 1]
jmp 0x1400213e0
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140020020
test byte [rbx + 0x80], 0x80
je 0x14002151a
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x14002149b
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1400218d0
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x14002148e
cmp byte [rax], 0x5c
jne 0x140021488
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x140021485
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140021452
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x14002146e
cmp cl, 0x29
je 0x14002146e
mov rcx, rax
test r9b, 0x10
jne 0x140021485
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x14002146e
mov rdx, rcx
cmp r8b, 0x7d
jne 0x140021485
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.140020020
jmp 0x14002186d
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140020020
jmp 0x14002186d
cmp al, 0x42
jne 0x14002151a
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1400218d0
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x14002150d
cmp byte [rax], 0x5c
jne 0x140021507
lea r8, [rax + 1]
cmp r8, rcx
je 0x140021507
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1400214ec
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x140021503
cmp dl, 0x29
je 0x140021503
test r9b, 0x10
jne 0x140021507
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x140021503
cmp dl, 0x7d
jne 0x140021507
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140020020
jmp 0x14002186d
mov rcx, rbx
call fcn.140022470
jmp 0x140021861
cmp ecx, 0x5b
jne 0x140021606
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x140021589
cmp byte [rax], 0x5c
jne 0x140021583
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140021583
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140021569
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x14002157f
cmp r8b, 0x29
je 0x14002157f
test r9b, 0x10
jne 0x140021583
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x14002157f
cmp dl, 0x7d
jne 0x140021583
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140020020
mov rcx, rbx
call fcn.1400222f0
cmp dword [rbx + 0x7c], 0x5d
jne 0x1400218b7
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140021859
cmp byte [rax], 0x5c
jne 0x1400215fb
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400215fb
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1400215e1
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x1400215f7
cmp r8b, 0x29
je 0x1400215f7
test r9b, 0x10
jne 0x1400215fb
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x1400215f7
cmp dl, 0x7d
jne 0x1400215fb
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x140021859
cmp ecx, 0x28
jne 0x1400216f4
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x140021668
cmp byte [rax], 0x5c
jne 0x140021662
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140021662
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140021648
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x14002165e
cmp r8b, 0x29
je 0x14002165e
test r9b, 0x10
jne 0x140021662
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x14002165e
cmp dl, 0x7d
jne 0x140021662
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140020020
mov rcx, rbx
call fcn.140022600
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x1400218c2
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x1400216de
cmp byte [rax], 0x5c
jne 0x1400216d8
lea r8, [rax + 1]
cmp r8, rcx
je 0x1400216d8
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1400216bd
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x1400216d4
cmp dl, 0x29
je 0x1400216d4
test r9b, 0x10
jne 0x1400216d8
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x1400216d4
cmp dl, 0x7d
jne 0x1400216d8
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140020020
test sil, sil
je 0x14002186d
jmp 0x140021861
cmp ecx, 0x5e
jne 0x14002175a
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.1400218d0
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x14002174d
cmp byte [rax], 0x5c
jne 0x14002174a
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x14002174a
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x140021739
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x140021747
test dl, 0x10
jne 0x14002174a
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x14002174a
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.140020020
jmp 0x14002186d
cmp ecx, 0x24
jne 0x1400217c0
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.1400218d0
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x1400217b3
cmp byte [rax], 0x5c
jne 0x1400217b0
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x1400217b0
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x14002179f
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x1400217ad
test dl, 0x10
jne 0x1400217b0
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x1400217b0
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.140020020
jmp 0x14002186d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1400218ac
cmp ecx, 0x3f
je 0x1400218ac
cmp ecx, 0x7b
je 0x1400218ac
cmp ecx, 0x7d
jne 0x1400217f5
test dword [rbx + 0x80], 0x10000000
je 0x1400218a1
jmp 0x14002180a
cmp ecx, 0x5d
jne 0x14002180a
test dword [rbx + 0x80], 0x10000000
je 0x14002188b
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140022a60
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x140021859
cmp byte [rax], 0x5c
jne 0x140021856
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x140021856
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x140021845
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x140021853
test dl, 0x10
jne 0x140021856
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x140021856
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.140020020
mov rcx, rbx
call fcn.140022810
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x1400212b4
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.140020010
int3
mov edx, 5
call fcn.140020010
int3
mov edx, 6
call fcn.140020010
int3
mov edx, 0xa
call fcn.140020010
int3
mov edx, 4
call fcn.140020010
int3
mov edx, 5
call fcn.140020010
int3