Function at 0x14000c310
Capabilities:
Parse credit card information

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x238
lea rbp, [rsp + 0x80]
mov rdi, qword [0x140158810]
mov rax, qword [rdi]
mov qword [rbp + 0x1a8], rax
xor eax, eax
cmp byte [rcx], 0x5f
mov qword [rbp - 0x58], r8
mov rbx, rcx
mov r15, rdx
je 0x14000c75f
mov r8d, 8
lea rdx, str._GLOBAL_
mov rcx, rbx
call sym.strncmp
test eax, eax
je 0x14000c6a4
xor r11d, r11d
xor r13d, r13d
shl r11d, 0x1f
lea rax, [rbx + 1]
mov qword [rbp - 0x60], r15
lea edi, [r13 - 2]
sar r11d, 0x1f
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x30]
add r11d, 0x47
mov dword [rbp + 0x24], 1
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x44], r11d
jmp 0x14000c46b
cmp edi, 1
ja 0x14000c65e
lea r12, [rbx + 0xb]
cmp byte [rbx + 0xb], 0x5f
mov qword [rbp - 0x18], r12
jne 0x14000c3d1
cmp byte [rbx + 0xc], 0x5a
je 0x14000c676
mov rcx, r12
mov qword [rbp - 0x40], r8
call sym.strlen
test r15d, r15d
je 0x14000c71f
test eax, eax
mov dword [rbp - 8], 1
mov r8, qword [rbp - 0x40]
mov qword [r14*8 + 4], 0
jle 0x14000c71f
mov dword [r14*8], 0
mov qword [r14*8 + 0x10], r12
mov dword [r14*8 + 0x18], eax
mov r14, qword [rbp - 0x38]
mov edx, dword [rbp - 0x44]
xor r9d, r9d
mov rcx, r14
call sym.d_make_comp
mov rcx, r12
mov r15, rax
call sym.strlen
lea r11, [r12 + rax]
mov qword [rbp - 0x18], r11
movzx eax, byte [r11]
test al, al
jne 0x14000c457
test r15, r15
jne 0x14000c777
cmp dword [rbp + 0x24], 0xffffffff
jne 0x14000c758
mov dword [rbp + 0x24], 0
mov rsp, rsi
mov rcx, rbx
call sym.strlen
mov qword [rbp - 0x30], rbx
mov rcx, rax
lea rax, [rbx + rax]
mov dword [rbp - 0x20], 0x11
lea r15d, [rcx + rcx]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x18], rbx
mov dword [rbp - 4], r15d
mov dword [rbp - 8], 0
mov dword [rbp + 0xc], ecx
mov dword [rbp + 8], 0
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0
mov dword [rbp + 0x20], 0
mov dword [rbp + 0x28], 0
cmp r15d, 0x800
ja 0x14000c72b
mov eax, r15d
mov rsi, rsp
shl rax, 5
call fcn.14000e440
sub rsp, rax
movsxd rcx, ecx
lea r8, [rsp + 0x27]
lea rax, [rcx*8 + 0xf]
mov r14, r8
and rax, 0xfffffffffffffff0
and r8, 0xfffffffffffffff8
shr r14, 3
call fcn.14000e440
sub rsp, rax
mov qword [rbp - 0x10], r8
lea rax, [rsp + 0x20]
mov qword [rbp], rax
cmp r13d, 1
jne 0x14000c3b0
cmp byte [rbx], 0x5f
jne 0x14000c457
mov rax, qword [rbp - 0x50]
cmp byte [rbx + 1], 0x5a
mov qword [rbp - 0x18], rax
jne 0x14000c457
lea rax, [rbx + 2]
lea r14, [rbp - 0x30]
mov qword [rbp - 0x18], rax
movzx eax, byte [rbx + 2]
cmp al, 0x47
je 0x14000c70f
cmp al, 0x54
je 0x14000c70f
mov edx, 1
mov rcx, r14
call sym.d_encoding.part.0
mov r15, rax
mov rdx, qword [rbp - 0x18]
movzx eax, byte [rdx]
test byte [rbp - 0x20], 1
je 0x14000c44a
cmp al, 0x2e
jne 0x14000c44a
nop dword [rax]
movzx eax, byte [rdx + 1]
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x14000c5a3
cmp al, 0x5f
je 0x14000c5a3
sub eax, 0x30
cmp al, 9
ja 0x14000c8bf
movzx eax, byte [rdx + 2]
lea r11, [rdx + 2]
jmp 0x14000c5b9
movzx eax, byte [r11 + 1]
add r11, 1
lea ecx, [rax - 0x61]
lea r8d, [rax - 0x30]
cmp cl, 0x19
setbe cl
cmp r8b, 9
setbe r8b
or cl, r8b
jne 0x14000c5b0
cmp al, 0x5f
je 0x14000c5b0
nop word [rax + rax]
cmp al, 0x2e
jne 0x14000c625
movzx eax, byte [r11 + 1]
sub eax, 0x30
cmp al, 9
ja 0x14000c625
movzx eax, byte [r11 + 2]
lea rcx, [r11 + 2]
mov r11, rcx
lea r8d, [rax - 0x30]
cmp r8b, 9
ja 0x14000c5e0
nop word cs:[rax + rax]
movzx eax, byte [r11 + 1]
add r11, 1
lea ecx, [rax - 0x30]
cmp cl, 9
jbe 0x14000c610
cmp al, 0x2e
je 0x14000c5e4
mov r8d, r11d
mov rcx, r14
mov qword [rbp - 0x18], r11
sub r8d, edx
call sym.d_make_name
mov r8, r15
mov edx, 0x50
mov r9, rax
call sym.d_make_comp
mov r15, rax
movzx eax, byte [r11]
cmp al, 0x2e
jne 0x14000c44a
mov rdx, r11
jmp 0x14000c588
mov rcx, qword [rbp - 0x38]
call sym.d_type
mov r15, rax
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax]
jmp 0x14000c44a
lea rax, [rbx + 0xd]
lea r14, [rbp - 0x30]
mov qword [rbp - 0x18], rax
movzx eax, byte [rbx + 0xd]
cmp al, 0x47
je 0x14000c6fb
cmp al, 0x54
je 0x14000c6fb
xor edx, edx
mov rcx, r14
call sym.d_encoding.part.0
mov r12, qword [rbp - 0x18]
mov r8, rax
jmp 0x14000c425
movzx eax, byte [rbx + 8]
sub eax, 0x24
cmp al, 0x3b
ja 0x14000c36e
movabs rdx, 0x800000000000401
bt rdx, rax
setb r11b
xor r13d, r13d
test r11b, r11b
je 0x14000c374
movzx eax, byte [rbx + 9]
cmp al, 0x44
sete r11b
cmp al, 0x49
sete dl
or r11b, dl
je 0x14000c374
cmp byte [rbx + 0xa], 0x5f
je 0x14000c8cb
xor r11d, r11d
jmp 0x14000c374
mov rcx, r14
call sym.d_special_name
mov r12, qword [rbp - 0x18]
mov r8, rax
jmp 0x14000c425
mov rcx, r14
call sym.d_special_name
mov r15, rax
jmp 0x14000c56c
xor r8d, r8d
lea r14, [rbp - 0x30]
jmp 0x14000c425
xor eax, eax
mov rdi, qword [0x140158810]
mov rdx, qword [rbp + 0x1a8]
sub rdx, qword [rdi]
jne 0x14000c8e7
lea rsp, [rbp + 0x1b8]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
xor eax, eax
mov rsp, rsi
jmp 0x14000c72d
cmp byte [rcx + 1], 0x5a
jne 0x14000c351
xor r11d, r11d
mov r13d, 1
jmp 0x14000c374
mov rax, qword [rbp - 0x58]
mov r14, r15
lea rbx, [rbp + 0x30]
mov r15, qword [rbp - 0x60]
pxor xmm0, xmm0
mov rdx, r14
mov rcx, rbx
mov qword [rbp + 0x130], 0
mov byte [rbp + 0x138], 0
mov qword [rbp + 0x150], 0
mov qword [rbp + 0x158], 0
mov dword [rbp + 0x170], 0
mov qword [rbp + 0x140], r15
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x178], 0
mov qword [rbp + 0x188], 0
mov qword [rbp + 0x198], 0
movups xmmword [rbp + 0x160], xmm0
call sym.d_count_templates_scopes
cmp dword [rbp + 0x164], 0x7ff
jg 0x14000c813
mov dword [rbp + 0x164], 0
movsxd rax, dword [rbp + 0x18c]
mov edx, dword [rbp + 0x19c]
mov ecx, 1
mov rdi, rsp
mov qword [rbp + 0x1a0], 0
imul edx, eax
test eax, eax
cmovle rax, rcx
shl rax, 4
mov dword [rbp + 0x19c], edx
call fcn.14000e440
sub rsp, rax
test edx, edx
mov eax, 1
cmovg eax, edx
lea rcx, [rsp + 0x20]
cdqe
shl rax, 4
call fcn.14000e440
mov edx, 0x11
sub rsp, rax
mov r8, r14
mov qword [rbp + 0x180], rcx
mov rcx, rbx
lea rax, [rsp + 0x20]
mov qword [rbp + 0x190], rax
call sym.d_print_comp
mov rdx, qword [rbp + 0x130]
mov rsp, rdi
mov r8, qword [rbp + 0x148]
mov rcx, rbx
mov byte [rbp + rdx + 0x30], 0
call qword [rbp + 0x140]
mov edx, dword [rbp + 0x160]
xor eax, eax
test edx, edx
sete al
jmp 0x14000c75a
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax]
jmp 0x14000c44a
mov r13d, 2
cmp al, 0x49
je 0x14000c374
xor r11d, r11d
mov r13d, 3
jmp 0x14000c374
call dbg.__stack_chk_fail
nop
nop dword [rax]