Function at 0x18008f040
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 0x18008f62b
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x18008f62b
cmp ecx, 0x29
jne 0x18008f091
cmp dword [rbx + 0x1c], 0
jne 0x18008f62b
test dword [rbx + 0x80], 0x10000000
je 0x18008f646
jmp 0x18008f5ba
cmp ecx, 0x2e
jne 0x18008f126
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.18008f680
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18008f609
cmp byte [rax], 0x5c
jne 0x18008f3ab
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18008f118
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18008f0ed
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18008f109
cmp cl, 0x29
je 0x18008f109
mov rcx, rax
test r9b, 0x10
jne 0x18008f118
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18008f109
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18008f118
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18008f609
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x18008f609
cmp ecx, 0x5c
jne 0x18008f2d7
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18008f196
cmp byte [rax], cl
jne 0x18008f190
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18008f18d
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18008f16b
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18008f187
cmp cl, 0x29
je 0x18008f187
mov rcx, rax
test r9b, 0x10
jne 0x18008f18d
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18008f187
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18008f18d
lea rax, [rdx + 1]
jmp 0x18008f190
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18008e560
test byte [rbx + 0x80], 0x80
je 0x18008f2ca
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18008f24b
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18008f680
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18008f23e
cmp byte [rax], 0x5c
jne 0x18008f238
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18008f235
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18008f202
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18008f21e
cmp cl, 0x29
je 0x18008f21e
mov rcx, rax
test r9b, 0x10
jne 0x18008f235
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18008f21e
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18008f235
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.18008e560
jmp 0x18008f61d
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18008e560
jmp 0x18008f61d
cmp al, 0x42
jne 0x18008f2ca
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18008f680
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18008f2bd
cmp byte [rax], 0x5c
jne 0x18008f2b7
lea r8, [rax + 1]
cmp r8, rcx
je 0x18008f2b7
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18008f29c
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x18008f2b3
cmp dl, 0x29
je 0x18008f2b3
test r9b, 0x10
jne 0x18008f2b7
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x18008f2b3
cmp dl, 0x7d
jne 0x18008f2b7
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18008e560
jmp 0x18008f61d
mov rcx, rbx
call fcn.180090070
jmp 0x18008f611
cmp ecx, 0x5b
jne 0x18008f3b6
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18008f339
cmp byte [rax], 0x5c
jne 0x18008f333
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18008f333
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18008f319
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18008f32f
cmp r8b, 0x29
je 0x18008f32f
test r9b, 0x10
jne 0x18008f333
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18008f32f
cmp dl, 0x7d
jne 0x18008f333
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18008e560
mov rcx, rbx
call fcn.18008fef0
cmp dword [rbx + 0x7c], 0x5d
jne 0x18008f667
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18008f609
cmp byte [rax], 0x5c
jne 0x18008f3ab
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18008f3ab
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18008f391
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18008f3a7
cmp r8b, 0x29
je 0x18008f3a7
test r9b, 0x10
jne 0x18008f3ab
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18008f3a7
cmp dl, 0x7d
jne 0x18008f3ab
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18008f609
cmp ecx, 0x28
jne 0x18008f4a4
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18008f418
cmp byte [rax], 0x5c
jne 0x18008f412
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18008f412
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18008f3f8
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18008f40e
cmp r8b, 0x29
je 0x18008f40e
test r9b, 0x10
jne 0x18008f412
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18008f40e
cmp dl, 0x7d
jne 0x18008f412
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18008e560
mov rcx, rbx
call fcn.1800901f0
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x18008f672
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18008f48e
cmp byte [rax], 0x5c
jne 0x18008f488
lea r8, [rax + 1]
cmp r8, rcx
je 0x18008f488
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18008f46d
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x18008f484
cmp dl, 0x29
je 0x18008f484
test r9b, 0x10
jne 0x18008f488
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x18008f484
cmp dl, 0x7d
jne 0x18008f488
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18008e560
test sil, sil
je 0x18008f61d
jmp 0x18008f611
cmp ecx, 0x5e
jne 0x18008f50a
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.18008f680
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x18008f4fd
cmp byte [rax], 0x5c
jne 0x18008f4fa
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18008f4fa
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18008f4e9
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18008f4f7
test dl, 0x10
jne 0x18008f4fa
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18008f4fa
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18008e560
jmp 0x18008f61d
cmp ecx, 0x24
jne 0x18008f570
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.18008f680
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x18008f563
cmp byte [rax], 0x5c
jne 0x18008f560
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18008f560
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18008f54f
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18008f55d
test dl, 0x10
jne 0x18008f560
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18008f560
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18008e560
jmp 0x18008f61d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18008f65c
cmp ecx, 0x3f
je 0x18008f65c
cmp ecx, 0x7b
je 0x18008f65c
cmp ecx, 0x7d
jne 0x18008f5a5
test dword [rbx + 0x80], 0x10000000
je 0x18008f651
jmp 0x18008f5ba
cmp ecx, 0x5d
jne 0x18008f5ba
test dword [rbx + 0x80], 0x10000000
je 0x18008f63b
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.180090680
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x18008f609
cmp byte [rax], 0x5c
jne 0x18008f606
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18008f606
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18008f5f5
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18008f603
test dl, 0x10
jne 0x18008f606
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18008f606
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18008e560
mov rcx, rbx
call fcn.180090430
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x18008f064
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.18008e550
int3
mov edx, 5
call fcn.18008e550
int3
mov edx, 6
call fcn.18008e550
int3
mov edx, 0xa
call fcn.18008e550
int3
mov edx, 4
call fcn.18008e550
int3
mov edx, 5
call fcn.18008e550
int3