Function at 0x1400ec690
Capabilities:
Parse credit card information

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x38
mov rdi, rcx
mov rsi, rdx
mov rbp, r8
mov ebx, r9d
mov r14d, dword [rsp + 0xa0]
xor r15d, r15d
xor r12d, r12d
xor r13d, r13d
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x1400ec6d4
xor eax, eax
test dword [rdx + 0x10], 0x10000000
setne al
jmp 0x1400ec6d9
mov eax, 1
mov dword [rsp + 0x34], eax
mov r10d, dword [rbp]
cmp r10d, ebx
jge 0x1400eca7a
movsxd rdx, r10d
movzx ecx, word [rsi + rdx*2]
cmp ecx, 0x1f
jle 0x1400ec703
cmp ecx, 0x7f
jl 0x1400ec718
cmp ecx, 0x9f
jg 0x1400ec718
mov r12d, 1
mov r13d, 1
or r15d, 0x20
jmp 0x1400eca6e
cmp ecx, 0x7e
jle 0x1400ec7a9
test eax, eax
je 0x1400ec78c
xor r11d, r11d
or r15d, 8
lea edx, [rcx - 0xd800]
cmp edx, 0x3ff
ja 0x1400ec76c
lea edx, [r10 + 1]
cmp edx, ebx
jge 0x1400ec783
mov dword [rsp + 0x30], r10d
lea edx, [r10 + 1]
movsxd rdx, edx
movzx edx, word [rsi + rdx*2]
lea r8, [rsp + 0x28]
mov r9d, 1
call fcn.1400e5900
mov r11d, eax
mov r10d, dword [rsp + 0x30]
jmp 0x1400ec783
mov dword [rsp + 0x30], r10d
mov edx, 1
call fcn.1400e58b0
mov r11d, eax
mov r10d, dword [rsp + 0x30]
test r11d, r11d
jne 0x1400ec78c
or r15d, 0x40
test r12d, r12d
jne 0x1400ec7a0
mov r12d, 1
mov eax, dword [rsp + 0x34]
jmp 0x1400eca6e
mov eax, dword [rsp + 0x34]
jmp 0x1400eca6e
movzx edx, r14w
mov dword [rsp + 0x24], edx
cmp ecx, edx
je 0x1400eca7a
cmp edx, 0x3f
jne 0x1400ec7d7
cmp ecx, 0x23
jne 0x1400ec7d7
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x1400ec7d7
test byte [r8 + 0x10], 0x40
jne 0x1400eca7a
cmp ecx, 0x3f
jne 0x1400ec84e
mov dword [rsp + 0x30], r10d
mov rcx, rdi
call fcn.1400e6520
test eax, eax
jne 0x1400ec806
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400ec840
test byte [rcx + 0x10], 0x20
jne 0x1400ec832
cmp dword [rsp + 0x24], 0xfffe
je 0x1400ec824
or r15d, 0x20
mov r13d, 1
mov r12d, 1
mov eax, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
jmp 0x1400eca6e
mov eax, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
jmp 0x1400eca6e
mov eax, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
jmp 0x1400eca6e
mov eax, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
jmp 0x1400eca6e
cmp ecx, 0x23
jne 0x1400ec8ad
mov dword [rsp + 0x30], r10d
mov r12d, 1
mov rcx, rdi
call fcn.1400e6520
test eax, eax
jne 0x1400ec879
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1400ec89f
test byte [rax + 0x10], 0x40
jne 0x1400ec891
or r15d, 0x20
mov r13d, 1
mov eax, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
jmp 0x1400eca6e
mov eax, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
jmp 0x1400eca6e
mov eax, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
jmp 0x1400eca6e
cmp ecx, 0x2f
je 0x1400ec8b7
cmp ecx, 0x5c
jne 0x1400ec8fe
test r15b, 0x10
jne 0x1400ec8c6
cmp ecx, 0x5c
jne 0x1400ec8c6
or r15d, 0x10
test r15b, 4
jne 0x1400eca6e
lea ecx, [r10 + 1]
cmp ecx, ebx
je 0x1400eca6e
lea edx, [r10 + 1]
movsxd rdx, edx
movzx edx, word [rsi + rdx*2]
cmp edx, 0x2f
je 0x1400ec8f5
cmp edx, 0x5c
jne 0x1400eca6e
or r15d, 4
jmp 0x1400eca6e
cmp ecx, 0x2e
jne 0x1400ec942
test r15b, 4
jne 0x1400ec911
lea edx, [r10 + 1]
cmp edx, ebx
je 0x1400ec939
lea ecx, [r10 + 1]
movsxd rdx, ecx
movzx edx, word [rsi + rdx*2]
cmp edx, 0x2e
je 0x1400ec939
cmp edx, 0x2f
je 0x1400ec939
cmp edx, 0x5c
je 0x1400ec939
cmp edx, 0x3f
je 0x1400ec939
cmp edx, 0x23
jne 0x1400eca6e
or r15d, 4
jmp 0x1400eca6e
cmp ecx, 0x22
jg 0x1400ec94c
cmp ecx, 0x21
jne 0x1400ec965
cmp ecx, 0x5b
jl 0x1400ec956
cmp ecx, 0x5e
jle 0x1400ec965
cmp ecx, 0x3e
je 0x1400ec965
cmp ecx, 0x3c
je 0x1400ec965
cmp ecx, 0x60
jne 0x1400ec98d
test r12d, r12d
jne 0x1400ec970
mov r12d, 1
movabs rcx, 0x200000000
test qword [rdi + 0x28], rcx
je 0x1400eca6e
or r15d, 0x40
jmp 0x1400eca6e
cmp ecx, 0x7b
jl 0x1400ec9a2
cmp ecx, 0x7d
jg 0x1400ec9a2
mov r12d, 1
jmp 0x1400eca6e
cmp ecx, 0x25
jne 0x1400eca6e
test r13d, r13d
jne 0x1400ec9b6
mov r13d, 1
lea r8d, [r10 + 2]
cmp r8d, ebx
jge 0x1400eca63
lea edx, [r10 + 1]
movsxd rcx, edx
movzx edx, word [rsi + rcx*2]
movsxd rcx, r8d
movzx ecx, word [rsi + rcx*2]
cmp edx, 0x100
jge 0x1400ec9f9
lea r9, [0x140699a18]
cmp edx, 0x100
jae 0x1400ecaaf
mov edx, edx
movzx edx, byte [r9 + rdx]
jmp 0x1400ec9fe
mov edx, 0xff
cmp ecx, 0x100
jge 0x1400eca16
lea r9, [0x140699a18]
mov ecx, ecx
movzx ecx, byte [r9 + rcx]
jmp 0x1400eca1b
mov ecx, 0xff
mov r9d, edx
or r9d, ecx
cmp r9d, 0xff
jne 0x1400eca32
mov r9d, 0xffff
jmp 0x1400eca3b
shl edx, 4
or edx, ecx
movzx r9d, dx
movzx ecx, r9w
cmp r9d, 0xffff
je 0x1400eca63
cmp ecx, 0x2e
je 0x1400eca57
cmp ecx, 0x2f
je 0x1400eca57
cmp ecx, 0x5c
jne 0x1400eca5e
or r15d, 0x80
mov r10d, r8d
jmp 0x1400eca6e
test r12d, r12d
jne 0x1400eca6e
mov r12d, 1
inc r10d
cmp r10d, ebx
jl 0x1400ec6ea
test r13d, r13d
je 0x1400eca8a
test r12d, r12d
jne 0x1400eca97
or r15d, 1
jmp 0x1400eca97
or r15d, 2
test r12d, r12d
jne 0x1400eca97
or r15d, 1
mov dword [rbp], r10d
mov eax, r15d
add rsp, 0x38
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140326dd0
int3