Function at 0x58af40
Capabilities:
Parse credit card information

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x58b43e
push rbp
mov rbp, rsp
sub rsp, 0x78
mov qword [rsp + 0x88], rax
test rbx, rbx
je 0x58afce
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x88], rax
mov rcx, rbx
shr rcx, 1
mov qword [rsp + 0x58], rcx
lea rax, [0x0067b400]
xor ebx, ebx
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x88]
cmp byte [rdx], 0x22
jne 0x58afbd
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
jmp 0x58b280
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x90]
xor esi, esi
jmp 0x58b001
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
add rsp, 0x78
pop rbp
nop
ret
mov byte [rbx + rax - 1], r9b
lea r9, [r10 - 1]
mov r10, r9
neg r9
sar r9, 0x3f
and r9d, 1
add rdx, r9
mov rsi, rbx
mov rbx, r10
test rbx, rbx
je 0x58b150
movzx r9d, byte [rdx]
cmp r9b, 0x5c
jne 0x58b038
lea r9, [rbx - 1]
mov r10, r9
neg r9
sar r9, 0x3f
and r9d, 1
add rdx, r9
cmp rbx, 1
jne 0x58b0ef
jmp 0x58b13e
lea r10d, [r9 - 0x30]
nop dword [rax]
cmp r10b, 9
jbe 0x58b0ec
lea r10d, [r9 - 0x61]
cmp r10b, 0x19
jbe 0x58b0ec
lea r10d, [r9 - 0x41]
nop dword [rax]
cmp r10b, 0x19
jbe 0x58b0ec
cmp r9b, 0x21
je 0x58b0ec
cmp r9b, 0x23
je 0x58b0ec
cmp r9b, 0x24
je 0x58b0ec
nop dword [rax]
cmp r9b, 0x25
je 0x58b0ec
cmp r9b, 0x26
je 0x58b0ec
cmp r9b, 0x27
je 0x58b0ec
cmp r9b, 0x2a
je 0x58b0ec
cmp r9b, 0x2b
je 0x58b0ec
nop
cmp r9b, 0x2d
je 0x58b0ec
cmp r9b, 0x2f
je 0x58b0ec
cmp r9b, 0x3d
je 0x58b0ec
cmp r9b, 0x3f
je 0x58b0ec
cmp r9b, 0x5e
je 0x58b0ec
nop
cmp r9b, 0x5f
je 0x58b0ec
cmp r9b, 0x60
je 0x58b0ec
cmp r9b, 0x7b
je 0x58b0ec
cmp r9b, 0x7c
je 0x58b0ec
cmp r9b, 0x7d
je 0x58b0ec
nop
cmp r9b, 0x7e
je 0x58b0ec
cmp r9b, 0x2e
jne 0x58b150
mov r10, rbx
test r10, r10
jbe 0x58b26c
lea rbx, [rsi + 1]
movzx r9d, byte [rdx]
cmp rcx, rbx
jae 0x58afe1
mov qword [rsp + 0x58], r10
mov byte [rsp + 0x45], r9b
mov qword [rsp + 0x70], rdx
mov edi, 1
lea rsi, [0x0067b400]
call sym.runtime.growslice
mov rdx, qword [rsp + 0x70]
movzx r9d, byte [rsp + 0x45]
mov r10, qword [rsp + 0x58]
jmp 0x58afe1
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
add rsp, 0x78
pop rbp
ret
test rsi, rsi
je 0x58b1ce
mov word [rsp + 0x46], 0
mov word [rsp + 0x46], 0x2e2e
cmp byte [rax], 0x2e
je 0x58b1a6
movzx r9d, byte [rsi + rax - 1]
cmp r9b, 0x2e
je 0x58b1a6
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x68], rdx
nop
mov rbx, rsi
lea rdi, [rsp + 0x46]
mov esi, 2
mov r8, rsi
call sym.bytes.Index
nop
cmp rax, 0xffffffffffffffff
je 0x58b1b8
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
add rsp, 0x78
pop rbp
ret
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x60]
jmp 0x58b1e1
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
add rsp, 0x78
pop rbp
nop
ret
test rax, rax
je 0x58b1eb
cmp byte [rcx], 0x40
je 0x58b1fd
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
add rsp, 0x78
pop rbp
ret
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x60], rbx
lea rbx, [rax - 1]
mov qword [rsp + 0x58], rbx
mov rdx, rbx
neg rdx
sar rdx, 0x3f
and edx, 1
lea rax, [rdx + rcx]
mov qword [rsp + 0x70], rax
call sym.crypto_x509.domainToReverseLabels
test dil, dil
je 0x58b25a
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
nop dword [rax]
call sym.runtime.slicebytetostring
mov rcx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x58]
mov esi, 1
add rsp, 0x78
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
add rsp, 0x78
pop rbp
ret
xor eax, eax
mov rcx, rax
call sym.runtime.panicIndex
mov r9, r10
mov rdx, r12
nop dword [rax]
test r9, r9
je 0x58b42c
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 0x58b41b
mov qword [rsp + 0x70], r12
cmp r8b, 0x5c
jne 0x58b351
nop dword [rax]
cmp r9, 1
je 0x58b3f7
movzx edx, byte [rdx + r10]
cmp dl, 0xb
je 0x58b2ff
cmp dl, 0xc
je 0x58b2ff
nop dword [rax]
test dl, dl
je 0x58b3e5
cmp dl, 9
jbe 0x58b2ff
cmp dl, 0xe
jb 0x58b3e5
cmp dl, 0x7f
ja 0x58b3e5
inc rbx
cmp rcx, rbx
jae 0x58b334
mov byte [rsp + 0x45], dl
mov qword [rsp + 0x58], r9
mov edi, 1
lea rsi, [0x0067b400]
nop dword [rax]
call sym.runtime.growslice
movzx edx, byte [rsp + 0x45]
mov r9, qword [rsp + 0x58]
mov r12, qword [rsp + 0x70]
mov byte [rbx + rax - 1], dl
lea r10, [r9 - 2]
mov rdx, r10
neg rdx
sar rdx, 0x3f
and edx, 1
add r12, rdx
jmp 0x58b276
cmp r8b, 0xb
je 0x58b398
cmp r8b, 0xc
je 0x58b398
nop dword [rax]
cmp r8b, 0x20
je 0x58b398
cmp r8b, 0x21
je 0x58b398
cmp r8b, 0x7f
je 0x58b398
test r8b, r8b
je 0x58b37d
cmp r8b, 8
jbe 0x58b398
lea edx, [r8 - 0xe]
cmp dl, 0x11
jbe 0x58b398
lea edx, [r8 - 0x23]
cmp dl, 0x38
jbe 0x58b398
lea edx, [r8 - 0x5d]
cmp dl, 0x21
ja 0x58b409
inc rbx
nop dword [rax + rax]
cmp rcx, rbx
jae 0x58b3d5
mov byte [rsp + 0x44], r8b
mov qword [rsp + 0x58], r11
mov edi, 1
lea rsi, [0x0067b400]
nop dword [rax + rax]
call sym.runtime.growslice
movzx r8d, byte [rsp + 0x44]
mov r11, qword [rsp + 0x58]
mov r12, qword [rsp + 0x70]
mov byte [rbx + rax - 1], r8b
mov r10, r11
nop dword [rax]
jmp 0x58b276
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
add rsp, 0x78
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
add rsp, 0x78
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
add rsp, 0x78
pop rbp
ret
mov rcx, r12
mov rdx, rbx
mov rbx, rax
mov rax, r11
jmp 0x58b1e1
xor eax, eax
xor ebx, ebx
mov rcx, rax
mov rdi, rbx
xor esi, esi
add rsp, 0x78
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.crypto_x509.parseRFC2821Mailbox