Function at 0x18004ff40
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 0x18005052b
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x18005052b
cmp ecx, 0x29
jne 0x18004ff91
cmp dword [rbx + 0x1c], 0
jne 0x18005052b
test dword [rbx + 0x80], 0x10000000
je 0x180050546
jmp 0x1800504ba
cmp ecx, 0x2e
jne 0x180050026
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.180050580
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180050509
cmp byte [rax], 0x5c
jne 0x1800502ab
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x180050018
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004ffed
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x180050009
cmp cl, 0x29
je 0x180050009
mov rcx, rax
test r9b, 0x10
jne 0x180050018
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x180050009
mov rdx, rcx
cmp r8b, 0x7d
jne 0x180050018
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x180050509
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x180050509
cmp ecx, 0x5c
jne 0x1800501d7
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180050096
cmp byte [rax], cl
jne 0x180050090
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18005008d
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18005006b
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x180050087
cmp cl, 0x29
je 0x180050087
mov rcx, rax
test r9b, 0x10
jne 0x18005008d
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x180050087
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18005008d
lea rax, [rdx + 1]
jmp 0x180050090
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18004ed30
test byte [rbx + 0x80], 0x80
je 0x1800501ca
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18005014b
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180050580
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18005013e
cmp byte [rax], 0x5c
jne 0x180050138
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x180050135
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180050102
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18005011e
cmp cl, 0x29
je 0x18005011e
mov rcx, rax
test r9b, 0x10
jne 0x180050135
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18005011e
mov rdx, rcx
cmp r8b, 0x7d
jne 0x180050135
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.18004ed30
jmp 0x18005051d
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18004ed30
jmp 0x18005051d
cmp al, 0x42
jne 0x1800501ca
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180050580
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x1800501bd
cmp byte [rax], 0x5c
jne 0x1800501b7
lea r8, [rax + 1]
cmp r8, rcx
je 0x1800501b7
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18005019c
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x1800501b3
cmp dl, 0x29
je 0x1800501b3
test r9b, 0x10
jne 0x1800501b7
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x1800501b3
cmp dl, 0x7d
jne 0x1800501b7
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18004ed30
jmp 0x18005051d
mov rcx, rbx
call fcn.180051070
jmp 0x180050511
cmp ecx, 0x5b
jne 0x1800502b6
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180050239
cmp byte [rax], 0x5c
jne 0x180050233
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180050233
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180050219
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18005022f
cmp r8b, 0x29
je 0x18005022f
test r9b, 0x10
jne 0x180050233
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18005022f
cmp dl, 0x7d
jne 0x180050233
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18004ed30
mov rcx, rbx
call fcn.180050ef0
cmp dword [rbx + 0x7c], 0x5d
jne 0x180050567
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x180050509
cmp byte [rax], 0x5c
jne 0x1800502ab
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1800502ab
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180050291
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x1800502a7
cmp r8b, 0x29
je 0x1800502a7
test r9b, 0x10
jne 0x1800502ab
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x1800502a7
cmp dl, 0x7d
jne 0x1800502ab
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x180050509
cmp ecx, 0x28
jne 0x1800503a4
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180050318
cmp byte [rax], 0x5c
jne 0x180050312
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180050312
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1800502f8
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x18005030e
cmp r8b, 0x29
je 0x18005030e
test r9b, 0x10
jne 0x180050312
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x18005030e
cmp dl, 0x7d
jne 0x180050312
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18004ed30
mov rcx, rbx
call fcn.1800511f0
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x180050572
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18005038e
cmp byte [rax], 0x5c
jne 0x180050388
lea r8, [rax + 1]
cmp r8, rcx
je 0x180050388
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18005036d
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x180050384
cmp dl, 0x29
je 0x180050384
test r9b, 0x10
jne 0x180050388
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x180050384
cmp dl, 0x7d
jne 0x180050388
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18004ed30
test sil, sil
je 0x18005051d
jmp 0x180050511
cmp ecx, 0x5e
jne 0x18005040a
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.180050580
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x1800503fd
cmp byte [rax], 0x5c
jne 0x1800503fa
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x1800503fa
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x1800503e9
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x1800503f7
test dl, 0x10
jne 0x1800503fa
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x1800503fa
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18004ed30
jmp 0x18005051d
cmp ecx, 0x24
jne 0x180050470
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.180050580
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x180050463
cmp byte [rax], 0x5c
jne 0x180050460
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180050460
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18005044f
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18005045d
test dl, 0x10
jne 0x180050460
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180050460
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18004ed30
jmp 0x18005051d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18005055c
cmp ecx, 0x3f
je 0x18005055c
cmp ecx, 0x7b
je 0x18005055c
cmp ecx, 0x7d
jne 0x1800504a5
test dword [rbx + 0x80], 0x10000000
je 0x180050551
jmp 0x1800504ba
cmp ecx, 0x5d
jne 0x1800504ba
test dword [rbx + 0x80], 0x10000000
je 0x18005053b
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.180051680
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x180050509
cmp byte [rax], 0x5c
jne 0x180050506
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180050506
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x1800504f5
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180050503
test dl, 0x10
jne 0x180050506
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180050506
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18004ed30
mov rcx, rbx
call fcn.180051430
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x18004ff64
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.18004ed20
int3
mov edx, 5
call fcn.18004ed20
int3
mov edx, 6
call fcn.18004ed20
int3
mov edx, 0xa
call fcn.18004ed20
int3
mov edx, 4
call fcn.18004ed20
int3
mov edx, 5
call fcn.18004ed20
int3