Function at 0x1400583c0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
mov rbp, rsp
sub rsp, 0x30
movsxd r14, r8d
mov rsi, rdx
mov qword [rbp + 0x38], 0
mov rbx, rcx
cmp r14d, 0xa
ja case.default.0x14005840b
mov qword [rsp + 0x50], rdi
lea rdi, [rcx + 4]
mov qword [rsp + 0x58], r12
lea r12, [0x140000000]
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x3f
jne case.0x140058a2d.1
mov rcx, rbx
call fcn.1400593c0
xor r8d, r8d
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
mov eax, dword [rdi]
cmp eax, 0x2c
je 0x140058412
mov rcx, rbx
cmp eax, 0x3a
jne case.default.0x140058478
call fcn.1400593c0
xor r8d, r8d
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.140059260
cmp dword [rsi], 0
lea rdi, [rbx + 4]
mov ecx, dword [rbp - 0xc]
mov eax, dword [rbp - 0x10]
cmovne eax, dword [rbp + 0x38]
cmp dword [rbp + 0x3c], ecx
mov dword [rsi], eax
cmova ecx, dword [rbp + 0x3c]
mov dword [rsi + 4], ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x104
jne case.0x140058a2d.2
mov rcx, rbx
call fcn.1400593c0
mov r8d, 2
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
cmp dword [rsi], 0
jne case.default.0x1400584bd
cmp dword [rbp + 0x38], 0
jne case.default.0x1400584bd
mov ecx, dword [r12 + r14*4 + 0x58a70]
xor eax, eax
mov dword [rsi], eax
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
mov ecx, dword [r12 + r14*4 + 0x58a70]
mov eax, 1
mov dword [rsi], eax
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x105
jne case.0x140058a2d.3
mov rcx, rbx
call fcn.1400593c0
mov r8d, 3
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
cmp dword [rsi], 0
je case.default.0x140058520
cmp dword [rbp + 0x38], 0
je case.default.0x140058520
mov ecx, dword [r12 + r14*4 + 0x58a70]
mov eax, 1
mov dword [rsi], eax
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
mov ecx, dword [r12 + r14*4 + 0x58a70]
xor eax, eax
mov dword [rsi], eax
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x7c
jne case.0x140058a2d.4
mov rcx, rbx
call fcn.1400593c0
mov r8d, 4
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
mov eax, dword [rbp + 0x38]
or dword [rsi], eax
jmp 0x1400588f5
cmp dword [rdi], 0x5e
jne case.0x140058a2d.5
mov rcx, rbx
call fcn.1400593c0
mov r8d, 5
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
mov eax, dword [rbp + 0x38]
xor dword [rsi], eax
jmp 0x1400588f5
cmp dword [rdi], 0x26
jne case.0x140058a2d.6
mov rcx, rbx
call fcn.1400593c0
mov r8d, 6
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
mov eax, dword [rbp + 0x38]
and dword [rsi], eax
jmp 0x1400588f5
cmp dword [rdi], 0x106
jne case.default.0x1400585f5
mov rcx, rbx
call fcn.1400593c0
mov r8d, 7
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
mov dword [rsi + 4], 9
sete cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x107
jne case.0x140058a2d.7
mov rcx, rbx
call fcn.1400593c0
mov r8d, 7
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
mov dword [rsi + 4], 9
setne cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x3c
jne 0x1400586a4
mov rcx, rbx
call fcn.1400593c0
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
cmp dword [rsi + 4], 9
jne case.default.0x140058682
cmp dword [rbp + 0x3c], 9
jne case.default.0x140058682
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setl cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setb cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x3e
jne 0x14005870f
mov rcx, rbx
call fcn.1400593c0
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
cmp dword [rsi + 4], 9
jne case.default.0x1400586ed
cmp dword [rbp + 0x3c], 9
jne case.default.0x1400586ed
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setg cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
seta cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x108
jne 0x14005877d
mov rcx, rbx
call fcn.1400593c0
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
cmp dword [rsi + 4], 9
jne case.default.0x14005875b
cmp dword [rbp + 0x3c], 9
jne case.default.0x14005875b
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setle cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setbe cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x109
jne case.0x140058a2d.8
mov rcx, rbx
call fcn.1400593c0
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
cmp dword [rsi + 4], 9
jne case.default.0x1400587c9
cmp dword [rbp + 0x3c], 9
jne case.default.0x1400587c9
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setge cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setae cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x10a
jne case.default.0x14005881d
mov rcx, rbx
call fcn.1400593c0
mov r8d, 9
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
mov ecx, dword [rbp + 0x38]
shl dword [rsi], cl
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x10b
jne case.0x140058a2d.9
mov rcx, rbx
call fcn.1400593c0
mov r8d, 9
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
cmp dword [rsi + 4], 9
mov ecx, dword [rbp + 0x38]
jne case.default.0x140058857
sar dword [rsi], cl
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
jmp rcx
shr dword [rsi], cl
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x2b
jne 0x14005888e
mov rcx, rbx
call fcn.1400593c0
mov r8d, 0xa
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
mov eax, dword [rbp + 0x38]
add dword [rsi], eax
jmp 0x1400588f5
cmp dword [rdi], 0x2d
jne case.0x14005881d.10
mov rcx, rbx
call fcn.1400593c0
mov r8d, 0xa
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140059260
mov eax, dword [rbp + 0x38]
sub dword [rsi], eax
jmp 0x1400588f5
cmp dword [rdi], 0x2a
jne 0x140058911
mov rcx, rbx
call fcn.1400593c0
mov eax, dword [rbx + 0x6c]
inc eax
mov dword [rbx + 0x6c], eax
cmp eax, 0x14
jg 0x140058a60
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140058e40
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140058c10
dec dword [rbx + 0x6c]
mov eax, dword [rbp + 0x38]
imul eax, dword [rsi]
mov dword [rsi], eax
mov eax, dword [rbp + 0x3c]
cmp eax, dword [rsi + 4]
jbe case.default.0x14005890f
mov ecx, dword [r12 + r14*4 + 0x58a70]
add rcx, r12
mov dword [rsi + 4], eax
jmp rcx
cmp dword [rdi], 0x2f
jne 0x1400589a4
mov rcx, rbx
call fcn.1400593c0
mov eax, dword [rbx + 0x6c]
inc eax
mov dword [rbx + 0x6c], eax
cmp eax, 0x14
jg 0x140058a60
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140058e40
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140058c10
dec dword [rbx + 0x6c]
mov edx, dword [rsi + 4]
mov eax, dword [rbp + 0x3c]
cmp eax, edx
jbe 0x14005895d
mov dword [rsi + 4], eax
mov edx, eax
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x140058a52
mov eax, dword [rsi]
cmp edx, 9
jne 0x140058991
cmp eax, 0x80000000
jne 0x14005897f
cmp ecx, 0xffffffff
je 0x140058a52
cdq
idiv ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
mov dword [rsi], eax
add rcx, r12
jmp rcx
xor edx, edx
div ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
mov dword [rsi], eax
add rcx, r12
jmp rcx
cmp dword [rdi], 0x25
jne 0x140058a2f
mov rcx, rbx
call fcn.1400593c0
mov eax, dword [rbx + 0x6c]
inc eax
mov dword [rbx + 0x6c], eax
cmp eax, 0x14
jg 0x140058a60
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140058e40
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140058c10
dec dword [rbx + 0x6c]
mov edx, dword [rsi + 4]
mov eax, dword [rbp + 0x3c]
cmp eax, edx
jbe 0x1400589f0
mov dword [rsi + 4], eax
mov edx, eax
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x140058a52
mov eax, dword [rsi]
cmp edx, 9
jne 0x140058a1c
cmp eax, 0x80000000
jne 0x140058a0a
cmp ecx, 0xffffffff
je 0x140058a52
cdq
idiv ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
mov dword [rsi], edx
add rcx, r12
jmp rcx
xor edx, edx
div ecx
mov ecx, dword [r12 + r14*4 + 0x58a70]
mov dword [rsi], edx
add rcx, r12
jmp rcx
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
mov edx, 0x3a
call fcn.140058240
int3
mov edx, 0x219
mov rcx, rbx
call fcn.1400581e0
int3
mov edx, 0x8d0
mov rcx, rbx
call fcn.1400581e0
int3