Function at 0x140022550
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x140022ab4
cmp ecx, 0x7c
je 0x140022ab4
cmp ecx, 0x29
jne 0x1400225a2
cmp dword [rbx + 0x1c], 0
jne 0x140022ab4
test dword [rbx + 0x80], 0x10000000
je 0x140022ad4
jmp 0x140022a3d
cmp ecx, 0x2e
jne 0x1400225ba
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.1400267c0
jmp 0x140022a4a
cmp ecx, 0x5c
jne 0x14002265e
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x14002260f
cmp byte [rcx], 0x5c
jne 0x140022608
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x140022605
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400225f6
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x140022608
test r8b, 0x10
jne 0x140022605
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x140022608
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027180
test byte [rbx + 0x80], 0x80
je 0x140022651
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x140022632
mov edx, 4
jmp 0x140022991
cmp al, 0x42
jne 0x140022651
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1400267c0
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14002299a
mov rcx, rbx
call fcn.140022b10
jmp 0x140022a9e
cmp ecx, 0x5b
jne 0x1400227b3
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x1400226b3
cmp byte [rcx], 0x5c
jne 0x1400226ac
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x1400226a9
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002269a
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x1400226ac
test r8b, 0x10
jne 0x1400226a9
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x1400226ac
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027180
lea rcx, [rbx + 0x40]
call fcn.140021d60
mov eax, dword [rbx + 0x7c]
cmp eax, 0x5e
jne 0x14002272b
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x140022720
cmp byte [rcx], 0x5c
jne 0x140022719
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x140022716
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140022707
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x140022719
test r8b, 0x10
jne 0x140022716
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x140022719
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027180
mov eax, dword [rbx + 0x7c]
test dword [rbx + 0x80], 0x20000000
je 0x14002279c
cmp eax, 0x5d
jne 0x14002279c
movzx edx, al
lea rcx, [rbx + 0x40]
call fcn.140021cd0
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x140022794
cmp byte [rcx], 0x5c
jne 0x14002278d
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x14002278a
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002277b
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14002278d
test r8b, 0x10
jne 0x14002278a
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x14002278d
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027180
mov rcx, rbx
call fcn.140023640
cmp dword [rbx + 0x7c], 0x5d
jne 0x140022ae2
jmp 0x140022a4a
cmp ecx, 0x28
jne 0x14002297f
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x140022808
cmp byte [rcx], 0x5c
jne 0x140022801
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x1400227fe
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400227ef
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x140022801
test r8b, 0x10
jne 0x1400227fe
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x140022801
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027180
inc dword [rbx + 0x1c]
mov eax, dword [rbx + 0x80]
bt eax, 0x1b
jb 0x140022829
cmp dword [rbx + 0x7c], 0x29
je 0x140022ad4
test al, 0x20
je 0x14002288a
cmp dword [rbx + 0x7c], 0x3f
jne 0x14002288a
mov rcx, rbx
call fcn.140026850
mov edi, dword [rbx + 0x7c]
mov rcx, rbx
call fcn.140026850
mov rcx, rbx
cmp edi, 0x3a
jne 0x140022858
call fcn.140024610
jmp 0x14002290d
cmp edi, 0x21
jne 0x14002286f
mov dl, 1
call fcn.140023d40
dec dword [rbx + 0x1c]
xor dil, dil
jmp 0x140022913
cmp edi, 0x3d
jne 0x140022ac9
xor edx, edx
call fcn.140023d40
dec dword [rbx + 0x1c]
xor dil, dil
jmp 0x140022913
test dword [rbx + 0x70], 0x200
lea rcx, [rbx + 0x40]
je 0x1400228ba
mov edx, 8
call fcn.1400267c0
mov rcx, rbx
mov rdi, rax
call fcn.140023a20
mov rdx, rdi
lea rcx, [rbx + 0x40]
call fcn.140024d60
jmp 0x14002290d
inc dword [rbx + 0x18]
mov edx, dword [rbx + 0x18]
call fcn.140022cd0
mov rcx, rbx
mov rsi, rax
call fcn.140023a20
mov rdx, rsi
lea rcx, [rbx + 0x40]
call fcn.140024d60
mov edx, dword [rbx + 0x18]
lea rcx, [rbx + 0x20]
inc edx
xor r8d, r8d
call fcn.140028fb0
mov r8d, dword [rsi + 0x20]
mov rax, qword [rbx + 0x20]
mov ecx, r8d
shr rcx, 5
and r8d, 0x1f
lea rdx, [rax + rcx*4]
mov eax, dword [rax + rcx*4]
bts eax, r8d
mov dword [rdx], eax
dec dword [rbx + 0x1c]
mov dil, 1
cmp dword [rbx + 0x7c], 0x29
jne 0x140022ad4
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x140022969
cmp byte [rcx], 0x5c
jne 0x140022962
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x14002295f
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140022950
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x140022962
test r8b, 0x10
jne 0x14002295f
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x140022962
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027180
test dil, dil
je 0x140022aa6
jmp 0x140022a9e
cmp ecx, 0x5e
jne 0x140022989
lea edx, [rcx - 0x5c]
jmp 0x140022991
cmp ecx, 0x24
jne 0x1400229f3
lea edx, [rcx - 0x21]
lea rcx, [rbx + 0x40]
call fcn.1400267c0
mov rax, qword [rbx + 0x10]
mov rcx, qword [rbx]
cmp rcx, rax
je 0x1400229e6
cmp byte [rcx], 0x5c
jne 0x1400229df
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x1400229dc
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400229cd
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x1400229df
test r8b, 0x10
jne 0x1400229dc
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x1400229df
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027180
jmp 0x140022aa6
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140022afe
cmp ecx, 0x3f
je 0x140022afe
cmp ecx, 0x7b
je 0x140022afe
cmp ecx, 0x7d
jne 0x140022a28
test dword [rbx + 0x80], 0x10000000
je 0x140022af0
jmp 0x140022a3d
cmp ecx, 0x5d
jne 0x140022a3d
test dword [rbx + 0x80], 0x10000000
je 0x140022ae2
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140021b00
mov rax, qword [rbx + 0x10]
mov rcx, qword [rbx]
cmp rcx, rax
je 0x140022a96
cmp byte [rcx], 0x5c
jne 0x140022a8f
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rdx, rax
je 0x140022a8c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140022a7d
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x140022a8f
test r8b, 0x10
jne 0x140022a8c
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
je 0x140022a8f
mov rcx, qword [rbx]
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027180
mov rcx, rbx
call fcn.140026980
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x140022575
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov edx, SafeArrayDestroy
call fcn.140024e20
int3
mov edx, 5
mov rcx, rbx
call fcn.140024e20
int3
mov edx, 4
mov rcx, rbx
call fcn.140024e20
int3
mov edx, 6
mov rcx, rbx
call fcn.140024e20
int3
mov edx, 0xa
mov rcx, rbx
call fcn.140024e20
int3