Function at 0x140216c2c
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rbx, qword [0x1403fe118]
xor r8d, r8d
mov rdi, rcx
mov qword [rbp - 0x50], r8
mov dword [rbp - 0x48], r8d
mov esi, r8d
mov qword [rbp - 0x40], r8
movsx eax, byte [rbx]
inc rbx
mov dword [rbp - 0x38], r8d
mov qword [0x1403fe118], rbx
cmp eax, 0x41
jg 0x140216e84
je 0x14021737c
test eax, eax
je 0x140216e6b
cmp eax, 0x2f
jle 0x140217367
cmp eax, 0x31
jle 0x140216d18
cmp eax, 0x39
jg 0x140217367
movsx eax, byte [rbx - 1]
sub eax, 0x32
movsxd rdx, eax
lea rbx, [0x140000000]
lea rcx, [rbp - 0x50]
mov rdx, qword [rbx + rdx*8 + 0x30b210]
call fcn.14021338c
xor r8d, r8d
cmp qword [rbp - 0x50], r8
je 0x140216cf8
lea rdx, str.operator
lea rcx, [rbp - 0x10]
call fcn.1402130d8
mov rcx, rax
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x20]
call fcn.14021361c
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x50], rax
mov eax, dword [rbp - 0x18]
mov dword [rbp - 0x48], eax
mov rax, qword [rbp - 0x50]
mov qword [rdi], rax
mov eax, dword [rbp - 0x48]
mov dword [rdi + 8], eax
mov rax, rdi
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x40], r8
mov dword [rbp - 0x38], r8d
test dl, dl
je 0x140216ddb
lea rcx, [rbp - 0x10]
call fcn.140218384
and qword [rbp - 0x30], rsi
lea rdx, [rbp + 0x38]
and dword [rbp - 0x28], esi
lea rcx, [rbp - 0x30]
mov r8d, 1
mov byte [rbp + 0x38], 0x3c
mov rbx, rax
call fcn.1402146f8
mov r8, rbx
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x30]
call fcn.14021361c
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.1402136c8
mov rsi, qword [rbp - 0x40]
test rsi, rsi
je 0x140216d9b
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.14020f628
mov rcx, rsi
call rbx
cmp al, 0x3e
jne 0x140216d9b
mov dl, 0x20
lea rcx, [rbp - 0x40]
call fcn.140213710
mov dl, 0x3e
lea rcx, [rbp - 0x40]
call fcn.140213710
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x140216db2
mov byte [rax], 1
mov rbx, qword [0x1403fe118]
cmp byte [rbx], 0
jne 0x140216dcd
mov rax, qword [rbp - 0x40]
mov qword [rdi], rax
mov eax, dword [rbp - 0x38]
jmp 0x140216d02
mov rsi, qword [rbp - 0x40]
inc rbx
mov qword [0x1403fe118], rbx
xor r8d, r8d
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.140219250
mov rcx, qword [rax]
mov edx, dword [rax + 8]
mov qword [rbp - 0x50], rcx
mov dword [rbp - 0x48], edx
mov qword [0x1403fe118], rbx
test rcx, rcx
je 0x140216e47
cmp byte [rbx - 1], 0x31
jne 0x140216e47
and qword [rbp - 0x30], 0
lea rdx, [rbp + 0x38]
and dword [rbp - 0x28], 0
lea rcx, [rbp - 0x30]
mov r8d, 1
mov byte [rbp + 0x38], 0x7e
call fcn.1402146f8
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x30]
call fcn.14021361c
mov rcx, qword [rbp - 0x20]
mov edx, dword [rbp - 0x18]
mov qword [rbp - 0x50], rcx
mov dword [rbp - 0x48], edx
test rsi, rsi
je 0x140216e60
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
call fcn.1402136c8
mov edx, dword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov qword [rdi], rcx
mov dword [rdi + 8], edx
jmp 0x140216d05
dec rbx
mov edx, 1
mov qword [0x1403fe118], rbx
call fcn.140213118
jmp 0x140216d05
cmp eax, 0x42
je 0x140217377
jle 0x140217367
cmp eax, 0x5a
jle 0x14021737c
cmp eax, 0x5f
jne 0x140217367
movsx ecx, byte [rbx]
lea esi, [rax - 0x5e]
add rbx, rsi
mov qword [0x1403fe118], rbx
cmp ecx, 0x4f
jg 0x140216fd2
cmp ecx, 0x44
jge 0x14021734f
cmp ecx, 0x39
jg 0x140216f6b
je 0x140216f33
test ecx, ecx
je 0x140216f1f
cmp ecx, 0x2f
jle 0x140216fb9
cmp ecx, 0x36
jle 0x140216f13
cmp ecx, 0x38
jg 0x140216fb9
movsx eax, byte [rbx - 1]
sub eax, 0xe
movsxd rdx, eax
lea rbx, [0x140000000]
mov rcx, rdi
mov rdx, qword [rbx + rdx*8 + 0x30b210]
call fcn.1402130d8
jmp 0x140216d05
movsx eax, byte [rbx - 1]
sub eax, 0xe
jmp 0x140216ca6
sub rbx, rsi
mov qword [0x1403fe118], rbx
mov edx, esi
mov rcx, rdi
jmp 0x140216e7a
movsx eax, byte [rbx - 1]
lea rcx, [rbp - 0x20]
sub eax, 0xe
lea rbx, [0x140000000]
movsxd rdx, eax
mov rdx, qword [rbx + rdx*8 + 0x30b210]
call fcn.1402130d8
mov ecx, dword [rbp - 0x18]
bts ecx, 0xf
mov rax, qword [rbp - 0x20]
mov qword [rdi], rax
mov dword [rdi + 8], ecx
jmp 0x140216d05
cmp ecx, 0x3f
je 0x140216f9f
cmp ecx, 0x40
jle 0x140216fb9
cmp ecx, 0x42
jle 0x14021734f
cmp ecx, 0x43
jne 0x140216fb9
mov r8d, esi
lea rdx, str._string
lea rcx, [rbp - 0x20]
call fcn.140218268
mov ecx, dword [rbp - 0x18]
bts ecx, 0xc
jmp 0x140216f5c
movsx eax, byte [rbx]
add rbx, rsi
mov qword [0x1403fe118], rbx
test eax, eax
je 0x140216f1f
cmp eax, 0x30
je 0x140216fc9
mov dword [rdi + 8], r8d
mov byte [rdi + 8], 2
mov qword [rdi], r8
jmp 0x140216d05
lea rdx, str._anonymous_namespace
jmp 0x140216f8d
cmp ecx, 0x54
jg 0x1402171fe
cmp ecx, 0x53
jge 0x14021734f
sub ecx, 0x50
je 0x14021719d
sub ecx, esi
je 0x140216cc4
cmp ecx, esi
jne 0x140216fb9
movsx eax, byte [rbx - 1]
lea rcx, [rbp - 0x50]
sub eax, 0x15
lea rbx, [0x140000000]
movsxd rdx, eax
mov rdx, qword [rbx + rdx*8 + 0x30b210]
call fcn.14021338c
mov rax, qword [0x1403fe118]
mov cl, byte [rax]
test cl, cl
jne 0x14021703c
mov r8d, esi
lea rcx, [rbp - 0x50]
mov rdx, rdi
call fcn.1402136a0
jmp 0x140216d05
movsx eax, cl
add eax, 0xffffffd0
js 0x1402171ed
cmp eax, 5
jae 0x1402171ed
movsxd rdx, eax
lea rcx, [rbp - 0x40]
mov rdx, qword [rbx + rdx*8 + 0x30b4a0]
call fcn.14021338c
mov rcx, qword [0x1403fe118]
movsx eax, byte [rcx]
add rcx, rsi
mov qword [0x1403fe118], rcx
cmp eax, 0x30
je 0x14021716a
cmp eax, 0x31
je 0x1402170b3
add eax, 0xffffffce
cmp eax, 2
ja 0x1402170a4
lea rcx, [rbp - 0x50]
mov rdx, rdi
lea r8, [rbp - 0x40]
call fcn.14021361c
jmp 0x140216d05
sub rcx, rsi
mov qword [0x1403fe118], rcx
jmp 0x140216f29
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.14021361c
lea rcx, [rbp - 0x10]
call fcn.140217f88
mov rcx, rax
lea rdx, [rbp - 0x20]
mov r8b, 0x2c
call fcn.140213644
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1402136c8
lea rcx, [rbp - 0x10]
call fcn.140217f88
mov rcx, rax
lea rdx, [rbp - 0x20]
mov r8b, 0x2c
call fcn.140213644
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1402136c8
lea rcx, [rbp - 0x10]
call fcn.140217f88
mov rcx, rax
lea rdx, [rbp - 0x20]
mov r8b, 0x2c
call fcn.140213644
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1402136c8
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.140215d8c
mov rcx, rax
lea rdx, [rbp - 0x20]
mov r8b, 0x29
call fcn.140213644
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1402136c8
mov r8b, 0x27
lea rcx, [rbp - 0x30]
mov rdx, rdi
call fcn.140213644
jmp 0x140216d05
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140215a10
mov r8b, 0x20
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x20]
call fcn.140213644
mov rcx, rax
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
call fcn.14021361c
mov rcx, rax
jmp 0x140217093
movsx eax, byte [rbx - 1]
lea rcx, [rbp - 0x50]
sub eax, 0x15
lea rbx, [0x140000000]
movsxd rdx, eax
mov rdx, qword [rbx + rdx*8 + 0x30b210]
call fcn.14021338c
xor r8d, r8d
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.140216c2c
mov rcx, qword [rax]
mov edx, dword [rax + 8]
mov qword [rbp - 0x40], rcx
mov dword [rbp - 0x38], edx
test rcx, rcx
je 0x14021708f
bt edx, 0xa
jae 0x14021708f
and dword [rdi + 8], 0
and qword [rdi], 0
mov byte [rdi + 8], 2
jmp 0x140216d05
cmp ecx, 0x56
jle 0x14021735b
cmp ecx, 0x57
jle 0x140216fb9
cmp ecx, 0x59
jle 0x14021734f
cmp ecx, 0x5f
jne 0x140216fb9
movsx eax, byte [rbx]
add rbx, rsi
mov qword [0x1403fe118], rbx
cmp eax, 0x41
jl 0x140216fb9
cmp eax, 0x44
jle 0x140217259
cmp eax, 0x46
jle 0x1402172ce
cmp eax, 0x4a
jle 0x140217259
cmp eax, 0x4b
je 0x140217265
cmp eax, 0x4c
jne 0x140216fb9
movsx eax, byte [rbx - 1]
add eax, 4
jmp 0x140216ef4
movsx eax, byte [rbx - 1]
lea rcx, [rbp - 0x30]
add eax, 4
lea rbx, [0x140000000]
movsxd rdx, eax
mov rdx, qword [rbx + rdx*8 + 0x30b210]
call fcn.1402130d8
jmp 0x1402172a3
cmp cl, 0x40
je 0x1402172b5
add rax, rsi
mov dl, cl
lea rcx, [rbp - 0x30]
mov qword [0x1403fe118], rax
call fcn.140213710
mov rax, qword [0x1403fe118]
mov cl, byte [rax]
test cl, cl
jne 0x140217289
cmp cl, 0x40
jne 0x1402172bf
add rax, rsi
mov qword [0x1403fe118], rax
mov rax, qword [rbp - 0x30]
mov qword [rdi], rax
mov eax, dword [rbp - 0x28]
jmp 0x140216d02
movsx eax, byte [rbx - 1]
lea rcx, [rbp - 0x30]
add eax, 4
lea rbx, [0x140000000]
movsxd rdx, eax
mov rdx, qword [rbx + rdx*8 + 0x30b210]
call fcn.1402130d8
mov rax, qword [0x1403fe118]
lea rcx, [rbp - 0x10]
cmp byte [rax], 0x3f
jne 0x140217329
call fcn.140215af0
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1402136c8
mov rax, qword [0x1403fe118]
cmp byte [rax], 0x40
jne 0x14021733a
add rax, rsi
mov qword [0x1403fe118], rax
jmp 0x14021733a
call fcn.140218338
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1402136c8
lea rdx, [0x14030bb60]
lea rcx, [rbp - 0x30]
call fcn.140213790
jmp 0x1402172bf
movsx eax, byte [rbx - 1]
sub eax, 0x15
jmp 0x140216ef4
movsx eax, byte [rbx - 1]
sub eax, 0x15
jmp 0x140216ca6
mov dword [rcx + 8], r8d
mov byte [rcx + 8], 2
mov qword [rcx], r8
jmp 0x140216d05
mov esi, 1
movsx eax, byte [rbx - 1]
lea rcx, [rbp - 0x50]
sub eax, 0x39
lea rbx, [0x140000000]
movsxd rdx, eax
mov rdx, qword [rbx + rdx*8 + 0x30b210]
call fcn.14021338c
xor r8d, r8d
test esi, esi
je 0x140216cc4
cmp qword [rbp - 0x50], r8
je 0x140216cf8
bts dword [rbp - 0x48], 9
jmp 0x140216cf8