Function at 0x140050670
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 0x140050462
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140050280
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 0x1400504a7
bt r14, rax
jae 0x1400504a7
inc rcx
jmp 0x140050494
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1400505e0
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x1400504f1
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 0x1400505e0
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
xor esi, esi
call fcn.1400512e0
cmp dword [rdi + 0x30], esi
jne 0x1400505e0
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 0x140050533
bt r14, rax
jae 0x140050533
inc rcx
jmp 0x140050520
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1400505e0
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x1400505a8
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 0x14005057b
bt r14, rax
jae 0x14005057b
inc rdx
jmp 0x140050568
mov qword [rsp + 0x20], rdx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1400505e0
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1400512e0
cmp dword [rdi + 0x30], 0
je 0x140050510
jmp 0x1400505e0
cmp cl, 0x5d
jne 0x1400505d1
inc rax
mov edx, esi
mov rcx, rbp
mov qword [rbx], rax
call fcn.140052ce0
test al, al
jne 0x1400505e0
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
jmp 0x1400505dc
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 0x1400506d1
inc r9
mov qword [rsp + 0x28], r9
mov r10b, 1
jmp 0x1400506d4
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 0x1400506ff
mov esi, ebp
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
jmp 0x1400507c2
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x140050e10
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
lea esi, [rcx - 0x30]
movzx eax, byte [rdx]
test r10b, r10b
je 0x140050771
cmp al, 0x30
jl 0x1400507c2
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
ja 0x1400507c2
cmp esi, 0xccccccc
jb 0x140050745
jne 0x1400507bd
mov r8, rcx
cmp al, 0x38
ja 0x1400507bd
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 0x1400507c2
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140050734
jmp 0x1400507c2
cmp al, 0x30
jl 0x1400507c2
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jg 0x1400507c2
nop
cmp esi, 0x19999999
jb 0x140050791
jne 0x1400507bd
mov r8, rcx
cmp al, 0x35
jg 0x1400507bd
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 0x1400507c2
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140050780
jmp 0x1400507c2
mov r12b, 1
mov edi, esi
xor r14b, r14b
movsd xmm2, qword [0x1400d67f0]
test r12b, r12b
je 0x140050902
movzx eax, byte [rdx]
test r10b, r10b
je 0x140050857
cmp al, 0x30
jl 0x140050902
mov r8, rdx
cmp al, 0x39
jg 0x140050902
mov rcx, rdx
movabs r9, 0xccccccccccccccc
nop
cmp rdi, r9
jb 0x14005080e
jne 0x140050842
mov rcx, r8
cmp al, 0x38
ja 0x140050842
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 0x140050902
mov r8, rdx
mov rcx, rdx
cmp al, 0x39
jle 0x140050800
jmp 0x140050902
mov rcx, rdi
mov r14b, 1
xorps xmm1, xmm1
test rcx, rcx
js 0x1400508b6
cvtsi2sd xmm1, rcx
jmp 0x1400508cb
cmp al, 0x30
jl 0x140050902
mov r9, rdx
cmp al, 0x39
jg 0x140050902
mov r8, rdx
movabs r10, 0x1999999999999999
mov rcx, rdi
cmp rdi, r10
jb 0x140050888
jne 0x140050845
mov r8, r9
cmp al, 0x35
ja 0x140050845
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 0x140050902
mov r9, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140050877
jmp 0x140050902
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 0x140050902
mov rcx, rdx
cmp al, 0x39
ja 0x140050902
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 0x1400508d5
mov ebx, ebp
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140050913
inc rdx
mov qword [rsp + 0x28], rdx
mov rcx, rdx
cmp al, 0x2e
jne 0x140050a2c
movzx r9d, byte [rdx]
lea eax, [r9 - 0x30]
cmp al, 9
ja 0x140050a60
mov r8, rdx
test r14b, r14b
jne 0x1400509bc
test r12b, r12b
jne 0x140050941
mov edi, esi
mov r9, rcx
movzx eax, byte [rdx]
movabs r10, 0x1fffffffffffff
cmp al, 0x39
jg 0x14005098e
mov r8, r9
cmp rdi, r10
ja 0x14005098e
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 0x140050981
inc r11d
movzx eax, byte [rdx]
mov rcx, rdx
mov r9, rdx
cmp al, 0x30
jge 0x140050951
xorps xmm1, xmm1
test rdi, rdi
js 0x14005099d
cvtsi2sd xmm1, rdi
jmp 0x1400509b5
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 0x140050a2c
mov r10, r8
mov r9, r8
movzx eax, byte [rdx]
nop
mov rcx, r9
cmp al, 0x39
jg 0x140050a2c
cmp r11d, 0x11
jge 0x140050a10
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 0x140050a1c
inc r11d
jmp 0x140050a1c
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 0x1400509d0
cmp byte [rcx], 0x65
je 0x140050a3a
cmp byte [rcx], 0x45
jne 0x140050b49
inc rcx
mov qword [rsp + 0x28], rcx
test r14b, r14b
jne 0x140050a8c
test r12b, r12b
mov rdx, rdi
jne 0x140050a51
mov edx, esi
xorps xmm1, xmm1
test rdx, rdx
js 0x140050a74
cvtsi2sd xmm1, rdx
jmp 0x140050a89
mov dword [r13 + 0x30], 0xe
sub rcx, r15
mov qword [r13 + 0x38], rcx
jmp 0x140050e1f
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 0x140050a9f
cmp dl, 0x2d
jne 0x140050aaa
mov r9b, 1
inc rcx
movzx edx, byte [rcx]
mov qword [rsp + 0x28], rcx
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140050c03
lea r8, [rcx + 1]
mov qword [rsp + 0x28], r8
movsx ebp, dl
sub ebp, 0x30
movzx r10d, byte [r8]
test r9b, r9b
je 0x140050bb6
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 0x140050b47
movzx eax, r10b
cmp al, 0x39
jg 0x140050b47
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 0x140050b40
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140050b40
mov rcx, rdx
cmp al, 0x39
ja 0x140050b3b
lea r8, [rcx + 1]
mov rdx, r8
movzx eax, byte [r8]
mov rcx, r8
cmp al, 0x30
jge 0x140050b25
mov qword [rsp + 0x28], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140050af8
neg ebp
test r14b, r14b
je 0x140050c7d
lea ecx, [rbx + rbp]
cmp ecx, 0xfffffecc
jge 0x140050c17
divsd xmm1, qword [0x1400d89d0]
lea eax, [rcx + 0x134]
cmp eax, 0xfffffecc
jl 0x140050b92
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x1400d7980]
sub rcx, rax
movaps xmm3, xmm1
divsd xmm3, qword [rcx]
comisd xmm3, xmmword [0x1400d67f8]
jbe 0x140050c3e
mov dword [r13 + 0x30], 0xd
mov rax, qword [rsp + 0x20]
mov qword [r13 + 0x38], rax
jmp 0x140050e1f
mov r9d, 0x134
sub r9d, ebx
cmp r10b, 0x30
jl 0x140050b49
movzx eax, r10b
nop dword [rax]
cmp al, 0x39
jg 0x140050b49
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 0x140050ba0
movzx eax, byte [rdx]
mov r8, rdx
cmp al, 0x30
jge 0x140050bd0
jmp 0x140050b49
sub rcx, r15
mov dword [r13 + 0x30], 0xf
mov qword [r13 + 0x38], rcx
jmp 0x140050e1f
movsxd rax, ecx
lea rax, [rax*8]
test ecx, ecx
js 0x140050b81
lea rcx, [0x1400d7980]
movaps xmm3, xmm1
mulsd xmm3, qword [rax + rcx]
jmp 0x140050b92
cmp byte [rsp + 0x98], 0
je 0x140050c4f
xorps xmm3, xmmword [0x1400d6820]
movaps xmm1, xmm3
mov rcx, qword [rsp + 0x90]
call fcn.1400526b0
test al, al
jne 0x140050e1f
mov dword [r13 + 0x30], 0x10
mov rax, qword [rsp + 0x20]
mov qword [r13 + 0x38], rax
jmp 0x140050e1f
mov rbx, qword [rsp + 0x90]
add rbx, 0x20
mov rax, qword [rbx + 0x20]
sub rax, qword [rbx + 0x18]
test r12b, r12b
je 0x140050d81
cmp byte [rsp + 0x98], 0
je 0x140050d11
neg rdi
cmp rax, 0x10
jge 0x140050cba
mov edx, 1
mov rcx, rbx
call fcn.140050280
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 0x140050cf9
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x140050d67
mov eax, 0x1d6
jmp 0x140050d63
cmp rdi, 0xffffffff80000000
jl 0x140050e1f
mov word [rcx + 0xe], 0xb6
jmp 0x140050e1f
cmp rax, 0x10
jge 0x140050d24
mov edx, 1
mov rcx, rbx
call fcn.140050280
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 0x140050d50
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x140050d67
or ax, 0x40
mov word [rcx + 0xe], ax
test rdi, 0xffffffff80000000
jne 0x140050e1f
or ax, 0x20
mov word [rcx + 0xe], ax
jmp 0x140050e1f
cmp byte [rsp + 0x98], 0
je 0x140050dce
neg esi
cmp rax, 0x10
jge 0x140050da0
mov edx, 1
mov rcx, rbx
call fcn.140050280
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 0x140050e1f
cmp rax, 0x10
jge 0x140050de1
mov edx, 1
mov rcx, rbx
call fcn.140050280
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 0x140050e1f
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, [0x1400d88d0]
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 0x1400511ac
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 0x140051093
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x14005107f
mov edx, 1
mov rcx, r14
call fcn.1400501e0
lea rdx, [0x1400d88d0]
mov rcx, qword [r14 + 0x18]
lea rax, [rcx + 1]
mov qword [r14 + 0x18], rax
mov byte [rcx], dil
inc r13d
jmp 0x140051020
lea rdi, [r12 + 0x30]
cmp cl, 0x75
jne 0x140051204
lea rax, [rbx + 1]
mov qword [rbp - 0x20], rax
mov r8, rsi
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.140050600
cmp dword [rdi], 0
jne 0x1400512ba
lea r9d, [rax - 0xd800]
cmp r9d, 0x7ff
ja 0x140051185
cmp eax, 0xdbff
ja 0x1400511f8
mov rbx, qword [rbp - 0x20]
cmp byte [rbx], 0x5c
jne 0x1400511f8
inc rbx
mov qword [rbp - 0x20], rbx
cmp byte [rbx], 0x75
jne 0x1400511f8
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 0x140051125
add eax, 0xffffffd0
jmp 0x14005113d
lea ecx, [rdx - 0x41]
cmp cl, 5
ja 0x140051132
add eax, 0xffffffc9
jmp 0x14005113d
sub dl, 0x61
cmp dl, 5
ja 0x14005114f
add eax, 0xffffffa9
inc rbx
mov qword [rbp - 0x20], rbx
inc r8d
cmp r8d, 4
jl 0x140051110
jmp 0x14005115b
mov dword [rdi], 8
mov qword [rdi + 8], rsi
xor eax, eax
cmp dword [rdi], 0
jne 0x1400512ba
lea ecx, [rax - 0xdc00]
cmp ecx, 0x3ff
ja 0x1400511f8
mov eax, r9d
shl eax, 0xa
or eax, ecx
add eax, 0x10000
jmp 0x140051189
mov rbx, qword [rbp - 0x20]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.140050050
mov r15, qword [rbp - 0x18]
mov r13d, dword [rbp - 0x28]
mov r14, qword [rbp - 0x30]
lea rdx, [0x1400d88d0]
jmp 0x140051030
cmp sil, 0x22
je 0x140051231
cmp sil, 0x20
jb 0x140051210
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x1400511e1
mov edx, 1
mov rcx, r14
call fcn.1400501e0
lea rdx, [0x1400d88d0]
mov rcx, qword [r14 + 0x18]
lea rax, [rcx + 1]
mov qword [r14 + 0x18], rax
mov byte [rcx], sil
inc r13d
jmp 0x140051020
mov dword [rdi], 9
mov qword [rdi + 8], rsi
jmp 0x14005126a
mov dword [rdi], 0xa
mov qword [rdi + 8], rsi
jmp 0x14005126a
lea rdi, [r12 + 0x30]
sub rbx, r15
mov qword [rdi + 8], rbx
test sil, sil
jne 0x140051229
mov dword [rdi], 0xb
jmp 0x14005126a
mov dword [rdi], 0xc
jmp 0x14005126a
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x140051253
mov edx, 1
mov rcx, r14
call fcn.1400501e0
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 0x1400512ba
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 0x14005129d
mov edx, 1
lea rcx, [r14 + 0x20]
call fcn.140050280
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.1400519b0
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.0x140051326.35
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x51730]
mov r9d, dword [rdx + rax*4 + 0x51714]
add r9, rdx
jmp r9
lea rax, [rcx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x14005138f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14005138f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14005138f
inc rax
mov qword [rbx], rax
mov rax, qword [r8 + 0x40]
sub rax, qword [r8 + 0x38]
cmp rax, 0x10
jge 0x14005136d
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140050280
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 0x14005138f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x14005138f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x14005138f
inc rax
mov dl, 1
mov rcx, rbp
mov qword [rbx], rax
call fcn.140051e70
test al, al
jne 0x140051690
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 0x14005138f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14005138f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x73
jne 0x14005138f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x14005138f
inc rax
xor edx, edx
jmp 0x1400513d5
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 0x140050fd0
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 0x140051498
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140050280
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 0x1400514e3
bt r14, rax
jae 0x1400514e3
inc rcx
jmp 0x1400514d0
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051686
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x14005152d
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 0x140051686
xor esi, esi
nop
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x1400516d1
mov r9b, 1
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call 0x140050fd0
cmp dword [rdi + 0x30], 0
jne 0x140051686
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140051577
bt r14, rax
jae 0x140051577
inc rcx
jmp 0x140051564
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051686
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x1400516c4
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 0x1400515c3
bt r14, rax
jae 0x1400515c3
inc rcx
jmp 0x1400515b0
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051686
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1400512e0
cmp dword [rdi + 0x30], 0
jne 0x140051686
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
nop
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140051613
bt r14, rax
jae 0x140051613
inc rcx
jmp 0x140051600
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051686
mov rax, qword [rbx]
inc esi
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140051672
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 0x140051659
bt r14, rax
jae 0x140051659
inc rcx
jmp 0x140051646
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
je 0x140051530
jmp 0x140051686
cmp cl, 0x7d
je 0x1400516a0
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.140052d70
test al, al
jne 0x140051686
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
jmp 0x140051682
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 5
jmp 0x140051682
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 4
jmp 0x140051682
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp 0x140050420
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp 0x140050670