Function at 0x18018c590
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 0x18018cb7b
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x18018cb7b
cmp ecx, 0x29
jne 0x18018c5e1
cmp dword [rbx + 0x1c], 0
jne 0x18018cb7b
test dword [rbx + 0x80], 0x10000000
je 0x18018cb96
jmp 0x18018cb0a
cmp ecx, 0x2e
jne 0x18018c676
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.18018cc10
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18018cb59
cmp byte [rax], 0x5c
jne 0x18018c8fb
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18018c668
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18018c63d
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18018c659
cmp cl, 0x29
je 0x18018c659
mov rcx, rax
test r9b, 0x10
jne 0x18018c668
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18018c659
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18018c668
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18018cb59
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x18018cb59
cmp ecx, 0x5c
jne 0x18018c827
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18018c6e6
cmp byte [rax], cl
jne 0x18018c6e0
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18018c6dd
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18018c6bb
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18018c6d7
cmp cl, 0x29
je 0x18018c6d7
mov rcx, rax
test r9b, 0x10
jne 0x18018c6dd
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18018c6d7
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18018c6dd
lea rax, [rdx + 1]
jmp 0x18018c6e0
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18018b740
test byte [rbx + 0x80], 0x80
je 0x18018c81a
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18018c79b
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18018cc10
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18018c78e
cmp byte [rax], 0x5c
jne 0x18018c788
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18018c785
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18018c752
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18018c76e
cmp cl, 0x29
je 0x18018c76e
mov rcx, rax
test r9b, 0x10
jne 0x18018c785
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18018c76e
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18018c785
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.18018b740
jmp 0x18018cb6d
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18018b740
jmp 0x18018cb6d
cmp al, 0x42
jne 0x18018c81a
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18018cc10
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18018c80d
cmp byte [rax], 0x5c
jne 0x18018c807
lea r8, [rax + 1]
cmp r8, rcx
je 0x18018c807
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18018c7ec
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x18018c803
cmp dl, 0x29
je 0x18018c803
test r9b, 0x10
jne 0x18018c807
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x18018c803
cmp dl, 0x7d
jne 0x18018c807
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18018b740
jmp 0x18018cb6d
mov rcx, rbx
call fcn.18018da10
jmp 0x18018cb61
cmp ecx, 0x5b
jne 0x18018c906
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18018c889
cmp byte [rax], 0x5c
jne 0x18018c883
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18018c883
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18018c869
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18018c87f
cmp r8b, 0x29
je 0x18018c87f
test r9b, 0x10
jne 0x18018c883
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18018c87f
cmp dl, 0x7d
jne 0x18018c883
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18018b740
mov rcx, rbx
call fcn.18018d900
cmp dword [rbx + 0x7c], 0x5d
jne 0x18018cbb7
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18018cb59
cmp byte [rax], 0x5c
jne 0x18018c8fb
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18018c8fb
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18018c8e1
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18018c8f7
cmp r8b, 0x29
je 0x18018c8f7
test r9b, 0x10
jne 0x18018c8fb
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18018c8f7
cmp dl, 0x7d
jne 0x18018c8fb
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18018cb59
cmp ecx, 0x28
jne 0x18018c9f4
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18018c968
cmp byte [rax], 0x5c
jne 0x18018c962
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18018c962
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18018c948
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18018c95e
cmp r8b, 0x29
je 0x18018c95e
test r9b, 0x10
jne 0x18018c962
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18018c95e
cmp dl, 0x7d
jne 0x18018c962
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18018b740
mov rcx, rbx
call fcn.18018db90
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x18018cbc2
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18018c9de
cmp byte [rax], 0x5c
jne 0x18018c9d8
lea r8, [rax + 1]
cmp r8, rcx
je 0x18018c9d8
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18018c9bd
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x18018c9d4
cmp dl, 0x29
je 0x18018c9d4
test r9b, 0x10
jne 0x18018c9d8
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x18018c9d4
cmp dl, 0x7d
jne 0x18018c9d8
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18018b740
test sil, sil
je 0x18018cb6d
jmp 0x18018cb61
cmp ecx, 0x5e
jne 0x18018ca5a
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.18018cc10
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x18018ca4d
cmp byte [rax], 0x5c
jne 0x18018ca4a
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18018ca4a
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18018ca39
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18018ca47
test dl, 0x10
jne 0x18018ca4a
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18018ca4a
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18018b740
jmp 0x18018cb6d
cmp ecx, 0x24
jne 0x18018cac0
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.18018cc10
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x18018cab3
cmp byte [rax], 0x5c
jne 0x18018cab0
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18018cab0
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18018ca9f
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18018caad
test dl, 0x10
jne 0x18018cab0
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18018cab0
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18018b740
jmp 0x18018cb6d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18018cbac
cmp ecx, 0x3f
je 0x18018cbac
cmp ecx, 0x7b
je 0x18018cbac
cmp ecx, 0x7d
jne 0x18018caf5
test dword [rbx + 0x80], 0x10000000
je 0x18018cba1
jmp 0x18018cb0a
cmp ecx, 0x5d
jne 0x18018cb0a
test dword [rbx + 0x80], 0x10000000
je 0x18018cb8b
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.18018deb0
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x18018cb59
cmp byte [rax], 0x5c
jne 0x18018cb56
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18018cb56
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18018cb45
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18018cb53
test dl, 0x10
jne 0x18018cb56
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18018cb56
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18018b740
mov rcx, rbx
call fcn.18018dcf0
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x18018c5b4
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.18018b730
int3
mov edx, 5
call fcn.18018b730
int3
mov edx, 6
call fcn.18018b730
int3
mov edx, 0xa
call fcn.18018b730
int3
mov edx, 4
call fcn.18018b730
int3
mov edx, 5
call fcn.18018b730
int3