Function at 0x180017670
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 0x180017c8e
cmp ecx, 0x7c
je 0x180017c8e
lea rdi, [rbx + 0x10]
nop dword [rax]
cmp ecx, 0x29
jne 0x1800176c4
cmp dword [rbx + 0x1c], 0
jne 0x180017c8e
test dword [rbx + 0x80], 0x10000000
je 0x180017ca9
jmp 0x180017c18
cmp ecx, 0x2e
jne 0x18001774d
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.180017ce0
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180017c67
cmp byte [rax], 0x5c
jne 0x1800179ef
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1800179ef
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180017720
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18001773e
cmp r8b, 0x29
je 0x18001773e
test r9b, 0x10
jne 0x1800179ef
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18001773e
cmp dl, 0x7d
jne 0x1800179ef
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x180017c67
cmp ecx, 0x5c
jne 0x1800178f1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x1800177af
cmp byte [rax], 0x5c
jne 0x1800177a9
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1800177a9
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18001778f
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x1800177a5
cmp r8b, 0x29
je 0x1800177a5
test r9b, 0x10
jne 0x1800177a9
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x1800177a5
cmp dl, 0x7d
jne 0x1800177a9
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180016530
test byte [rbx + 0x80], 0x80
je 0x1800178e4
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x180017840
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180017ce0
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180017833
cmp byte [rax], 0x5c
jne 0x18001782d
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18001782d
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180017813
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x180017829
cmp r8b, 0x29
je 0x180017829
test r9b, 0x10
jne 0x18001782d
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x180017829
cmp dl, 0x7d
jne 0x18001782d
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180016530
jmp 0x180017c7b
cmp al, 0x42
jne 0x1800178e4
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180017ce0
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x1800178d7
cmp byte [rax], 0x5c
jne 0x1800178d1
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x1800178ce
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18001789b
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x1800178b7
cmp cl, 0x29
je 0x1800178b7
mov rcx, rax
test r9b, 0x10
jne 0x1800178ce
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x1800178b7
mov rdx, rcx
cmp r8b, 0x7d
jne 0x1800178ce
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.180016530
jmp 0x180017c7b
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180016530
jmp 0x180017c7b
mov rcx, rbx
call fcn.180018e60
jmp 0x180017c6f
cmp ecx, 0x5b
jne 0x1800179fa
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180017966
cmp byte [rax], 0x5c
jne 0x18001795c
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x180017959
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180017937
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x180017953
cmp cl, 0x29
je 0x180017953
mov rcx, rax
test r9b, 0x10
jne 0x180017959
movzx r9d, byte [r8]
mov rdx, rax
cmp r9b, 0x7b
je 0x180017953
mov rdx, rcx
cmp r9b, 0x7d
jne 0x180017959
lea rax, [rdx + 1]
jmp 0x18001795c
mov rax, rcx
inc rax
lea rdi, [rbx + 0x10]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180016530
mov rcx, rbx
call fcn.180018cd0
cmp dword [rbx + 0x7c], 0x5d
jne 0x180017cca
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180017c67
cmp byte [rax], 0x5c
jne 0x1800179ef
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x1800179ec
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1800179c1
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x1800179dd
cmp cl, 0x29
je 0x1800179dd
mov rcx, rax
test r9b, 0x10
jne 0x1800179ec
movzx r9d, byte [r8]
mov rdx, rax
cmp r9b, 0x7b
je 0x1800179dd
mov rdx, rcx
cmp r9b, 0x7d
jne 0x1800179ec
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x180017c67
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x180017c67
cmp ecx, 0x28
jne 0x180017b07
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180017a6b
cmp byte [rax], 0x5c
jne 0x180017a65
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x180017a62
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180017a40
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x180017a5c
cmp cl, 0x29
je 0x180017a5c
mov rcx, rax
test r9b, 0x10
jne 0x180017a62
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x180017a5c
mov rdx, rcx
cmp r8b, 0x7d
jne 0x180017a62
lea rax, [rdx + 1]
jmp 0x180017a65
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180016530
mov rcx, rbx
call fcn.180018ff0
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x180017cd5
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x180017af1
cmp byte [rax], 0x5c
jne 0x180017aeb
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x180017ae8
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180017ac6
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x180017ae2
cmp cl, 0x29
je 0x180017ae2
mov rcx, rax
test r9b, 0x10
jne 0x180017ae8
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x180017ae2
mov rdx, rcx
cmp r8b, 0x7d
jne 0x180017ae8
lea rax, [rdx + 1]
jmp 0x180017aeb
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180016530
test sil, sil
je 0x180017c7b
jmp 0x180017c6f
cmp ecx, 0x5e
jne 0x180017b68
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.180017ce0
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180017b5b
cmp byte [rax], 0x5c
jne 0x180017b58
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180017b58
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180017b47
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180017b55
test dl, 0x10
jne 0x180017b58
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180017b58
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180016530
jmp 0x180017c7b
cmp ecx, 0x24
jne 0x180017bce
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.180017ce0
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x180017bc1
cmp byte [rax], 0x5c
jne 0x180017bbe
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180017bbe
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180017bad
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180017bbb
test dl, 0x10
jne 0x180017bbe
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180017bbe
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180016530
jmp 0x180017c7b
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x180017cbf
cmp ecx, 0x3f
je 0x180017cbf
cmp ecx, 0x7b
je 0x180017cbf
cmp ecx, 0x7d
jne 0x180017c03
test dword [rbx + 0x80], 0x10000000
je 0x180017cb4
jmp 0x180017c18
cmp ecx, 0x5d
jne 0x180017c18
test dword [rbx + 0x80], 0x10000000
je 0x180017c9e
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.180019550
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x180017c67
cmp byte [rax], 0x5c
jne 0x180017c64
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180017c64
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180017c53
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180017c61
test dl, 0x10
jne 0x180017c64
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180017c64
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180016530
mov rcx, rbx
call fcn.1800192f0
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x180017c8e
cmp ecx, 0x7c
jne 0x1800176a0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.180016520
int3
mov edx, 5
call fcn.180016520
int3
mov edx, 6
call fcn.180016520
int3
mov edx, 0xa
call fcn.180016520
int3
mov edx, 4
call fcn.180016520
int3
mov edx, 5
call fcn.180016520
int3