Function at 0x180051c30
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x180052194
cmp ecx, 0x7c
je 0x180052194
cmp ecx, 0x29
jne 0x180051c82
cmp dword [rbx + 0x1c], 0
jne 0x180052194
test dword [rbx + 0x80], 0x10000000
je 0x1800521b7
jmp 0x18005211d
cmp ecx, 0x2e
jne 0x180051c9a
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.180055540
jmp 0x18005212a
cmp ecx, 0x5c
jne 0x180051d3e
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x180051cef
cmp byte [rcx], 0x5c
jne 0x180051ce8
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x180051ce5
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180051cd6
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x180051ce8
test r8b, 0x10
jne 0x180051ce5
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x180051ce8
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.18005ca00
test byte [rbx + 0x80], 0x80
je 0x180051d31
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x180051d12
mov edx, 4
jmp 0x180052071
cmp al, 0x42
jne 0x180051d31
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180055540
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x18005207a
mov rcx, rbx
call fcn.1800521f0
jmp 0x18005217e
cmp ecx, 0x5b
jne 0x180051e93
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x180051d93
cmp byte [rcx], 0x5c
jne 0x180051d8c
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x180051d89
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180051d7a
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x180051d8c
test r8b, 0x10
jne 0x180051d89
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x180051d8c
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.18005ca00
lea rcx, [rbx + 0x40]
call fcn.1800513f0
mov eax, dword [rbx + 0x7c]
cmp eax, 0x5e
jne 0x180051e0b
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x180051e00
cmp byte [rcx], 0x5c
jne 0x180051df9
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x180051df6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180051de7
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x180051df9
test r8b, 0x10
jne 0x180051df6
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x180051df9
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.18005ca00
mov eax, dword [rbx + 0x7c]
test dword [rbx + 0x80], 0x20000000
je 0x180051e7c
cmp eax, 0x5d
jne 0x180051e7c
movzx edx, al
lea rcx, [rbx + 0x40]
call fcn.180051370
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x180051e74
cmp byte [rcx], 0x5c
jne 0x180051e6d
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x180051e6a
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180051e5b
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x180051e6d
test r8b, 0x10
jne 0x180051e6a
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x180051e6d
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.18005ca00
mov rcx, rbx
call fcn.180052dd0
cmp dword [rbx + 0x7c], 0x5d
jne 0x1800521c5
jmp 0x18005212a
cmp ecx, 0x28
jne 0x18005205f
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x180051ee8
cmp byte [rcx], 0x5c
jne 0x180051ee1
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x180051ede
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180051ecf
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x180051ee1
test r8b, 0x10
jne 0x180051ede
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x180051ee1
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.18005ca00
inc dword [rbx + 0x1c]
mov eax, dword [rbx + 0x80]
bt eax, 0x1b
jb 0x180051f09
cmp dword [rbx + 0x7c], 0x29
je 0x1800521b7
test al, 0x20
je 0x180051f6a
cmp dword [rbx + 0x7c], 0x3f
jne 0x180051f6a
mov rcx, rbx
call fcn.1800555d0
mov edi, dword [rbx + 0x7c]
mov rcx, rbx
call fcn.1800555d0
mov rcx, rbx
cmp edi, 0x3a
jne 0x180051f38
call fcn.180053e60
jmp 0x180051fed
cmp edi, 0x21
jne 0x180051f4f
mov dl, 1
call fcn.180053310
dec dword [rbx + 0x1c]
xor dil, dil
jmp 0x180051ff3
cmp edi, 0x3d
jne 0x1800521e1
xor edx, edx
call fcn.180053310
dec dword [rbx + 0x1c]
xor dil, dil
jmp 0x180051ff3
test dword [rbx + 0x70], 0x200
lea rcx, [rbx + 0x40]
je 0x180051f9a
mov edx, 8
call fcn.180055540
mov rcx, rbx
mov rdi, rax
call fcn.180053000
mov rdx, rdi
lea rcx, [rbx + 0x40]
call fcn.180054620
jmp 0x180051fed
inc dword [rbx + 0x18]
mov edx, dword [rbx + 0x18]
call fcn.180052420
mov rcx, rbx
mov rsi, rax
call fcn.180053000
mov rdx, rsi
lea rcx, [rbx + 0x40]
call fcn.180054620
mov edx, dword [rbx + 0x18]
lea rcx, [rbx + 0x20]
inc edx
xor r8d, r8d
call fcn.1800a4060
mov r8d, dword [rsi + 0x20]
mov rax, qword [rbx + 0x20]
mov ecx, r8d
shr rcx, 5
and r8d, 0x1f
lea rdx, [rax + rcx*4]
mov eax, dword [rax + rcx*4]
bts eax, r8d
mov dword [rdx], eax
dec dword [rbx + 0x1c]
mov dil, 1
cmp dword [rbx + 0x7c], 0x29
jne 0x1800521b7
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x180052049
cmp byte [rcx], 0x5c
jne 0x180052042
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18005203f
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180052030
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x180052042
test r8b, 0x10
jne 0x18005203f
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x180052042
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.18005ca00
test dil, dil
je 0x180052186
jmp 0x18005217e
cmp ecx, 0x5e
jne 0x180052069
lea edx, [rcx - 0x5c]
jmp 0x180052071
cmp ecx, 0x24
jne 0x1800520d3
lea edx, [rcx - 0x21]
lea rcx, [rbx + 0x40]
call fcn.180055540
mov rax, qword [rbx + 0x10]
mov rcx, qword [rbx]
cmp rcx, rax
je 0x1800520c6
cmp byte [rcx], 0x5c
jne 0x1800520bf
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x1800520bc
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1800520ad
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x1800520bf
test r8b, 0x10
jne 0x1800520bc
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x1800520bf
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.18005ca00
jmp 0x180052186
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1800521a9
cmp ecx, 0x3f
je 0x1800521a9
cmp ecx, 0x7b
je 0x1800521a9
cmp ecx, 0x7d
jne 0x180052108
test dword [rbx + 0x80], 0x10000000
je 0x1800521d3
jmp 0x18005211d
cmp ecx, 0x5d
jne 0x18005211d
test dword [rbx + 0x80], 0x10000000
je 0x1800521c5
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.1800511a0
mov rax, qword [rbx + 0x10]
mov rcx, qword [rbx]
cmp rcx, rax
je 0x180052176
cmp byte [rcx], 0x5c
jne 0x18005216f
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x18005216c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18005215d
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18005216f
test r8b, 0x10
jne 0x18005216c
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x18005216f
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.18005ca00
mov rcx, rbx
call fcn.180055630
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x180051c55
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.1800546d0
int3
mov edx, 5
mov rcx, rbx
call fcn.1800546d0
int3
mov edx, 4
mov rcx, rbx
call fcn.1800546d0
int3
mov edx, 6
mov rcx, rbx
call fcn.1800546d0
int3
mov edx, 0xe
call fcn.1800546d0
int3