Function at 0x1800a6da0
Capabilities:
Parse credit card information

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x38
mov r13, qword [rcx]
mov r10, qword [r13 + 0x4bc8]
mov rdi, qword [r13 + 0x1a8]
movzx ecx, byte [r10]
mov rbx, r10
call fcn.1800a6c10
test eax, eax
je 0x1800a6e2f
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.1800a6c10
test eax, eax
jne 0x1800a6dd2
cmp rbx, r10
je 0x1800a6e2f
mov r8, rbx
jbe 0x1800a6df8
cmp byte [rbx - 1], 0x2f
lea rax, [rbx - 1]
cmove r8, rax
lea r14, [rdi + 8]
xor r12d, r12d
sub r8, r10
mov rdx, r10
mov rcx, r13
mov r9, r14
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
call fcn.1800b88a0
test eax, eax
je 0x1800a6e39
add rsp, 0x38
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
lea r14, [rdi + 8]
xor r12d, r12d
mov qword [r14], r12
cmp byte [rbx], 0x3b
mov qword [rsp + 0x30], rsi
jne 0x1800a7025
nop word [rax + rax]
movzx eax, byte [rbx + 1]
inc rbx
mov rdx, rbx
test al, al
je 0x1800a70b7
cmp al, 0x3d
je 0x1800a6e7b
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x1800a6e62
mov eax, 3
jmp 0x1800a7090
cmp byte [rbx], 0
je 0x1800a70b7
mov r8, rbx
lea r9, [rbp + 0x40]
mov rcx, r13
sub r8, rdx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
call fcn.1800b88a0
test eax, eax
jne 0x1800a7090
movzx ecx, byte [rbx + 1]
inc rbx
mov r10, rbx
call fcn.1800a6c10
test eax, eax
je 0x1800a6ed0
nop
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.1800a6c10
test eax, eax
jne 0x1800a6ec0
lea rax, [rbp + 0x48]
mov r8, rbx
lea r9, [rbp + 0x38]
mov rdx, r10
mov rcx, r13
sub r8, r10
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
call fcn.1800b88a0
mov rcx, qword [rbp + 0x40]
mov esi, eax
test eax, eax
jne 0x1800a70be
lea rdx, str.UIDVALIDITY
call fcn.180098f50
test eax, eax
je 0x1800a6f41
cmp qword [rdi + 0x10], 0
jne 0x1800a6f41
mov rax, qword [rbp + 0x48]
test rax, rax
je 0x1800a6f34
mov rcx, qword [rbp + 0x38]
cmp byte [rcx + rax - 1], 0x2f
jne 0x1800a6f34
mov byte [rcx + rax - 1], sil
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x10], rax
jmp 0x1800a7004
mov rcx, qword [rbp + 0x40]
lea rdx, [0x180229c5c]
call fcn.180098f50
test eax, eax
je 0x1800a6f82
cmp qword [rdi + 0x18], 0
jne 0x1800a6f82
mov rax, qword [rbp + 0x48]
test rax, rax
je 0x1800a6f75
mov rcx, qword [rbp + 0x38]
cmp byte [rcx + rax - 1], 0x2f
jne 0x1800a6f75
mov byte [rcx + rax - 1], 0
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x18], rax
jmp 0x1800a7004
mov rcx, qword [rbp + 0x40]
lea rdx, str.SECTION
call fcn.180098f50
test eax, eax
je 0x1800a6fc0
cmp qword [rdi + 0x20], 0
jne 0x1800a6fc0
mov rax, qword [rbp + 0x48]
test rax, rax
je 0x1800a6fb6
mov rcx, qword [rbp + 0x38]
cmp byte [rcx + rax - 1], 0x2f
jne 0x1800a6fb6
mov byte [rcx + rax - 1], 0
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x20], rax
jmp 0x1800a7004
mov rcx, qword [rbp + 0x40]
lea rdx, str.PARTIAL
call fcn.180098f50
test eax, eax
je 0x1800a70a3
cmp qword [rdi + 0x28], 0
jne 0x1800a70a3
mov rax, qword [rbp + 0x48]
test rax, rax
je 0x1800a6ffc
mov rcx, qword [rbp + 0x38]
cmp byte [rcx + rax - 1], 0x2f
jne 0x1800a6ffc
mov byte [rcx + rax - 1], 0
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x28], rax
mov rcx, qword [rbp + 0x40]
mov qword [rbp + 0x38], r12
call qword [fcn.1801cc408]
mov rcx, qword [rbp + 0x38]
call qword [fcn.1801cc408]
cmp byte [rbx], 0x3b
je 0x1800a6e50
cmp qword [r14], 0
je 0x1800a7086
cmp qword [rdi + 0x18], 0
jne 0x1800a7086
cmp byte [rbx], 0x3f
jne 0x1800a7086
movzx ecx, byte [rbx + 1]
inc rbx
mov r10, rbx
call fcn.1800a6c10
test eax, eax
je 0x1800a7060
nop word [rax + rax]
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.1800a6c10
test eax, eax
jne 0x1800a7050
mov r8, rbx
lea r9, [rdi + 0x30]
mov rdx, r10
mov rcx, r13
sub r8, r10
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
call fcn.1800b88a0
test eax, eax
jne 0x1800a7090
movzx eax, byte [rbx]
neg al
sbb eax, eax
and eax, 3
mov rsi, qword [rsp + 0x30]
add rsp, 0x38
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x40]
call qword [fcn.1801cc408]
mov rcx, qword [rbp + 0x38]
call qword [fcn.1801cc408]
mov eax, 3
jmp 0x1800a7090
call qword [fcn.1801cc408]
mov eax, esi
jmp 0x1800a7090