Function at 0x140015240
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x1400156a5
mov r15d, 0xfffd
mov r14d, 0x5d
cmp ecx, 0x7c
je 0x1400156a5
cmp ecx, 0x29
jne 0x14001529d
cmp dword [rbx + 0x1c], 0
jne 0x1400156a5
test dword [rbx + 0x80], 0x10000000
je 0x1400156df
cmp ecx, 0x2e
jne 0x140015318
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.140015760
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x14001530b
cmp word [rcx], 0x5c
jne 0x140015304
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x1400152fc
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400152e5
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x1400152f8
test r8b, 0x10
jne 0x1400152fc
movzx eax, word [rdx]
sub ax, 0x7b
test r15w, ax
jne 0x1400152fc
mov al, 1
jmp 0x1400152fe
xor al, al
test al, al
cmovne rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400141d0
jmp 0x14001568f
cmp ecx, 0x5c
jne 0x1400153f2
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x14001537c
cmp word [rcx], 0x5c
jne 0x140015375
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x14001536d
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140015356
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x140015369
test r8b, 0x10
jne 0x14001536d
movzx eax, word [rdx]
sub ax, 0x7b
test r15w, ax
jne 0x14001536d
mov al, 1
jmp 0x14001536f
xor al, al
test al, al
cmovne rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400141d0
mov eax, dword [rbx + 0x80]
and eax, 0x80
je 0x1400153b3
cmp word [rbx + 0x78], 0x62
jne 0x1400153b3
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140015760
mov rcx, rbx
call fcn.1400151e0
jmp 0x140015697
test eax, eax
je 0x1400153e5
cmp word [rbx + 0x78], 0x42
jne 0x1400153e5
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140015760
mov rax, qword [rbx + 0x48]
mov rcx, rbx
xor dword [rax + 0xc], 1
add rax, 0xc
call fcn.1400151e0
jmp 0x140015697
mov rcx, rbx
call fcn.140016370
jmp 0x14001568f
cmp ecx, 0x5b
jne 0x1400154c3
mov rcx, rbx
call fcn.1400151e0
lea rcx, [rbx + 0x40]
call fcn.140017e10
mov eax, dword [rbx + 0x7c]
cmp eax, 0x5e
jne 0x140015427
mov rax, qword [rbx + 0x48]
mov rcx, rbx
xor dword [rax + 0xc], 1
call fcn.1400151e0
mov eax, dword [rbx + 0x7c]
test dword [rbx + 0x80], 0x20000000
je 0x1400154ac
cmp eax, r14d
jne 0x1400154ac
test dword [rbx + 0x50], 0x100
movzx esi, r14w
je 0x140015459
mov rax, qword [rbx + 0x58]
mov edx, r14d
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
call qword [rax + 0x40]
movzx esi, ax
mov rdi, qword [rbx + 0x48]
mov rcx, qword [rdi + 0x28]
test rcx, rcx
jne 0x14001548d
mov ecx, 0x20
call fcn.14002602c
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov rcx, rax
mov qword [rdi + 0x28], rax
movzx edx, si
mov eax, edx
and edx, 7
shr rax, 3
add rcx, rax
movzx eax, byte [rcx]
bts eax, edx
mov byte [rcx], al
mov rcx, rbx
call fcn.1400151e0
mov rcx, rbx
call fcn.1400177c0
cmp dword [rbx + 0x7c], r14d
jne 0x1400156c9
jmp 0x140015687
cmp ecx, 0x28
jne 0x1400155fc
mov rcx, rbx
call fcn.1400151e0
inc dword [rbx + 0x1c]
mov eax, dword [rbx + 0x80]
bt eax, 0x1b
jb 0x1400154ed
cmp dword [rbx + 0x7c], 0x29
je 0x1400156ea
test al, 0x20
je 0x140015554
cmp dword [rbx + 0x7c], 0x3f
jne 0x140015554
mov rcx, rbx
call fcn.1400151e0
mov edi, dword [rbx + 0x7c]
mov rcx, rbx
call fcn.1400151e0
cmp edi, 0x3a
jne 0x14001551c
mov rcx, rbx
call fcn.140017d70
jmp 0x1400155d6
cmp edi, 0x21
jne 0x140015536
mov dl, 1
mov rcx, rbx
call fcn.140017dc0
dec dword [rbx + 0x1c]
xor dil, dil
jmp 0x1400155dc
cmp edi, 0x3d
jne 0x1400156f5
xor edx, edx
mov rcx, rbx
call fcn.140017dc0
dec dword [rbx + 0x1c]
xor dil, dil
jmp 0x1400155dc
test dword [rbx + 0x70], 0x200
lea rcx, [rbx + 0x40]
je 0x140015584
mov edx, 8
call fcn.140015760
mov rcx, rbx
mov rdi, rax
call fcn.1400143e0
mov rdx, rdi
lea rcx, [rbx + 0x40]
call fcn.140014690
jmp 0x1400155d6
inc dword [rbx + 0x18]
mov edx, dword [rbx + 0x18]
call fcn.140014740
mov rcx, rbx
mov rsi, rax
call fcn.1400143e0
mov rdx, rsi
lea rcx, [rbx + 0x40]
call fcn.140014690
mov edx, dword [rbx + 0x18]
lea rdi, [rbx + 0x20]
inc edx
mov rcx, rdi
call fcn.140014b60
mov r8d, dword [rsi + 0x20]
mov rcx, qword [rdi]
mov eax, r8d
shr rax, 5
and r8d, 0x1f
lea rdx, [rcx + rax*4]
mov eax, dword [rcx + rax*4]
bts eax, r8d
mov dword [rdx], eax
dec dword [rbx + 0x1c]
mov dil, 1
cmp dword [rbx + 0x7c], 0x29
jne 0x140015700
mov rcx, rbx
call fcn.1400151e0
test dil, dil
je 0x140015697
jmp 0x14001568f
cmp ecx, 0x5e
jne 0x140015619
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.140015760
mov rcx, rbx
call fcn.1400151e0
jmp 0x140015697
cmp ecx, 0x24
jne 0x140015636
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.140015760
mov rcx, rbx
call fcn.1400151e0
jmp 0x140015697
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1400156d4
cmp ecx, 0x3f
je 0x1400156d4
cmp ecx, 0x7b
je 0x1400156d4
cmp ecx, 0x7d
jne 0x140015669
test dword [rbx + 0x80], 0x10000000
je 0x14001570b
cmp ecx, r14d
jne 0x14001567a
test dword [rbx + 0x80], 0x10000000
je 0x1400156be
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140016720
mov rcx, rbx
call fcn.1400151e0
mov rcx, rbx
call fcn.140016550
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x140015275
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov edx, 4
call fcn.1400141c0
int3
mov edx, 4
call fcn.1400141c0
int3
mov edx, 0xa
call fcn.1400141c0
int3
mov edx, 5
call fcn.1400141c0
int3
mov edx, 5
call fcn.1400141c0
int3
mov edx, SafeArrayDestroy
call fcn.1400141c0
int3
mov edx, 5
call fcn.1400141c0
int3
mov edx, 6
call fcn.1400141c0
int3