Function at 0x140058b50
Capabilities:
Parse credit card information

Disassembly:
push rbp
push rbx
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x38
mov r15, qword [rcx]
mov r10, qword [r15 + 0x5070]
mov rdi, qword [r15 + 0x1f8]
mov rbx, r10
movzx ecx, byte [r10]
call fcn.140058830
test al, al
je 0x140058be9
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rbx + 1]
mov r9, rbx
inc rbx
call fcn.140058830
test al, al
jne 0x140058b90
cmp rbx, r10
je 0x140058be9
mov r8, rbx
jbe 0x140058bb5
cmp byte [r9], 0x2f
cmove r8, r9
lea r12, [rdi + 8]
mov byte [rsp + 0x28], 1
xor r14d, r14d
mov r9, r12
sub r8, r10
mov qword [rsp + 0x20], r14
mov rdx, r10
mov rcx, r15
call fcn.140052af0
test eax, eax
je 0x140058bf4
add rsp, 0x38
pop r15
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret
lea r12, [rdi + 8]
xor r14d, r14d
mov qword [r12], r14
cmp byte [rbx], 0x3b
mov qword [rsp + 0x30], rsi
jne 0x140058dd2
movzx eax, byte [rbx + 1]
inc rbx
mov rdx, rbx
test al, al
je 0x140058e61
movzx ecx, al
movzx eax, cl
cmp cl, 0x3d
je 0x140058c2d
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x140058c17
test al, al
je 0x140058e61
mov r8, rbx
mov byte [rsp + 0x28], 1
sub r8, rdx
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x40]
mov rcx, r15
call fcn.140052af0
test eax, eax
jne 0x140058e3a
movzx ecx, byte [rbx + 1]
inc rbx
mov r10, rbx
call fcn.140058830
test al, al
je 0x140058c80
nop dword [rax]
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.140058830
test al, al
jne 0x140058c70
lea rax, [rbp + 0x48]
mov byte [rsp + 0x28], 1
mov r8, rbx
mov qword [rsp + 0x20], rax
sub r8, r10
lea r9, [rbp + 0x38]
mov rdx, r10
mov rcx, r15
call fcn.140052af0
mov rcx, qword [rbp + 0x40]
mov esi, eax
test eax, eax
jne 0x140058e68
lea rdx, str.UIDVALIDITY
call fcn.140043fc0
test eax, eax
je 0x140058cee
cmp qword [rdi + 0x10], 0
jne 0x140058cee
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140058ce1
mov rax, qword [rbp + 0x38]
cmp byte [rax + rcx - 1], 0x2f
jne 0x140058ce1
mov byte [rax + rcx - 1], sil
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x10], rax
jmp 0x140058db1
mov rcx, qword [rbp + 0x40]
lea rdx, [0x14007d920]
call fcn.140043fc0
test eax, eax
je 0x140058d2f
cmp qword [rdi + 0x18], 0
jne 0x140058d2f
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140058d22
mov rax, qword [rbp + 0x38]
cmp byte [rax + rcx - 1], 0x2f
jne 0x140058d22
mov byte [rax + rcx - 1], 0
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x18], rax
jmp 0x140058db1
mov rcx, qword [rbp + 0x40]
lea rdx, str.SECTION
call fcn.140043fc0
test eax, eax
je 0x140058d6d
cmp qword [rdi + 0x20], 0
jne 0x140058d6d
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140058d63
mov rax, qword [rbp + 0x38]
cmp byte [rax + rcx - 1], 0x2f
jne 0x140058d63
mov byte [rax + rcx - 1], 0
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x20], rax
jmp 0x140058db1
mov rcx, qword [rbp + 0x40]
lea rdx, str.PARTIAL
call fcn.140043fc0
test eax, eax
je 0x140058e4d
cmp qword [rdi + 0x28], 0
jne 0x140058e4d
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140058da9
mov rax, qword [rbp + 0x38]
cmp byte [rax + rcx - 1], 0x2f
jne 0x140058da9
mov byte [rax + rcx - 1], 0
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x28], rax
mov rcx, qword [rbp + 0x40]
mov qword [rbp + 0x38], r14
call qword [0x140099030]
mov rcx, qword [rbp + 0x38]
call qword [0x140099030]
cmp byte [rbx], 0x3b
je 0x140058c02
cmp qword [r12], 0
je 0x140058e33
cmp qword [rdi + 0x18], 0
jne 0x140058e33
cmp byte [rbx], 0x3f
jne 0x140058e33
movzx ecx, byte [rbx + 1]
inc rbx
mov r10, rbx
call fcn.140058830
test al, al
je 0x140058e10
nop dword [rax + rax]
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.140058830
test al, al
jne 0x140058e00
mov r8, rbx
mov byte [rsp + 0x28], 1
sub r8, r10
mov qword [rsp + 0x20], r14
lea r9, [rdi + 0x30]
mov rdx, r10
mov rcx, r15
call fcn.140052af0
test eax, eax
jne 0x140058e3a
cmp byte [rbx], 0
jne 0x140058e61
xor eax, eax
mov rsi, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x40]
call qword [0x140099030]
mov rcx, qword [rbp + 0x38]
call qword [0x140099030]
mov eax, 3
jmp 0x140058e3a
call qword [0x140099030]
mov eax, esi
jmp 0x140058e3a