Function at 0x180049bc0
Capabilities:
Parse credit card information

Disassembly:
push rbp
push rbx
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x38
mov r15, qword [rcx]
mov r10, qword [r15 + 0x4b10]
mov rdi, qword [r15 + 0x198]
mov rbx, r10
movzx ecx, byte [r10]
call fcn.1800498b0
test al, al
je 0x180049c4c
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.1800498b0
test al, al
jne 0x180049bf2
cmp rbx, r10
je 0x180049c4c
mov r8, rbx
jbe 0x180049c18
cmp byte [rbx - 1], 0x2f
lea rax, [rbx - 1]
cmove r8, rax
lea r12, [rdi + 8]
mov byte [rsp + 0x28], 1
xor r14d, r14d
mov r9, r12
sub r8, r10
mov qword [rsp + 0x20], r14
mov rdx, r10
mov rcx, r15
call fcn.180055640
test eax, eax
je 0x180049c57
add rsp, 0x38
pop r15
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret
lea r12, [rdi + 8]
xor r14d, r14d
mov qword [r12], r14
cmp byte [rbx], 0x3b
mov qword [rsp + 0x30], rsi
jne 0x180049e42
nop word [rax + rax]
movzx eax, byte [rbx + 1]
inc rbx
mov rdx, rbx
test al, al
je 0x180049ed4
cmp al, 0x3d
je 0x180049c9b
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x180049c82
mov eax, 3
jmp 0x180049ead
cmp byte [rbx], 0
je 0x180049ed4
mov r8, rbx
mov byte [rsp + 0x28], 1
sub r8, rdx
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x40]
mov rcx, r15
call fcn.180055640
test eax, eax
jne 0x180049ead
movzx ecx, byte [rbx + 1]
inc rbx
mov r10, rbx
call fcn.1800498b0
test al, al
je 0x180049cf0
nop dword [rax + rax]
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.1800498b0
test al, al
jne 0x180049ce0
lea rax, [rbp + 0x48]
mov byte [rsp + 0x28], 1
mov r8, rbx
mov qword [rsp + 0x20], rax
sub r8, r10
lea r9, [rbp + 0x38]
mov rdx, r10
mov rcx, r15
call fcn.180055640
mov rcx, qword [rbp + 0x40]
mov esi, eax
test eax, eax
jne 0x180049edb
lea rdx, str.UIDVALIDITY
call fcn.180038f90
test eax, eax
je 0x180049d5e
cmp qword [rdi + 0x10], 0
jne 0x180049d5e
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x180049d51
mov rax, qword [rbp + 0x38]
cmp byte [rax + rcx - 1], 0x2f
jne 0x180049d51
mov byte [rax + rcx - 1], sil
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x10], rax
jmp 0x180049e21
mov rcx, qword [rbp + 0x40]
lea rdx, [0x1800b4748]
call fcn.180038f90
test eax, eax
je 0x180049d9f
cmp qword [rdi + 0x18], 0
jne 0x180049d9f
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x180049d92
mov rax, qword [rbp + 0x38]
cmp byte [rax + rcx - 1], 0x2f
jne 0x180049d92
mov byte [rax + rcx - 1], 0
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x18], rax
jmp 0x180049e21
mov rcx, qword [rbp + 0x40]
lea rdx, str.SECTION
call fcn.180038f90
test eax, eax
je 0x180049ddd
cmp qword [rdi + 0x20], 0
jne 0x180049ddd
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x180049dd3
mov rax, qword [rbp + 0x38]
cmp byte [rax + rcx - 1], 0x2f
jne 0x180049dd3
mov byte [rax + rcx - 1], 0
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x20], rax
jmp 0x180049e21
mov rcx, qword [rbp + 0x40]
lea rdx, str.PARTIAL
call fcn.180038f90
test eax, eax
je 0x180049ec0
cmp qword [rdi + 0x28], 0
jne 0x180049ec0
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x180049e19
mov rax, qword [rbp + 0x38]
cmp byte [rax + rcx - 1], 0x2f
jne 0x180049e19
mov byte [rax + rcx - 1], 0
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x28], rax
mov rcx, qword [rbp + 0x40]
mov qword [rbp + 0x38], r14
call qword [fcn.180081628]
mov rcx, qword [rbp + 0x38]
call qword [fcn.180081628]
cmp byte [rbx], 0x3b
je 0x180049c70
cmp qword [r12], 0
je 0x180049ea3
cmp qword [rdi + 0x18], 0
jne 0x180049ea3
cmp byte [rbx], 0x3f
jne 0x180049ea3
movzx ecx, byte [rbx + 1]
inc rbx
mov r10, rbx
call fcn.1800498b0
test al, al
je 0x180049e80
nop dword [rax + rax]
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.1800498b0
test al, al
jne 0x180049e70
mov r8, rbx
mov byte [rsp + 0x28], 1
sub r8, r10
mov qword [rsp + 0x20], r14
lea r9, [rdi + 0x30]
mov rdx, r10
mov rcx, r15
call fcn.180055640
test eax, eax
jne 0x180049ead
movzx eax, byte [rbx]
neg al
sbb eax, eax
and eax, 3
mov rsi, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x40]
call qword [fcn.180081628]
mov rcx, qword [rbp + 0x38]
call qword [fcn.180081628]
mov eax, 3
jmp 0x180049ead
call qword [fcn.180081628]
mov eax, esi
jmp 0x180049ead