Function at 0x18003d5a0
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.18003d410
test eax, eax
je 0x18003d62d
nop
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.18003d410
test eax, eax
jne 0x18003d5d0
cmp rbx, r10
je 0x18003d62d
mov r8, rbx
cmp rbx, r10
jbe 0x18003d5f9
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.18004f960
test eax, eax
je 0x18003d637
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 0x18003d859
nop word [rax + rax]
movzx eax, byte [rbx + 1]
inc rbx
mov rdx, rbx
test al, al
je 0x18003d8e7
cmp al, 0x3d
je 0x18003d686
mov al, byte [rbx + 1]
inc rbx
test al, al
jne 0x18003d662
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 0x18003d8e7
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.18004f960
test eax, eax
jne 0x18003d8c0
movzx ecx, byte [rbx + 1]
inc rbx
mov r10, rbx
call fcn.18003d410
test eax, eax
je 0x18003d6e0
nop word [rax + rax]
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.18003d410
test eax, eax
jne 0x18003d6d0
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.18004f960
mov esi, eax
test eax, eax
jne 0x18003d8fd
mov rcx, qword [rsp + 0x68]
lea rdx, str.UIDVALIDITY
call fcn.18004f780
test eax, eax
je 0x18003d75c
cmp qword [rdi + 0x10], 0
jne 0x18003d75c
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x18003d749
mov rcx, qword [rsp + 0x60]
cmp byte [rcx + rax - 1], 0x2f
jne 0x18003d749
mov byte [rcx + rax - 1], sil
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbp
mov qword [rdi + 0x10], rax
jmp 0x18003d83a
mov rcx, qword [rsp + 0x68]
lea rdx, [0x18008df0c]
call fcn.18004f780
test eax, eax
je 0x18003d7a6
cmp qword [rdi + 0x18], 0
jne 0x18003d7a6
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x18003d793
mov rcx, qword [rsp + 0x60]
cmp byte [rcx + rax - 1], 0x2f
jne 0x18003d793
mov byte [rcx + rax - 1], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbp
mov qword [rdi + 0x18], rax
jmp 0x18003d83a
mov rcx, qword [rsp + 0x68]
lea rdx, str.SECTION
call fcn.18004f780
test eax, eax
je 0x18003d7ed
cmp qword [rdi + 0x20], 0
jne 0x18003d7ed
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x18003d7dd
mov rcx, qword [rsp + 0x60]
cmp byte [rcx + rax - 1], 0x2f
jne 0x18003d7dd
mov byte [rcx + rax - 1], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbp
mov qword [rdi + 0x20], rax
jmp 0x18003d83a
mov rcx, qword [rsp + 0x68]
lea rdx, str.PARTIAL
call fcn.18004f780
test eax, eax
je 0x18003d8d1
cmp qword [rdi + 0x28], 0
jne 0x18003d8d1
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x18003d82c
mov rcx, qword [rsp + 0x60]
cmp byte [rcx + rax - 1], 0x2f
jne 0x18003d82c
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.18005c594]
mov rcx, qword [rsp + 0x60]
call qword [fcn.18005c594]
cmp byte [rbx], 0x3b
je 0x18003d650
cmp qword [r13], 0
je 0x18003d8b6
cmp qword [rdi + 0x18], 0
jne 0x18003d8b6
cmp byte [rbx], 0x3f
jne 0x18003d8b6
movzx ecx, byte [rbx + 1]
inc rbx
mov r10, rbx
call fcn.18003d410
test eax, eax
je 0x18003d890
nop
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.18003d410
test eax, eax
jne 0x18003d880
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.18004f960
test eax, eax
jne 0x18003d8c0
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.18005c594]
mov rcx, qword [rsp + 0x60]
call qword [fcn.18005c594]
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.18005c594]
mov eax, esi
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret