Function at 0x585d20
Capabilities:
Parse credit card information

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x586284
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x78], rbp
lea rbp, [rsp + 0x78]
mov qword [rsp + 0x88], rax
test rbx, rbx
je 0x585db6
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x88], rax
mov rcx, rbx
shr rcx, 1
mov qword [rsp + 0x58], rcx
lea rax, [0x006503c0]
xor ebx, ebx
call fcn.00449320
mov rdx, qword [rsp + 0x88]
cmp byte [rdx], 0x22
jne 0x585da5
mov r8, qword [rsp + 0x90]
dec r8
mov r9, r8
neg r8
sar r8, 0x3f
and r8d, 1
add rdx, r8
mov rcx, qword [rsp + 0x58]
xor ebx, ebx
nop
jmp 0x5860a0
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x90]
xor esi, esi
jmp 0x585dea
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov byte [rax + rsi], r11b
lea rbx, [r10 - 1]
mov r10, rbx
neg rbx
sar rbx, 0x3f
and ebx, 1
add rdx, rbx
mov rbx, r10
mov rsi, r9
mov qword [rsp + 0x48], rsi
test rbx, rbx
je 0x585f60
movzx r9d, byte [rdx]
nop dword [rax]
cmp r9b, 0x5c
jne 0x585e2f
lea r9, [rbx - 1]
mov r10, r9
neg r9
sar r9, 0x3f
and r9d, 1
add rdx, r9
nop dword [rax + rax]
cmp rbx, 1
jne 0x585ee0
jmp 0x585f45
lea r10d, [r9 - 0x30]
cmp r10b, 9
jbe 0x585edc
lea r10d, [r9 - 0x61]
cmp r10b, 0x19
jbe 0x585edc
lea r10d, [r9 - 0x41]
cmp r10b, 0x19
jbe 0x585edc
cmp r9b, 0x21
je 0x585edc
nop
cmp r9b, 0x23
je 0x585edc
cmp r9b, 0x24
je 0x585edc
cmp r9b, 0x25
je 0x585edc
cmp r9b, 0x26
je 0x585edc
cmp r9b, 0x27
je 0x585edc
nop
cmp r9b, 0x2a
je 0x585edc
cmp r9b, 0x2b
je 0x585edc
cmp r9b, 0x2d
je 0x585edc
cmp r9b, 0x2f
je 0x585edc
cmp r9b, 0x3d
je 0x585edc
nop
cmp r9b, 0x3f
je 0x585edc
cmp r9b, 0x5e
je 0x585edc
cmp r9b, 0x5f
je 0x585edc
cmp r9b, 0x60
je 0x585edc
cmp r9b, 0x7b
je 0x585edc
nop
cmp r9b, 0x7c
je 0x585edc
cmp r9b, 0x7d
je 0x585edc
cmp r9b, 0x7e
je 0x585edc
cmp r9b, 0x2e
jne 0x585f60
mov r10, rbx
nop
test r10, r10
jbe 0x58608a
lea r9, [rsi + 1]
movzx r11d, byte [rdx]
cmp rcx, r9
jae 0x585dcc
mov byte [rsp + 0x45], r11b
mov qword [rsp + 0x58], r10
mov qword [rsp + 0x70], rdx
mov rbx, rax
mov rdi, rcx
lea rax, [0x006503c0]
mov rcx, rsi
mov rsi, r9
nop dword [rax]
call fcn.00449400
lea r9, [rbx + 1]
mov rdx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x48]
mov r10, qword [rsp + 0x58]
movzx r11d, byte [rsp + 0x45]
nop
jmp 0x585dcc
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
test rsi, rsi
je 0x585fdd
mov word [rsp + 0x46], 0
mov word [rsp + 0x46], 0x2e2e
cmp byte [rax], 0x2e
je 0x585fb1
movzx r9d, byte [rsi + rax - 1]
nop
cmp r9b, 0x2e
je 0x585fb1
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], rbx
nop
mov rbx, rsi
lea rdi, [rsp + 0x46]
mov esi, 2
mov r8, rsi
call fcn.004c8e00
cmp rax, 0xffffffffffffffff
je 0x585fc7
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x60]
jmp 0x585ff3
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
test rax, rax
je 0x585ffd
cmp byte [rcx], 0x40
je 0x586013
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x60], rbx
lea rbx, [rax - 1]
mov qword [rsp + 0x58], rbx
mov rdx, rbx
neg rbx
sar rbx, 0x3f
and ebx, 1
lea rax, [rbx + rcx]
mov qword [rsp + 0x70], rax
mov rbx, rdx
nop
call fcn.005862c0
test dil, dil
je 0x586074
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.0044d220
mov rcx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x58]
mov esi, 1
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
xor eax, eax
mov rcx, r10
call fcn.00462ac0
mov r9, rdx
mov rdx, r12
mov rbx, rsi
nop dword [rax]
test r9, r9
je 0x58626e
movzx r8d, byte [rdx]
lea r10, [r9 - 1]
mov r11, r10
neg r10
sar r10, 0x3f
and r10d, 1
lea r12, [r10 + rdx]
cmp r8b, 0x22
je 0x58625d
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
cmp r8b, 0x5c
jne 0x586185
cmp r9, 1
je 0x586231
movzx edx, byte [rdx + r10]
cmp dl, 0xb
je 0x586129
nop
cmp dl, 0xc
je 0x586129
cmp dl, 1
jb 0x58621b
cmp dl, 9
jbe 0x586129
cmp dl, 0xe
jb 0x58621b
nop dword [rax]
cmp dl, 0x7f
ja 0x58621b
lea rsi, [rbx + 1]
cmp rcx, rsi
jae 0x586168
mov byte [rsp + 0x45], dl
mov qword [rsp + 0x58], r9
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
lea rax, [0x006503c0]
call fcn.00449400
lea rsi, [rbx + 1]
movzx edx, byte [rsp + 0x45]
mov rbx, qword [rsp + 0x48]
mov r9, qword [rsp + 0x58]
mov r12, qword [rsp + 0x70]
mov byte [rax + rbx], dl
lea r10, [r9 - 2]
mov rdx, r10
neg r10
sar r10, 0x3f
and r10d, 1
add r12, r10
jmp 0x586094
cmp r8b, 0xb
je 0x5861ce
cmp r8b, 0xc
je 0x5861ce
cmp r8b, 0x20
je 0x5861ce
cmp r8b, 0x21
je 0x5861ce
nop dword [rax]
cmp r8b, 0x7f
je 0x5861ce
lea edx, [r8 - 1]
cmp dl, 7
jbe 0x5861ce
lea edx, [r8 - 0xe]
cmp dl, 0x11
jbe 0x5861ce
lea edx, [r8 - 0x23]
nop dword [rax]
cmp dl, 0x38
jbe 0x5861ce
lea edx, [r8 - 0x5d]
cmp dl, 0x21
ja 0x586247
lea rsi, [rbx + 1]
cmp rcx, rsi
jae 0x58620f
mov byte [rsp + 0x44], r8b
mov qword [rsp + 0x58], r11
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
lea rax, [0x006503c0]
call fcn.00449400
lea rsi, [rbx + 1]
mov rbx, qword [rsp + 0x48]
movzx r8d, byte [rsp + 0x44]
mov r11, qword [rsp + 0x58]
mov r12, qword [rsp + 0x70]
mov byte [rax + rbx], r8b
mov rdx, r11
jmp 0x586094
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rcx, r12
mov rdx, rbx
mov rbx, rax
mov rax, r11
jmp 0x585ff3
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004603e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop dword [rax]
jmp fcn.00585d20