Function at 0x18005a1c0
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 0x18005a7de
cmp ecx, 0x7c
je 0x18005a7de
lea rdi, [rbx + 0x10]
nop dword [rax]
cmp ecx, 0x29
jne 0x18005a214
cmp dword [rbx + 0x1c], 0
jne 0x18005a7de
test dword [rbx + 0x80], 0x10000000
je 0x18005a7fc
jmp 0x18005a768
cmp ecx, 0x2e
jne 0x18005a29d
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.18005ca80
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18005a7b7
cmp byte [rax], 0x5c
jne 0x18005a53f
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18005a53f
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18005a270
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18005a28e
cmp r8b, 0x29
je 0x18005a28e
test r9b, 0x10
jne 0x18005a53f
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18005a28e
cmp dl, 0x7d
jne 0x18005a53f
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18005a7b7
cmp ecx, 0x5c
jne 0x18005a441
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18005a2ff
cmp byte [rax], 0x5c
jne 0x18005a2f9
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18005a2f9
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18005a2df
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18005a2f5
cmp r8b, 0x29
je 0x18005a2f5
test r9b, 0x10
jne 0x18005a2f9
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18005a2f5
cmp dl, 0x7d
jne 0x18005a2f9
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18005ce30
test byte [rbx + 0x80], 0x80
je 0x18005a434
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18005a390
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18005ca80
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18005a383
cmp byte [rax], 0x5c
jne 0x18005a37d
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18005a37d
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18005a363
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18005a379
cmp r8b, 0x29
je 0x18005a379
test r9b, 0x10
jne 0x18005a37d
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18005a379
cmp dl, 0x7d
jne 0x18005a37d
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18005ce30
jmp 0x18005a7cb
cmp al, 0x42
jne 0x18005a434
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18005ca80
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18005a427
cmp byte [rax], 0x5c
jne 0x18005a421
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18005a41e
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18005a3eb
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18005a407
cmp cl, 0x29
je 0x18005a407
mov rcx, rax
test r9b, 0x10
jne 0x18005a41e
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18005a407
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18005a41e
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.18005ce30
jmp 0x18005a7cb
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18005ce30
jmp 0x18005a7cb
mov rcx, rbx
call fcn.18005a970
jmp 0x18005a7bf
cmp ecx, 0x5b
jne 0x18005a54a
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18005a4b6
cmp byte [rax], 0x5c
jne 0x18005a4ac
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18005a4a9
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18005a487
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18005a4a3
cmp cl, 0x29
je 0x18005a4a3
mov rcx, rax
test r9b, 0x10
jne 0x18005a4a9
movzx r9d, byte [r8]
mov rdx, rax
cmp r9b, 0x7b
je 0x18005a4a3
mov rdx, rcx
cmp r9b, 0x7d
jne 0x18005a4a9
lea rax, [rdx + 1]
jmp 0x18005a4ac
mov rax, rcx
inc rax
lea rdi, [rbx + 0x10]
mov qword [rbx], rax
mov rcx, rbx
call fcn.18005ce30
mov rcx, rbx
call fcn.18005ae60
cmp dword [rbx + 0x7c], 0x5d
jne 0x18005a7ee
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18005a7b7
cmp byte [rax], 0x5c
jne 0x18005a53f
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18005a53c
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18005a511
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18005a52d
cmp cl, 0x29
je 0x18005a52d
mov rcx, rax
test r9b, 0x10
jne 0x18005a53c
movzx r9d, byte [r8]
mov rdx, rax
cmp r9b, 0x7b
je 0x18005a52d
mov rdx, rcx
cmp r9b, 0x7d
jne 0x18005a53c
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18005a7b7
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x18005a7b7
cmp ecx, 0x28
jne 0x18005a657
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18005a5bb
cmp byte [rax], 0x5c
jne 0x18005a5b5
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18005a5b2
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18005a590
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18005a5ac
cmp cl, 0x29
je 0x18005a5ac
mov rcx, rax
test r9b, 0x10
jne 0x18005a5b2
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18005a5ac
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18005a5b2
lea rax, [rdx + 1]
jmp 0x18005a5b5
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18005ce30
mov rcx, rbx
call fcn.18005d480
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x18005a7fc
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x18005a641
cmp byte [rax], 0x5c
jne 0x18005a63b
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18005a638
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18005a616
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18005a632
cmp cl, 0x29
je 0x18005a632
mov rcx, rax
test r9b, 0x10
jne 0x18005a638
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18005a632
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18005a638
lea rax, [rdx + 1]
jmp 0x18005a63b
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18005ce30
test sil, sil
je 0x18005a7cb
jmp 0x18005a7bf
cmp ecx, 0x5e
jne 0x18005a6b8
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.18005ca80
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18005a6ab
cmp byte [rax], 0x5c
jne 0x18005a6a8
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18005a6a8
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18005a697
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18005a6a5
test dl, 0x10
jne 0x18005a6a8
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18005a6a8
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18005ce30
jmp 0x18005a7cb
cmp ecx, 0x24
jne 0x18005a71e
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.18005ca80
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x18005a711
cmp byte [rax], 0x5c
jne 0x18005a70e
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18005a70e
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18005a6fd
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18005a70b
test dl, 0x10
jne 0x18005a70e
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18005a70e
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18005ce30
jmp 0x18005a7cb
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18005a818
cmp ecx, 0x3f
je 0x18005a818
cmp ecx, 0x7b
je 0x18005a818
cmp ecx, 0x7d
jne 0x18005a753
test dword [rbx + 0x80], 0x10000000
je 0x18005a80a
jmp 0x18005a768
cmp ecx, 0x5d
jne 0x18005a768
test dword [rbx + 0x80], 0x10000000
je 0x18005a7ee
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.180059770
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x18005a7b7
cmp byte [rax], 0x5c
jne 0x18005a7b4
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18005a7b4
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18005a7a3
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18005a7b1
test dl, 0x10
jne 0x18005a7b4
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18005a7b4
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18005ce30
mov rcx, rbx
call fcn.18005cb60
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x18005a7de
cmp ecx, 0x7c
jne 0x18005a1f0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
mov rcx, rbx
call fcn.18005c170
int3
mov edx, 5
mov rcx, rbx
call fcn.18005c170
int3
mov edx, 6
mov rcx, rbx
call fcn.18005c170
int3
mov edx, 0xa
mov rcx, rbx
call fcn.18005c170
int3