Function at 0x140047920
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x140047c72
mov ebp, 0x5d
mov r14d, 0xfffd
nop
cmp ecx, 0x7c
je 0x140047c72
cmp ecx, 0x29
jne 0x140047978
cmp dword [rbx + 0x1c], 0
jne 0x140047c72
test dword [rbx + 0x80], 0x10000000
je 0x140047ca6
cmp ecx, 0x2e
jne 0x1400479f3
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.140047d10
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x1400479e6
cmp word [rcx], 0x5c
jne 0x1400479df
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x1400479d7
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400479c0
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x1400479d3
test r8b, 0x10
jne 0x1400479d7
movzx eax, word [rdx]
sub ax, 0x7b
test r14w, ax
jne 0x1400479d7
mov al, 1
jmp 0x1400479d9
xor al, al
test al, al
cmovne rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140046e90
jmp 0x140047c5c
cmp ecx, 0x5c
jne 0x140047acd
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x140047a57
cmp word [rcx], 0x5c
jne 0x140047a50
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x140047a48
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140047a31
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x140047a44
test r8b, 0x10
jne 0x140047a48
movzx eax, word [rdx]
sub ax, 0x7b
test r14w, ax
jne 0x140047a48
mov al, 1
jmp 0x140047a4a
xor al, al
test al, al
cmovne rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140046e90
mov eax, dword [rbx + 0x80]
and eax, 0x80
je 0x140047a8e
cmp word [rbx + 0x78], 0x62
jne 0x140047a8e
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140047d10
mov rcx, rbx
call fcn.1400478c0
jmp 0x140047c64
test eax, eax
je 0x140047ac0
cmp word [rbx + 0x78], 0x42
jne 0x140047ac0
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140047d10
mov rax, qword [rbx + 0x48]
mov rcx, rbx
xor dword [rax + 0xc], 1
add rax, 0xc
call fcn.1400478c0
jmp 0x140047c64
mov rcx, rbx
call fcn.1400481b0
jmp 0x140047c5c
cmp ecx, 0x5b
jne 0x140047b9a
mov rcx, rbx
call fcn.1400478c0
lea rcx, [rbx + 0x40]
call fcn.14004a750
mov eax, dword [rbx + 0x7c]
cmp eax, 0x5e
jne 0x140047b02
mov rax, qword [rbx + 0x48]
mov rcx, rbx
xor dword [rax + 0xc], 1
call fcn.1400478c0
mov eax, dword [rbx + 0x7c]
test dword [rbx + 0x80], 0x20000000
je 0x140047b84
cmp eax, ebp
jne 0x140047b84
test dword [rbx + 0x50], 0x100
movzx esi, bp
je 0x140047b31
mov rax, qword [rbx + 0x58]
mov edx, ebp
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
call qword [rax + 0x40]
movzx esi, ax
mov rdi, qword [rbx + 0x48]
mov rcx, qword [rdi + 0x28]
test rcx, rcx
jne 0x140047b65
mov ecx, 0x20
call fcn.14005572c
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov rcx, rax
mov qword [rdi + 0x28], rax
movzx edx, si
mov eax, edx
and edx, 7
shr rax, 3
add rcx, rax
movzx eax, byte [rcx]
bts eax, edx
mov byte [rcx], al
mov rcx, rbx
call fcn.1400478c0
mov rcx, rbx
call fcn.14004a100
cmp dword [rbx + 0x7c], ebp
jne 0x140047c90
jmp 0x140047c54
cmp ecx, 0x28
jne 0x140047bd2
mov rcx, rbx
call fcn.1400478c0
mov rcx, rbx
call fcn.140048390
cmp dword [rbx + 0x7c], 0x29
movzx edi, al
jne 0x140047cb1
mov rcx, rbx
call fcn.1400478c0
test dil, dil
je 0x140047c64
jmp 0x140047c5c
cmp ecx, 0x5e
jne 0x140047bef
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.140047d10
mov rcx, rbx
call fcn.1400478c0
jmp 0x140047c64
cmp ecx, 0x24
jne 0x140047c0c
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.140047d10
mov rcx, rbx
call fcn.1400478c0
jmp 0x140047c64
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140047c9b
cmp ecx, 0x3f
je 0x140047c9b
cmp ecx, 0x7b
je 0x140047c9b
cmp ecx, 0x7d
jne 0x140047c37
test dword [rbx + 0x80], 0x10000000
je 0x140047cbc
cmp ecx, ebp
jne 0x140047c47
test dword [rbx + 0x80], 0x10000000
je 0x140047c85
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.1400486d0
mov rcx, rbx
call fcn.1400478c0
mov rcx, rbx
call fcn.140048500
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x140047950
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov edx, 4
call fcn.140046e80
int3
mov edx, 4
call fcn.140046e80
int3
mov edx, 0xa
call fcn.140046e80
int3
mov edx, 5
call fcn.140046e80
int3
mov edx, 5
call fcn.140046e80
int3
mov edx, 6
call fcn.140046e80
int3