Function at 0x4065f0
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 0x406bd0
xor esi, esi
test ch, 0x10
jne 0x406a40
test bh, 0x40
jne 0x406a00
test bx, bx
js 0x406a90
test bh, 0x20
je 0x406663
test edi, edi
jne 0x406ad0
mov edx, 9
mov rcx, rsi
call fcn.00402780
mov rdx, qword [0x0041bd50]
mov rsi, rax
mov rax, qword [rax]
lea rax, [rsi + rax + 0x10]
mov qword [rax], rdx
movzx edx, word [0x0041bd58]
mov word [rax + 8], dx
add qword [rsi], 9
mov ecx, ebx
and cx, 0xfff
cmp cx, 0x16
je 0x406f80
jbe 0x4067c0
cmp cx, 0x25
je 0x406e00
jbe 0x4068d0
cmp cx, 0x44
je 0x407040
ja 0x406720
cmp cx, 0x41
je 0x406f00
jbe 0x406790
cmp cx, 0x42
je 0x406d20
cmp cx, 0x43
jne 0x406f20
lea rcx, [0x0041b860]
call fcn.00402510
mov rdi, rax
nop dword [rax]
test rdi, rdi
je 0x406bb0
mov rdx, qword [rdi]
mov rcx, rsi
call fcn.00402780
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_exit_29
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 0x406fa0
jbe 0x406760
cmp cx, 0x48
je 0x406d60
cmp cx, 0xfff
jne 0x406f20
lea rcx, [0x0041b760]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
cmp cx, 0x45
je 0x406d40
cmp cx, 0x46
jne 0x406f20
lea rcx, [0x0041b7c0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
cmp cx, 0x26
je 0x406d00
cmp cx, 0x40
jne 0x406f20
lea rcx, [0x0041b8c0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
cmp cx, 0xa
je 0x406e20
ja 0x406820
cmp cx, 4
je 0x406f60
jbe 0x406980
cmp cx, 7
je 0x406f40
jbe 0x4068a0
cmp cx, 8
je 0x406ca0
cmp cx, 9
jne 0x406f20
lea rcx, [0x0041bbe0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
cmp cx, 0x10
je 0x406e60
jbe 0x4069c0
cmp cx, 0x13
je 0x406e40
jbe 0x406870
cmp cx, 0x14
je 0x406ce0
cmp cx, 0x15
jne 0x406f20
lea rcx, [0x0041ba80]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
cmp cx, 0x11
je 0x406cc0
cmp cx, 0x12
jne 0x406f20
lea rcx, [0x0041bae0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
cmp cx, 5
je 0x406c80
cmp cx, 6
jne 0x406f20
lea rcx, [0x0041bc40]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
cmp cx, 0x1b
je 0x406ee0
jbe 0x406940
cmp cx, 0x1e
je 0x406ec0
jbe 0x406910
cmp cx, 0x1f
je 0x406c60
cmp cx, 0x24
jne 0x406f20
lea rcx, [0x0041b920]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
cmp cx, 0x1c
je 0x406c40
cmp cx, 0x1d
jne 0x406f20
lea rcx, [0x0041b980]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
cmp cx, 0x18
je 0x406ea0
jb 0x406e80
cmp cx, 0x19
je 0x406dc0
cmp cx, 0x1a
jne 0x406f20
lea rcx, [0x0041b9e0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
cmp cx, 1
je 0x407020
test cx, cx
je 0x407000
cmp cx, 2
je 0x406da0
cmp cx, 3
jne 0x406f20
lea rcx, [0x0041bca0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
cmp cx, 0xc
je 0x406fe0
jb 0x406fc0
cmp cx, 0xd
je 0x406d80
cmp cx, 0xe
jne 0x406f20
lea rcx, [0x0041bb40]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
mov edx, 9
mov rcx, rsi
call fcn.00402780
mov rdx, qword [0x0041bd90]
mov rsi, rax
mov rax, qword [rax]
lea rax, [rsi + rax + 0x10]
mov qword [rax], rdx
movzx edx, word [0x0041bd98]
mov word [rax + 8], dx
add qword [rsi], 9
test bx, bx
jns 0x406625
jmp 0x406a90
mov ecx, 0x1b
call fcn.0040fac0
mov rdx, qword [0x0041bdb0]
test bh, 0x40
mov rsi, rax
mov qword [rax + 8], 0xa
mov qword [rax], 0xa
mov qword [rax + 0x10], rdx
movzx edx, word [0x0041bdb8]
mov word [rax + 0x18], dx
movzx edx, byte [0x0041bdba]
mov byte [rax + 0x1a], dl
je 0x40661c
jmp 0x406a00
mov edx, 0xc
mov rcx, rsi
call fcn.00402780
mov rdx, qword [0x0041bd70]
mov rsi, rax
mov rax, qword [rax]
lea rax, [rsi + rax + 0x10]
mov qword [rax], rdx
mov edx, dword [0x0041bd78]
mov dword [rax + 8], edx
movzx edx, byte [0x0041bd7c]
mov byte [rax + 0xc], dl
add qword [rsi], 0xc
jmp 0x406625
lea rcx, [rsp + 0x28]
movsxd rdx, edi
mov qword [rsp + 0x28], 0
call fcn.004060d0
mov rbp, qword [rsp + 0x28]
test rbp, rbp
je 0x406bf0
mov rdx, qword [rbp]
lea r12, [rdx + 0xc]
cmp r12, 6
jg 0x406de0
mov rcx, qword [0x0048c100]
mov edx, 0x18
call fcn.00404620
mov rdi, rax
mov qword [rax + 8], 7
mov rax, qword [0x0041bd30]
lea r12, [rdi + 0x10]
lea rdx, [rbp + 0x10]
lea rcx, [rdi + 0x19]
mov qword [rdi + 0x10], rax
movzx eax, word [0x0041bd38]
mov word [r12 + 8], ax
mov qword [rdi], 9
mov rax, qword [rbp]
lea r8, [rax + 1]
call sub.msvcrt.dll_exit_29
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.00402780
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_exit_29
mov rax, qword [rdi]
add qword [rsi], rax
jmp 0x406663
xor edx, edx
mov rcx, rsi
call fcn.00402780
mov rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rcx, [0x0041bdc0]
call fcn.00402510
mov rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [0x0048c100]
mov edx, 0x1d
call fcn.00404620
mov edx, 0xc
mov qword [rax + 8], 0xc
lea r12, [rax + 0x10]
mov rdi, rax
mov rax, qword [0x0041bd30]
mov qword [rdi + 0x10], rax
movzx eax, word [0x0041bd38]
mov word [r12 + 8], ax
mov eax, 0x19
mov qword [rdi], 9
jmp 0x406b6d
lea rcx, [0x0041b9a0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041b940]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bc60]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bc00]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bb00]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041baa0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041b8e0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041b880]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041b7e0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041b780]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bb60]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bcc0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041ba00]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
mov rcx, qword [0x0048c100]
add rdx, 0x1d
call fcn.00404620
mov rdi, rax
mov qword [rax + 8], r12
jmp 0x406b22
lea rcx, [0x0041b900]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bbc0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bac0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bb20]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041ba40]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041ba20]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041b960]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041b9c0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041b8a0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bdc0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bc20]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bc80]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041ba60]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041b7a0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bba0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bb80]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bd00]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041bce0]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0
lea rcx, [0x0041b820]
call fcn.00402510
mov rdi, rax
jmp 0x4066d0