Function at 0x503be0
Capabilities:
Parse credit card information

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x10]
mov qword [rcx + 0xb0], rdx
movzx eax, byte [rax]
mov byte [rbp - 1], al
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 0xc0]
movsx eax, byte [rbp - 1]
mov r8d, 0x20
mov edx, eax
call method.std::ctype_char_.narrow_char__char__const
movsx eax, al
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rdx + 0xa0]
mov edx, eax
call sym.strchr
test rax, rax
sete al
test al, al
je 0x503c78
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x90], 1
mov rax, qword [rbp + 0x10]
add rax, 0xc8
movsx edx, byte [rbp - 1]
mov r8d, edx
mov edx, 1
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.assign_unsigned_long_long__char_
jmp 0x5040d3
cmp byte [rbp - 1], 0x5c
jne 0x503d93
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 0xb0]
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb8]
cmp rdx, rax
jne 0x503cae
lea rdx, str.Unexpected_end_of_regex_when_escaping.
mov ecx, 2
call method.std.__throw_regex_error_std::regex_constants::error_type__char_const_
mov rax, qword [rbp + 0x10]
mov rcx, rax
call method.std::__detail::_ScannerBase._M_is_basic___const
xor eax, 1
test al, al
jne 0x503cf7
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
movzx eax, byte [rax]
cmp al, 0x28
je 0x503cfe
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
movzx eax, byte [rax]
cmp al, 0x29
je 0x503cfe
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
movzx eax, byte [rax]
cmp al, 0x7b
je 0x503cfe
mov eax, 1
jmp 0x503d03
mov eax, 0
test al, al
je 0x503d73
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xf0]
mov rdx, rax
mov rax, qword [rbp + 0x10]
add rdx, rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xe8]
and eax, 1
test rax, rax
je 0x503d5e
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xf0]
mov rcx, rax
mov rax, qword [rbp + 0x10]
add rax, rcx
mov rcx, qword [rax]
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xe8]
sub rax, 1
add rax, rcx
mov rax, qword [rax]
jmp 0x503d69
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xe8]
mov rcx, rdx
call rax
jmp 0x5040d3
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x10]
mov qword [rcx + 0xb0], rdx
movzx eax, byte [rax]
mov byte [rbp - 1], al
cmp byte [rbp - 1], 0x28
jne 0x503f70
mov rax, qword [rbp + 0x10]
mov rcx, rax
call method.std::__detail::_ScannerBase._M_is_ecma___const
test al, al
je 0x503dc6
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
movzx eax, byte [rax]
cmp al, 0x3f
jne 0x503dc6
mov eax, 1
jmp 0x503dcb
mov eax, 0
test al, al
je 0x503f2b
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov qword [rax + 0xb0], rdx
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 0xb0]
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb8]
cmp rdx, rax
sete al
test al, al
je 0x503e1e
lea rdx, str.Unexpected_end_of_regex_when_in_an_open_parenthesis.
mov ecx, 5
call method.std.__throw_regex_error_std::regex_constants::error_type__char_const_
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
movzx eax, byte [rax]
cmp al, 0x3a
jne 0x503e5d
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov qword [rax + 0xb0], rdx
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x90], 6
jmp 0x5040d3
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
movzx eax, byte [rax]
cmp al, 0x3d
jne 0x503eb9
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov qword [rax + 0xb0], rdx
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x90], 7
mov rax, qword [rbp + 0x10]
add rax, 0xc8
mov r8d, 0x70
mov edx, 1
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.assign_unsigned_long_long__char_
jmp 0x5040d3
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
movzx eax, byte [rax]
cmp al, 0x21
jne 0x503f15
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov qword [rax + 0xb0], rdx
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x90], 7
mov rax, qword [rbp + 0x10]
add rax, 0xc8
mov r8d, 0x6e
mov edx, 1
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.assign_unsigned_long_long__char_
jmp 0x5040d3
lea rdx, str.Invalid_special_open_parenthesis.
mov ecx, 5
call method.std.__throw_regex_error_std::regex_constants::error_type__char_const_
jmp 0x5040d3
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x8c]
mov edx, 2
mov ecx, eax
call fcn.004c3170
test eax, eax
setne al
test al, al
je 0x503f5d
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x90], 6
jmp 0x5040d3
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x90], 5
jmp 0x5040d3
cmp byte [rbp - 1], 0x29
jne 0x503f89
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x90], 8
jmp 0x5040d3
cmp byte [rbp - 1], 0x5b
jne 0x504019
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x88], 2
mov rax, qword [rbp + 0x10]
mov byte [rax + 0xa8], 1
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 0xb0]
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb8]
cmp rdx, rax
je 0x504006
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
movzx eax, byte [rax]
cmp al, 0x5e
jne 0x504006
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x90], 0xa
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xb0]
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov qword [rax + 0xb0], rdx
jmp 0x5040d3
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x90], 9
jmp 0x5040d3
cmp byte [rbp - 1], 0x7b
jne 0x504040
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x88], 1
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x90], 0xc
jmp 0x5040d3
cmp byte [rbp - 1], 0x5d
je 0x5040a4
cmp byte [rbp - 1], 0x7d
je 0x5040a4
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 0xc0]
movsx eax, byte [rbp - 1]
mov r8d, 0
mov edx, eax
call method.std::ctype_char_.narrow_char__char__const
mov byte [rbp - 0x11], al
mov rax, qword [rbp - 0x10]
movzx eax, byte [rax]
test al, al
je 0x5040d2
mov rax, qword [rbp - 0x10]
movzx eax, byte [rax]
cmp byte [rbp - 0x11], al
jne 0x50409d
mov rax, qword [rbp - 0x10]
mov edx, dword [rax + 4]
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x90], edx
jmp 0x5040d3
add qword [rbp - 0x10], 8
jmp 0x504073
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x90], 1
mov rax, qword [rbp + 0x10]
add rax, 0xc8
movsx edx, byte [rbp - 1]
mov r8d, edx
mov edx, 1
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.assign_unsigned_long_long__char_
jmp 0x5040d3
nop
add rsp, 0x40
pop rbp
ret