Function at 0x18002d320
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x18002d884
cmp ecx, 0x7c
je 0x18002d884
cmp ecx, 0x29
jne 0x18002d372
cmp dword [rbx + 0x1c], 0
jne 0x18002d884
test dword [rbx + 0x80], 0x10000000
je 0x18002d8a4
jmp 0x18002d80d
cmp ecx, 0x2e
jne 0x18002d38a
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.180031f80
jmp 0x18002d81a
cmp ecx, 0x5c
jne 0x18002d42e
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x18002d3df
cmp byte [rcx], 0x5c
jne 0x18002d3d8
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002d3d5
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002d3c6
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002d3d8
test r8b, 0x10
jne 0x18002d3d5
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002d3d8
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800328b0
test byte [rbx + 0x80], 0x80
je 0x18002d421
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18002d402
mov edx, 4
jmp 0x18002d761
cmp al, 0x42
jne 0x18002d421
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180031f80
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x18002d76a
mov rcx, rbx
call fcn.18002d8e0
jmp 0x18002d86e
cmp ecx, 0x5b
jne 0x18002d583
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x18002d483
cmp byte [rcx], 0x5c
jne 0x18002d47c
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002d479
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002d46a
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002d47c
test r8b, 0x10
jne 0x18002d479
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002d47c
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800328b0
lea rcx, [rbx + 0x40]
call fcn.18002ca70
mov eax, dword [rbx + 0x7c]
cmp eax, 0x5e
jne 0x18002d4fb
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x18002d4f0
cmp byte [rcx], 0x5c
jne 0x18002d4e9
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002d4e6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002d4d7
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002d4e9
test r8b, 0x10
jne 0x18002d4e6
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002d4e9
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800328b0
mov eax, dword [rbx + 0x7c]
test dword [rbx + 0x80], 0x20000000
je 0x18002d56c
cmp eax, 0x5d
jne 0x18002d56c
movzx edx, al
lea rcx, [rbx + 0x40]
call fcn.18002c9e0
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x18002d564
cmp byte [rcx], 0x5c
jne 0x18002d55d
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002d55a
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002d54b
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002d55d
test r8b, 0x10
jne 0x18002d55a
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002d55d
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800328b0
mov rcx, rbx
call fcn.18002e4c0
cmp dword [rbx + 0x7c], 0x5d
jne 0x18002d8b2
jmp 0x18002d81a
cmp ecx, 0x28
jne 0x18002d74f
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x18002d5d8
cmp byte [rcx], 0x5c
jne 0x18002d5d1
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002d5ce
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002d5bf
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002d5d1
test r8b, 0x10
jne 0x18002d5ce
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002d5d1
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800328b0
inc dword [rbx + 0x1c]
mov eax, dword [rbx + 0x80]
bt eax, 0x1b
jb 0x18002d5f9
cmp dword [rbx + 0x7c], 0x29
je 0x18002d8a4
test al, 0x20
je 0x18002d65a
cmp dword [rbx + 0x7c], 0x3f
jne 0x18002d65a
mov rcx, rbx
call fcn.180032010
mov edi, dword [rbx + 0x7c]
mov rcx, rbx
call fcn.180032010
mov rcx, rbx
cmp edi, 0x3a
jne 0x18002d628
call fcn.18002f730
jmp 0x18002d6dd
cmp edi, 0x21
jne 0x18002d63f
mov dl, 1
call fcn.18002eaf0
dec dword [rbx + 0x1c]
xor dil, dil
jmp 0x18002d6e3
cmp edi, 0x3d
jne 0x18002d899
xor edx, edx
call fcn.18002eaf0
dec dword [rbx + 0x1c]
xor dil, dil
jmp 0x18002d6e3
test dword [rbx + 0x70], 0x200
lea rcx, [rbx + 0x40]
je 0x18002d68a
mov edx, 8
call fcn.180031f80
mov rcx, rbx
mov rdi, rax
call fcn.18002e7d0
mov rdx, rdi
lea rcx, [rbx + 0x40]
call fcn.1800300f0
jmp 0x18002d6dd
inc dword [rbx + 0x18]
mov edx, dword [rbx + 0x18]
call fcn.18002db10
mov rcx, rbx
mov rsi, rax
call fcn.18002e7d0
mov rdx, rsi
lea rcx, [rbx + 0x40]
call fcn.1800300f0
mov edx, dword [rbx + 0x18]
lea rcx, [rbx + 0x20]
inc edx
xor r8d, r8d
call fcn.180063950
mov r8d, dword [rsi + 0x20]
mov rax, qword [rbx + 0x20]
mov ecx, r8d
shr rcx, 5
and r8d, 0x1f
lea rdx, [rax + rcx*4]
mov eax, dword [rax + rcx*4]
bts eax, r8d
mov dword [rdx], eax
dec dword [rbx + 0x1c]
mov dil, 1
cmp dword [rbx + 0x7c], 0x29
jne 0x18002d8a4
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x18002d739
cmp byte [rcx], 0x5c
jne 0x18002d732
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002d72f
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002d720
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002d732
test r8b, 0x10
jne 0x18002d72f
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002d732
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800328b0
test dil, dil
je 0x18002d876
jmp 0x18002d86e
cmp ecx, 0x5e
jne 0x18002d759
lea edx, [rcx - 0x5c]
jmp 0x18002d761
cmp ecx, 0x24
jne 0x18002d7c3
lea edx, [rcx - 0x21]
lea rcx, [rbx + 0x40]
call fcn.180031f80
mov rax, qword [rbx + 0x10]
mov rcx, qword [rbx]
cmp rcx, rax
je 0x18002d7b6
cmp byte [rcx], 0x5c
jne 0x18002d7af
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002d7ac
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002d79d
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002d7af
test r8b, 0x10
jne 0x18002d7ac
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002d7af
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800328b0
jmp 0x18002d876
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18002d8ce
cmp ecx, 0x3f
je 0x18002d8ce
cmp ecx, 0x7b
je 0x18002d8ce
cmp ecx, 0x7d
jne 0x18002d7f8
test dword [rbx + 0x80], 0x10000000
je 0x18002d8c0
jmp 0x18002d80d
cmp ecx, 0x5d
jne 0x18002d80d
test dword [rbx + 0x80], 0x10000000
je 0x18002d8b2
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.18002c810
mov rax, qword [rbx + 0x10]
mov rcx, qword [rbx]
cmp rcx, rax
je 0x18002d866
cmp byte [rcx], 0x5c
jne 0x18002d85f
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002d85c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002d84d
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002d85f
test r8b, 0x10
jne 0x18002d85c
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002d85f
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800328b0
mov rcx, rbx
call fcn.180032070
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x18002d345
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov edx, 0xe
call fcn.1800301b0
int3
mov edx, 5
mov rcx, rbx
call fcn.1800301b0
int3
mov edx, 4
mov rcx, rbx
call fcn.1800301b0
int3
mov edx, 6
mov rcx, rbx
call fcn.1800301b0
int3
mov edx, 0xa
mov rcx, rbx
call fcn.1800301b0
int3