Function at 0x1800c5410
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.0x1800c545b
mov qword [rsp + 0x50], rdi
lea rdi, [rcx + 4]
mov qword [rsp + 0x58], r12
lea r12, [0x180000000]
mov ecx, dword [r12 + r14*4 + 0xc5abc]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x3f
jne case.0x1800c5a7b.1
mov rcx, rbx
call fcn.1800c6410
xor r8d, r8d
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
cmp dword [rdi], 0x2c
je 0x1800c5462
cmp dword [rdi], 0x3a
mov rcx, rbx
jne case.default.0x1800c54c6
call fcn.1800c6410
xor r8d, r8d
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1800c62b0
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 + 0xc5abc]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x104
jne case.0x1800c5a7b.2
mov rcx, rbx
call fcn.1800c6410
mov r8d, 2
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
cmp dword [rsi], 0
jne case.default.0x1800c550b
cmp dword [rbp + 0x38], 0
jne case.default.0x1800c550b
mov ecx, dword [r12 + r14*4 + 0xc5abc]
xor eax, eax
mov dword [rsi], eax
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
mov ecx, dword [r12 + r14*4 + 0xc5abc]
mov eax, 1
mov dword [rsi], eax
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x105
jne case.0x1800c5a7b.3
mov rcx, rbx
call fcn.1800c6410
mov r8d, 3
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
cmp dword [rsi], 0
je case.default.0x1800c556e
cmp dword [rbp + 0x38], 0
je case.default.0x1800c556e
mov ecx, dword [r12 + r14*4 + 0xc5abc]
mov eax, 1
mov dword [rsi], eax
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
mov ecx, dword [r12 + r14*4 + 0xc5abc]
xor eax, eax
mov dword [rsi], eax
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x7c
jne case.0x1800c5a7b.4
mov rcx, rbx
call fcn.1800c6410
mov r8d, 4
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
mov eax, dword [rbp + 0x38]
or dword [rsi], eax
jmp 0x1800c5943
cmp dword [rdi], 0x5e
jne case.0x1800c5a7b.5
mov rcx, rbx
call fcn.1800c6410
mov r8d, 5
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
mov eax, dword [rbp + 0x38]
xor dword [rsi], eax
jmp 0x1800c5943
cmp dword [rdi], 0x26
jne case.0x1800c5a7b.6
mov rcx, rbx
call fcn.1800c6410
mov r8d, 6
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
mov eax, dword [rbp + 0x38]
and dword [rsi], eax
jmp 0x1800c5943
cmp dword [rdi], 0x106
jne case.default.0x1800c5643
mov rcx, rbx
call fcn.1800c6410
mov r8d, 7
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
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 + 0xc5abc]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x107
jne case.0x1800c5a7b.7
mov rcx, rbx
call fcn.1800c6410
mov r8d, 7
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
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 + 0xc5abc]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x3c
jne 0x1800c56f2
mov rcx, rbx
call fcn.1800c6410
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
cmp dword [rsi + 4], 9
jne case.default.0x1800c56d0
cmp dword [rbp + 0x3c], 9
jne case.default.0x1800c56d0
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setl cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0xc5abc]
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 + 0xc5abc]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x3e
jne 0x1800c575d
mov rcx, rbx
call fcn.1800c6410
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
cmp dword [rsi + 4], 9
jne case.default.0x1800c573b
cmp dword [rbp + 0x3c], 9
jne case.default.0x1800c573b
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setg cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0xc5abc]
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 + 0xc5abc]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x108
jne 0x1800c57cb
mov rcx, rbx
call fcn.1800c6410
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
cmp dword [rsi + 4], 9
jne case.default.0x1800c57a9
cmp dword [rbp + 0x3c], 9
jne case.default.0x1800c57a9
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setle cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0xc5abc]
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 + 0xc5abc]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x109
jne case.0x1800c5a7b.8
mov rcx, rbx
call fcn.1800c6410
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
cmp dword [rsi + 4], 9
jne case.default.0x1800c5817
cmp dword [rbp + 0x3c], 9
jne case.default.0x1800c5817
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setge cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0xc5abc]
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 + 0xc5abc]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x10a
jne case.default.0x1800c586b
mov rcx, rbx
call fcn.1800c6410
mov r8d, 9
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
mov ecx, dword [rbp + 0x38]
shl dword [rsi], cl
mov ecx, dword [r12 + r14*4 + 0xc5abc]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x10b
jne case.0x1800c5a7b.9
mov rcx, rbx
call fcn.1800c6410
mov r8d, 9
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
cmp dword [rsi + 4], 9
mov ecx, dword [rbp + 0x38]
jne case.default.0x1800c58a5
sar dword [rsi], cl
mov ecx, dword [r12 + r14*4 + 0xc5abc]
add rcx, r12
jmp rcx
shr dword [rsi], cl
mov ecx, dword [r12 + r14*4 + 0xc5abc]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x2b
jne 0x1800c58dc
mov rcx, rbx
call fcn.1800c6410
mov r8d, 0xa
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
mov eax, dword [rbp + 0x38]
add dword [rsi], eax
jmp 0x1800c5943
cmp dword [rdi], 0x2d
jne case.0x1800c586b.10
mov rcx, rbx
call fcn.1800c6410
mov r8d, 0xa
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c62b0
mov eax, dword [rbp + 0x38]
sub dword [rsi], eax
jmp 0x1800c5943
cmp dword [rdi], 0x2a
jne 0x1800c595f
mov rcx, rbx
call fcn.1800c6410
mov eax, dword [rbx + 0x6c]
inc eax
mov dword [rbx + 0x6c], eax
cmp eax, 0x14
jg 0x1800c5aae
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c5e90
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c5c60
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.0x1800c595d
mov ecx, dword [r12 + r14*4 + 0xc5abc]
add rcx, r12
mov dword [rsi + 4], eax
jmp rcx
cmp dword [rdi], 0x2f
jne 0x1800c59f2
mov rcx, rbx
call fcn.1800c6410
mov eax, dword [rbx + 0x6c]
inc eax
mov dword [rbx + 0x6c], eax
cmp eax, 0x14
jg 0x1800c5aae
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c5e90
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c5c60
dec dword [rbx + 0x6c]
mov edx, dword [rsi + 4]
mov eax, dword [rbp + 0x3c]
cmp eax, edx
jbe 0x1800c59ab
mov dword [rsi + 4], eax
mov edx, eax
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x1800c5aa0
mov eax, dword [rsi]
cmp edx, 9
jne 0x1800c59df
cmp eax, 0x80000000
jne 0x1800c59cd
cmp ecx, 0xffffffff
je 0x1800c5aa0
cdq
idiv ecx
mov ecx, dword [r12 + r14*4 + 0xc5abc]
mov dword [rsi], eax
add rcx, r12
jmp rcx
xor edx, edx
div ecx
mov ecx, dword [r12 + r14*4 + 0xc5abc]
mov dword [rsi], eax
add rcx, r12
jmp rcx
cmp dword [rdi], 0x25
jne 0x1800c5a7d
mov rcx, rbx
call fcn.1800c6410
mov eax, dword [rbx + 0x6c]
inc eax
mov dword [rbx + 0x6c], eax
cmp eax, 0x14
jg 0x1800c5aae
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c5e90
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1800c5c60
dec dword [rbx + 0x6c]
mov edx, dword [rsi + 4]
mov eax, dword [rbp + 0x3c]
cmp eax, edx
jbe 0x1800c5a3e
mov dword [rsi + 4], eax
mov edx, eax
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x1800c5aa0
mov eax, dword [rsi]
cmp edx, 9
jne 0x1800c5a6a
cmp eax, 0x80000000
jne 0x1800c5a58
cmp ecx, 0xffffffff
je 0x1800c5aa0
cdq
idiv ecx
mov ecx, dword [r12 + r14*4 + 0xc5abc]
mov dword [rsi], edx
add rcx, r12
jmp rcx
xor edx, edx
div ecx
mov ecx, dword [r12 + r14*4 + 0xc5abc]
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.1800c5290
int3
mov edx, 0x219
mov rcx, rbx
call fcn.1800c5230
int3
mov edx, 0x8d0
mov rcx, rbx
call fcn.1800c5230
int3