Function at 0x406780
Capabilities:
Parse credit card information

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp cx, 0xffff
mov ebx, ecx
mov edi, edx
je 0x406d60
xor esi, esi
test ch, 0x10
jne 0x406bd0
test bh, 0x40
jne 0x406b90
test bx, bx
js 0x406c20
test bh, 0x20
je 0x4067f3
test edi, edi
jne 0x406c60
mov edx, 9
mov rcx, rsi
call fcn.00402170
mov rdx, qword [0x00419d10]
mov rsi, rax
mov rax, qword [rax]
lea rax, [rsi + rax + 0x10]
mov qword [rax], rdx
movzx edx, word [0x00419d18]
mov word [rax + 8], dx
add qword [rsi], 9
mov ecx, ebx
and cx, 0xfff
cmp cx, 0x16
je 0x407110
jbe 0x406950
cmp cx, 0x25
je 0x406f90
jbe 0x406a60
cmp cx, 0x44
je 0x4071d0
ja 0x4068b0
cmp cx, 0x41
je 0x407090
jbe 0x406920
cmp cx, 0x42
je 0x406eb0
cmp cx, 0x43
jne 0x4070b0
lea rcx, [0x00419820]
call fcn.00404040
mov rdi, rax
nop dword [rax]
test rdi, rdi
je 0x406d40
mov rdx, qword [rdi]
mov rcx, rsi
call fcn.00402170
lea rdx, [rdi + 0x10]
mov rbx, rax
mov rax, qword [rax]
lea rcx, [rbx + rax + 0x10]
mov rax, qword [rdi]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [rdi]
add qword [rbx], rax
mov rax, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp cx, 0x47
je 0x407130
jbe 0x4068f0
cmp cx, 0x48
je 0x406ef0
cmp cx, 0xfff
jne 0x4070b0
lea rcx, [0x00419720]
call fcn.00404040
mov rdi, rax
jmp 0x406860
cmp cx, 0x45
je 0x406ed0
cmp cx, 0x46
jne 0x4070b0
lea rcx, [0x00419780]
call fcn.00404040
mov rdi, rax
jmp 0x406860
cmp cx, 0x26
je 0x406e90
cmp cx, 0x40
jne 0x4070b0
lea rcx, [0x00419880]
call fcn.00404040
mov rdi, rax
jmp 0x406860
cmp cx, 0xa
je 0x406fb0
ja 0x4069b0
cmp cx, 4
je 0x4070f0
jbe 0x406b10
cmp cx, 7
je 0x4070d0
jbe 0x406a30
cmp cx, 8
je 0x406e30
cmp cx, 9
jne 0x4070b0
lea rcx, [0x00419ba0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
cmp cx, 0x10
je 0x406ff0
jbe 0x406b50
cmp cx, 0x13
je 0x406fd0
jbe 0x406a00
cmp cx, 0x14
je 0x406e70
cmp cx, 0x15
jne 0x4070b0
lea rcx, [0x00419a40]
call fcn.00404040
mov rdi, rax
jmp 0x406860
cmp cx, 0x11
je 0x406e50
cmp cx, 0x12
jne 0x4070b0
lea rcx, [0x00419aa0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
cmp cx, 5
je 0x406e10
cmp cx, 6
jne 0x4070b0
lea rcx, [0x00419c00]
call fcn.00404040
mov rdi, rax
jmp 0x406860
cmp cx, 0x1b
je 0x407070
jbe 0x406ad0
cmp cx, 0x1e
je 0x407050
jbe 0x406aa0
cmp cx, 0x1f
je 0x406df0
cmp cx, 0x24
jne 0x4070b0
lea rcx, [0x004198e0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
cmp cx, 0x1c
je 0x406dd0
cmp cx, 0x1d
jne 0x4070b0
lea rcx, [0x00419940]
call fcn.00404040
mov rdi, rax
jmp 0x406860
cmp cx, 0x18
je 0x407030
jb 0x407010
cmp cx, 0x19
je 0x406f50
cmp cx, 0x1a
jne 0x4070b0
lea rcx, [0x004199a0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
cmp cx, 1
je 0x4071b0
test cx, cx
je 0x407190
cmp cx, 2
je 0x406f30
cmp cx, 3
jne 0x4070b0
lea rcx, [0x00419c60]
call fcn.00404040
mov rdi, rax
jmp 0x406860
cmp cx, 0xc
je 0x407170
jb 0x407150
cmp cx, 0xd
je 0x406f10
cmp cx, 0xe
jne 0x4070b0
lea rcx, [0x00419b00]
call fcn.00404040
mov rdi, rax
jmp 0x406860
mov edx, 9
mov rcx, rsi
call fcn.00402170
mov rdx, qword [0x00419d50]
mov rsi, rax
mov rax, qword [rax]
lea rax, [rsi + rax + 0x10]
mov qword [rax], rdx
movzx edx, word [0x00419d58]
mov word [rax + 8], dx
add qword [rsi], 9
test bx, bx
jns 0x4067b5
jmp 0x406c20
mov ecx, 0x1b
call fcn.0040eeb0
mov rdx, qword [0x00419d70]
test bh, 0x40
mov rsi, rax
mov qword [rax + 8], 0xa
mov qword [rax], 0xa
mov qword [rax + 0x10], rdx
movzx edx, word [0x00419d78]
mov word [rax + 0x18], dx
movzx edx, byte [0x00419d7a]
mov byte [rax + 0x1a], dl
je 0x4067ac
jmp 0x406b90
mov edx, 0xc
mov rcx, rsi
call fcn.00402170
mov rdx, qword [0x00419d30]
mov rsi, rax
mov rax, qword [rax]
lea rax, [rsi + rax + 0x10]
mov qword [rax], rdx
mov edx, dword [0x00419d38]
mov dword [rax + 8], edx
movzx edx, byte [0x00419d3c]
mov byte [rax + 0xc], dl
add qword [rsi], 0xc
jmp 0x4067b5
lea rcx, [rsp + 0x28]
mov edx, 1
mov qword [rsp + 0x28], 0
call fcn.00406260
mov rbp, qword [rsp + 0x28]
test rbp, rbp
je 0x406d80
mov rdx, qword [rbp]
lea r12, [rdx + 0xc]
cmp r12, 6
jg 0x406f70
mov rcx, qword [0x0041e6a0]
mov edx, 0x18
call fcn.00404110
mov rdi, rax
mov qword [rax + 8], 7
mov rax, qword [0x00419cf0]
lea r12, [rdi + 0x10]
lea rdx, [rbp + 0x10]
lea rcx, [rdi + 0x19]
mov qword [rdi + 0x10], rax
movzx eax, word [0x00419cf8]
mov word [r12 + 8], ax
mov qword [rdi], 9
mov rax, qword [rbp]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rdx, qword [rbp]
lea rax, [rdx + 9]
mov qword [rdi], rax
lea rax, [rdx + 0x19]
add rdx, 0xc
mov rcx, rsi
mov dword [rdi + rax], 0x7c2944
mov qword [rdi], rdx
call fcn.00402170
mov r8, qword [rdi]
mov rdx, r12
mov rsi, rax
mov rax, qword [rax]
add r8, 1
lea rcx, [rsi + rax + 0x10]
call sub.msvcrt.dll_memcpy
mov rax, qword [rdi]
add qword [rsi], rax
jmp 0x4067f3
xor edx, edx
mov rcx, rsi
call fcn.00402170
mov rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rcx, [0x00419d80]
call fcn.00403e90
mov rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [0x0041e6a0]
mov edx, 0x1d
call fcn.00404110
mov edx, 0xc
mov qword [rax + 8], 0xc
lea r12, [rax + 0x10]
mov rdi, rax
mov rax, qword [0x00419cf0]
mov qword [rdi + 0x10], rax
movzx eax, word [0x00419cf8]
mov word [r12 + 8], ax
mov eax, 0x19
mov qword [rdi], 9
jmp 0x406cff
lea rcx, [0x00419960]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419900]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419c20]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419bc0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419ac0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419a60]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x004198a0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419840]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x004197a0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419740]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419b20]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419c80]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x004199c0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
mov rcx, qword [0x0041e6a0]
add rdx, 0x1d
call fcn.00404110
mov rdi, rax
mov qword [rax + 8], r12
jmp 0x406cb4
lea rcx, [0x004198c0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419b80]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419a80]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419ae0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419a00]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x004199e0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419920]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419980]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419860]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419d80]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419be0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419c40]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419a20]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419760]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419b60]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419b40]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419cc0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x00419ca0]
call fcn.00404040
mov rdi, rax
jmp 0x406860
lea rcx, [0x004197e0]
call fcn.00404040
mov rdi, rax
jmp 0x406860