Function at 0x180017850
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 0x180017e71
cmp ecx, 0x7c
je 0x180017e71
lea rdi, [rbx + 0x10]
mov ebp, 0xfffd
cmp ecx, 0x29
jne 0x1800178ab
cmp dword [rbx + 0x1c], 0
jne 0x180017e71
test dword [rbx + 0x80], 0x10000000
je 0x180017e91
jmp 0x180017df1
cmp ecx, 0x2e
jne 0x18001793a
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.180017ed0
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180017e4a
cmp word [rax], 0x5c
jne 0x180017bfe
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x180017bfe
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18001790a
movzx r8d, word [rdx]
mov rcx, rax
cmp r8w, 0x28
je 0x18001792a
cmp r8w, 0x29
je 0x18001792a
test r9b, 0x10
jne 0x180017bfe
movzx edx, word [rdx]
mov rcx, rax
cmp dx, 0x7b
je 0x18001792a
cmp dx, 0x7d
jne 0x180017bfe
lea rax, [rcx + 2]
add rax, 2
mov qword [rbx], rax
jmp 0x180017e4a
cmp ecx, 0x5c
jne 0x180017af4
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x1800179a2
cmp word [rax], 0x5c
jne 0x18001799b
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x18001799b
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18001797f
movzx r8d, word [rdx]
mov rcx, rax
cmp r8w, 0x28
je 0x180017997
cmp r8w, 0x29
je 0x180017997
test r9b, 0x10
jne 0x18001799b
movzx edx, word [rdx]
mov rcx, rax
cmp dx, 0x7b
je 0x180017997
cmp dx, 0x7d
jne 0x18001799b
lea rax, [rcx + 2]
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800169e0
test byte [rbx + 0x80], 0x80
je 0x180017ae7
movzx eax, word [rbx + 0x78]
cmp ax, 0x62
jne 0x180017a3a
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180017ed0
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180017a2d
cmp word [rax], 0x5c
jne 0x180017a26
lea r8, [rax + 2]
cmp r8, rcx
je 0x180017a26
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180017a09
movzx edx, word [r8]
mov rcx, rax
cmp dx, 0x28
je 0x180017a22
cmp dx, 0x29
je 0x180017a22
test r9b, 0x10
jne 0x180017a26
movzx edx, word [r8]
mov rcx, rax
cmp dx, 0x7b
je 0x180017a22
cmp dx, 0x7d
jne 0x180017a26
lea rax, [rcx + 2]
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800169e0
jmp 0x180017e5e
cmp ax, 0x42
jne 0x180017ae7
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180017ed0
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180017ada
cmp word [rax], 0x5c
jne 0x180017ad3
lea r8, [rax + 2]
mov rcx, rax
cmp r8, rdx
je 0x180017ad0
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180017a9a
movzx ecx, word [r8]
mov rdx, rax
cmp cx, 0x28
je 0x180017ab8
cmp cx, 0x29
je 0x180017ab8
mov rcx, rax
test r9b, 0x10
jne 0x180017ad0
movzx r8d, word [r8]
mov rdx, rax
cmp r8w, 0x7b
je 0x180017ab8
mov rdx, rcx
cmp r8w, 0x7d
jne 0x180017ad0
lea rax, [rdx + 2]
mov rcx, rbx
add rax, 2
mov qword [rbx], rax
call fcn.1800169e0
jmp 0x180017e5e
mov rax, rcx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800169e0
jmp 0x180017e5e
mov rcx, rbx
call fcn.180018af0
jmp 0x180017e52
cmp ecx, 0x5b
jne 0x180017c0a
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180017b6f
cmp word [rax], 0x5c
jne 0x180017b64
lea r8, [rax + 2]
mov rcx, rax
cmp r8, rdx
je 0x180017b61
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180017b3d
movzx ecx, word [r8]
mov rdx, rax
cmp cx, 0x28
je 0x180017b5b
cmp cx, 0x29
je 0x180017b5b
mov rcx, rax
test r9b, 0x10
jne 0x180017b61
movzx r8d, word [r8]
mov rdx, rax
cmp r8w, 0x7b
je 0x180017b5b
mov rdx, rcx
cmp r8w, 0x7d
jne 0x180017b61
lea rax, [rdx + 2]
jmp 0x180017b64
mov rax, rcx
add rax, 2
lea rdi, [rbx + 0x10]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800169e0
mov rcx, rbx
call fcn.180018950
cmp dword [rbx + 0x7c], 0x5d
jne 0x180017eb2
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180017e4a
cmp word [rax], 0x5c
jne 0x180017bfe
lea r8, [rax + 2]
mov rcx, rax
cmp r8, rdx
je 0x180017bfb
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180017bcd
movzx ecx, word [r8]
mov rdx, rax
cmp cx, 0x28
je 0x180017beb
cmp cx, 0x29
je 0x180017beb
mov rcx, rax
test r9b, 0x10
jne 0x180017bfb
movzx r8d, word [r8]
mov rdx, rax
cmp r8w, 0x7b
je 0x180017beb
mov rdx, rcx
cmp r8w, 0x7d
jne 0x180017bfb
lea rax, [rdx + 2]
add rax, 2
mov qword [rbx], rax
jmp 0x180017e4a
mov rax, rcx
add rax, 2
mov qword [rbx], rax
jmp 0x180017e4a
cmp ecx, 0x28
jne 0x180017d23
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180017c81
cmp word [rax], 0x5c
jne 0x180017c7a
lea r8, [rax + 2]
mov rcx, rax
cmp r8, rdx
je 0x180017c77
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180017c53
movzx ecx, word [r8]
mov rdx, rax
cmp cx, 0x28
je 0x180017c71
cmp cx, 0x29
je 0x180017c71
mov rcx, rax
test r9b, 0x10
jne 0x180017c77
movzx r8d, word [r8]
mov rdx, rax
cmp r8w, 0x7b
je 0x180017c71
mov rdx, rcx
cmp r8w, 0x7d
jne 0x180017c77
lea rax, [rdx + 2]
jmp 0x180017c7a
mov rax, rcx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800169e0
mov rcx, rbx
call fcn.180018c80
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x180017ebd
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x180017d0d
cmp word [rax], 0x5c
jne 0x180017d06
lea r8, [rax + 2]
mov rcx, rax
cmp r8, rdx
je 0x180017d03
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180017cdf
movzx ecx, word [r8]
mov rdx, rax
cmp cx, 0x28
je 0x180017cfd
cmp cx, 0x29
je 0x180017cfd
mov rcx, rax
test r9b, 0x10
jne 0x180017d03
movzx r8d, word [r8]
mov rdx, rax
cmp r8w, 0x7b
je 0x180017cfd
mov rdx, rcx
cmp r8w, 0x7d
jne 0x180017d03
lea rax, [rdx + 2]
jmp 0x180017d06
mov rax, rcx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800169e0
test sil, sil
je 0x180017e5e
jmp 0x180017e52
cmp ecx, 0x5e
jne 0x180017d8e
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.180017ed0
mov rdx, qword [rdi]
mov rax, qword [rbx]
cmp rax, rdx
je 0x180017d81
cmp word [rax], 0x5c
jne 0x180017d7d
lea rcx, [rax + 2]
cmp rcx, rdx
je 0x180017d7d
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180017d68
movzx eax, word [rcx]
sub ax, 0x28
cmp ax, 1
jbe 0x180017d79
test dl, 0x10
jne 0x180017d7d
movzx eax, word [rcx]
sub ax, 0x7b
test bp, ax
jne 0x180017d7d
add qword [rbx], 2
add qword [rbx], 2
mov rcx, rbx
call fcn.1800169e0
jmp 0x180017e5e
cmp ecx, 0x24
jne 0x180017da7
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.180017ed0
lea rdi, [rbx + 0x10]
jmp 0x180017d36
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x180017ea7
cmp ecx, 0x3f
je 0x180017ea7
cmp ecx, 0x7b
je 0x180017ea7
cmp ecx, 0x7d
jne 0x180017ddc
test dword [rbx + 0x80], 0x10000000
je 0x180017e9c
jmp 0x180017df1
cmp ecx, 0x5d
jne 0x180017df1
test dword [rbx + 0x80], 0x10000000
je 0x180017e86
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.180019120
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x180017e4a
cmp word [rax], 0x5c
jne 0x180017e46
lea rcx, [rax + 2]
cmp rcx, rdx
je 0x180017e46
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180017e31
movzx eax, word [rcx]
sub ax, 0x28
cmp ax, 1
jbe 0x180017e42
test dl, 0x10
jne 0x180017e46
movzx eax, word [rcx]
sub ax, 0x7b
test bp, ax
jne 0x180017e46
add qword [rbx], 2
add qword [rbx], 2
mov rcx, rbx
call fcn.1800169e0
mov rcx, rbx
call fcn.180018e90
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x180017e71
cmp ecx, 0x7c
jne 0x180017887
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.1800169d0
int3
mov edx, 5
call fcn.1800169d0
int3
mov edx, 6
call fcn.1800169d0
int3
mov edx, 0xa
call fcn.1800169d0
int3
mov edx, 4
call fcn.1800169d0
int3
mov edx, 5
call fcn.1800169d0
int3