Function at 0x180040500
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 0x180040aeb
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x180040aeb
cmp ecx, 0x29
jne 0x180040551
cmp dword [rbx + 0x1c], 0
jne 0x180040aeb
test dword [rbx + 0x80], 0x10000000
je 0x180040b06
jmp 0x180040a7a
cmp ecx, 0x2e
jne 0x1800405e6
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.180040b40
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180040ac9
cmp byte [rax], 0x5c
jne 0x18004086b
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x1800405d8
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1800405ad
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x1800405c9
cmp cl, 0x29
je 0x1800405c9
mov rcx, rax
test r9b, 0x10
jne 0x1800405d8
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x1800405c9
mov rdx, rcx
cmp r8b, 0x7d
jne 0x1800405d8
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x180040ac9
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x180040ac9
cmp ecx, 0x5c
jne 0x180040797
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x180040656
cmp byte [rax], cl
jne 0x180040650
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x18004064d
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004062b
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x180040647
cmp cl, 0x29
je 0x180040647
mov rcx, rax
test r9b, 0x10
jne 0x18004064d
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x180040647
mov rdx, rcx
cmp r8b, 0x7d
jne 0x18004064d
lea rax, [rdx + 1]
jmp 0x180040650
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18003fdd0
test byte [rbx + 0x80], 0x80
je 0x18004078a
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18004070b
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180040b40
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x1800406fe
cmp byte [rax], 0x5c
jne 0x1800406f8
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x1800406f5
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1800406c2
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x1800406de
cmp cl, 0x29
je 0x1800406de
mov rcx, rax
test r9b, 0x10
jne 0x1800406f5
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x1800406de
mov rdx, rcx
cmp r8b, 0x7d
jne 0x1800406f5
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.18003fdd0
jmp 0x180040add
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18003fdd0
jmp 0x180040add
cmp al, 0x42
jne 0x18004078a
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.180040b40
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x18004077d
cmp byte [rax], 0x5c
jne 0x180040777
lea r8, [rax + 1]
cmp r8, rcx
je 0x180040777
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004075c
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x180040773
cmp dl, 0x29
je 0x180040773
test r9b, 0x10
jne 0x180040777
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x180040773
cmp dl, 0x7d
jne 0x180040777
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18003fdd0
jmp 0x180040add
mov rcx, rbx
call fcn.180040f40
jmp 0x180040ad1
cmp ecx, 0x5b
jne 0x180040876
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x1800407f9
cmp byte [rax], 0x5c
jne 0x1800407f3
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1800407f3
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1800407d9
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x1800407ef
cmp r8b, 0x29
je 0x1800407ef
test r9b, 0x10
jne 0x1800407f3
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x1800407ef
cmp dl, 0x7d
jne 0x1800407f3
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18003fdd0
mov rcx, rbx
call fcn.180040dc0
cmp dword [rbx + 0x7c], 0x5d
jne 0x180040b27
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x180040ac9
cmp byte [rax], 0x5c
jne 0x18004086b
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18004086b
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x180040851
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x180040867
cmp r8b, 0x29
je 0x180040867
test r9b, 0x10
jne 0x18004086b
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x180040867
cmp dl, 0x7d
jne 0x18004086b
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x180040ac9
cmp ecx, 0x28
jne 0x180040964
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x1800408d8
cmp byte [rax], 0x5c
jne 0x1800408d2
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1800408d2
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1800408b8
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x1800408ce
cmp r8b, 0x29
je 0x1800408ce
test r9b, 0x10
jne 0x1800408d2
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x1800408ce
cmp dl, 0x7d
jne 0x1800408d2
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18003fdd0
mov rcx, rbx
call fcn.1800410d0
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x180040b32
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18004094e
cmp byte [rax], 0x5c
jne 0x180040948
lea r8, [rax + 1]
cmp r8, rcx
je 0x180040948
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x18004092d
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x180040944
cmp dl, 0x29
je 0x180040944
test r9b, 0x10
jne 0x180040948
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x180040944
cmp dl, 0x7d
jne 0x180040948
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18003fdd0
test sil, sil
je 0x180040add
jmp 0x180040ad1
cmp ecx, 0x5e
jne 0x1800409ca
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.180040b40
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x1800409bd
cmp byte [rax], 0x5c
jne 0x1800409ba
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x1800409ba
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x1800409a9
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x1800409b7
test dl, 0x10
jne 0x1800409ba
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x1800409ba
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18003fdd0
jmp 0x180040add
cmp ecx, 0x24
jne 0x180040a30
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.180040b40
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x180040a23
cmp byte [rax], 0x5c
jne 0x180040a20
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180040a20
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180040a0f
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180040a1d
test dl, 0x10
jne 0x180040a20
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180040a20
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18003fdd0
jmp 0x180040add
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x180040b1c
cmp ecx, 0x3f
je 0x180040b1c
cmp ecx, 0x7b
je 0x180040b1c
cmp ecx, 0x7d
jne 0x180040a65
test dword [rbx + 0x80], 0x10000000
je 0x180040b11
jmp 0x180040a7a
cmp ecx, 0x5d
jne 0x180040a7a
test dword [rbx + 0x80], 0x10000000
je 0x180040afb
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.1800414f0
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x180040ac9
cmp byte [rax], 0x5c
jne 0x180040ac6
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x180040ac6
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x180040ab5
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x180040ac3
test dl, 0x10
jne 0x180040ac6
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x180040ac6
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.18003fdd0
mov rcx, rbx
call fcn.1800412a0
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x180040524
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.18003fdc0
int3
mov edx, 5
call fcn.18003fdc0
int3
mov edx, 6
call fcn.18003fdc0
int3
mov edx, 0xa
call fcn.18003fdc0
int3
mov edx, 4
call fcn.18003fdc0
int3
mov edx, 5
call fcn.18003fdc0
int3