Function at 0x18003cf10
Capabilities:
Parse credit card information

Disassembly:
push rbx
push rbp
push rdi
push r12
push r13
sub rsp, 0x30
mov r12, qword [rcx]
mov r10, qword [r12 + 0x89c0]
mov rdi, qword [r12 + 0x1a8]
movzx ecx, byte [r10]
mov rbx, r10
call fcn.18003cd80
test eax, eax
je 0x18003cf9d
nop
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.18003cd80
test eax, eax
jne 0x18003cf40
cmp rbx, r10
je 0x18003cf9d
mov r8, rbx
cmp rbx, r10
jbe 0x18003cf69
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.18004f2e0
test eax, eax
je 0x18003cfa7
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
lea r13, [rdi + 8]
xor ebp, ebp
mov qword [r13], rbp
cmp byte [rbx], 0x3b
mov qword [rsp + 0x78], rsi
jne 0x18003d1c9
nop word [rax + rax]
movzx eax, byte [rbx + 1]
inc rbx
mov rdx, rbx
test al, al
je 0x18003d257
cmp al, 0x3d
je 0x18003cff6
mov al, byte [rbx + 1]
inc rbx
test al, al
jne 0x18003cfd2
mov eax, 3
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
cmp byte [rbx], 0
je 0x18003d257
mov r8, rbx
lea r9, [rsp + 0x68]
mov rcx, r12
sub r8, rdx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbp
call fcn.18004f2e0
test eax, eax
jne 0x18003d230
movzx ecx, byte [rbx + 1]
inc rbx
mov r10, rbx
call fcn.18003cd80
test eax, eax
je 0x18003d050
nop word [rax + rax]
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.18003cd80
test eax, eax
jne 0x18003d040
lea rax, [rsp + 0x70]
mov r8, rbx
lea r9, [rsp + 0x60]
mov rdx, r10
mov rcx, r12
sub r8, r10
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
call fcn.18004f2e0
mov esi, eax
test eax, eax
jne 0x18003d26d
mov rcx, qword [rsp + 0x68]
lea rdx, str.UIDVALIDITY
call fcn.18004f100
test eax, eax
je 0x18003d0cc
cmp qword [rdi + 0x10], 0
jne 0x18003d0cc
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x18003d0b9
mov rcx, qword [rsp + 0x60]
cmp byte [rcx + rax - 1], 0x2f
jne 0x18003d0b9
mov byte [rcx + rax - 1], sil
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbp
mov qword [rdi + 0x10], rax
jmp 0x18003d1aa
mov rcx, qword [rsp + 0x68]
lea rdx, [0x18008ce3c]
call fcn.18004f100
test eax, eax
je 0x18003d116
cmp qword [rdi + 0x18], 0
jne 0x18003d116
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x18003d103
mov rcx, qword [rsp + 0x60]
cmp byte [rcx + rax - 1], 0x2f
jne 0x18003d103
mov byte [rcx + rax - 1], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbp
mov qword [rdi + 0x18], rax
jmp 0x18003d1aa
mov rcx, qword [rsp + 0x68]
lea rdx, str.SECTION
call fcn.18004f100
test eax, eax
je 0x18003d15d
cmp qword [rdi + 0x20], 0
jne 0x18003d15d
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x18003d14d
mov rcx, qword [rsp + 0x60]
cmp byte [rcx + rax - 1], 0x2f
jne 0x18003d14d
mov byte [rcx + rax - 1], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbp
mov qword [rdi + 0x20], rax
jmp 0x18003d1aa
mov rcx, qword [rsp + 0x68]
lea rdx, str.PARTIAL
call fcn.18004f100
test eax, eax
je 0x18003d241
cmp qword [rdi + 0x28], 0
jne 0x18003d241
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x18003d19c
mov rcx, qword [rsp + 0x60]
cmp byte [rcx + rax - 1], 0x2f
jne 0x18003d19c
mov byte [rcx + rax - 1], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbp
mov qword [rdi + 0x28], rax
mov rcx, qword [rsp + 0x68]
call qword [fcn.18005bf24]
mov rcx, qword [rsp + 0x60]
call qword [fcn.18005bf24]
cmp byte [rbx], 0x3b
je 0x18003cfc0
cmp qword [r13], 0
je 0x18003d226
cmp qword [rdi + 0x18], 0
jne 0x18003d226
cmp byte [rbx], 0x3f
jne 0x18003d226
movzx ecx, byte [rbx + 1]
inc rbx
mov r10, rbx
call fcn.18003cd80
test eax, eax
je 0x18003d200
nop
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.18003cd80
test eax, eax
jne 0x18003d1f0
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.18004f2e0
test eax, eax
jne 0x18003d230
movzx eax, byte [rbx]
neg al
sbb eax, eax
and eax, 3
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
mov rcx, qword [rsp + 0x68]
call qword [fcn.18005bf24]
mov rcx, qword [rsp + 0x60]
call qword [fcn.18005bf24]
mov eax, 3
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
mov rcx, qword [rsp + 0x68]
call qword [fcn.18005bf24]
mov eax, esi
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret