Function at 0x18016a370
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 0x18016a95b
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x18016a95b
cmp ecx, 0x29
jne 0x18016a3c1
cmp dword [rbx + 0x1c], 0
jne 0x18016a95b
test dword [rbx + 0x80], 0x10000000
je 0x18016a979
jmp 0x18016a8ea
cmp ecx, 0x2e
jne 0x18016a456
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.18016d680
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18016a939
cmp byte [rax], 0x5c
jne 0x18016a6db
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18016a448
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016a41d
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18016a439
cmp cl, 0x29
je 0x18016a439
mov rcx, rax
test r9b, 0x10
jne 0x18016a448
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18016a439
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18016a448
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18016a939
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x18016a939
cmp ecx, 0x5c
jne 0x18016a607
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18016a4c6
cmp byte [rax], cl
jne 0x18016a4c0
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18016a4bd
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016a49b
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18016a4b7
cmp cl, 0x29
je 0x18016a4b7
mov rcx, rax
test r9b, 0x10
jne 0x18016a4bd
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18016a4b7
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18016a4bd
lea rax, [rdx + 1]
jmp 0x18016a4c0
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18016dd20
test byte [rbx + 0x80], 0x80
je 0x18016a5fa
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18016a57b
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18016d680
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18016a56e
cmp byte [rax], 0x5c
jne 0x18016a568
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18016a565
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016a532
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18016a54e
cmp cl, 0x29
je 0x18016a54e
mov rcx, rax
test r9b, 0x10
jne 0x18016a565
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18016a54e
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18016a565
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.18016dd20
jmp 0x18016a94d
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18016dd20
jmp 0x18016a94d
cmp al, 0x42
jne 0x18016a5fa
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18016d680
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18016a5ed
cmp byte [rax], 0x5c
jne 0x18016a5e7
lea r8, [rax + 1]
cmp r8, rcx
je 0x18016a5e7
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016a5cc
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x18016a5e3
cmp dl, 0x29
je 0x18016a5e3
test r9b, 0x10
jne 0x18016a5e7
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x18016a5e3
cmp dl, 0x7d
jne 0x18016a5e7
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18016dd20
jmp 0x18016a94d
mov rcx, rbx
call fcn.18016a9b0
jmp 0x18016a941
cmp ecx, 0x5b
jne 0x18016a6e6
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18016a669
cmp byte [rax], 0x5c
jne 0x18016a663
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18016a663
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016a649
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18016a65f
cmp r8b, 0x29
je 0x18016a65f
test r9b, 0x10
jne 0x18016a663
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18016a65f
cmp dl, 0x7d
jne 0x18016a663
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18016dd20
mov rcx, rbx
call fcn.18016aef0
cmp dword [rbx + 0x7c], 0x5d
jne 0x18016a96b
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18016a939
cmp byte [rax], 0x5c
jne 0x18016a6db
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18016a6db
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016a6c1
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18016a6d7
cmp r8b, 0x29
je 0x18016a6d7
test r9b, 0x10
jne 0x18016a6db
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18016a6d7
cmp dl, 0x7d
jne 0x18016a6db
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18016a939
cmp ecx, 0x28
jne 0x18016a7d4
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18016a748
cmp byte [rax], 0x5c
jne 0x18016a742
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18016a742
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016a728
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18016a73e
cmp r8b, 0x29
je 0x18016a73e
test r9b, 0x10
jne 0x18016a742
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18016a73e
cmp dl, 0x7d
jne 0x18016a742
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18016dd20
mov rcx, rbx
call fcn.18016df30
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x18016a979
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18016a7be
cmp byte [rax], 0x5c
jne 0x18016a7b8
lea r8, [rax + 1]
cmp r8, rcx
je 0x18016a7b8
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016a79d
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x18016a7b4
cmp dl, 0x29
je 0x18016a7b4
test r9b, 0x10
jne 0x18016a7b8
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x18016a7b4
cmp dl, 0x7d
jne 0x18016a7b8
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18016dd20
test sil, sil
je 0x18016a94d
jmp 0x18016a941
cmp ecx, 0x5e
jne 0x18016a83a
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.18016d680
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x18016a82d
cmp byte [rax], 0x5c
jne 0x18016a82a
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18016a82a
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18016a819
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18016a827
test dl, 0x10
jne 0x18016a82a
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18016a82a
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18016dd20
jmp 0x18016a94d
cmp ecx, 0x24
jne 0x18016a8a0
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.18016d680
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x18016a893
cmp byte [rax], 0x5c
jne 0x18016a890
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18016a890
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18016a87f
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18016a88d
test dl, 0x10
jne 0x18016a890
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18016a890
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18016dd20
jmp 0x18016a94d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18016a995
cmp ecx, 0x3f
je 0x18016a995
cmp ecx, 0x7b
je 0x18016a995
cmp ecx, 0x7d
jne 0x18016a8d5
test dword [rbx + 0x80], 0x10000000
je 0x18016a987
jmp 0x18016a8ea
cmp ecx, 0x5d
jne 0x18016a8ea
test dword [rbx + 0x80], 0x10000000
je 0x18016a96b
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.180169920
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x18016a939
cmp byte [rax], 0x5c
jne 0x18016a936
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18016a936
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18016a925
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18016a933
test dl, 0x10
jne 0x18016a936
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18016a936
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18016dd20
mov rcx, rbx
call fcn.18016d760
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x18016a394
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
mov rcx, rbx
call fcn.18016cc90
int3
mov edx, 5
mov rcx, rbx
call fcn.18016cc90
int3
mov edx, 6
mov rcx, rbx
call fcn.18016cc90
int3
mov edx, 0xa
mov rcx, rbx
call fcn.18016cc90
int3