Function at 0x180058660
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 0x180058b74
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x180058b74
cmp ecx, 0x29
jne 0x1800586b1
cmp dword [rbx + 0x1c], 0
jne 0x180058b74
test dword [rbx + 0x80], 0x10000000
je 0x180058b8f
jmp 0x180058b05
cmp ecx, 0x2e
jne 0x180058717
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.180058bd0
mov rcx, qword [rbx]
mov rax, qword [rdi]
cmp rcx, rax
je 0x180058b52
cmp byte [rcx], 0x5c
jne 0x18005870b
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x18005870b
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1800586f7
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x180058708
test r8b, 0x10
jne 0x18005870b
movzx eax, byte [rdx]
cmp al, 0x7b
je 0x180058708
cmp al, 0x7d
jne 0x18005870b
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
jmp 0x180058b52
cmp ecx, 0x5c
jne 0x18005886b
mov rcx, qword [rbx]
mov rax, qword [rdi]
cmp rcx, rax
je 0x18005876a
cmp byte [rcx], 0x5c
jne 0x180058763
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x180058763
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18005874f
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x180058760
test r8b, 0x10
jne 0x180058763
movzx eax, byte [rdx]
cmp al, 0x7b
je 0x180058760
cmp al, 0x7d
jne 0x180058763
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800578c0
test byte [rbx + 0x80], 0x80
je 0x18005885e
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x1800587ec
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180058bd0
mov rcx, qword [rbx]
mov rax, qword [rdi]
cmp rcx, rax
je 0x1800587df
cmp byte [rcx], 0x5c
jne 0x1800587d8
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x1800587d8
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1800587c4
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x1800587d5
test r8b, 0x10
jne 0x1800587d8
movzx eax, byte [rdx]
cmp al, 0x7b
je 0x1800587d5
cmp al, 0x7d
jne 0x1800587d8
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800578c0
jmp 0x180058b66
cmp al, 0x42
jne 0x18005885e
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180058bd0
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180058851
cmp byte [rax], 0x5c
jne 0x18005884b
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18005884b
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180058836
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180058848
mov rax, qword [rbx]
test dl, 0x10
jne 0x18005884b
movzx edx, byte [rcx]
cmp dl, 0x7b
je 0x180058848
cmp dl, 0x7d
jne 0x18005884b
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800578c0
jmp 0x180058b66
mov rcx, rbx
call fcn.1800595e0
jmp 0x180058b5a
cmp ecx, 0x5b
jne 0x18005892d
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x1800588bf
cmp byte [rax], 0x5c
jne 0x1800588b9
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x1800588b9
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x1800588a4
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x1800588b6
mov rax, qword [rbx]
test dl, 0x10
jne 0x1800588b9
movzx edx, byte [rcx]
cmp dl, 0x7b
je 0x1800588b6
cmp dl, 0x7d
jne 0x1800588b9
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800578c0
mov rcx, rbx
call fcn.180059460
cmp dword [rbx + 0x7c], 0x5d
jne 0x180058bb0
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180058b52
cmp byte [rax], 0x5c
jne 0x180058922
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180058922
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18005890d
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18005891f
mov rax, qword [rbx]
test dl, 0x10
jne 0x180058922
movzx edx, byte [rcx]
cmp dl, 0x7b
je 0x18005891f
cmp dl, 0x7d
jne 0x180058922
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x180058b52
cmp ecx, 0x28
jne 0x1800589ff
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180058981
cmp byte [rax], 0x5c
jne 0x18005897b
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18005897b
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180058966
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180058978
mov rax, qword [rbx]
test dl, 0x10
jne 0x18005897b
movzx edx, byte [rcx]
cmp dl, 0x7b
je 0x180058978
cmp dl, 0x7d
jne 0x18005897b
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800578c0
mov rcx, rbx
call fcn.180059770
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x180058bbb
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x1800589e9
cmp byte [rax], 0x5c
jne 0x1800589e3
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x1800589e3
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x1800589ce
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x1800589e0
mov rax, qword [rbx]
test dl, 0x10
jne 0x1800589e3
movzx edx, byte [rcx]
cmp dl, 0x7b
je 0x1800589e0
cmp dl, 0x7d
jne 0x1800589e3
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800578c0
test sil, sil
je 0x180058b66
jmp 0x180058b5a
cmp ecx, 0x5e
jne 0x180058a5f
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.180058bd0
mov rcx, qword [rbx]
mov rax, qword [rdi]
cmp rcx, rax
je 0x180058a52
cmp byte [rcx], 0x5c
jne 0x180058a4f
inc rcx
cmp rcx, rax
je 0x180058a4f
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180058a3e
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180058a4c
test dl, 0x10
jne 0x180058a4f
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180058a4f
mov qword [rbx], rcx
inc qword [rbx]
mov rcx, rbx
call fcn.1800578c0
jmp 0x180058b66
cmp ecx, 0x24
jne 0x180058abf
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.180058bd0
mov rcx, qword [rbx]
mov rax, qword [rdi]
cmp rcx, rax
je 0x180058ab2
cmp byte [rcx], 0x5c
jne 0x180058aaf
inc rcx
cmp rcx, rax
je 0x180058aaf
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180058a9e
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180058aac
test dl, 0x10
jne 0x180058aaf
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180058aaf
mov qword [rbx], rcx
inc qword [rbx]
mov rcx, rbx
call fcn.1800578c0
jmp 0x180058b66
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x180058ba5
cmp ecx, 0x3f
je 0x180058ba5
cmp ecx, 0x7b
je 0x180058ba5
cmp ecx, 0x7d
jne 0x180058af4
test dword [rbx + 0x80], 0x10000000
je 0x180058b9a
jmp 0x180058b05
cmp ecx, 0x5d
jne 0x180058b05
test dword [rbx + 0x80], 0x10000000
je 0x180058b84
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.180059be0
mov rcx, qword [rbx]
mov rax, qword [rdi]
cmp rcx, rax
je 0x180058b52
cmp byte [rcx], 0x5c
jne 0x180058b4f
inc rcx
cmp rcx, rax
je 0x180058b4f
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180058b3e
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180058b4c
test dl, 0x10
jne 0x180058b4f
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180058b4f
mov qword [rbx], rcx
inc qword [rbx]
mov rcx, rbx
call fcn.1800578c0
mov rcx, rbx
call fcn.180059990
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x180058684
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.1800578b0
int3
mov edx, 5
call fcn.1800578b0
int3
mov edx, 6
call fcn.1800578b0
int3
mov edx, 0xa
call fcn.1800578b0
int3
mov edx, 4
call fcn.1800578b0
int3
mov edx, 5
call fcn.1800578b0
int3