Function at 0x18001b430
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 0x18001ba4e
cmp ecx, 0x7c
je 0x18001ba4e
lea rdi, [rbx + 0x10]
nop dword [rax]
cmp ecx, 0x29
jne 0x18001b484
cmp dword [rbx + 0x1c], 0
jne 0x18001ba4e
test dword [rbx + 0x80], 0x10000000
je 0x18001ba6c
jmp 0x18001b9d8
cmp ecx, 0x2e
jne 0x18001b50d
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.180021a70
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18001ba27
cmp byte [rax], 0x5c
jne 0x18001b7af
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18001b7af
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18001b4e0
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18001b4fe
cmp r8b, 0x29
je 0x18001b4fe
test r9b, 0x10
jne 0x18001b7af
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18001b4fe
cmp dl, 0x7d
jne 0x18001b7af
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18001ba27
cmp ecx, 0x5c
jne 0x18001b6b1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18001b56f
cmp byte [rax], 0x5c
jne 0x18001b569
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18001b569
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18001b54f
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18001b565
cmp r8b, 0x29
je 0x18001b565
test r9b, 0x10
jne 0x18001b569
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18001b565
cmp dl, 0x7d
jne 0x18001b569
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180022540
test byte [rbx + 0x80], 0x80
je 0x18001b6a4
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18001b600
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180021a70
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18001b5f3
cmp byte [rax], 0x5c
jne 0x18001b5ed
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18001b5ed
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18001b5d3
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18001b5e9
cmp r8b, 0x29
je 0x18001b5e9
test r9b, 0x10
jne 0x18001b5ed
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18001b5e9
cmp dl, 0x7d
jne 0x18001b5ed
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180022540
jmp 0x18001ba3b
cmp al, 0x42
jne 0x18001b6a4
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180021a70
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18001b697
cmp byte [rax], 0x5c
jne 0x18001b691
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18001b68e
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18001b65b
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18001b677
cmp cl, 0x29
je 0x18001b677
mov rcx, rax
test r9b, 0x10
jne 0x18001b68e
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18001b677
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18001b68e
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.180022540
jmp 0x18001ba3b
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180022540
jmp 0x18001ba3b
mov rcx, rbx
call fcn.18001c240
jmp 0x18001ba2f
cmp ecx, 0x5b
jne 0x18001b7ba
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18001b726
cmp byte [rax], 0x5c
jne 0x18001b71c
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18001b719
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18001b6f7
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18001b713
cmp cl, 0x29
je 0x18001b713
mov rcx, rax
test r9b, 0x10
jne 0x18001b719
movzx r9d, byte [r8]
mov rdx, rax
cmp r9b, 0x7b
je 0x18001b713
mov rdx, rcx
cmp r9b, 0x7d
jne 0x18001b719
lea rax, [rdx + 1]
jmp 0x18001b71c
mov rax, rcx
inc rax
lea rdi, [rbx + 0x10]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180022540
mov rcx, rbx
call fcn.18001ce20
cmp dword [rbx + 0x7c], 0x5d
jne 0x18001ba5e
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18001ba27
cmp byte [rax], 0x5c
jne 0x18001b7af
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18001b7ac
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18001b781
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18001b79d
cmp cl, 0x29
je 0x18001b79d
mov rcx, rax
test r9b, 0x10
jne 0x18001b7ac
movzx r9d, byte [r8]
mov rdx, rax
cmp r9b, 0x7b
je 0x18001b79d
mov rdx, rcx
cmp r9b, 0x7d
jne 0x18001b7ac
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18001ba27
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x18001ba27
cmp ecx, 0x28
jne 0x18001b8c7
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18001b82b
cmp byte [rax], 0x5c
jne 0x18001b825
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18001b822
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18001b800
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18001b81c
cmp cl, 0x29
je 0x18001b81c
mov rcx, rax
test r9b, 0x10
jne 0x18001b822
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18001b81c
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18001b822
lea rax, [rdx + 1]
jmp 0x18001b825
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180022540
mov rcx, rbx
call fcn.180022c00
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x18001ba6c
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x18001b8b1
cmp byte [rax], 0x5c
jne 0x18001b8ab
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18001b8a8
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18001b886
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18001b8a2
cmp cl, 0x29
je 0x18001b8a2
mov rcx, rax
test r9b, 0x10
jne 0x18001b8a8
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18001b8a2
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18001b8a8
lea rax, [rdx + 1]
jmp 0x18001b8ab
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180022540
test sil, sil
je 0x18001ba3b
jmp 0x18001ba2f
cmp ecx, 0x5e
jne 0x18001b928
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.180021a70
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18001b91b
cmp byte [rax], 0x5c
jne 0x18001b918
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18001b918
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18001b907
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18001b915
test dl, 0x10
jne 0x18001b918
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18001b918
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180022540
jmp 0x18001ba3b
cmp ecx, 0x24
jne 0x18001b98e
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.180021a70
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x18001b981
cmp byte [rax], 0x5c
jne 0x18001b97e
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18001b97e
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18001b96d
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18001b97b
test dl, 0x10
jne 0x18001b97e
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18001b97e
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180022540
jmp 0x18001ba3b
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18001ba88
cmp ecx, 0x3f
je 0x18001ba88
cmp ecx, 0x7b
je 0x18001ba88
cmp ecx, 0x7d
jne 0x18001b9c3
test dword [rbx + 0x80], 0x10000000
je 0x18001ba7a
jmp 0x18001b9d8
cmp ecx, 0x5d
jne 0x18001b9d8
test dword [rbx + 0x80], 0x10000000
je 0x18001ba5e
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.180019f10
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x18001ba27
cmp byte [rax], 0x5c
jne 0x18001ba24
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18001ba24
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18001ba13
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18001ba21
test dl, 0x10
jne 0x18001ba24
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18001ba24
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180022540
mov rcx, rbx
call fcn.180021bb0
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x18001ba4e
cmp ecx, 0x7c
jne 0x18001b460
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
mov rcx, rbx
call fcn.18001fec0
int3
mov edx, 5
mov rcx, rbx
call fcn.18001fec0
int3
mov edx, 6
mov rcx, rbx
call fcn.18001fec0
int3
mov edx, 0xa
mov rcx, rbx
call fcn.18001fec0
int3