Function at 0x1800317c0
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 0x180031dab
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x180031dab
cmp ecx, 0x29
jne 0x180031811
cmp dword [rbx + 0x1c], 0
jne 0x180031dab
test dword [rbx + 0x80], 0x10000000
je 0x180031dc6
jmp 0x180031d3a
cmp ecx, 0x2e
jne 0x1800318a6
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.1800321e0
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180031d89
cmp byte [rax], 0x5c
jne 0x180031b2b
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x180031898
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18003186d
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x180031889
cmp cl, 0x29
je 0x180031889
mov rcx, rax
test r9b, 0x10
jne 0x180031898
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x180031889
mov rdx, rcx
cmp r8b, 0x7d
jne 0x180031898
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x180031d89
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x180031d89
cmp ecx, 0x5c
jne 0x180031a57
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180031916
cmp byte [rax], cl
jne 0x180031910
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18003190d
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1800318eb
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x180031907
cmp cl, 0x29
je 0x180031907
mov rcx, rax
test r9b, 0x10
jne 0x18003190d
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x180031907
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18003190d
lea rax, [rdx + 1]
jmp 0x180031910
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180030ec0
test byte [rbx + 0x80], 0x80
je 0x180031a4a
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x1800319cb
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1800321e0
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x1800319be
cmp byte [rax], 0x5c
jne 0x1800319b8
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x1800319b5
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180031982
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x18003199e
cmp cl, 0x29
je 0x18003199e
mov rcx, rax
test r9b, 0x10
jne 0x1800319b5
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x18003199e
mov rdx, rcx
cmp r8b, 0x7d
jne 0x1800319b5
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.180030ec0
jmp 0x180031d9d
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180030ec0
jmp 0x180031d9d
cmp al, 0x42
jne 0x180031a4a
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1800321e0
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180031a3d
cmp byte [rax], 0x5c
jne 0x180031a37
lea r8, [rax + 1]
cmp r8, rcx
je 0x180031a37
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180031a1c
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x180031a33
cmp dl, 0x29
je 0x180031a33
test r9b, 0x10
jne 0x180031a37
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x180031a33
cmp dl, 0x7d
jne 0x180031a37
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180030ec0
jmp 0x180031d9d
mov rcx, rbx
call fcn.18002f0c0
jmp 0x180031d91
cmp ecx, 0x5b
jne 0x180031b36
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180031ab9
cmp byte [rax], 0x5c
jne 0x180031ab3
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180031ab3
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180031a99
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x180031aaf
cmp r8b, 0x29
je 0x180031aaf
test r9b, 0x10
jne 0x180031ab3
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x180031aaf
cmp dl, 0x7d
jne 0x180031ab3
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180030ec0
mov rcx, rbx
call fcn.180030820
cmp dword [rbx + 0x7c], 0x5d
jne 0x180031de7
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x180031d89
cmp byte [rax], 0x5c
jne 0x180031b2b
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180031b2b
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180031b11
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x180031b27
cmp r8b, 0x29
je 0x180031b27
test r9b, 0x10
jne 0x180031b2b
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x180031b27
cmp dl, 0x7d
jne 0x180031b2b
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x180031d89
cmp ecx, 0x28
jne 0x180031c24
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x180031b98
cmp byte [rax], 0x5c
jne 0x180031b92
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180031b92
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180031b78
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x180031b8e
cmp r8b, 0x29
je 0x180031b8e
test r9b, 0x10
jne 0x180031b92
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x180031b8e
cmp dl, 0x7d
jne 0x180031b92
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180030ec0
mov rcx, rbx
call fcn.180030b80
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x180031df2
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x180031c0e
cmp byte [rax], 0x5c
jne 0x180031c08
lea r8, [rax + 1]
cmp r8, rcx
je 0x180031c08
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180031bed
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x180031c04
cmp dl, 0x29
je 0x180031c04
test r9b, 0x10
jne 0x180031c08
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x180031c04
cmp dl, 0x7d
jne 0x180031c08
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180030ec0
test sil, sil
je 0x180031d9d
jmp 0x180031d91
cmp ecx, 0x5e
jne 0x180031c8a
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.1800321e0
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x180031c7d
cmp byte [rax], 0x5c
jne 0x180031c7a
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180031c7a
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180031c69
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180031c77
test dl, 0x10
jne 0x180031c7a
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180031c7a
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180030ec0
jmp 0x180031d9d
cmp ecx, 0x24
jne 0x180031cf0
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.1800321e0
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x180031ce3
cmp byte [rax], 0x5c
jne 0x180031ce0
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180031ce0
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180031ccf
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180031cdd
test dl, 0x10
jne 0x180031ce0
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180031ce0
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180030ec0
jmp 0x180031d9d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x180031ddc
cmp ecx, 0x3f
je 0x180031ddc
cmp ecx, 0x7b
je 0x180031ddc
cmp ecx, 0x7d
jne 0x180031d25
test dword [rbx + 0x80], 0x10000000
je 0x180031dd1
jmp 0x180031d3a
cmp ecx, 0x5d
jne 0x180031d3a
test dword [rbx + 0x80], 0x10000000
je 0x180031dbb
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.1800311e0
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x180031d89
cmp byte [rax], 0x5c
jne 0x180031d86
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180031d86
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180031d75
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180031d83
test dl, 0x10
jne 0x180031d86
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180031d86
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.180030ec0
mov rcx, rbx
call fcn.180031600
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x1800317e4
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.180032120
int3
mov edx, 5
call fcn.180032120
int3
mov edx, 6
call fcn.180032120
int3
mov edx, 0xa
call fcn.180032120
int3
mov edx, 4
call fcn.180032120
int3
mov edx, 5
call fcn.180032120
int3