Function at 0x14009dd40
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rsi
push r12
push r15
sub rsp, 0x68
mov r12d, dword [r8]
mov r15, rcx
mov rcx, qword [rsp + 0xb8]
mov rsi, rdx
mov qword [rsp + 0x30], rcx
mov rbx, rdx
mov dword [rsp + 0x98], 0
test rdx, rdx
je 0x14009dd97
cmp byte [rdx], 0
je 0x14009dd8f
inc rbx
cmp byte [rbx], 0
jne 0x14009dd87
sub ebx, esi
and ebx, 0x3fffffff
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r14
test r12b, 0x40
jne 0x14009ddbe
cmp dword [0x140144a2c], 0
je 0x14009e2df
cmp ebx, 5
jb 0x14009e2df
mov eax, dword [rdx]
cmp eax, dword [0x14014666c]
jne 0x14009e2df
movzx eax, byte [rdx + 4]
cmp al, byte [0x140146670]
jne 0x14009e2df
or r12d, 0x40
mov r10d, ebx
xor edx, edx
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea edi, [rbx + 2]
xor ebp, ebp
xor ecx, ecx
cmp r10, 2
jb 0x14009de31
lea r9, [rbx - 1]
nop word [rax + rax]
xor eax, eax
cmp byte [rcx + rsi], 0x26
sete al
add edx, eax
xor eax, eax
cmp byte [rcx + rsi + 1], 0x26
sete al
add rcx, 2
add r8d, eax
cmp rcx, r9
jl 0x14009de10
cmp rcx, r10
jge 0x14009de41
xor eax, eax
cmp byte [rcx + rsi], 0x26
sete al
add edi, eax
lea eax, [r8 + rdx]
add edi, eax
call fcn.14009bcb0
test eax, eax
jne 0x14009e320
test edi, edi
jle 0x14009e320
movsxd rcx, edi
call fcn.140021a20
mov qword [rsp + 0x28], rax
mov r14, rax
test rax, rax
je 0x14009e320
cmp byte [rsi + 5], 0x2f
mov ecx, 5
jne 0x14009def4
cmp byte [rsi + 6], 0x2f
jne 0x14009def4
movzx edx, byte [rsi + 7]
lea r8, [rsi + 7]
mov ecx, 7
test dl, dl
je 0x14009def4
mov rax, r8
nop word [rax + rax]
cmp dl, 0x2f
je 0x14009deb2
movzx edx, byte [rax + 1]
inc rax
inc ecx
test dl, dl
jne 0x14009dea0
cmp ecx, 7
je 0x14009def4
cmp ecx, 0x10
jne 0x14009ded5
mov rax, qword [0x140146660]
cmp rax, qword [r8]
jne 0x14009ded5
movzx eax, byte [0x140146668]
cmp al, byte [r8 + 8]
je 0x14009def4
lea edx, [rcx - 7]
mov dword [rsp + 0x98], 1
lea rcx, [0x140146640]
call fcn.140023f70
jmp 0x14009e289
movsxd rax, ecx
xor r9d, r9d
movzx edx, byte [rax + rsi]
test dl, dl
je 0x14009e081
mov rdi, r14
lea r13, [0x1401227b0]
movsxd rbx, ecx
cmp dl, 0x23
je 0x14009e071
inc ecx
cmp dl, 0x25
jne 0x14009dfe1
movsxd rax, ecx
movzx r11d, byte [rax + rsi]
test byte [r11 + r13], 8
je 0x14009dfe1
movzx r10d, byte [rbx + rsi + 2]
test byte [r10 + r13], 8
je 0x14009dfe1
movzx edx, r11b
movsx eax, r11b
sar eax, 6
and al, 1
movsx r8d, r10b
movzx eax, al
imul ecx, eax, 7
sar r8d, 6
and r8b, 1
movzx eax, r8b
sub dl, cl
imul ecx, eax, 7
movzx eax, r10b
and edx, 0xf
shl edx, 4
sub al, cl
lea ecx, [rbx + 3]
and eax, 0xf
add edx, eax
jne 0x14009e05b
movsxd rdx, ecx
add rdx, rsi
movzx eax, byte [rdx]
test al, al
je 0x14009e062
nop
cmp al, 0x23
je 0x14009e062
test r9d, r9d
jne 0x14009dfb1
cmp al, 0x3f
jmp 0x14009dfc9
cmp r9d, 1
jne 0x14009dfc1
cmp al, 0x3d
je 0x14009e062
jmp 0x14009dfc7
cmp r9d, 2
jne 0x14009dfcf
cmp al, 0x26
je 0x14009e062
movzx eax, byte [rdx + 1]
inc rdx
inc ecx
test al, al
jne 0x14009dfa0
jmp 0x14009e062
cmp r9d, 1
jne 0x14009e03c
cmp dl, 0x26
je 0x14009dff1
cmp dl, 0x3d
jne 0x14009e05b
cmp byte [rdi - 1], 0
jne 0x14009e025
movsxd rdx, ecx
add rdx, rsi
movzx r8d, byte [rdx]
test r8b, r8b
je 0x14009e062
cmp r8b, 0x23
je 0x14009e062
cmp byte [rdx - 1], 0x26
je 0x14009e062
movzx eax, byte [rdx + 1]
inc rdx
inc ecx
movzx r8d, al
test al, al
jne 0x14009e006
jmp 0x14009e062
cmp dl, 0x26
jne 0x14009e034
inc ebp
mov byte [rdi], 0
inc rdi
jmp 0x14009e059
mov r9d, 2
jmp 0x14009e059
test r9d, r9d
jne 0x14009e048
cmp dl, 0x3f
je 0x14009e053
jmp 0x14009e05b
cmp r9d, 2
jne 0x14009e05b
cmp dl, 0x26
jne 0x14009e05b
mov r9d, 1
xor dl, dl
inc ebp
mov byte [rdi], dl
inc rdi
movsxd rax, ecx
movzx edx, byte [rax + rsi]
test dl, dl
jne 0x14009df10
cmp r9d, 1
jne 0x14009e081
movsxd rax, ebp
inc ebp
mov byte [rax + r14], 0
movsxd rax, ebp
mov word [rax + r14], 0
mov rax, r14
cmp byte [r14], 0
je 0x14009e09c
inc rax
cmp byte [rax], 0
jne 0x14009e094
sub eax, r14d
and eax, 0x3fffffff
lea r8d, [rax + 1]
add r8, r14
cmp byte [r8], 0
je 0x14009e257
mov ebx, dword [0x14014663c]
nop dword [rax + rax]
mov rdx, r8
inc rdx
cmp byte [rdx], 0
jne 0x14009e0c3
sub edx, r8d
and edx, 0x3fffffff
lea ebp, [rdx + 1]
add rbp, r8
mov rdi, rbp
jne 0x14009e0e3
xor edi, edi
jmp 0x14009e100
cmp byte [rbp], 0
je 0x14009e0f8
nop dword [rax]
inc rdi
cmp byte [rdi], 0
jne 0x14009e0f0
sub edi, ebp
and edi, 0x3fffffff
cmp edx, 3
jne 0x14009e130
cmp bx, word [r8]
jne 0x14009e237
movzx eax, byte [0x14014663e]
cmp al, byte [r8 + 2]
jne 0x14009e237
mov r15, rbp
mov qword [rsp + 0x90], rbp
jmp 0x14009e23f
cmp edx, 5
jne 0x14009e16e
mov eax, dword [0x140146634]
cmp eax, dword [r8]
jne 0x14009e237
movzx eax, byte [0x140146638]
cmp al, byte [r8 + 4]
jne 0x14009e237
mov r15d, 0x60000
lea r14, [0x1401464e0]
mov r12d, r15d
lea r13, [0x14014662c]
jmp 0x14009e19d
cmp edx, 4
jne 0x14009e237
mov eax, dword [0x140146624]
cmp eax, dword [r8]
jne 0x14009e237
mov r15d, 0x87
lea r14, [0x140146490]
and r12d, r15d
lea r13, [0x14014661c]
mov rcx, qword [r14]
xor esi, esi
test rcx, rcx
je 0x14009e1e7
cmp byte [rcx], 0
mov rax, rcx
je 0x14009e1b8
nop
inc rax
cmp byte [rax], 0
jne 0x14009e1b0
sub eax, ecx
and eax, 0x3fffffff
cmp edi, eax
jne 0x14009e1d5
mov rdx, rcx
mov r8d, edi
mov rcx, rbp
call fcn.1400d3000
test eax, eax
je 0x14009e209
inc rsi
mov rax, rsi
add rax, rax
mov rcx, qword [r14 + rax*8]
test rcx, rcx
jne 0x14009e1a7
mov r8, rbp
mov dword [rsp + 0x98], 1
mov rdx, r13
lea rcx, [0x140146608]
call fcn.140023f70
jmp 0x14009e289
add rsi, rsi
mov ecx, dword [r14 + rsi*8 + 8]
test ecx, ecx
je 0x14009e1e7
mov eax, ecx
btr eax, 7
cmp eax, r12d
jg 0x14009e2c0
mov r12d, dword [rsp + 0x20]
not r15d
and r12d, r15d
or r12d, ecx
mov dword [rsp + 0x20], r12d
mov r15, qword [rsp + 0x90]
mov eax, edi
lea r8, [rbp + 1]
add r8, rax
cmp byte [r8], 0
jne 0x14009e0c0
mov r14, qword [rsp + 0x28]
mov rcx, r15
call fcn.1400215b0
mov rcx, qword [rsp + 0xa8]
mov qword [rcx], rax
test rax, rax
jne 0x14009e29e
mov rdx, r15
mov dword [rsp + 0x98], 1
lea rcx, [0x1401465e0]
call fcn.140023f70
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x28]
call fcn.140021e30
xor r14d, r14d
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rsp + 0x20]
mov dword [rcx], eax
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x98]
mov qword [rcx], r14
jmp 0x14009e325
mov r8, rbp
mov dword [rsp + 0x98], 3
mov rdx, r13
lea rcx, [0x1401465f0]
call fcn.140023f70
jmp 0x14009e289
call fcn.14009bcb0
test eax, eax
jne 0x14009e320
lea ecx, [rbx + 2]
call fcn.140021a20
mov qword [rsp + 0x28], rax
mov r14, rax
test rax, rax
je 0x14009e320
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call fcn.1400d2bf0
and r12d, 0xffffffbf
mov word [rbx + r14], 0
mov dword [rsp + 0x20], r12d
jmp 0x14009e257
mov eax, 7
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
pop r15
pop r12
pop rsi
pop rbx
ret