Function at 0x18002e670
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 0x18002ebd4
cmp ecx, 0x7c
je 0x18002ebd4
cmp ecx, 0x29
jne 0x18002e6c2
cmp dword [rbx + 0x1c], 0
jne 0x18002ebd4
test dword [rbx + 0x80], 0x10000000
je 0x18002ebf7
jmp 0x18002eb5d
cmp ecx, 0x2e
jne 0x18002e6da
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.180031f80
jmp 0x18002eb6a
cmp ecx, 0x5c
jne 0x18002e77e
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x18002e72f
cmp byte [rcx], 0x5c
jne 0x18002e728
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002e725
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002e716
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002e728
test r8b, 0x10
jne 0x18002e725
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002e728
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180032840
test byte [rbx + 0x80], 0x80
je 0x18002e771
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18002e752
mov edx, 4
jmp 0x18002eab1
cmp al, 0x42
jne 0x18002e771
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180031f80
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x18002eaba
mov rcx, rbx
call fcn.18002ec30
jmp 0x18002ebbe
cmp ecx, 0x5b
jne 0x18002e8d3
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x18002e7d3
cmp byte [rcx], 0x5c
jne 0x18002e7cc
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002e7c9
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002e7ba
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002e7cc
test r8b, 0x10
jne 0x18002e7c9
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002e7cc
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180032840
lea rcx, [rbx + 0x40]
call fcn.18002de30
mov eax, dword [rbx + 0x7c]
cmp eax, 0x5e
jne 0x18002e84b
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x18002e840
cmp byte [rcx], 0x5c
jne 0x18002e839
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002e836
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002e827
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002e839
test r8b, 0x10
jne 0x18002e836
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002e839
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180032840
mov eax, dword [rbx + 0x7c]
test dword [rbx + 0x80], 0x20000000
je 0x18002e8bc
cmp eax, 0x5d
jne 0x18002e8bc
movzx edx, al
lea rcx, [rbx + 0x40]
call fcn.18002ddb0
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x18002e8b4
cmp byte [rcx], 0x5c
jne 0x18002e8ad
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002e8aa
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002e89b
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002e8ad
test r8b, 0x10
jne 0x18002e8aa
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002e8ad
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180032840
mov rcx, rbx
call fcn.18002f810
cmp dword [rbx + 0x7c], 0x5d
jne 0x18002ec05
jmp 0x18002eb6a
cmp ecx, 0x28
jne 0x18002ea9f
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x18002e928
cmp byte [rcx], 0x5c
jne 0x18002e921
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002e91e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002e90f
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002e921
test r8b, 0x10
jne 0x18002e91e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002e921
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180032840
inc dword [rbx + 0x1c]
mov eax, dword [rbx + 0x80]
bt eax, 0x1b
jb 0x18002e949
cmp dword [rbx + 0x7c], 0x29
je 0x18002ebf7
test al, 0x20
je 0x18002e9aa
cmp dword [rbx + 0x7c], 0x3f
jne 0x18002e9aa
mov rcx, rbx
call fcn.180032010
mov edi, dword [rbx + 0x7c]
mov rcx, rbx
call fcn.180032010
mov rcx, rbx
cmp edi, 0x3a
jne 0x18002e978
call fcn.1800308a0
jmp 0x18002ea2d
cmp edi, 0x21
jne 0x18002e98f
mov dl, 1
call fcn.18002fd50
dec dword [rbx + 0x1c]
xor dil, dil
jmp 0x18002ea33
cmp edi, 0x3d
jne 0x18002ec21
xor edx, edx
call fcn.18002fd50
dec dword [rbx + 0x1c]
xor dil, dil
jmp 0x18002ea33
test dword [rbx + 0x70], 0x200
lea rcx, [rbx + 0x40]
je 0x18002e9da
mov edx, 8
call fcn.180031f80
mov rcx, rbx
mov rdi, rax
call fcn.18002fa40
mov rdx, rdi
lea rcx, [rbx + 0x40]
call fcn.180031060
jmp 0x18002ea2d
inc dword [rbx + 0x18]
mov edx, dword [rbx + 0x18]
call fcn.18002ee60
mov rcx, rbx
mov rsi, rax
call fcn.18002fa40
mov rdx, rsi
lea rcx, [rbx + 0x40]
call fcn.180031060
mov edx, dword [rbx + 0x18]
lea rcx, [rbx + 0x20]
inc edx
xor r8d, r8d
call fcn.180052ae0
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 0x18002ebf7
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x18002ea89
cmp byte [rcx], 0x5c
jne 0x18002ea82
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002ea7f
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002ea70
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002ea82
test r8b, 0x10
jne 0x18002ea7f
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002ea82
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180032840
test dil, dil
je 0x18002ebc6
jmp 0x18002ebbe
cmp ecx, 0x5e
jne 0x18002eaa9
lea edx, [rcx - 0x5c]
jmp 0x18002eab1
cmp ecx, 0x24
jne 0x18002eb13
lea edx, [rcx - 0x21]
lea rcx, [rbx + 0x40]
call fcn.180031f80
mov rax, qword [rbx + 0x10]
mov rcx, qword [rbx]
cmp rcx, rax
je 0x18002eb06
cmp byte [rcx], 0x5c
jne 0x18002eaff
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002eafc
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002eaed
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002eaff
test r8b, 0x10
jne 0x18002eafc
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002eaff
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180032840
jmp 0x18002ebc6
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18002ebe9
cmp ecx, 0x3f
je 0x18002ebe9
cmp ecx, 0x7b
je 0x18002ebe9
cmp ecx, 0x7d
jne 0x18002eb48
test dword [rbx + 0x80], 0x10000000
je 0x18002ec13
jmp 0x18002eb5d
cmp ecx, 0x5d
jne 0x18002eb5d
test dword [rbx + 0x80], 0x10000000
je 0x18002ec05
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.18002dbe0
mov rax, qword [rbx + 0x10]
mov rcx, qword [rbx]
cmp rcx, rax
je 0x18002ebb6
cmp byte [rcx], 0x5c
jne 0x18002ebaf
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18002ebac
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002eb9d
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18002ebaf
test r8b, 0x10
jne 0x18002ebac
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18002ebaf
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180032840
mov rcx, rbx
call fcn.180032070
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x18002e695
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.180031110
int3
mov edx, 5
mov rcx, rbx
call fcn.180031110
int3
mov edx, 4
mov rcx, rbx
call fcn.180031110
int3
mov edx, 6
mov rcx, rbx
call fcn.180031110
int3
mov edx, 0xe
call fcn.180031110
int3