Function at 0x180065800
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 0x180065deb
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x180065deb
cmp ecx, 0x29
jne 0x180065851
cmp dword [rbx + 0x1c], 0
jne 0x180065deb
test dword [rbx + 0x80], 0x10000000
je 0x180065e06
jmp 0x180065d7a
cmp ecx, 0x2e
jne 0x1800658e6
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.180065e40
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180065dc9
cmp byte [rax], 0x5c
jne 0x180065b6b
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x1800658d8
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1800658ad
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x1800658c9
cmp cl, 0x29
je 0x1800658c9
mov rcx, rax
test r9b, 0x10
jne 0x1800658d8
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x1800658c9
mov rdx, rcx
cmp r8b, 0x7d
jne 0x1800658d8
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x180065dc9
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x180065dc9
cmp ecx, 0x5c
jne 0x180065a97
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180065956
cmp byte [rax], cl
jne 0x180065950
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18006594d
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18006592b
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x180065947
cmp cl, 0x29
je 0x180065947
mov rcx, rax
test r9b, 0x10
jne 0x18006594d
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x180065947
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18006594d
lea rax, [rdx + 1]
jmp 0x180065950
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180064770
test byte [rbx + 0x80], 0x80
je 0x180065a8a
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x180065a0b
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180065e40
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x1800659fe
cmp byte [rax], 0x5c
jne 0x1800659f8
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x1800659f5
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1800659c2
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x1800659de
cmp cl, 0x29
je 0x1800659de
mov rcx, rax
test r9b, 0x10
jne 0x1800659f5
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x1800659de
mov rdx, rcx
cmp r8b, 0x7d
jne 0x1800659f5
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.180064770
jmp 0x180065ddd
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180064770
jmp 0x180065ddd
cmp al, 0x42
jne 0x180065a8a
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180065e40
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180065a7d
cmp byte [rax], 0x5c
jne 0x180065a77
lea r8, [rax + 1]
cmp r8, rcx
je 0x180065a77
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180065a5c
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x180065a73
cmp dl, 0x29
je 0x180065a73
test r9b, 0x10
jne 0x180065a77
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x180065a73
cmp dl, 0x7d
jne 0x180065a77
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180064770
jmp 0x180065ddd
mov rcx, rbx
call fcn.180066a10
jmp 0x180065dd1
cmp ecx, 0x5b
jne 0x180065b76
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180065af9
cmp byte [rax], 0x5c
jne 0x180065af3
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180065af3
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180065ad9
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x180065aef
cmp r8b, 0x29
je 0x180065aef
test r9b, 0x10
jne 0x180065af3
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x180065aef
cmp dl, 0x7d
jne 0x180065af3
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180064770
mov rcx, rbx
call fcn.180066890
cmp dword [rbx + 0x7c], 0x5d
jne 0x180065e27
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x180065dc9
cmp byte [rax], 0x5c
jne 0x180065b6b
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180065b6b
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180065b51
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x180065b67
cmp r8b, 0x29
je 0x180065b67
test r9b, 0x10
jne 0x180065b6b
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x180065b67
cmp dl, 0x7d
jne 0x180065b6b
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x180065dc9
cmp ecx, 0x28
jne 0x180065c64
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180065bd8
cmp byte [rax], 0x5c
jne 0x180065bd2
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180065bd2
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180065bb8
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x180065bce
cmp r8b, 0x29
je 0x180065bce
test r9b, 0x10
jne 0x180065bd2
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x180065bce
cmp dl, 0x7d
jne 0x180065bd2
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180064770
mov rcx, rbx
call fcn.180066ba0
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x180065e32
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x180065c4e
cmp byte [rax], 0x5c
jne 0x180065c48
lea r8, [rax + 1]
cmp r8, rcx
je 0x180065c48
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180065c2d
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x180065c44
cmp dl, 0x29
je 0x180065c44
test r9b, 0x10
jne 0x180065c48
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x180065c44
cmp dl, 0x7d
jne 0x180065c48
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180064770
test sil, sil
je 0x180065ddd
jmp 0x180065dd1
cmp ecx, 0x5e
jne 0x180065cca
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.180065e40
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x180065cbd
cmp byte [rax], 0x5c
jne 0x180065cba
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180065cba
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180065ca9
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180065cb7
test dl, 0x10
jne 0x180065cba
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180065cba
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180064770
jmp 0x180065ddd
cmp ecx, 0x24
jne 0x180065d30
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.180065e40
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x180065d23
cmp byte [rax], 0x5c
jne 0x180065d20
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180065d20
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180065d0f
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180065d1d
test dl, 0x10
jne 0x180065d20
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180065d20
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180064770
jmp 0x180065ddd
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x180065e1c
cmp ecx, 0x3f
je 0x180065e1c
cmp ecx, 0x7b
je 0x180065e1c
cmp ecx, 0x7d
jne 0x180065d65
test dword [rbx + 0x80], 0x10000000
je 0x180065e11
jmp 0x180065d7a
cmp ecx, 0x5d
jne 0x180065d7a
test dword [rbx + 0x80], 0x10000000
je 0x180065dfb
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.180067000
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x180065dc9
cmp byte [rax], 0x5c
jne 0x180065dc6
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180065dc6
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180065db5
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180065dc3
test dl, 0x10
jne 0x180065dc6
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180065dc6
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180064770
mov rcx, rbx
call fcn.180066db0
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x180065824
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.180064760
int3
mov edx, 5
call fcn.180064760
int3
mov edx, 6
call fcn.180064760
int3
mov edx, 0xa
call fcn.180064760
int3
mov edx, 4
call fcn.180064760
int3
mov edx, 5
call fcn.180064760
int3