Function at 0x18004c210
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 0x18004c82e
cmp ecx, 0x7c
je 0x18004c82e
lea rdi, [rbx + 0x10]
nop dword [rax]
cmp ecx, 0x29
jne 0x18004c264
cmp dword [rbx + 0x1c], 0
jne 0x18004c82e
test dword [rbx + 0x80], 0x10000000
je 0x18004c84c
jmp 0x18004c7b8
cmp ecx, 0x2e
jne 0x18004c2ed
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.180050670
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18004c807
cmp byte [rax], 0x5c
jne 0x18004c58f
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18004c58f
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004c2c0
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18004c2de
cmp r8b, 0x29
je 0x18004c2de
test r9b, 0x10
jne 0x18004c58f
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18004c2de
cmp dl, 0x7d
jne 0x18004c58f
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18004c807
cmp ecx, 0x5c
jne 0x18004c491
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18004c34f
cmp byte [rax], 0x5c
jne 0x18004c349
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18004c349
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004c32f
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18004c345
cmp r8b, 0x29
je 0x18004c345
test r9b, 0x10
jne 0x18004c349
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18004c345
cmp dl, 0x7d
jne 0x18004c349
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180050dc0
test byte [rbx + 0x80], 0x80
je 0x18004c484
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18004c3e0
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180050670
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18004c3d3
cmp byte [rax], 0x5c
jne 0x18004c3cd
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18004c3cd
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004c3b3
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18004c3c9
cmp r8b, 0x29
je 0x18004c3c9
test r9b, 0x10
jne 0x18004c3cd
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18004c3c9
cmp dl, 0x7d
jne 0x18004c3cd
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180050dc0
jmp 0x18004c81b
cmp al, 0x42
jne 0x18004c484
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180050670
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18004c477
cmp byte [rax], 0x5c
jne 0x18004c471
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18004c46e
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004c43b
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18004c457
cmp cl, 0x29
je 0x18004c457
mov rcx, rax
test r9b, 0x10
jne 0x18004c46e
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18004c457
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18004c46e
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.180050dc0
jmp 0x18004c81b
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180050dc0
jmp 0x18004c81b
mov rcx, rbx
call fcn.18004c9c0
jmp 0x18004c80f
cmp ecx, 0x5b
jne 0x18004c59a
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18004c506
cmp byte [rax], 0x5c
jne 0x18004c4fc
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18004c4f9
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004c4d7
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18004c4f3
cmp cl, 0x29
je 0x18004c4f3
mov rcx, rax
test r9b, 0x10
jne 0x18004c4f9
movzx r9d, byte [r8]
mov rdx, rax
cmp r9b, 0x7b
je 0x18004c4f3
mov rdx, rcx
cmp r9b, 0x7d
jne 0x18004c4f9
lea rax, [rdx + 1]
jmp 0x18004c4fc
mov rax, rcx
inc rax
lea rdi, [rbx + 0x10]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180050dc0
mov rcx, rbx
call fcn.18004d0a0
cmp dword [rbx + 0x7c], 0x5d
jne 0x18004c83e
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18004c807
cmp byte [rax], 0x5c
jne 0x18004c58f
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18004c58c
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004c561
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18004c57d
cmp cl, 0x29
je 0x18004c57d
mov rcx, rax
test r9b, 0x10
jne 0x18004c58c
movzx r9d, byte [r8]
mov rdx, rax
cmp r9b, 0x7b
je 0x18004c57d
mov rdx, rcx
cmp r9b, 0x7d
jne 0x18004c58c
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18004c807
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x18004c807
cmp ecx, 0x28
jne 0x18004c6a7
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18004c60b
cmp byte [rax], 0x5c
jne 0x18004c605
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18004c602
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004c5e0
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18004c5fc
cmp cl, 0x29
je 0x18004c5fc
mov rcx, rax
test r9b, 0x10
jne 0x18004c602
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18004c5fc
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18004c602
lea rax, [rdx + 1]
jmp 0x18004c605
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180050dc0
mov rcx, rbx
call fcn.180051660
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x18004c84c
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x18004c691
cmp byte [rax], 0x5c
jne 0x18004c68b
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18004c688
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004c666
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18004c682
cmp cl, 0x29
je 0x18004c682
mov rcx, rax
test r9b, 0x10
jne 0x18004c688
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18004c682
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18004c688
lea rax, [rdx + 1]
jmp 0x18004c68b
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180050dc0
test sil, sil
je 0x18004c81b
jmp 0x18004c80f
cmp ecx, 0x5e
jne 0x18004c708
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.180050670
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18004c6fb
cmp byte [rax], 0x5c
jne 0x18004c6f8
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18004c6f8
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18004c6e7
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18004c6f5
test dl, 0x10
jne 0x18004c6f8
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18004c6f8
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180050dc0
jmp 0x18004c81b
cmp ecx, 0x24
jne 0x18004c76e
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.180050670
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x18004c761
cmp byte [rax], 0x5c
jne 0x18004c75e
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18004c75e
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18004c74d
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18004c75b
test dl, 0x10
jne 0x18004c75e
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18004c75e
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180050dc0
jmp 0x18004c81b
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18004c868
cmp ecx, 0x3f
je 0x18004c868
cmp ecx, 0x7b
je 0x18004c868
cmp ecx, 0x7d
jne 0x18004c7a3
test dword [rbx + 0x80], 0x10000000
je 0x18004c85a
jmp 0x18004c7b8
cmp ecx, 0x5d
jne 0x18004c7b8
test dword [rbx + 0x80], 0x10000000
je 0x18004c83e
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.18004b640
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x18004c807
cmp byte [rax], 0x5c
jne 0x18004c804
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18004c804
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18004c7f3
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18004c801
test dl, 0x10
jne 0x18004c804
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18004c804
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180050dc0
mov rcx, rbx
call fcn.180050750
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x18004c82e
cmp ecx, 0x7c
jne 0x18004c240
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
mov rcx, rbx
call fcn.18004f1f0
int3
mov edx, 5
mov rcx, rbx
call fcn.18004f1f0
int3
mov edx, 6
mov rcx, rbx
call fcn.18004f1f0
int3
mov edx, 0xa
mov rcx, rbx
call fcn.18004f1f0
int3