Function at 0x14022da60
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 rbx, rdx
mov rbp, r8
mov esi, r9d
mov r14d, dword [rsp + 0xa0]
xor r15d, r15d
xor r13d, r13d
xor r12d, r12d
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x14022daa4
xor eax, eax
test dword [rdx + 0x10], 0x10000000
setne al
jmp 0x14022daa9
mov eax, 1
mov dword [rsp + 0x34], eax
mov r10d, dword [rbp]
cmp r10d, esi
jge 0x14022de17
movsxd rdx, r10d
movzx ecx, word [rbx + rdx*2]
cmp ecx, 0x1f
jle 0x14022dad3
cmp ecx, 0x7f
jl 0x14022dae8
cmp ecx, 0x9f
jg 0x14022dae8
mov r13d, 1
mov r12d, 1
or r15d, 0x20
jmp 0x14022de0b
cmp ecx, 0x7e
jle 0x14022db5c
test eax, eax
je 0x14022db49
or r15d, 8
lea edx, [rcx - 0xd800]
cmp edx, 0x3ff
ja 0x14022db2d
lea edx, [r10 + 1]
cmp edx, esi
jge 0x14022db45
mov dword [rsp + 0x30], r10d
lea edx, [r10 + 1]
movsxd rdx, edx
movzx edx, word [rbx + rdx*2]
lea r8, [rsp + 0x28]
mov r9d, 1
call fcn.140226da0
jmp 0x14022db3c
mov dword [rsp + 0x30], r10d
mov edx, 1
call fcn.140226d50
test eax, eax
mov r10d, dword [rsp + 0x30]
jne 0x14022db49
or r15d, 0x40
test r13d, r13d
jne 0x14022db53
jmp 0x14022de01
mov eax, dword [rsp + 0x34]
jmp 0x14022de0b
movzx edx, r14w
mov dword [rsp + 0x24], edx
cmp ecx, edx
je 0x14022de17
cmp edx, 0x3f
jne 0x14022db8a
cmp ecx, 0x23
jne 0x14022db8a
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x14022db8a
test byte [r8 + 0x10], 0x40
jne 0x14022de17
cmp ecx, 0x3f
jne 0x14022dbf7
mov dword [rsp + 0x30], r10d
mov rcx, rdi
call fcn.1402279b0
test eax, eax
jne 0x14022dbb9
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14022dbe9
test byte [rcx + 0x10], 0x20
jne 0x14022dbdb
cmp dword [rsp + 0x24], 0xfffe
je 0x14022dbcd
or r15d, 0x20
mov r12d, 1
mov r10d, dword [rsp + 0x30]
jmp 0x14022de01
mov eax, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
jmp 0x14022de0b
mov eax, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
jmp 0x14022de0b
mov eax, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
jmp 0x14022de0b
cmp ecx, 0x23
jne 0x14022dc56
mov dword [rsp + 0x30], r10d
mov r13d, 1
mov rcx, rdi
call fcn.1402279b0
test eax, eax
jne 0x14022dc22
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x14022dc48
test byte [rax + 0x10], 0x40
jne 0x14022dc3a
or r15d, 0x20
mov r12d, 1
mov eax, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
jmp 0x14022de0b
mov eax, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
jmp 0x14022de0b
mov eax, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
jmp 0x14022de0b
cmp ecx, 0x2f
je 0x14022dc60
cmp ecx, 0x5c
jne 0x14022dca7
test r15b, 0x10
jne 0x14022dc6f
cmp ecx, 0x5c
jne 0x14022dc6f
or r15d, 0x10
test r15b, 4
jne 0x14022de0b
lea ecx, [r10 + 1]
cmp ecx, esi
je 0x14022de0b
lea ecx, [r10 + 1]
movsxd rcx, ecx
movzx edx, word [rbx + rcx*2]
cmp edx, 0x2f
je 0x14022dc9e
cmp edx, 0x5c
jne 0x14022de0b
or r15d, 4
jmp 0x14022de0b
cmp ecx, 0x2e
jne 0x14022dce4
test r15b, 4
jne 0x14022dcba
lea edx, [r10 + 1]
cmp edx, esi
je 0x14022dc9e
lea ecx, [r10 + 1]
movsxd rcx, ecx
movzx edx, word [rbx + rcx*2]
cmp edx, 0x2e
je 0x14022dc9e
cmp edx, 0x2f
je 0x14022dc9e
cmp edx, 0x5c
je 0x14022dc9e
cmp edx, 0x3f
je 0x14022dc9e
cmp edx, 0x23
jne 0x14022de0b
jmp 0x14022dc9e
cmp ecx, 0x22
jg 0x14022dcee
cmp ecx, 0x21
jne 0x14022dd07
cmp ecx, 0x5b
jl 0x14022dcf8
cmp ecx, 0x5e
jle 0x14022dd07
cmp ecx, 0x3e
je 0x14022dd07
cmp ecx, 0x3c
je 0x14022dd07
cmp ecx, 0x60
jne 0x14022dd2f
test r13d, r13d
jne 0x14022dd12
mov r13d, 1
movabs rcx, 0x200000000
test qword [rdi + 0x28], rcx
je 0x14022de0b
or r15d, 0x40
jmp 0x14022de0b
cmp ecx, 0x7b
jl 0x14022dd39
cmp ecx, 0x7d
jle 0x14022dd8f
cmp ecx, 0x25
jne 0x14022de0b
test r12d, r12d
jne 0x14022dd4d
mov r12d, 1
lea r8d, [r10 + 2]
cmp r8d, esi
jge 0x14022ddfc
lea edx, [r10 + 1]
movsxd rcx, edx
movzx edx, word [rbx + rcx*2]
movsxd rcx, r8d
movzx ecx, word [rbx + rcx*2]
cmp edx, 0x100
jge 0x14022dd91
cmp edx, 0x100
jae 0x14022de48
lea r9, [0x14060a418]
add rdx, r9
movzx edx, byte [rdx]
jmp 0x14022dd96
jmp 0x14022de01
mov edx, 0xff
cmp ecx, 0x100
jge 0x14022ddaf
mov ecx, ecx
lea r9, [0x14060a418]
add rcx, r9
movzx ecx, byte [rcx]
jmp 0x14022ddb4
mov ecx, 0xff
mov r9d, edx
or r9d, ecx
cmp r9d, 0xff
jne 0x14022ddcb
mov r9d, 0xffff
jmp 0x14022ddd4
shl edx, 4
or ecx, edx
movzx r9d, cx
movzx ecx, r9w
cmp r9d, 0xffff
je 0x14022ddfc
cmp ecx, 0x2e
je 0x14022ddf0
cmp ecx, 0x2f
je 0x14022ddf0
cmp ecx, 0x5c
jne 0x14022ddf7
or r15d, 0x80
mov r10d, r8d
jmp 0x14022de0b
test r13d, r13d
jne 0x14022de0b
mov r13d, 1
mov eax, dword [rsp + 0x34]
inc r10d
cmp r10d, esi
jl 0x14022daba
test r12d, r12d
je 0x14022de23
test r13d, r13d
jne 0x14022de30
jmp 0x14022de2c
or r15d, 2
test r13d, r13d
jne 0x14022de30
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.1401e7300
int3