Function at 0x140066060
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x30
movsxd rsi, r8d
mov rdi, rdx
mov qword [rbp + 0x38], 0
mov rbx, rcx
cmp esi, 0xa
ja case.default.0x1400660ab
mov qword [rsp + 0x50], r15
lea r15, [0x140000000]
nop word [rax + rax]
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
cmp dword [rbx + 4], 0x3f
jne case.0x1400666c3.1
mov rcx, rbx
call fcn.140067860
xor r8d, r8d
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
mov eax, dword [rbx + 4]
cmp eax, 0x2c
je 0x1400660b3
mov rcx, rbx
cmp eax, 0x3a
jne case.default.0x140066116
call fcn.140067860
xor r8d, r8d
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1400674d0
cmp dword [rdi], 0
mov ecx, dword [rbp - 0xc]
mov eax, dword [rbp - 0x10]
cmovne eax, dword [rbp + 0x38]
cmp dword [rbp + 0x3c], ecx
mov dword [rdi], eax
cmova ecx, dword [rbp + 0x3c]
mov dword [rdi + 4], ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
cmp dword [rbx + 4], 0x104
jne case.0x1400666c3.2
mov rcx, rbx
call fcn.140067860
mov r8d, 2
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
cmp dword [rdi], 0
jne case.default.0x14006615c
cmp dword [rbp + 0x38], 0
jne case.default.0x14006615c
mov ecx, dword [r15 + rsi*4 + 0x66700]
xor eax, eax
mov dword [rdi], eax
add rcx, r15
mov dword [rdi + 4], 9
jmp rcx
mov ecx, dword [r15 + rsi*4 + 0x66700]
mov eax, 1
mov dword [rdi], eax
add rcx, r15
mov dword [rdi + 4], 9
jmp rcx
cmp dword [rbx + 4], 0x105
jne case.0x1400666c3.3
mov rcx, rbx
call fcn.140067860
mov r8d, 3
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
cmp dword [rdi], 0
je case.default.0x1400661c0
cmp dword [rbp + 0x38], 0
je case.default.0x1400661c0
mov ecx, dword [r15 + rsi*4 + 0x66700]
mov eax, 1
mov dword [rdi], eax
add rcx, r15
mov dword [rdi + 4], 9
jmp rcx
mov ecx, dword [r15 + rsi*4 + 0x66700]
xor eax, eax
mov dword [rdi], eax
add rcx, r15
mov dword [rdi + 4], 9
jmp rcx
cmp dword [rbx + 4], 0x7c
jne case.0x1400666c3.4
mov rcx, rbx
call fcn.140067860
mov r8d, 4
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
mov eax, dword [rbp + 0x38]
or dword [rdi], eax
jmp 0x14006659d
cmp dword [rbx + 4], 0x5e
jne case.0x1400666c3.5
mov rcx, rbx
call fcn.140067860
mov r8d, 5
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
mov eax, dword [rbp + 0x38]
xor dword [rdi], eax
jmp 0x14006659d
cmp dword [rbx + 4], 0x26
jne case.0x1400666c3.6
mov rcx, rbx
call fcn.140067860
mov r8d, 6
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
mov eax, dword [rbp + 0x38]
and dword [rdi], eax
jmp 0x14006659d
mov eax, dword [rbx + 4]
cmp eax, 0x106
jne case.default.0x14006629a
mov rcx, rbx
call fcn.140067860
mov r8d, 7
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rdi], eax
mov dword [rdi + 4], 9
sete cl
mov dword [rdi], ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
cmp eax, 0x107
jne case.0x1400666c3.7
mov rcx, rbx
call fcn.140067860
mov r8d, 7
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rdi], eax
mov dword [rdi + 4], 9
setne cl
mov dword [rdi], ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
mov eax, dword [rbx + 4]
cmp eax, 0x3c
jne 0x14006634b
mov rcx, rbx
call fcn.140067860
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
cmp dword [rdi + 4], 9
jne case.default.0x140066329
cmp dword [rbp + 0x3c], 9
jne case.default.0x140066329
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rdi], eax
mov dword [rdi + 4], 9
setl cl
mov dword [rdi], ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rdi], eax
mov dword [rdi + 4], 9
setb cl
mov dword [rdi], ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
cmp eax, 0x3e
jne 0x1400663b6
mov rcx, rbx
call fcn.140067860
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
cmp dword [rdi + 4], 9
jne case.default.0x140066394
cmp dword [rbp + 0x3c], 9
jne case.default.0x140066394
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rdi], eax
mov dword [rdi + 4], 9
setg cl
mov dword [rdi], ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rdi], eax
mov dword [rdi + 4], 9
seta cl
mov dword [rdi], ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
cmp eax, 0x108
jne 0x140066423
mov rcx, rbx
call fcn.140067860
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
cmp dword [rdi + 4], 9
jne case.default.0x140066401
cmp dword [rbp + 0x3c], 9
jne case.default.0x140066401
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rdi], eax
mov dword [rdi + 4], 9
setle cl
mov dword [rdi], ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rdi], eax
mov dword [rdi + 4], 9
setbe cl
mov dword [rdi], ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
cmp eax, 0x109
jne case.0x1400666c3.8
mov rcx, rbx
call fcn.140067860
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
cmp dword [rdi + 4], 9
jne case.default.0x14006646e
cmp dword [rbp + 0x3c], 9
jne case.default.0x14006646e
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rdi], eax
mov dword [rdi + 4], 9
setge cl
mov dword [rdi], ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rdi], eax
mov dword [rdi + 4], 9
setae cl
mov dword [rdi], ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
mov eax, dword [rbx + 4]
cmp eax, 0x10a
jne case.default.0x1400664c4
mov rcx, rbx
call fcn.140067860
mov r8d, 9
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
mov ecx, dword [rbp + 0x38]
shl dword [rdi], cl
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
cmp eax, 0x10b
jne case.0x1400666c3.9
mov rcx, rbx
call fcn.140067860
mov r8d, 9
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
cmp dword [rdi + 4], 9
mov ecx, dword [rbp + 0x38]
jne case.default.0x1400664fd
sar dword [rdi], cl
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
shr dword [rdi], cl
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
jmp rcx
mov eax, dword [rbx + 4]
cmp eax, 0x2b
jne 0x140066537
mov rcx, rbx
call fcn.140067860
mov r8d, 0xa
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
mov eax, dword [rbp + 0x38]
add dword [rdi], eax
jmp 0x14006659d
cmp eax, 0x2d
jne case.0x1400664c4.10
mov rcx, rbx
call fcn.140067860
mov r8d, 0xa
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400674d0
mov eax, dword [rbp + 0x38]
sub dword [rdi], eax
jmp 0x14006659d
mov eax, dword [rbx + 4]
cmp eax, 0x2a
jne 0x1400665b9
mov rcx, rbx
call fcn.140067860
inc dword [rbx + 0x6c]
cmp dword [rbx + 0x6c], 0x14
jg 0x1400666f0
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400670a0
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140066e80
dec dword [rbx + 0x6c]
mov eax, dword [rbp + 0x38]
imul eax, dword [rdi]
mov dword [rdi], eax
mov eax, dword [rbp + 0x3c]
cmp eax, dword [rdi + 4]
jbe case.default.0x1400665b7
mov ecx, dword [r15 + rsi*4 + 0x66700]
add rcx, r15
mov dword [rdi + 4], eax
jmp rcx
cmp eax, 0x2f
jne 0x140066645
mov rcx, rbx
call fcn.140067860
inc dword [rbx + 0x6c]
cmp dword [rbx + 0x6c], 0x14
jg 0x1400666f0
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400670a0
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140066e80
dec dword [rbx + 0x6c]
mov eax, dword [rbp + 0x3c]
cmp eax, dword [rdi + 4]
jbe 0x1400665fd
mov dword [rdi + 4], eax
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x1400666e2
cmp dword [rdi + 4], 9
mov eax, dword [rdi]
jne 0x140066632
cmp eax, 0x80000000
jne 0x140066620
cmp ecx, 0xffffffff
je 0x1400666e2
cdq
idiv ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
mov dword [rdi], eax
add rcx, r15
jmp rcx
xor edx, edx
div ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
mov dword [rdi], eax
add rcx, r15
jmp rcx
cmp eax, 0x25
jne 0x1400666c5
mov rcx, rbx
call fcn.140067860
inc dword [rbx + 0x6c]
cmp dword [rbx + 0x6c], 0x14
jg 0x1400666f0
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400670a0
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140066e80
dec dword [rbx + 0x6c]
mov eax, dword [rbp + 0x3c]
cmp eax, dword [rdi + 4]
jbe 0x140066685
mov dword [rdi + 4], eax
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x1400666e2
cmp dword [rdi + 4], 9
mov eax, dword [rdi]
jne 0x1400666b2
cmp eax, 0x80000000
jne 0x1400666a0
cmp ecx, 0xffffffff
je 0x1400666e2
cdq
idiv ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
mov dword [rdi], edx
add rcx, r15
jmp rcx
xor edx, edx
div ecx
mov ecx, dword [r15 + rsi*4 + 0x66700]
mov dword [rdi], edx
add rcx, r15
jmp rcx
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov edx, 0x3a
call fcn.140065ee0
int3
mov edx, 0x219
mov rcx, rbx
call fcn.140065e80
int3
mov edx, 0x8d0
mov rcx, rbx
call fcn.140065e80
int3