Function at 0x100596f0
Capabilities:
Parse credit card information

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov r12, qword [rcx]
mov qword [rax - 0x10], r13
mov r10, qword [r12 + 0x10a8]
mov rdi, qword [r12 + 0x208]
movzx ecx, byte [r10]
mov rbx, r10
call fcn.10059550
test eax, eax
je 0x10059787
nop
movzx ecx, byte [rbx + 1]
add rbx, 1
call fcn.10059550
test eax, eax
jne 0x10059730
cmp rbx, r10
je 0x10059787
cmp rbx, r10
mov r8, rbx
jbe 0x1005975a
cmp byte [rbx - 1], 0x2f
lea rax, [rbx - 1]
cmove r8, rax
lea r13, [rdi + 8]
xor ebp, ebp
sub r8, r10
mov rdx, r10
mov rcx, r12
mov r9, r13
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbp
call fcn.1006f450
test eax, eax
je 0x10059791
jmp 0x10059a19
lea r13, [rdi + 8]
xor ebp, ebp
mov qword [r13], rbp
cmp byte [rbx], 0x3b
mov qword [rsp + 0x80], rsi
jne 0x1005999d
movzx eax, byte [rbx + 1]
add rbx, 1
test al, al
mov rdx, rbx
je 0x10059a50
cmp al, 0x3d
je 0x100597ce
mov al, byte [rbx + 1]
add rbx, 1
test al, al
jne 0x100597b5
mov eax, 3
jmp 0x10059a11
cmp byte [rbx], 0
je 0x10059a50
mov r8, rbx
lea r9, [rsp + 0x38]
mov rcx, r12
sub r8, rdx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbp
call fcn.1006f450
test eax, eax
jne 0x10059a11
movzx ecx, byte [rbx + 1]
add rbx, 1
mov r10, rbx
call fcn.10059550
test eax, eax
je 0x10059824
movzx ecx, byte [rbx + 1]
add rbx, 1
call fcn.10059550
test eax, eax
jne 0x10059813
lea rax, [rsp + 0x40]
mov r8, rbx
lea r9, [rsp + 0x30]
mov rdx, r10
mov rcx, r12
sub r8, r10
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
call fcn.1006f450
test eax, eax
mov esi, eax
jne 0x10059a57
mov rcx, qword [rsp + 0x38]
lea rdx, str.UIDVALIDITY
call fcn.1004a970
test eax, eax
je 0x100598a0
cmp qword [rdi + 0x10], 0
jne 0x100598a0
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1005988d
mov rcx, qword [rsp + 0x30]
cmp byte [rcx + rax - 1], 0x2f
jne 0x1005988d
mov byte [rcx + rax - 1], sil
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov qword [rdi + 0x10], rax
jmp 0x1005997e
mov rcx, qword [rsp + 0x38]
lea rdx, [0x1008de24]
call fcn.1004a970
test eax, eax
je 0x100598ea
cmp qword [rdi + 0x18], 0
jne 0x100598ea
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x100598d7
mov rcx, qword [rsp + 0x30]
cmp byte [rcx + rax - 1], 0x2f
jne 0x100598d7
mov byte [rcx + rax - 1], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov qword [rdi + 0x18], rax
jmp 0x1005997e
mov rcx, qword [rsp + 0x38]
lea rdx, str.SECTION
call fcn.1004a970
test eax, eax
je 0x10059931
cmp qword [rdi + 0x20], 0
jne 0x10059931
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x10059921
mov rcx, qword [rsp + 0x30]
cmp byte [rcx + rax - 1], 0x2f
jne 0x10059921
mov byte [rcx + rax - 1], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov qword [rdi + 0x20], rax
jmp 0x1005997e
mov rcx, qword [rsp + 0x38]
lea rdx, str.PARTIAL
call fcn.1004a970
test eax, eax
je 0x10059a3a
cmp qword [rdi + 0x28], 0
jne 0x10059a3a
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x10059970
mov rcx, qword [rsp + 0x30]
cmp byte [rcx + rax - 1], 0x2f
jne 0x10059970
mov byte [rcx + rax - 1], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov qword [rdi + 0x28], rax
mov rcx, qword [rsp + 0x38]
call qword [fcn.10021fb0]
mov rcx, qword [rsp + 0x30]
call qword [fcn.10021fb0]
cmp byte [rbx], 0x3b
je 0x100597a2
cmp qword [r13], 0
je 0x10059a07
cmp qword [rdi + 0x18], 0
jne 0x10059a07
cmp byte [rbx], 0x3f
jne 0x10059a07
movzx ecx, byte [rbx + 1]
add rbx, 1
mov r10, rbx
call fcn.10059550
test eax, eax
je 0x100599e1
nop
nop
nop
movzx ecx, byte [rbx + 1]
add rbx, 1
call fcn.10059550
test eax, eax
jne 0x100599d0
mov r8, rbx
lea r9, [rdi + 0x30]
mov rdx, r10
mov rcx, r12
sub r8, r10
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbp
call fcn.1006f450
test eax, eax
jne 0x10059a11
movzx eax, byte [rbx]
neg al
sbb eax, eax
and eax, 3
mov rsi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
mov rcx, qword [rsp + 0x38]
call qword [fcn.10021fb0]
mov rcx, qword [rsp + 0x30]
call qword [fcn.10021fb0]
mov eax, 3
jmp 0x10059a11
mov rcx, qword [rsp + 0x38]
call qword [fcn.10021fb0]
mov eax, esi
jmp 0x10059a11