Function at 0x140022430
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 0x140022895
mov r15d, 0xfffd
mov r14d, 0x5d
cmp ecx, 0x7c
je 0x140022895
cmp ecx, 0x29
jne 0x14002248d
cmp dword [rbx + 0x1c], 0
jne 0x140022895
test dword [rbx + 0x80], 0x10000000
je 0x1400228cf
cmp ecx, 0x2e
jne 0x140022508
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.140022950
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x1400224fb
cmp word [rcx], 0x5c
jne 0x1400224f4
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x1400224ec
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400224d5
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x1400224e8
test r8b, 0x10
jne 0x1400224ec
movzx eax, word [rdx]
sub ax, 0x7b
test r15w, ax
jne 0x1400224ec
mov al, 1
jmp 0x1400224ee
xor al, al
test al, al
cmovne rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400213c0
jmp 0x14002287f
cmp ecx, 0x5c
jne 0x1400225e2
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x14002256c
cmp word [rcx], 0x5c
jne 0x140022565
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x14002255d
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140022546
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x140022559
test r8b, 0x10
jne 0x14002255d
movzx eax, word [rdx]
sub ax, 0x7b
test r15w, ax
jne 0x14002255d
mov al, 1
jmp 0x14002255f
xor al, al
test al, al
cmovne rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400213c0
mov eax, dword [rbx + 0x80]
and eax, 0x80
je 0x1400225a3
cmp word [rbx + 0x78], 0x62
jne 0x1400225a3
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140022950
mov rcx, rbx
call fcn.1400223d0
jmp 0x140022887
test eax, eax
je 0x1400225d5
cmp word [rbx + 0x78], 0x42
jne 0x1400225d5
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140022950
mov rax, qword [rbx + 0x48]
mov rcx, rbx
xor dword [rax + 0xc], 1
add rax, 0xc
call fcn.1400223d0
jmp 0x140022887
mov rcx, rbx
call fcn.140023560
jmp 0x14002287f
cmp ecx, 0x5b
jne 0x1400226b3
mov rcx, rbx
call fcn.1400223d0
lea rcx, [rbx + 0x40]
call fcn.140025000
mov eax, dword [rbx + 0x7c]
cmp eax, 0x5e
jne 0x140022617
mov rax, qword [rbx + 0x48]
mov rcx, rbx
xor dword [rax + 0xc], 1
call fcn.1400223d0
mov eax, dword [rbx + 0x7c]
test dword [rbx + 0x80], 0x20000000
je 0x14002269c
cmp eax, r14d
jne 0x14002269c
test dword [rbx + 0x50], 0x100
movzx esi, r14w
je 0x140022649
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 0x14002267d
mov ecx, 0x20
call fcn.140036a2c
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.1400223d0
mov rcx, rbx
call fcn.1400249b0
cmp dword [rbx + 0x7c], r14d
jne 0x1400228b9
jmp 0x140022877
cmp ecx, 0x28
jne 0x1400227ec
mov rcx, rbx
call fcn.1400223d0
inc dword [rbx + 0x1c]
mov eax, dword [rbx + 0x80]
bt eax, 0x1b
jb 0x1400226dd
cmp dword [rbx + 0x7c], 0x29
je 0x1400228da
test al, 0x20
je 0x140022744
cmp dword [rbx + 0x7c], 0x3f
jne 0x140022744
mov rcx, rbx
call fcn.1400223d0
mov edi, dword [rbx + 0x7c]
mov rcx, rbx
call fcn.1400223d0
cmp edi, 0x3a
jne 0x14002270c
mov rcx, rbx
call fcn.140024f60
jmp 0x1400227c6
cmp edi, 0x21
jne 0x140022726
mov dl, 1
mov rcx, rbx
call fcn.140024fb0
dec dword [rbx + 0x1c]
xor dil, dil
jmp 0x1400227cc
cmp edi, 0x3d
jne 0x1400228e5
xor edx, edx
mov rcx, rbx
call fcn.140024fb0
dec dword [rbx + 0x1c]
xor dil, dil
jmp 0x1400227cc
test dword [rbx + 0x70], 0x200
lea rcx, [rbx + 0x40]
je 0x140022774
mov edx, 8
call fcn.140022950
mov rcx, rbx
mov rdi, rax
call fcn.1400215d0
mov rdx, rdi
lea rcx, [rbx + 0x40]
call fcn.140021880
jmp 0x1400227c6
inc dword [rbx + 0x18]
mov edx, dword [rbx + 0x18]
call fcn.140021930
mov rcx, rbx
mov rsi, rax
call fcn.1400215d0
mov rdx, rsi
lea rcx, [rbx + 0x40]
call fcn.140021880
mov edx, dword [rbx + 0x18]
lea rdi, [rbx + 0x20]
inc edx
mov rcx, rdi
call fcn.140021d50
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 0x1400228f0
mov rcx, rbx
call fcn.1400223d0
test dil, dil
je 0x140022887
jmp 0x14002287f
cmp ecx, 0x5e
jne 0x140022809
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.140022950
mov rcx, rbx
call fcn.1400223d0
jmp 0x140022887
cmp ecx, 0x24
jne 0x140022826
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.140022950
mov rcx, rbx
call fcn.1400223d0
jmp 0x140022887
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1400228c4
cmp ecx, 0x3f
je 0x1400228c4
cmp ecx, 0x7b
je 0x1400228c4
cmp ecx, 0x7d
jne 0x140022859
test dword [rbx + 0x80], 0x10000000
je 0x1400228fb
cmp ecx, r14d
jne 0x14002286a
test dword [rbx + 0x80], 0x10000000
je 0x1400228ae
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140023910
mov rcx, rbx
call fcn.1400223d0
mov rcx, rbx
call fcn.140023740
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x140022465
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.1400213b0
int3
mov edx, 4
call fcn.1400213b0
int3
mov edx, 0xa
call fcn.1400213b0
int3
mov edx, 5
call fcn.1400213b0
int3
mov edx, 5
call fcn.1400213b0
int3
mov edx, SafeArrayDestroy
call fcn.1400213b0
int3
mov edx, 5
call fcn.1400213b0
int3
mov edx, 6
call fcn.1400213b0
int3