Function at 0x140018760
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 0x140018d4b
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x140018d4b
cmp ecx, 0x29
jne 0x1400187b1
cmp dword [rbx + 0x1c], 0
jne 0x140018d4b
test dword [rbx + 0x80], 0x10000000
je 0x140018d66
jmp 0x140018cda
cmp ecx, 0x2e
jne 0x140018846
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.140018da0
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x140018d29
cmp byte [rax], 0x5c
jne 0x140018acb
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x140018838
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x14001880d
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x140018829
cmp cl, 0x29
je 0x140018829
mov rcx, rax
test r9b, 0x10
jne 0x140018838
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x140018829
mov rdx, rcx
cmp r8b, 0x7d
jne 0x140018838
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x140018d29
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x140018d29
cmp ecx, 0x5c
jne 0x1400189f7
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x1400188b6
cmp byte [rax], cl
jne 0x1400188b0
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x1400188ad
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x14001888b
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x1400188a7
cmp cl, 0x29
je 0x1400188a7
mov rcx, rax
test r9b, 0x10
jne 0x1400188ad
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x1400188a7
mov rdx, rcx
cmp r8b, 0x7d
jne 0x1400188ad
lea rax, [rdx + 1]
jmp 0x1400188b0
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140016dc0
test byte [rbx + 0x80], 0x80
je 0x1400189ea
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x14001896b
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140018da0
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x14001895e
cmp byte [rax], 0x5c
jne 0x140018958
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x140018955
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140018922
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x14001893e
cmp cl, 0x29
je 0x14001893e
mov rcx, rax
test r9b, 0x10
jne 0x140018955
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x14001893e
mov rdx, rcx
cmp r8b, 0x7d
jne 0x140018955
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.140016dc0
jmp 0x140018d3d
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140016dc0
jmp 0x140018d3d
cmp al, 0x42
jne 0x1400189ea
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140018da0
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x1400189dd
cmp byte [rax], 0x5c
jne 0x1400189d7
lea r8, [rax + 1]
cmp r8, rcx
je 0x1400189d7
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1400189bc
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x1400189d3
cmp dl, 0x29
je 0x1400189d3
test r9b, 0x10
jne 0x1400189d7
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x1400189d3
cmp dl, 0x7d
jne 0x1400189d7
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140016dc0
jmp 0x140018d3d
mov rcx, rbx
call fcn.14001a640
jmp 0x140018d31
cmp ecx, 0x5b
jne 0x140018ad6
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x140018a59
cmp byte [rax], 0x5c
jne 0x140018a53
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140018a53
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140018a39
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x140018a4f
cmp r8b, 0x29
je 0x140018a4f
test r9b, 0x10
jne 0x140018a53
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x140018a4f
cmp dl, 0x7d
jne 0x140018a53
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140016dc0
mov rcx, rbx
call fcn.14001a4c0
cmp dword [rbx + 0x7c], 0x5d
jne 0x140018d87
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140018d29
cmp byte [rax], 0x5c
jne 0x140018acb
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140018acb
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140018ab1
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x140018ac7
cmp r8b, 0x29
je 0x140018ac7
test r9b, 0x10
jne 0x140018acb
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x140018ac7
cmp dl, 0x7d
jne 0x140018acb
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x140018d29
cmp ecx, 0x28
jne 0x140018bc4
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x140018b38
cmp byte [rax], 0x5c
jne 0x140018b32
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140018b32
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140018b18
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x140018b2e
cmp r8b, 0x29
je 0x140018b2e
test r9b, 0x10
jne 0x140018b32
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x140018b2e
cmp dl, 0x7d
jne 0x140018b32
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140016dc0
mov rcx, rbx
call fcn.14001a7d0
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x140018d92
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140018bae
cmp byte [rax], 0x5c
jne 0x140018ba8
lea r8, [rax + 1]
cmp r8, rcx
je 0x140018ba8
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140018b8d
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x140018ba4
cmp dl, 0x29
je 0x140018ba4
test r9b, 0x10
jne 0x140018ba8
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x140018ba4
cmp dl, 0x7d
jne 0x140018ba8
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140016dc0
test sil, sil
je 0x140018d3d
jmp 0x140018d31
cmp ecx, 0x5e
jne 0x140018c2a
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.140018da0
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x140018c1d
cmp byte [rax], 0x5c
jne 0x140018c1a
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x140018c1a
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x140018c09
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x140018c17
test dl, 0x10
jne 0x140018c1a
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x140018c1a
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.140016dc0
jmp 0x140018d3d
cmp ecx, 0x24
jne 0x140018c90
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.140018da0
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x140018c83
cmp byte [rax], 0x5c
jne 0x140018c80
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x140018c80
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x140018c6f
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x140018c7d
test dl, 0x10
jne 0x140018c80
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x140018c80
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.140016dc0
jmp 0x140018d3d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140018d7c
cmp ecx, 0x3f
je 0x140018d7c
cmp ecx, 0x7b
je 0x140018d7c
cmp ecx, 0x7d
jne 0x140018cc5
test dword [rbx + 0x80], 0x10000000
je 0x140018d71
jmp 0x140018cda
cmp ecx, 0x5d
jne 0x140018cda
test dword [rbx + 0x80], 0x10000000
je 0x140018d5b
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14001ac30
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x140018d29
cmp byte [rax], 0x5c
jne 0x140018d26
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x140018d26
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x140018d15
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x140018d23
test dl, 0x10
jne 0x140018d26
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x140018d26
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.140016dc0
mov rcx, rbx
call fcn.14001a9e0
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x140018784
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.140016db0
int3
mov edx, 5
call fcn.140016db0
int3
mov edx, 6
call fcn.140016db0
int3
mov edx, 0xa
call fcn.140016db0
int3
mov edx, 4
call fcn.140016db0
int3
mov edx, 5
call fcn.140016db0
int3