Function at 0x1800588c0
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 0x180058eab
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x180058eab
cmp ecx, 0x29
jne 0x180058911
cmp dword [rbx + 0x1c], 0
jne 0x180058eab
test dword [rbx + 0x80], 0x10000000
je 0x180058ec6
jmp 0x180058e3a
cmp ecx, 0x2e
jne 0x1800589a6
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.180058f00
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180058e89
cmp byte [rax], 0x5c
jne 0x180058c2b
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x180058998
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18005896d
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x180058989
cmp cl, 0x29
je 0x180058989
mov rcx, rax
test r9b, 0x10
jne 0x180058998
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x180058989
mov rdx, rcx
cmp r8b, 0x7d
jne 0x180058998
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x180058e89
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x180058e89
cmp ecx, 0x5c
jne 0x180058b57
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180058a16
cmp byte [rax], cl
jne 0x180058a10
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x180058a0d
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1800589eb
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x180058a07
cmp cl, 0x29
je 0x180058a07
mov rcx, rax
test r9b, 0x10
jne 0x180058a0d
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x180058a07
mov rdx, rcx
cmp r8b, 0x7d
jne 0x180058a0d
lea rax, [rdx + 1]
jmp 0x180058a10
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800573f0
test byte [rbx + 0x80], 0x80
je 0x180058b4a
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x180058acb
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180058f00
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180058abe
cmp byte [rax], 0x5c
jne 0x180058ab8
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x180058ab5
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180058a82
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x180058a9e
cmp cl, 0x29
je 0x180058a9e
mov rcx, rax
test r9b, 0x10
jne 0x180058ab5
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x180058a9e
mov rdx, rcx
cmp r8b, 0x7d
jne 0x180058ab5
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.1800573f0
jmp 0x180058e9d
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800573f0
jmp 0x180058e9d
cmp al, 0x42
jne 0x180058b4a
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180058f00
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180058b3d
cmp byte [rax], 0x5c
jne 0x180058b37
lea r8, [rax + 1]
cmp r8, rcx
je 0x180058b37
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180058b1c
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x180058b33
cmp dl, 0x29
je 0x180058b33
test r9b, 0x10
jne 0x180058b37
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x180058b33
cmp dl, 0x7d
jne 0x180058b37
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800573f0
jmp 0x180058e9d
mov rcx, rbx
call fcn.180059910
jmp 0x180058e91
cmp ecx, 0x5b
jne 0x180058c36
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180058bb9
cmp byte [rax], 0x5c
jne 0x180058bb3
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180058bb3
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180058b99
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x180058baf
cmp r8b, 0x29
je 0x180058baf
test r9b, 0x10
jne 0x180058bb3
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x180058baf
cmp dl, 0x7d
jne 0x180058bb3
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800573f0
mov rcx, rbx
call fcn.180059790
cmp dword [rbx + 0x7c], 0x5d
jne 0x180058ee7
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x180058e89
cmp byte [rax], 0x5c
jne 0x180058c2b
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180058c2b
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180058c11
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x180058c27
cmp r8b, 0x29
je 0x180058c27
test r9b, 0x10
jne 0x180058c2b
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x180058c27
cmp dl, 0x7d
jne 0x180058c2b
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x180058e89
cmp ecx, 0x28
jne 0x180058d24
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180058c98
cmp byte [rax], 0x5c
jne 0x180058c92
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180058c92
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180058c78
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x180058c8e
cmp r8b, 0x29
je 0x180058c8e
test r9b, 0x10
jne 0x180058c92
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x180058c8e
cmp dl, 0x7d
jne 0x180058c92
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800573f0
mov rcx, rbx
call fcn.180059aa0
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x180058ef2
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x180058d0e
cmp byte [rax], 0x5c
jne 0x180058d08
lea r8, [rax + 1]
cmp r8, rcx
je 0x180058d08
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180058ced
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x180058d04
cmp dl, 0x29
je 0x180058d04
test r9b, 0x10
jne 0x180058d08
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x180058d04
cmp dl, 0x7d
jne 0x180058d08
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800573f0
test sil, sil
je 0x180058e9d
jmp 0x180058e91
cmp ecx, 0x5e
jne 0x180058d8a
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.180058f00
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x180058d7d
cmp byte [rax], 0x5c
jne 0x180058d7a
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180058d7a
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180058d69
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180058d77
test dl, 0x10
jne 0x180058d7a
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180058d7a
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.1800573f0
jmp 0x180058e9d
cmp ecx, 0x24
jne 0x180058df0
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.180058f00
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x180058de3
cmp byte [rax], 0x5c
jne 0x180058de0
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180058de0
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180058dcf
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180058ddd
test dl, 0x10
jne 0x180058de0
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180058de0
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.1800573f0
jmp 0x180058e9d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x180058edc
cmp ecx, 0x3f
je 0x180058edc
cmp ecx, 0x7b
je 0x180058edc
cmp ecx, 0x7d
jne 0x180058e25
test dword [rbx + 0x80], 0x10000000
je 0x180058ed1
jmp 0x180058e3a
cmp ecx, 0x5d
jne 0x180058e3a
test dword [rbx + 0x80], 0x10000000
je 0x180058ebb
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.180059f00
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x180058e89
cmp byte [rax], 0x5c
jne 0x180058e86
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180058e86
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180058e75
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180058e83
test dl, 0x10
jne 0x180058e86
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180058e86
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.1800573f0
mov rcx, rbx
call fcn.180059cb0
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x1800588e4
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.1800573e0
int3
mov edx, 5
call fcn.1800573e0
int3
mov edx, 6
call fcn.1800573e0
int3
mov edx, 0xa
call fcn.1800573e0
int3
mov edx, 4
call fcn.1800573e0
int3
mov edx, 5
call fcn.1800573e0
int3