Function at 0x18004af00
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 0x18004b4eb
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x18004b4eb
cmp ecx, 0x29
jne 0x18004af51
cmp dword [rbx + 0x1c], 0
jne 0x18004b4eb
test dword [rbx + 0x80], 0x10000000
je 0x18004b509
jmp 0x18004b47a
cmp ecx, 0x2e
jne 0x18004afe6
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.18004f310
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18004b4c9
cmp byte [rax], 0x5c
jne 0x18004b26b
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18004afd8
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004afad
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18004afc9
cmp cl, 0x29
je 0x18004afc9
mov rcx, rax
test r9b, 0x10
jne 0x18004afd8
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18004afc9
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18004afd8
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18004b4c9
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x18004b4c9
cmp ecx, 0x5c
jne 0x18004b197
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18004b056
cmp byte [rax], cl
jne 0x18004b050
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18004b04d
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004b02b
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18004b047
cmp cl, 0x29
je 0x18004b047
mov rcx, rax
test r9b, 0x10
jne 0x18004b04d
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18004b047
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18004b04d
lea rax, [rdx + 1]
jmp 0x18004b050
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18004fa50
test byte [rbx + 0x80], 0x80
je 0x18004b18a
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18004b10b
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18004f310
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18004b0fe
cmp byte [rax], 0x5c
jne 0x18004b0f8
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18004b0f5
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004b0c2
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18004b0de
cmp cl, 0x29
je 0x18004b0de
mov rcx, rax
test r9b, 0x10
jne 0x18004b0f5
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18004b0de
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18004b0f5
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.18004fa50
jmp 0x18004b4dd
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18004fa50
jmp 0x18004b4dd
cmp al, 0x42
jne 0x18004b18a
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18004f310
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18004b17d
cmp byte [rax], 0x5c
jne 0x18004b177
lea r8, [rax + 1]
cmp r8, rcx
je 0x18004b177
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004b15c
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x18004b173
cmp dl, 0x29
je 0x18004b173
test r9b, 0x10
jne 0x18004b177
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x18004b173
cmp dl, 0x7d
jne 0x18004b177
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18004fa50
jmp 0x18004b4dd
mov rcx, rbx
call fcn.18004b680
jmp 0x18004b4d1
cmp ecx, 0x5b
jne 0x18004b276
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18004b1f9
cmp byte [rax], 0x5c
jne 0x18004b1f3
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18004b1f3
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004b1d9
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18004b1ef
cmp r8b, 0x29
je 0x18004b1ef
test r9b, 0x10
jne 0x18004b1f3
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18004b1ef
cmp dl, 0x7d
jne 0x18004b1f3
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18004fa50
mov rcx, rbx
call fcn.18004bd70
cmp dword [rbx + 0x7c], 0x5d
jne 0x18004b4fb
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18004b4c9
cmp byte [rax], 0x5c
jne 0x18004b26b
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18004b26b
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004b251
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18004b267
cmp r8b, 0x29
je 0x18004b267
test r9b, 0x10
jne 0x18004b26b
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18004b267
cmp dl, 0x7d
jne 0x18004b26b
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x18004b4c9
cmp ecx, 0x28
jne 0x18004b364
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18004b2d8
cmp byte [rax], 0x5c
jne 0x18004b2d2
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18004b2d2
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004b2b8
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18004b2ce
cmp r8b, 0x29
je 0x18004b2ce
test r9b, 0x10
jne 0x18004b2d2
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18004b2ce
cmp dl, 0x7d
jne 0x18004b2d2
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18004fa50
mov rcx, rbx
call fcn.1800502f0
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x18004b509
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18004b34e
cmp byte [rax], 0x5c
jne 0x18004b348
lea r8, [rax + 1]
cmp r8, rcx
je 0x18004b348
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004b32d
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x18004b344
cmp dl, 0x29
je 0x18004b344
test r9b, 0x10
jne 0x18004b348
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x18004b344
cmp dl, 0x7d
jne 0x18004b348
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18004fa50
test sil, sil
je 0x18004b4dd
jmp 0x18004b4d1
cmp ecx, 0x5e
jne 0x18004b3ca
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.18004f310
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x18004b3bd
cmp byte [rax], 0x5c
jne 0x18004b3ba
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18004b3ba
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18004b3a9
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18004b3b7
test dl, 0x10
jne 0x18004b3ba
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18004b3ba
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18004fa50
jmp 0x18004b4dd
cmp ecx, 0x24
jne 0x18004b430
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.18004f310
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x18004b423
cmp byte [rax], 0x5c
jne 0x18004b420
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18004b420
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18004b40f
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18004b41d
test dl, 0x10
jne 0x18004b420
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18004b420
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18004fa50
jmp 0x18004b4dd
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18004b525
cmp ecx, 0x3f
je 0x18004b525
cmp ecx, 0x7b
je 0x18004b525
cmp ecx, 0x7d
jne 0x18004b465
test dword [rbx + 0x80], 0x10000000
je 0x18004b517
jmp 0x18004b47a
cmp ecx, 0x5d
jne 0x18004b47a
test dword [rbx + 0x80], 0x10000000
je 0x18004b4fb
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.18004a320
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x18004b4c9
cmp byte [rax], 0x5c
jne 0x18004b4c6
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18004b4c6
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18004b4b5
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18004b4c3
test dl, 0x10
jne 0x18004b4c6
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18004b4c6
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18004fa50
mov rcx, rbx
call fcn.18004f3f0
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x18004af24
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
mov rcx, rbx
call fcn.18004de80
int3
mov edx, 5
mov rcx, rbx
call fcn.18004de80
int3
mov edx, 6
mov rcx, rbx
call fcn.18004de80
int3
mov edx, 0xa
mov rcx, rbx
call fcn.18004de80
int3