Function at 0x180022120
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x180022634
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x180022634
cmp ecx, 0x29
jne 0x180022171
cmp dword [rbx + 0x1c], 0
jne 0x180022634
test dword [rbx + 0x80], 0x10000000
je 0x18002264f
jmp 0x1800225c5
cmp ecx, 0x2e
jne 0x1800221d7
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.180022690
mov rcx, qword [rbx]
mov rax, qword [rdi]
cmp rcx, rax
je 0x180022612
cmp byte [rcx], 0x5c
jne 0x1800221cb
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x1800221cb
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1800221b7
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x1800221c8
test r8b, 0x10
jne 0x1800221cb
movzx eax, byte [rdx]
cmp al, 0x7b
je 0x1800221c8
cmp al, 0x7d
jne 0x1800221cb
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
jmp 0x180022612
cmp ecx, 0x5c
jne 0x18002232b
mov rcx, qword [rbx]
mov rax, qword [rdi]
cmp rcx, rax
je 0x18002222a
cmp byte [rcx], 0x5c
jne 0x180022223
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x180022223
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002220f
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x180022220
test r8b, 0x10
jne 0x180022223
movzx eax, byte [rdx]
cmp al, 0x7b
je 0x180022220
cmp al, 0x7d
jne 0x180022223
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180020e60
test byte [rbx + 0x80], 0x80
je 0x18002231e
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x1800222ac
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180022690
mov rcx, qword [rbx]
mov rax, qword [rdi]
cmp rcx, rax
je 0x18002229f
cmp byte [rcx], 0x5c
jne 0x180022298
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x180022298
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180022284
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x180022295
test r8b, 0x10
jne 0x180022298
movzx eax, byte [rdx]
cmp al, 0x7b
je 0x180022295
cmp al, 0x7d
jne 0x180022298
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180020e60
jmp 0x180022626
cmp al, 0x42
jne 0x18002231e
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180022690
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180022311
cmp byte [rax], 0x5c
jne 0x18002230b
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18002230b
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x1800222f6
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180022308
mov rax, qword [rbx]
test dl, 0x10
jne 0x18002230b
movzx edx, byte [rcx]
cmp dl, 0x7b
je 0x180022308
cmp dl, 0x7d
jne 0x18002230b
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180020e60
jmp 0x180022626
mov rcx, rbx
call fcn.180024270
jmp 0x18002261a
cmp ecx, 0x5b
jne 0x1800223ed
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x18002237f
cmp byte [rax], 0x5c
jne 0x180022379
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180022379
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180022364
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180022376
mov rax, qword [rbx]
test dl, 0x10
jne 0x180022379
movzx edx, byte [rcx]
cmp dl, 0x7b
je 0x180022376
cmp dl, 0x7d
jne 0x180022379
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180020e60
mov rcx, rbx
call fcn.1800240f0
cmp dword [rbx + 0x7c], 0x5d
jne 0x180022670
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180022612
cmp byte [rax], 0x5c
jne 0x1800223e2
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x1800223e2
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x1800223cd
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x1800223df
mov rax, qword [rbx]
test dl, 0x10
jne 0x1800223e2
movzx edx, byte [rcx]
cmp dl, 0x7b
je 0x1800223df
cmp dl, 0x7d
jne 0x1800223e2
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x180022612
cmp ecx, 0x28
jne 0x1800224bf
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180022441
cmp byte [rax], 0x5c
jne 0x18002243b
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x18002243b
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180022426
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180022438
mov rax, qword [rbx]
test dl, 0x10
jne 0x18002243b
movzx edx, byte [rcx]
cmp dl, 0x7b
je 0x180022438
cmp dl, 0x7d
jne 0x18002243b
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180020e60
mov rcx, rbx
call fcn.180024400
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x18002267b
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x1800224a9
cmp byte [rax], 0x5c
jne 0x1800224a3
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x1800224a3
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18002248e
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x1800224a0
mov rax, qword [rbx]
test dl, 0x10
jne 0x1800224a3
movzx edx, byte [rcx]
cmp dl, 0x7b
je 0x1800224a0
cmp dl, 0x7d
jne 0x1800224a3
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180020e60
test sil, sil
je 0x180022626
jmp 0x18002261a
cmp ecx, 0x5e
jne 0x18002251f
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.180022690
mov rcx, qword [rbx]
mov rax, qword [rdi]
cmp rcx, rax
je 0x180022512
cmp byte [rcx], 0x5c
jne 0x18002250f
inc rcx
cmp rcx, rax
je 0x18002250f
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x1800224fe
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18002250c
test dl, 0x10
jne 0x18002250f
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18002250f
mov qword [rbx], rcx
inc qword [rbx]
mov rcx, rbx
call fcn.180020e60
jmp 0x180022626
cmp ecx, 0x24
jne 0x18002257f
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.180022690
mov rcx, qword [rbx]
mov rax, qword [rdi]
cmp rcx, rax
je 0x180022572
cmp byte [rcx], 0x5c
jne 0x18002256f
inc rcx
cmp rcx, rax
je 0x18002256f
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x18002255e
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18002256c
test dl, 0x10
jne 0x18002256f
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18002256f
mov qword [rbx], rcx
inc qword [rbx]
mov rcx, rbx
call fcn.180020e60
jmp 0x180022626
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x180022665
cmp ecx, 0x3f
je 0x180022665
cmp ecx, 0x7b
je 0x180022665
cmp ecx, 0x7d
jne 0x1800225b4
test dword [rbx + 0x80], 0x10000000
je 0x18002265a
jmp 0x1800225c5
cmp ecx, 0x5d
jne 0x1800225c5
test dword [rbx + 0x80], 0x10000000
je 0x180022644
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.180024870
mov rcx, qword [rbx]
mov rax, qword [rdi]
cmp rcx, rax
je 0x180022612
cmp byte [rcx], 0x5c
jne 0x18002260f
inc rcx
cmp rcx, rax
je 0x18002260f
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x1800225fe
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x18002260c
test dl, 0x10
jne 0x18002260f
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x18002260f
mov qword [rbx], rcx
inc qword [rbx]
mov rcx, rbx
call fcn.180020e60
mov rcx, rbx
call fcn.180024620
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x180022144
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.180020e50
int3
mov edx, 5
call fcn.180020e50
int3
mov edx, 6
call fcn.180020e50
int3
mov edx, 0xa
call fcn.180020e50
int3
mov edx, 4
call fcn.180020e50
int3
mov edx, 5
call fcn.180020e50
int3