Function at 0x140188c24
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rbx, qword [0x140287598]
xor r8d, r8d
mov rdi, rcx
mov qword [rbp - 0x50], r8
mov dword [rbp - 0x48], r8d
mov esi, r8d
mov qword [rbp - 0x40], r8
movsx eax, byte [rbx]
inc rbx
mov dword [rbp - 0x38], r8d
mov qword [0x140287598], rbx
cmp eax, 0x41
jg 0x140188e7c
je 0x140189374
test eax, eax
je 0x140188e63
cmp eax, 0x2f
jle 0x14018935f
cmp eax, 0x31
jle 0x140188d10
cmp eax, 0x39
jg 0x14018935f
movsx eax, byte [rbx - 1]
sub eax, 0x32
movsxd rdx, eax
lea rbx, [0x140000000]
lea rcx, [rbp - 0x50]
mov rdx, qword [rbx + rdx*8 + 0x2149c0]
call fcn.140184f18
xor r8d, r8d
cmp qword [rbp - 0x50], r8
je 0x140188cf0
lea rdx, str.operator
lea rcx, [rbp - 0x10]
call fcn.140184af0
mov rcx, rax
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x20]
call fcn.140185250
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x50], rax
mov eax, dword [rbp - 0x18]
mov dword [rbp - 0x48], eax
mov rax, qword [rbp - 0x50]
mov qword [rdi], rax
mov eax, dword [rbp - 0x48]
mov dword [rdi + 8], eax
mov rax, rdi
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x40], r8
mov dword [rbp - 0x38], r8d
test dl, dl
je 0x140188dd3
lea rcx, [rbp - 0x10]
call fcn.14018a474
and qword [rbp - 0x30], rsi
lea rdx, [rbp + 0x38]
and dword [rbp - 0x28], esi
lea rcx, [rbp - 0x30]
mov r8d, 1
mov byte [rbp + 0x38], 0x3c
mov rbx, rax
call fcn.1401865cc
mov r8, rbx
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x30]
call fcn.140185250
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.14018532c
mov rsi, qword [rbp - 0x40]
test rsi, rsi
je 0x140188d93
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.14017f3e4
mov rcx, rsi
call rbx
cmp al, 0x3e
jne 0x140188d93
mov dl, 0x20
lea rcx, [rbp - 0x40]
call fcn.140185370
mov dl, 0x3e
lea rcx, [rbp - 0x40]
call fcn.140185370
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x140188daa
mov byte [rax], 1
mov rbx, qword [0x140287598]
cmp byte [rbx], 0
jne 0x140188dc5
mov rax, qword [rbp - 0x40]
mov qword [rdi], rax
mov eax, dword [rbp - 0x38]
jmp 0x140188cfa
mov rsi, qword [rbp - 0x40]
inc rbx
mov qword [0x140287598], rbx
xor r8d, r8d
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.14018b428
mov rcx, qword [rax]
mov edx, dword [rax + 8]
mov qword [rbp - 0x50], rcx
mov dword [rbp - 0x48], edx
mov qword [0x140287598], rbx
test rcx, rcx
je 0x140188e3f
cmp byte [rbx - 1], 0x31
jne 0x140188e3f
and qword [rbp - 0x30], 0
lea rdx, [rbp + 0x38]
and dword [rbp - 0x28], 0
lea rcx, [rbp - 0x30]
mov r8d, 1
mov byte [rbp + 0x38], 0x7e
call fcn.1401865cc
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x30]
call fcn.140185250
mov rcx, qword [rbp - 0x20]
mov edx, dword [rbp - 0x18]
mov qword [rbp - 0x50], rcx
mov dword [rbp - 0x48], edx
test rsi, rsi
je 0x140188e58
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
call fcn.14018532c
mov edx, dword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov qword [rdi], rcx
mov dword [rdi + 8], edx
jmp 0x140188cfd
dec rbx
mov edx, 1
mov qword [0x140287598], rbx
call fcn.140184b30
jmp 0x140188cfd
cmp eax, 0x42
je 0x14018936f
jle 0x14018935f
cmp eax, 0x5a
jle 0x140189374
cmp eax, 0x5f
jne 0x14018935f
movsx ecx, byte [rbx]
lea esi, [rax - 0x5e]
add rbx, rsi
mov qword [0x140287598], rbx
cmp ecx, 0x4f
jg 0x140188fca
cmp ecx, 0x44
jge 0x140189347
cmp ecx, 0x39
jg 0x140188f63
je 0x140188f2b
test ecx, ecx
je 0x140188f17
cmp ecx, 0x2f
jle 0x140188fb1
cmp ecx, 0x36
jle 0x140188f0b
cmp ecx, 0x38
jg 0x140188fb1
movsx eax, byte [rbx - 1]
sub eax, 0xe
movsxd rdx, eax
lea rbx, [0x140000000]
mov rcx, rdi
mov rdx, qword [rbx + rdx*8 + 0x2149c0]
call fcn.140184af0
jmp 0x140188cfd
movsx eax, byte [rbx - 1]
sub eax, 0xe
jmp 0x140188c9e
sub rbx, rsi
mov qword [0x140287598], rbx
mov edx, esi
mov rcx, rdi
jmp 0x140188e72
movsx eax, byte [rbx - 1]
lea rcx, [rbp - 0x20]
sub eax, 0xe
lea rbx, [0x140000000]
movsxd rdx, eax
mov rdx, qword [rbx + rdx*8 + 0x2149c0]
call fcn.140184af0
mov ecx, dword [rbp - 0x18]
bts ecx, 0xf
mov rax, qword [rbp - 0x20]
mov qword [rdi], rax
mov dword [rdi + 8], ecx
jmp 0x140188cfd
cmp ecx, 0x3f
je 0x140188f97
cmp ecx, 0x40
jle 0x140188fb1
cmp ecx, 0x42
jle 0x140189347
cmp ecx, 0x43
jne 0x140188fb1
mov r8d, esi
lea rdx, str._string
lea rcx, [rbp - 0x20]
call fcn.14018a328
mov ecx, dword [rbp - 0x18]
bts ecx, 0xc
jmp 0x140188f54
movsx eax, byte [rbx]
add rbx, rsi
mov qword [0x140287598], rbx
test eax, eax
je 0x140188f17
cmp eax, 0x30
je 0x140188fc1
mov dword [rdi + 8], r8d
mov byte [rdi + 8], 2
mov qword [rdi], r8
jmp 0x140188cfd
lea rdx, str._anonymous_namespace
jmp 0x140188f85
cmp ecx, 0x54
jg 0x1401891f6
cmp ecx, 0x53
jge 0x140189347
sub ecx, 0x50
je 0x140189195
sub ecx, esi
je 0x140188cbc
cmp ecx, esi
jne 0x140188fb1
movsx eax, byte [rbx - 1]
lea rcx, [rbp - 0x50]
sub eax, 0x15
lea rbx, [0x140000000]
movsxd rdx, eax
mov rdx, qword [rbx + rdx*8 + 0x2149c0]
call fcn.140184f18
mov rax, qword [0x140287598]
mov cl, byte [rax]
test cl, cl
jne 0x140189034
mov r8d, esi
lea rcx, [rbp - 0x50]
mov rdx, rdi
call fcn.140185300
jmp 0x140188cfd
movsx eax, cl
add eax, 0xffffffd0
js 0x1401891e5
cmp eax, 5
jae 0x1401891e5
movsxd rdx, eax
lea rcx, [rbp - 0x40]
mov rdx, qword [rbx + rdx*8 + 0x214c50]
call fcn.140184f18
mov rcx, qword [0x140287598]
movsx eax, byte [rcx]
add rcx, rsi
mov qword [0x140287598], rcx
cmp eax, 0x30
je 0x140189162
cmp eax, 0x31
je 0x1401890ab
add eax, 0xffffffce
cmp eax, 2
ja 0x14018909c
lea rcx, [rbp - 0x50]
mov rdx, rdi
lea r8, [rbp - 0x40]
call fcn.140185250
jmp 0x140188cfd
sub rcx, rsi
mov qword [0x140287598], rcx
jmp 0x140188f21
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.140185250
lea rcx, [rbp - 0x10]
call fcn.140189fd8
mov rcx, rax
lea rdx, [rbp - 0x20]
mov r8b, 0x2c
call fcn.14018527c
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14018532c
lea rcx, [rbp - 0x10]
call fcn.140189fd8
mov rcx, rax
lea rdx, [rbp - 0x20]
mov r8b, 0x2c
call fcn.14018527c
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14018532c
lea rcx, [rbp - 0x10]
call fcn.140189fd8
mov rcx, rax
lea rdx, [rbp - 0x20]
mov r8b, 0x2c
call fcn.14018527c
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14018532c
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.140187d18
mov rcx, rax
lea rdx, [rbp - 0x20]
mov r8b, 0x29
call fcn.14018527c
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14018532c
mov r8b, 0x27
lea rcx, [rbp - 0x30]
mov rdx, rdi
call fcn.14018527c
jmp 0x140188cfd
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.14018799c
mov r8b, 0x20
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x20]
call fcn.14018527c
mov rcx, rax
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
call fcn.140185250
mov rcx, rax
jmp 0x14018908b
movsx eax, byte [rbx - 1]
lea rcx, [rbp - 0x50]
sub eax, 0x15
lea rbx, [0x140000000]
movsxd rdx, eax
mov rdx, qword [rbx + rdx*8 + 0x2149c0]
call fcn.140184f18
xor r8d, r8d
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.140188c24
mov rcx, qword [rax]
mov edx, dword [rax + 8]
mov qword [rbp - 0x40], rcx
mov dword [rbp - 0x38], edx
test rcx, rcx
je 0x140189087
bt edx, 0xa
jae 0x140189087
and dword [rdi + 8], 0
and qword [rdi], 0
mov byte [rdi + 8], 2
jmp 0x140188cfd
cmp ecx, 0x56
jle 0x140189353
cmp ecx, 0x57
jle 0x140188fb1
cmp ecx, 0x59
jle 0x140189347
cmp ecx, 0x5f
jne 0x140188fb1
movsx eax, byte [rbx]
add rbx, rsi
mov qword [0x140287598], rbx
cmp eax, 0x41
jl 0x140188fb1
cmp eax, 0x44
jle 0x140189251
cmp eax, 0x46
jle 0x1401892c6
cmp eax, 0x4a
jle 0x140189251
cmp eax, 0x4b
je 0x14018925d
cmp eax, 0x4c
jne 0x140188fb1
movsx eax, byte [rbx - 1]
add eax, 4
jmp 0x140188eec
movsx eax, byte [rbx - 1]
lea rcx, [rbp - 0x30]
add eax, 4
lea rbx, [0x140000000]
movsxd rdx, eax
mov rdx, qword [rbx + rdx*8 + 0x2149c0]
call fcn.140184af0
jmp 0x14018929b
cmp cl, 0x40
je 0x1401892ad
add rax, rsi
mov dl, cl
lea rcx, [rbp - 0x30]
mov qword [0x140287598], rax
call fcn.140185370
mov rax, qword [0x140287598]
mov cl, byte [rax]
test cl, cl
jne 0x140189281
cmp cl, 0x40
jne 0x1401892b7
add rax, rsi
mov qword [0x140287598], rax
mov rax, qword [rbp - 0x30]
mov qword [rdi], rax
mov eax, dword [rbp - 0x28]
jmp 0x140188cfa
movsx eax, byte [rbx - 1]
lea rcx, [rbp - 0x30]
add eax, 4
lea rbx, [0x140000000]
movsxd rdx, eax
mov rdx, qword [rbx + rdx*8 + 0x2149c0]
call fcn.140184af0
mov rax, qword [0x140287598]
lea rcx, [rbp - 0x10]
cmp byte [rax], 0x3f
jne 0x140189321
call fcn.140187a7c
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14018532c
mov rax, qword [0x140287598]
cmp byte [rax], 0x40
jne 0x140189332
add rax, rsi
mov qword [0x140287598], rax
jmp 0x140189332
call fcn.14018a428
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14018532c
lea rdx, [0x1402152a0]
lea rcx, [rbp - 0x30]
call fcn.140185488
jmp 0x1401892b7
movsx eax, byte [rbx - 1]
sub eax, 0x15
jmp 0x140188eec
movsx eax, byte [rbx - 1]
sub eax, 0x15
jmp 0x140188c9e
mov dword [rcx + 8], r8d
mov byte [rcx + 8], 2
mov qword [rcx], r8
jmp 0x140188cfd
mov esi, 1
movsx eax, byte [rbx - 1]
lea rcx, [rbp - 0x50]
sub eax, 0x39
lea rbx, [0x140000000]
movsxd rdx, eax
mov rdx, qword [rbx + rdx*8 + 0x2149c0]
call fcn.140184f18
xor r8d, r8d
test esi, esi
je 0x140188cbc
cmp qword [rbp - 0x50], r8
je 0x140188cf0
bts dword [rbp - 0x48], 9
jmp 0x140188cf0