Function at 0x140052f70
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.0x140052fbb
mov qword [rsp + 0x50], r15
lea r15, [0x140000000]
nop word [rax + rax]
mov ecx, dword [r15 + rsi*4 + 0x53610]
add rcx, r15
jmp rcx
cmp dword [rbx + 4], 0x3f
jne case.0x1400535d3.1
mov rcx, rbx
call fcn.140054530
xor r8d, r8d
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
mov eax, dword [rbx + 4]
cmp eax, 0x2c
je 0x140052fc3
mov rcx, rbx
cmp eax, 0x3a
jne case.default.0x140053026
call fcn.140054530
xor r8d, r8d
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1400543d0
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 + 0x53610]
add rcx, r15
jmp rcx
cmp dword [rbx + 4], 0x104
jne case.0x1400535d3.2
mov rcx, rbx
call fcn.140054530
mov r8d, 2
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rdi], 0
jne case.default.0x14005306c
cmp dword [rbp + 0x38], 0
jne case.default.0x14005306c
mov ecx, dword [r15 + rsi*4 + 0x53610]
xor eax, eax
mov dword [rdi], eax
add rcx, r15
mov dword [rdi + 4], 9
jmp rcx
mov ecx, dword [r15 + rsi*4 + 0x53610]
mov eax, 1
mov dword [rdi], eax
add rcx, r15
mov dword [rdi + 4], 9
jmp rcx
cmp dword [rbx + 4], 0x105
jne case.0x1400535d3.3
mov rcx, rbx
call fcn.140054530
mov r8d, 3
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rdi], 0
je case.default.0x1400530d0
cmp dword [rbp + 0x38], 0
je case.default.0x1400530d0
mov ecx, dword [r15 + rsi*4 + 0x53610]
mov eax, 1
mov dword [rdi], eax
add rcx, r15
mov dword [rdi + 4], 9
jmp rcx
mov ecx, dword [r15 + rsi*4 + 0x53610]
xor eax, eax
mov dword [rdi], eax
add rcx, r15
mov dword [rdi + 4], 9
jmp rcx
cmp dword [rbx + 4], 0x7c
jne case.0x1400535d3.4
mov rcx, rbx
call fcn.140054530
mov r8d, 4
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
mov eax, dword [rbp + 0x38]
or dword [rdi], eax
jmp 0x1400534ad
cmp dword [rbx + 4], 0x5e
jne case.0x1400535d3.5
mov rcx, rbx
call fcn.140054530
mov r8d, 5
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
mov eax, dword [rbp + 0x38]
xor dword [rdi], eax
jmp 0x1400534ad
cmp dword [rbx + 4], 0x26
jne case.0x1400535d3.6
mov rcx, rbx
call fcn.140054530
mov r8d, 6
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
mov eax, dword [rbp + 0x38]
and dword [rdi], eax
jmp 0x1400534ad
mov eax, dword [rbx + 4]
cmp eax, 0x106
jne case.default.0x1400531aa
mov rcx, rbx
call fcn.140054530
mov r8d, 7
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
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 + 0x53610]
add rcx, r15
jmp rcx
cmp eax, 0x107
jne case.0x1400535d3.7
mov rcx, rbx
call fcn.140054530
mov r8d, 7
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
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 + 0x53610]
add rcx, r15
jmp rcx
mov eax, dword [rbx + 4]
cmp eax, 0x3c
jne 0x14005325b
mov rcx, rbx
call fcn.140054530
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rdi + 4], 9
jne case.default.0x140053239
cmp dword [rbp + 0x3c], 9
jne case.default.0x140053239
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 + 0x53610]
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 + 0x53610]
add rcx, r15
jmp rcx
cmp eax, 0x3e
jne 0x1400532c6
mov rcx, rbx
call fcn.140054530
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rdi + 4], 9
jne case.default.0x1400532a4
cmp dword [rbp + 0x3c], 9
jne case.default.0x1400532a4
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 + 0x53610]
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 + 0x53610]
add rcx, r15
jmp rcx
cmp eax, 0x108
jne 0x140053333
mov rcx, rbx
call fcn.140054530
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rdi + 4], 9
jne case.default.0x140053311
cmp dword [rbp + 0x3c], 9
jne case.default.0x140053311
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 + 0x53610]
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 + 0x53610]
add rcx, r15
jmp rcx
cmp eax, 0x109
jne case.0x1400535d3.8
mov rcx, rbx
call fcn.140054530
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rdi + 4], 9
jne case.default.0x14005337e
cmp dword [rbp + 0x3c], 9
jne case.default.0x14005337e
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 + 0x53610]
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 + 0x53610]
add rcx, r15
jmp rcx
mov eax, dword [rbx + 4]
cmp eax, 0x10a
jne case.default.0x1400533d4
mov rcx, rbx
call fcn.140054530
mov r8d, 9
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
mov ecx, dword [rbp + 0x38]
shl dword [rdi], cl
mov ecx, dword [r15 + rsi*4 + 0x53610]
add rcx, r15
jmp rcx
cmp eax, 0x10b
jne case.0x1400535d3.9
mov rcx, rbx
call fcn.140054530
mov r8d, 9
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rdi + 4], 9
mov ecx, dword [rbp + 0x38]
jne case.default.0x14005340d
sar dword [rdi], cl
mov ecx, dword [r15 + rsi*4 + 0x53610]
add rcx, r15
jmp rcx
shr dword [rdi], cl
mov ecx, dword [r15 + rsi*4 + 0x53610]
add rcx, r15
jmp rcx
mov eax, dword [rbx + 4]
cmp eax, 0x2b
jne 0x140053447
mov rcx, rbx
call fcn.140054530
mov r8d, 0xa
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
mov eax, dword [rbp + 0x38]
add dword [rdi], eax
jmp 0x1400534ad
cmp eax, 0x2d
jne case.0x1400533d4.10
mov rcx, rbx
call fcn.140054530
mov r8d, 0xa
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400543d0
mov eax, dword [rbp + 0x38]
sub dword [rdi], eax
jmp 0x1400534ad
mov eax, dword [rbx + 4]
cmp eax, 0x2a
jne 0x1400534c9
mov rcx, rbx
call fcn.140054530
inc dword [rbx + 0x5c]
cmp dword [rbx + 0x5c], 0x14
jg 0x140053600
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140053fa0
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140053d90
dec dword [rbx + 0x5c]
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.0x1400534c7
mov ecx, dword [r15 + rsi*4 + 0x53610]
add rcx, r15
mov dword [rdi + 4], eax
jmp rcx
cmp eax, 0x2f
jne 0x140053555
mov rcx, rbx
call fcn.140054530
inc dword [rbx + 0x5c]
cmp dword [rbx + 0x5c], 0x14
jg 0x140053600
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140053fa0
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140053d90
dec dword [rbx + 0x5c]
mov eax, dword [rbp + 0x3c]
cmp eax, dword [rdi + 4]
jbe 0x14005350d
mov dword [rdi + 4], eax
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x1400535f2
cmp dword [rdi + 4], 9
mov eax, dword [rdi]
jne 0x140053542
cmp eax, 0x80000000
jne 0x140053530
cmp ecx, 0xffffffff
je 0x1400535f2
cdq
idiv ecx
mov ecx, dword [r15 + rsi*4 + 0x53610]
mov dword [rdi], eax
add rcx, r15
jmp rcx
xor edx, edx
div ecx
mov ecx, dword [r15 + rsi*4 + 0x53610]
mov dword [rdi], eax
add rcx, r15
jmp rcx
cmp eax, 0x25
jne 0x1400535d5
mov rcx, rbx
call fcn.140054530
inc dword [rbx + 0x5c]
cmp dword [rbx + 0x5c], 0x14
jg 0x140053600
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140053fa0
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140053d90
dec dword [rbx + 0x5c]
mov eax, dword [rbp + 0x3c]
cmp eax, dword [rdi + 4]
jbe 0x140053595
mov dword [rdi + 4], eax
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x1400535f2
cmp dword [rdi + 4], 9
mov eax, dword [rdi]
jne 0x1400535c2
cmp eax, 0x80000000
jne 0x1400535b0
cmp ecx, 0xffffffff
je 0x1400535f2
cdq
idiv ecx
mov ecx, dword [r15 + rsi*4 + 0x53610]
mov dword [rdi], edx
add rcx, r15
jmp rcx
xor edx, edx
div ecx
mov ecx, dword [r15 + rsi*4 + 0x53610]
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.140052df0
int3
mov edx, 0x219
mov rcx, rbx
call fcn.140052da0
int3
mov edx, 0x8d7
mov rcx, rbx
call fcn.140052da0
int3