Function at 0x140050ab0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
inc qword [rdx]
mov rbp, r8
mov rax, qword [r8 + 0x40]
mov rbx, rdx
sub rax, qword [r8 + 0x38]
mov rdi, rcx
cmp rax, 0x10
jge 0x1400508a2
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.1400506c0
mov rcx, qword [rbp + 0x38]
xorps xmm0, xmm0
mov edx, 4
movabs r14, 0x100002600
lea rax, [rcx + 0x10]
mov qword [rbp + 0x38], rax
movups xmmword [rcx], xmm0
mov word [rcx + 0xe], dx
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x1400508e7
bt r14, rax
jae 0x1400508e7
inc rcx
jmp 0x1400508d4
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140050a20
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x140050931
inc rax
movabs rcx, 0xffff000000000000
mov qword [rbx], rax
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x38], rax
mov word [rax - 2], dx
and qword [rax - 8], rcx
xor esi, esi
mov qword [rax - 0x10], rsi
jmp 0x140050a20
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
xor esi, esi
call fcn.140051720
cmp dword [rdi + 0x30], esi
jne 0x140050a20
nop word [rax + rax]
movups xmm0, xmmword [rbx]
inc esi
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
nop
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140050973
bt r14, rax
jae 0x140050973
inc rcx
jmp 0x140050960
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140050a20
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x1400509e8
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
movsx rax, byte [rdx]
cmp al, 0x20
ja 0x1400509bb
bt r14, rax
jae 0x1400509bb
inc rdx
jmp 0x1400509a8
mov qword [rsp + 0x20], rdx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140050a20
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140051720
cmp dword [rdi + 0x30], 0
je 0x140050950
jmp 0x140050a20
cmp cl, 0x5d
jne 0x140050a11
inc rax
mov edx, esi
mov rcx, rbp
mov qword [rbx], rax
call fcn.140053090
test al, al
jne 0x140050a20
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
jmp 0x140050a1c
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 7
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r13, rcx
movups xmm0, xmmword [rdx]
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rdx
movq r9, xmm0
mov rax, r9
psrldq xmm0, 8
movq r15, xmm0
sub rax, r15
mov qword [rsp + 0x20], rax
xorps xmm3, xmm3
xorps xmm1, xmm1
cmp byte [r9], 0x2d
jne 0x140050b11
inc r9
mov qword [rsp + 0x28], r9
mov r10b, 1
jmp 0x140050b14
xor r10b, r10b
mov byte [rsp + 0x98], r10b
xor ebp, ebp
mov edi, ebp
xor r12b, r12b
mov r11d, ebp
movsx ecx, byte [r9]
cmp cl, 0x30
jne 0x140050b3f
mov esi, ebp
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
jmp 0x140050c02
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x140051250
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
lea esi, [rcx - 0x30]
movzx eax, byte [rdx]
test r10b, r10b
je 0x140050bb1
cmp al, 0x30
jl 0x140050c02
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
ja 0x140050c02
cmp esi, 0xccccccc
jb 0x140050b85
jne 0x140050bfd
mov r8, rcx
cmp al, 0x38
ja 0x140050bfd
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
lea esi, [rsi + rsi*4]
movsx eax, byte [r8]
lea esi, [rsi - 0x18]
lea esi, [rax + rsi*2]
inc r11d
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140050c02
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140050b74
jmp 0x140050c02
cmp al, 0x30
jl 0x140050c02
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jg 0x140050c02
nop
cmp esi, 0x19999999
jb 0x140050bd1
jne 0x140050bfd
mov r8, rcx
cmp al, 0x35
jg 0x140050bfd
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
lea esi, [rsi + rsi*4]
movsx eax, byte [r8]
lea esi, [rsi - 0x18]
lea esi, [rax + rsi*2]
inc r11d
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140050c02
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140050bc0
jmp 0x140050c02
mov r12b, 1
mov edi, esi
xor r14b, r14b
movsd xmm2, qword [0x1400d6820]
test r12b, r12b
je 0x140050d42
movzx eax, byte [rdx]
test r10b, r10b
je 0x140050c97
cmp al, 0x30
jl 0x140050d42
mov r8, rdx
cmp al, 0x39
jg 0x140050d42
mov rcx, rdx
movabs r9, 0xccccccccccccccc
nop
cmp rdi, r9
jb 0x140050c4e
jne 0x140050c82
mov rcx, r8
cmp al, 0x38
ja 0x140050c82
lea rdx, [rcx + 1]
mov qword [rsp + 0x28], rdx
movsx ecx, byte [rcx]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
inc r11d
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140050d42
mov r8, rdx
mov rcx, rdx
cmp al, 0x39
jle 0x140050c40
jmp 0x140050d42
mov rcx, rdi
mov r14b, 1
xorps xmm1, xmm1
test rcx, rcx
js 0x140050cf6
cvtsi2sd xmm1, rcx
jmp 0x140050d0b
cmp al, 0x30
jl 0x140050d42
mov r9, rdx
cmp al, 0x39
jg 0x140050d42
mov r8, rdx
movabs r10, 0x1999999999999999
mov rcx, rdi
cmp rdi, r10
jb 0x140050cc8
jne 0x140050c85
mov r8, r9
cmp al, 0x35
ja 0x140050c85
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
movsx ecx, byte [r8]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
inc r11d
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140050d42
mov r9, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140050cb7
jmp 0x140050d42
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140050d42
mov rcx, rdx
cmp al, 0x39
ja 0x140050d42
lea rdx, [rcx + 1]
mov qword [rsp + 0x28], rdx
movsx eax, byte [rcx]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
movzx eax, byte [rdx]
mov rcx, rdx
cmp al, 0x30
jge 0x140050d15
mov ebx, ebp
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140050d53
inc rdx
mov qword [rsp + 0x28], rdx
mov rcx, rdx
cmp al, 0x2e
jne 0x140050e6c
movzx r9d, byte [rdx]
lea eax, [r9 - 0x30]
cmp al, 9
ja 0x140050ea0
mov r8, rdx
test r14b, r14b
jne 0x140050dfc
test r12b, r12b
jne 0x140050d81
mov edi, esi
mov r9, rcx
movzx eax, byte [rdx]
movabs r10, 0x1fffffffffffff
cmp al, 0x39
jg 0x140050dce
mov r8, r9
cmp rdi, r10
ja 0x140050dce
lea rdx, [rcx + 1]
mov r8, rdx
mov qword [rsp + 0x28], rdx
movsx ecx, byte [rcx]
sub ecx, 0x30
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
dec ebx
test rdi, rdi
je 0x140050dc1
inc r11d
movzx eax, byte [rdx]
mov rcx, rdx
mov r9, rdx
cmp al, 0x30
jge 0x140050d91
xorps xmm1, xmm1
test rdi, rdi
js 0x140050ddd
cvtsi2sd xmm1, rdi
jmp 0x140050df5
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
mov r14b, 1
movzx r9d, byte [r8]
mov rcx, r8
cmp r9b, 0x30
jl 0x140050e6c
mov r10, r8
mov r9, r8
movzx eax, byte [rdx]
nop
mov rcx, r9
cmp al, 0x39
jg 0x140050e6c
cmp r11d, 0x11
jge 0x140050e50
lea rcx, [r8 + 1]
mov rdx, rcx
mov qword [rsp + 0x28], rcx
movsx eax, byte [r8]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm0, xmm1
movaps xmm1, xmm0
dec ebx
comisd xmm0, xmm3
jbe 0x140050e5c
inc r11d
jmp 0x140050e5c
lea rcx, [r10 + 1]
mov rdx, rcx
mov qword [rsp + 0x28], rcx
mov r8, rcx
movzx eax, byte [rdx]
mov r10, rcx
mov r9, rcx
cmp al, 0x30
jge 0x140050e10
cmp byte [rcx], 0x65
je 0x140050e7a
cmp byte [rcx], 0x45
jne 0x140050f89
inc rcx
mov qword [rsp + 0x28], rcx
test r14b, r14b
jne 0x140050ecc
test r12b, r12b
mov rdx, rdi
jne 0x140050e91
mov edx, esi
xorps xmm1, xmm1
test rdx, rdx
js 0x140050eb4
cvtsi2sd xmm1, rdx
jmp 0x140050ec9
mov dword [r13 + 0x30], 0xe
sub rcx, r15
mov qword [r13 + 0x38], rcx
jmp 0x14005125f
mov rax, rdx
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mov r14b, 1
xor r9b, r9b
movzx edx, byte [rcx]
cmp dl, 0x2b
je 0x140050edf
cmp dl, 0x2d
jne 0x140050eea
mov r9b, 1
inc rcx
movzx edx, byte [rcx]
mov qword [rsp + 0x28], rcx
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140051043
lea r8, [rcx + 1]
mov qword [rsp + 0x28], r8
movsx ebp, dl
sub ebp, 0x30
movzx r10d, byte [r8]
test r9b, r9b
je 0x140050ff6
lea ecx, [rbx + 0x7ffffff7]
mov eax, 0x66666667
imul ecx
mov r9d, edx
sar r9d, 2
mov eax, r9d
shr eax, 0x1f
add r9d, eax
cmp r10b, 0x30
jl 0x140050f87
movzx eax, r10b
cmp al, 0x39
jg 0x140050f87
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
lea ebp, [rbp + rbp*4]
movsx eax, byte [r8]
lea ebp, [rbp - 0x18]
lea ebp, [rax + rbp*2]
mov r8, rdx
cmp ebp, r9d
jle 0x140050f80
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140050f80
mov rcx, rdx
cmp al, 0x39
ja 0x140050f7b
lea r8, [rcx + 1]
mov rdx, r8
movzx eax, byte [r8]
mov rcx, r8
cmp al, 0x30
jge 0x140050f65
mov qword [rsp + 0x28], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140050f38
neg ebp
test r14b, r14b
je 0x1400510bd
lea ecx, [rbx + rbp]
cmp ecx, 0xfffffecc
jge 0x140051057
divsd xmm1, qword [0x1400d88e0]
lea eax, [rcx + 0x134]
cmp eax, 0xfffffecc
jl 0x140050fd2
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x1400d78f0]
sub rcx, rax
movaps xmm3, xmm1
divsd xmm3, qword [rcx]
comisd xmm3, xmmword [0x1400d6828]
jbe 0x14005107e
mov dword [r13 + 0x30], 0xd
mov rax, qword [rsp + 0x20]
mov qword [r13 + 0x38], rax
jmp 0x14005125f
mov r9d, 0x134
sub r9d, ebx
cmp r10b, 0x30
jl 0x140050f89
movzx eax, r10b
nop dword [rax]
cmp al, 0x39
jg 0x140050f89
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
lea ebp, [rbp + rbp*4]
movsx eax, byte [r8]
lea ebp, [rbp - 0x18]
lea ebp, [rax + rbp*2]
cmp ebp, r9d
jg 0x140050fe0
movzx eax, byte [rdx]
mov r8, rdx
cmp al, 0x30
jge 0x140051010
jmp 0x140050f89
sub rcx, r15
mov dword [r13 + 0x30], 0xf
mov qword [r13 + 0x38], rcx
jmp 0x14005125f
movsxd rax, ecx
lea rax, [rax*8]
test ecx, ecx
js 0x140050fc1
lea rcx, [0x1400d78f0]
movaps xmm3, xmm1
mulsd xmm3, qword [rax + rcx]
jmp 0x140050fd2
cmp byte [rsp + 0x98], 0
je 0x14005108f
xorps xmm3, xmmword [0x1400d6840]
movaps xmm1, xmm3
mov rcx, qword [rsp + 0x90]
call fcn.140052af0
test al, al
jne 0x14005125f
mov dword [r13 + 0x30], 0x10
mov rax, qword [rsp + 0x20]
mov qword [r13 + 0x38], rax
jmp 0x14005125f
mov rbx, qword [rsp + 0x90]
add rbx, 0x20
mov rax, qword [rbx + 0x20]
sub rax, qword [rbx + 0x18]
test r12b, r12b
je 0x1400511c1
cmp byte [rsp + 0x98], 0
je 0x140051151
neg rdi
cmp rax, 0x10
jge 0x1400510fa
mov edx, 1
mov rcx, rbx
call fcn.1400506c0
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
mov qword [rbx + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rdi
mov word [rcx + 0xe], 0x96
test rdi, rdi
js 0x140051139
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x1400511a7
mov eax, 0x1d6
jmp 0x1400511a3
cmp rdi, 0xffffffff80000000
jl 0x14005125f
mov word [rcx + 0xe], 0xb6
jmp 0x14005125f
cmp rax, 0x10
jge 0x140051164
mov edx, 1
mov rcx, rbx
call fcn.1400506c0
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
mov qword [rbx + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rdi
mov eax, 0x116
mov word [rcx + 0xe], ax
test rdi, rdi
js 0x140051190
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x1400511a7
or ax, 0x40
mov word [rcx + 0xe], ax
test rdi, 0xffffffff80000000
jne 0x14005125f
or ax, 0x20
mov word [rcx + 0xe], ax
jmp 0x14005125f
cmp byte [rsp + 0x98], 0
je 0x14005120e
neg esi
cmp rax, 0x10
jge 0x1400511e0
mov edx, 1
mov rcx, rbx
call fcn.1400506c0
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
mov qword [rbx + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movsxd rax, esi
mov qword [rcx], rax
mov eax, 0xb6
mov edx, 0x1f6
test esi, esi
cmovns ax, dx
mov word [rcx + 0xe], ax
jmp 0x14005125f
cmp rax, 0x10
jge 0x140051221
mov edx, 1
mov rcx, rbx
call fcn.1400506c0
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 0x10]
mov qword [rbx + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov eax, esi
mov qword [rcx], rax
shr esi, 0x1a
not si
and si, 0x20
mov eax, 0x1d6
or si, ax
mov word [rcx + 0xe], si
jmp 0x14005125f
mov dword [r13 + 0x30], 3
sub r9, r15
mov qword [r13 + 0x38], r9
movups xmm0, xmmword [rsp + 0x28]
mov rax, qword [rsp + 0x88]
movups xmmword [rax], xmm0
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 8], rbx
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r12, rcx
movups xmm0, xmmword [rdx]
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rdx
movq rbx, xmm0
inc rbx
mov qword [rbp - 0x20], rbx
mov r14, rcx
mov qword [rbp - 0x30], rcx
xor r13d, r13d
lea rdx, [0x1400d87e0]
mov r15, qword [rbp - 0x18]
mov dword [rbp - 0x28], r13d
nop dword [rax]
nop dword [rax + rax]
movzx esi, byte [rbx]
cmp sil, 0x5c
jne 0x1400515ec
mov rsi, rbx
sub rsi, r15
inc rbx
mov qword [rbp - 0x20], rbx
movzx ecx, byte [rbx]
movzx edi, byte [rcx + rdx]
test dil, dil
je 0x1400514d3
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x1400514bf
mov edx, 1
mov rcx, r14
call fcn.140050620
lea rdx, [0x1400d87e0]
mov rcx, qword [r14 + 0x18]
lea rax, [rcx + 1]
mov qword [r14 + 0x18], rax
mov byte [rcx], dil
inc r13d
jmp 0x140051460
lea rdi, [r12 + 0x30]
cmp cl, 0x75
jne 0x140051644
lea rax, [rbx + 1]
mov qword [rbp - 0x20], rax
mov r8, rsi
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.140050a40
cmp dword [rdi], 0
jne 0x1400516fa
lea r9d, [rax - 0xd800]
cmp r9d, 0x7ff
ja 0x1400515c5
cmp eax, 0xdbff
ja 0x140051638
mov rbx, qword [rbp - 0x20]
cmp byte [rbx], 0x5c
jne 0x140051638
inc rbx
mov qword [rbp - 0x20], rbx
cmp byte [rbx], 0x75
jne 0x140051638
inc rbx
mov qword [rbp - 0x20], rbx
xor eax, eax
xor r8d, r8d
nop dword [rax]
movsx edx, byte [rbx]
shl eax, 4
add eax, edx
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x140051565
add eax, 0xffffffd0
jmp 0x14005157d
lea ecx, [rdx - 0x41]
cmp cl, 5
ja 0x140051572
add eax, 0xffffffc9
jmp 0x14005157d
sub dl, 0x61
cmp dl, 5
ja 0x14005158f
add eax, 0xffffffa9
inc rbx
mov qword [rbp - 0x20], rbx
inc r8d
cmp r8d, 4
jl 0x140051550
jmp 0x14005159b
mov dword [rdi], 8
mov qword [rdi + 8], rsi
xor eax, eax
cmp dword [rdi], 0
jne 0x1400516fa
lea ecx, [rax - 0xdc00]
cmp ecx, 0x3ff
ja 0x140051638
mov eax, r9d
shl eax, 0xa
or eax, ecx
add eax, 0x10000
jmp 0x1400515c9
mov rbx, qword [rbp - 0x20]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.140050490
mov r15, qword [rbp - 0x18]
mov r13d, dword [rbp - 0x28]
mov r14, qword [rbp - 0x30]
lea rdx, [0x1400d87e0]
jmp 0x140051470
cmp sil, 0x22
je 0x140051671
cmp sil, 0x20
jb 0x140051650
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x140051621
mov edx, 1
mov rcx, r14
call fcn.140050620
lea rdx, [0x1400d87e0]
mov rcx, qword [r14 + 0x18]
lea rax, [rcx + 1]
mov qword [r14 + 0x18], rax
mov byte [rcx], sil
inc r13d
jmp 0x140051460
mov dword [rdi], 9
mov qword [rdi + 8], rsi
jmp 0x1400516aa
mov dword [rdi], 0xa
mov qword [rdi + 8], rsi
jmp 0x1400516aa
lea rdi, [r12 + 0x30]
sub rbx, r15
mov qword [rdi + 8], rbx
test sil, sil
jne 0x140051669
mov dword [rdi], 0xb
jmp 0x1400516aa
mov dword [rdi], 0xc
jmp 0x1400516aa
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x140051693
mov edx, 1
mov rcx, r14
call fcn.140050620
mov rcx, qword [r14 + 0x18]
lea rax, [rcx + 1]
mov qword [r14 + 0x18], rax
mov byte [rcx], 0
inc r13d
lea rdi, [r12 + 0x30]
cmp dword [rdi], 0
jne 0x1400516fa
mov eax, r13d
sub qword [r14 + 0x18], rax
mov rsi, qword [r14 + 0x18]
mov r14, qword [rbp + 0x50]
mov rax, qword [r14 + 0x40]
mov rcx, qword [r14 + 0x38]
sub rax, rcx
cmp rax, 0x10
jge 0x1400516dd
mov edx, 1
lea rcx, [r14 + 0x20]
call fcn.1400506c0
mov rcx, qword [r14 + 0x38]
lea rax, [rcx + 0x10]
mov qword [r14 + 0x38], rax
mov r9, qword [r14 + 0x10]
lea r8d, [r13 - 1]
mov rdx, rsi
call fcn.140051df0
nop
mov rax, qword [rbp - 0x10]
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rax], xmm0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x40
mov rdi, rcx
mov rbp, r8
mov rcx, qword [rdx]
mov rbx, rdx
movsx eax, byte [rcx]
add eax, 0xffffffde
cmp eax, 0x59
ja case.0x140051766.35
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x51b70]
mov r9d, dword [rdx + rax*4 + 0x51b54]
add r9, rdx
jmp r9
lea rax, [rcx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x1400517cf
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x1400517cf
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x1400517cf
inc rax
mov qword [rbx], rax
mov rax, qword [r8 + 0x40]
sub rax, qword [r8 + 0x38]
cmp rax, 0x10
jge 0x1400517ad
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.1400506c0
mov rcx, qword [rbp + 0x38]
xorps xmm0, xmm0
lea rax, [rcx + 0x10]
mov qword [rbp + 0x38], rax
movups xmmword [rcx], xmm0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 3
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea rax, [rcx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x72
jne 0x1400517cf
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x1400517cf
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x1400517cf
inc rax
mov dl, 1
mov rcx, rbp
mov qword [rbx], rax
call fcn.1400522b0
test al, al
jne 0x140051ad0
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
mov qword [rdi + 0x38], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea rax, [rcx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x61
jne 0x1400517cf
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x1400517cf
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x73
jne 0x1400517cf
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x1400517cf
inc rax
xor edx, edx
jmp 0x140051815
xor r9d, r9d
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp 0x140051410
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rsi
mov qword [rbx], rax
mov rax, qword [r8 + 0x40]
sub rax, qword [r8 + 0x38]
mov qword [rsp + 0x58], r14
cmp rax, 0x10
jge 0x1400518d8
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.1400506c0
mov rcx, qword [rbp + 0x38]
xorps xmm0, xmm0
mov edx, 3
movabs r14, 0x100002600
lea rax, [rcx + 0x10]
mov qword [rbp + 0x38], rax
movups xmmword [rcx], xmm0
mov word [rcx + 0xe], dx
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
nop word [rax + rax]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140051923
bt r14, rax
jae 0x140051923
inc rcx
jmp 0x140051910
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051ac6
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x14005196d
inc rax
movabs rcx, 0xffff000000000000
mov qword [rbx], rax
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x38], rax
mov word [rax - 2], dx
and qword [rax - 8], rcx
xor esi, esi
mov qword [rax - 0x10], rsi
jmp 0x140051ac6
xor esi, esi
nop
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x140051b11
mov r9b, 1
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call 0x140051410
cmp dword [rdi + 0x30], 0
jne 0x140051ac6
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x1400519b7
bt r14, rax
jae 0x1400519b7
inc rcx
jmp 0x1400519a4
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051ac6
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x140051b04
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
nop dword [rax]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140051a03
bt r14, rax
jae 0x140051a03
inc rcx
jmp 0x1400519f0
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051ac6
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140051720
cmp dword [rdi + 0x30], 0
jne 0x140051ac6
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
nop
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140051a53
bt r14, rax
jae 0x140051a53
inc rcx
jmp 0x140051a40
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051ac6
mov rax, qword [rbx]
inc esi
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140051ab2
inc rax
mov qword [rbx], rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140051a99
bt r14, rax
jae 0x140051a99
inc rcx
jmp 0x140051a86
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
je 0x140051970
jmp 0x140051ac6
cmp cl, 0x7d
je 0x140051ae0
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 6
mov qword [rdi + 0x38], rax
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
inc rax
mov edx, esi
mov rcx, rbp
mov qword [rbx], rax
call fcn.140053120
test al, al
jne 0x140051ac6
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
jmp 0x140051ac2
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 5
jmp 0x140051ac2
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 4
jmp 0x140051ac2
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp 0x140050860
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp 0x140050ab0