Function at 0x140058540
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 0x140058b2b
lea rdi, [rbx + 0x10]
cmp ecx, 0x7c
je 0x140058b2b
cmp ecx, 0x29
jne 0x140058591
cmp dword [rbx + 0x1c], 0
jne 0x140058b2b
test dword [rbx + 0x80], 0x10000000
je 0x140058b46
jmp 0x140058aba
cmp ecx, 0x2e
jne 0x140058626
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.140058b80
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x140058b09
cmp byte [rax], 0x5c
jne 0x1400588ab
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x140058618
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1400585ed
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x140058609
cmp cl, 0x29
je 0x140058609
mov rcx, rax
test r9b, 0x10
jne 0x140058618
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x140058609
mov rdx, rcx
cmp r8b, 0x7d
jne 0x140058618
lea rax, [rdx + 1]
inc rax
mov qword [rbx], rax
jmp 0x140058b09
mov rax, rcx
inc rax
mov qword [rbx], rax
jmp 0x140058b09
cmp ecx, 0x5c
jne 0x1400587d7
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x140058696
cmp byte [rax], cl
jne 0x140058690
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x14005868d
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x14005866b
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x140058687
cmp cl, 0x29
je 0x140058687
mov rcx, rax
test r9b, 0x10
jne 0x14005868d
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x140058687
mov rdx, rcx
cmp r8b, 0x7d
jne 0x14005868d
lea rax, [rdx + 1]
jmp 0x140058690
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140057380
test byte [rbx + 0x80], 0x80
je 0x1400587ca
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x14005874b
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140058b80
mov rax, qword [rbx]
mov rdx, qword [rdi]
cmp rax, rdx
je 0x14005873e
cmp byte [rax], 0x5c
jne 0x140058738
lea r8, [rax + 1]
mov rcx, rax
cmp r8, rdx
je 0x140058735
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140058702
movzx ecx, byte [r8]
mov rdx, rax
cmp cl, 0x28
je 0x14005871e
cmp cl, 0x29
je 0x14005871e
mov rcx, rax
test r9b, 0x10
jne 0x140058735
movzx r8d, byte [r8]
mov rdx, rax
cmp r8b, 0x7b
je 0x14005871e
mov rdx, rcx
cmp r8b, 0x7d
jne 0x140058735
lea rax, [rdx + 1]
mov rcx, rbx
inc rax
mov qword [rbx], rax
call fcn.140057380
jmp 0x140058b1d
mov rax, rcx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140057380
jmp 0x140058b1d
cmp al, 0x42
jne 0x1400587ca
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140058b80
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x1400587bd
cmp byte [rax], 0x5c
jne 0x1400587b7
lea r8, [rax + 1]
cmp r8, rcx
je 0x1400587b7
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x14005879c
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x1400587b3
cmp dl, 0x29
je 0x1400587b3
test r9b, 0x10
jne 0x1400587b7
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x1400587b3
cmp dl, 0x7d
jne 0x1400587b7
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140057380
jmp 0x140058b1d
mov rcx, rbx
call fcn.1400596b0
jmp 0x140058b11
cmp ecx, 0x5b
jne 0x1400588b6
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x140058839
cmp byte [rax], 0x5c
jne 0x140058833
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140058833
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140058819
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x14005882f
cmp r8b, 0x29
je 0x14005882f
test r9b, 0x10
jne 0x140058833
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x14005882f
cmp dl, 0x7d
jne 0x140058833
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140057380
mov rcx, rbx
call fcn.140059530
cmp dword [rbx + 0x7c], 0x5d
jne 0x140058b67
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140058b09
cmp byte [rax], 0x5c
jne 0x1400588ab
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400588ab
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x140058891
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x1400588a7
cmp r8b, 0x29
je 0x1400588a7
test r9b, 0x10
jne 0x1400588ab
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x1400588a7
cmp dl, 0x7d
jne 0x1400588ab
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
jmp 0x140058b09
cmp ecx, 0x28
jne 0x1400589a4
mov rax, qword [rbx]
mov rcx, qword [rdi]
cmp rax, rcx
je 0x140058918
cmp byte [rax], 0x5c
jne 0x140058912
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140058912
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x1400588f8
movzx r8d, byte [rdx]
mov rcx, rax
cmp r8b, 0x28
je 0x14005890e
cmp r8b, 0x29
je 0x14005890e
test r9b, 0x10
jne 0x140058912
movzx edx, byte [rdx]
mov rcx, rax
cmp dl, 0x7b
je 0x14005890e
cmp dl, 0x7d
jne 0x140058912
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140057380
mov rcx, rbx
call fcn.140059840
cmp dword [rbx + 0x7c], 0x29
movzx esi, al
jne 0x140058b72
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14005898e
cmp byte [rax], 0x5c
jne 0x140058988
lea r8, [rax + 1]
cmp r8, rcx
je 0x140058988
mov r9d, dword [rbx + 0x80]
test r9b, 8
jne 0x14005896d
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x28
je 0x140058984
cmp dl, 0x29
je 0x140058984
test r9b, 0x10
jne 0x140058988
movzx edx, byte [r8]
mov rcx, rax
cmp dl, 0x7b
je 0x140058984
cmp dl, 0x7d
jne 0x140058988
lea rax, [rcx + 1]
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140057380
test sil, sil
je 0x140058b1d
jmp 0x140058b11
cmp ecx, 0x5e
jne 0x140058a0a
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.140058b80
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x1400589fd
cmp byte [rax], 0x5c
jne 0x1400589fa
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x1400589fa
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x1400589e9
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x1400589f7
test dl, 0x10
jne 0x1400589fa
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x1400589fa
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.140057380
jmp 0x140058b1d
cmp ecx, 0x24
jne 0x140058a70
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.140058b80
mov rdx, qword [rbx + 0x10]
lea rdi, [rbx + 0x10]
mov rax, qword [rbx]
cmp rax, rdx
je 0x140058a63
cmp byte [rax], 0x5c
jne 0x140058a60
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x140058a60
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x140058a4f
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x140058a5d
test dl, 0x10
jne 0x140058a60
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x140058a60
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.140057380
jmp 0x140058b1d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140058b5c
cmp ecx, 0x3f
je 0x140058b5c
cmp ecx, 0x7b
je 0x140058b5c
cmp ecx, 0x7d
jne 0x140058aa5
test dword [rbx + 0x80], 0x10000000
je 0x140058b51
jmp 0x140058aba
cmp ecx, 0x5d
jne 0x140058aba
test dword [rbx + 0x80], 0x10000000
je 0x140058b3b
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140059d80
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x140058b09
cmp byte [rax], 0x5c
jne 0x140058b06
lea rcx, [rax + 1]
cmp rcx, rdx
je 0x140058b06
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x140058af5
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x140058b03
test dl, 0x10
jne 0x140058b06
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x140058b06
inc qword [rbx]
inc qword [rbx]
mov rcx, rbx
call fcn.140057380
mov rcx, rbx
call fcn.140059b30
lea rdi, [rbx + 0x10]
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x140058564
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.140057370
int3
mov edx, 5
call fcn.140057370
int3
mov edx, 6
call fcn.140057370
int3
mov edx, 0xa
call fcn.140057370
int3
mov edx, 4
call fcn.140057370
int3
mov edx, 5
call fcn.140057370
int3