Function at 0x18016b660
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 0x18016bc4b
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x18016bc4b
cmp ecx, 0x29
jne 0x18016b6b1
cmp dword [rbx + 0x1c], 0
jne 0x18016bc4b
test dword [rbx + 0x80], 0x10000000
je 0x18016bc69
jmp 0x18016bbda
cmp ecx, 0x2e
jne 0x18016b746
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.18016e970
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18016bc29
cmp byte [rax], 0x5c
jne 0x18016b9cb
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18016b738
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016b70d
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18016b729
cmp cl, 0x29
je 0x18016b729
mov rcx, rax
test r9b, 0x10
jne 0x18016b738
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18016b729
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18016b738
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18016bc29
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x18016bc29
cmp ecx, 0x5c
jne 0x18016b8f7
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18016b7b6
cmp byte [rax], cl
jne 0x18016b7b0
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18016b7ad
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016b78b
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18016b7a7
cmp cl, 0x29
je 0x18016b7a7
mov rcx, rax
test r9b, 0x10
jne 0x18016b7ad
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18016b7a7
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18016b7ad
lea rax, [rdx + 1]
jmp 0x18016b7b0
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18016f010
test byte [rbx + 0x80], 0x80
je 0x18016b8ea
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18016b86b
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18016e970
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18016b85e
cmp byte [rax], 0x5c
jne 0x18016b858
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18016b855
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016b822
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18016b83e
cmp cl, 0x29
je 0x18016b83e
mov rcx, rax
test r9b, 0x10
jne 0x18016b855
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18016b83e
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18016b855
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.18016f010
jmp 0x18016bc3d
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18016f010
jmp 0x18016bc3d
cmp al, 0x42
jne 0x18016b8ea
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18016e970
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18016b8dd
cmp byte [rax], 0x5c
jne 0x18016b8d7
lea r8, [rax + 1]
cmp r8, rcx
je 0x18016b8d7
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016b8bc
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x18016b8d3
cmp dl, 0x29
je 0x18016b8d3
test r9b, 0x10
jne 0x18016b8d7
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x18016b8d3
cmp dl, 0x7d
jne 0x18016b8d7
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18016f010
jmp 0x18016bc3d
mov rcx, rbx
call fcn.18016bca0
jmp 0x18016bc31
cmp ecx, 0x5b
jne 0x18016b9d6
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18016b959
cmp byte [rax], 0x5c
jne 0x18016b953
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18016b953
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016b939
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18016b94f
cmp r8b, 0x29
je 0x18016b94f
test r9b, 0x10
jne 0x18016b953
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18016b94f
cmp dl, 0x7d
jne 0x18016b953
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18016f010
mov rcx, rbx
call fcn.18016c1e0
cmp dword [rbx + 0x7c], 0x5d
jne 0x18016bc5b
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18016bc29
cmp byte [rax], 0x5c
jne 0x18016b9cb
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18016b9cb
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016b9b1
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18016b9c7
cmp r8b, 0x29
je 0x18016b9c7
test r9b, 0x10
jne 0x18016b9cb
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18016b9c7
cmp dl, 0x7d
jne 0x18016b9cb
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18016bc29
cmp ecx, 0x28
jne 0x18016bac4
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18016ba38
cmp byte [rax], 0x5c
jne 0x18016ba32
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18016ba32
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016ba18
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18016ba2e
cmp r8b, 0x29
je 0x18016ba2e
test r9b, 0x10
jne 0x18016ba32
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18016ba2e
cmp dl, 0x7d
jne 0x18016ba32
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18016f010
mov rcx, rbx
call fcn.18016f220
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x18016bc69
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18016baae
cmp byte [rax], 0x5c
jne 0x18016baa8
lea r8, [rax + 1]
cmp r8, rcx
je 0x18016baa8
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18016ba8d
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x18016baa4
cmp dl, 0x29
je 0x18016baa4
test r9b, 0x10
jne 0x18016baa8
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x18016baa4
cmp dl, 0x7d
jne 0x18016baa8
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18016f010
test sil, sil
je 0x18016bc3d
jmp 0x18016bc31
cmp ecx, 0x5e
jne 0x18016bb2a
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.18016e970
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x18016bb1d
cmp byte [rax], 0x5c
jne 0x18016bb1a
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18016bb1a
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18016bb09
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18016bb17
test dl, 0x10
jne 0x18016bb1a
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18016bb1a
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18016f010
jmp 0x18016bc3d
cmp ecx, 0x24
jne 0x18016bb90
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.18016e970
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x18016bb83
cmp byte [rax], 0x5c
jne 0x18016bb80
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18016bb80
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18016bb6f
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18016bb7d
test dl, 0x10
jne 0x18016bb80
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18016bb80
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18016f010
jmp 0x18016bc3d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18016bc85
cmp ecx, 0x3f
je 0x18016bc85
cmp ecx, 0x7b
je 0x18016bc85
cmp ecx, 0x7d
jne 0x18016bbc5
test dword [rbx + 0x80], 0x10000000
je 0x18016bc77
jmp 0x18016bbda
cmp ecx, 0x5d
jne 0x18016bbda
test dword [rbx + 0x80], 0x10000000
je 0x18016bc5b
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.18016ac10
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x18016bc29
cmp byte [rax], 0x5c
jne 0x18016bc26
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18016bc26
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18016bc15
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18016bc23
test dl, 0x10
jne 0x18016bc26
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18016bc26
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18016f010
mov rcx, rbx
call fcn.18016ea50
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x18016b684
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
mov rcx, rbx
call fcn.18016df80
int3
mov edx, 5
mov rcx, rbx
call fcn.18016df80
int3
mov edx, 6
mov rcx, rbx
call fcn.18016df80
int3
mov edx, 0xa
mov rcx, rbx
call fcn.18016df80
int3