Function at 0x140050940
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 0x140050732
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140050550
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 0x140050777
bt r14, rax
jae 0x140050777
inc rcx
jmp 0x140050764
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1400508b0
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x1400507c1
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 0x1400508b0
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
xor esi, esi
call fcn.1400515b0
cmp dword [rdi + 0x30], esi
jne 0x1400508b0
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 0x140050803
bt r14, rax
jae 0x140050803
inc rcx
jmp 0x1400507f0
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1400508b0
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140050878
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 0x14005084b
bt r14, rax
jae 0x14005084b
inc rdx
jmp 0x140050838
mov qword [rsp + 0x20], rdx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1400508b0
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1400515b0
cmp dword [rdi + 0x30], 0
je 0x1400507e0
jmp 0x1400508b0
cmp cl, 0x5d
jne 0x1400508a1
inc rax
mov edx, esi
mov rcx, rbp
mov qword [rbx], rax
call fcn.140052fb0
test al, al
jne 0x1400508b0
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
jmp 0x1400508ac
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 0x1400509a1
inc r9
mov qword [rsp + 0x28], r9
mov r10b, 1
jmp 0x1400509a4
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 0x1400509cf
mov esi, ebp
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
jmp 0x140050a92
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x1400510e0
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
lea esi, [rcx - 0x30]
movzx eax, byte [rdx]
test r10b, r10b
je 0x140050a41
cmp al, 0x30
jl 0x140050a92
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
ja 0x140050a92
cmp esi, 0xccccccc
jb 0x140050a15
jne 0x140050a8d
mov r8, rcx
cmp al, 0x38
ja 0x140050a8d
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 0x140050a92
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140050a04
jmp 0x140050a92
cmp al, 0x30
jl 0x140050a92
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jg 0x140050a92
nop
cmp esi, 0x19999999
jb 0x140050a61
jne 0x140050a8d
mov r8, rcx
cmp al, 0x35
jg 0x140050a8d
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 0x140050a92
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140050a50
jmp 0x140050a92
mov r12b, 1
mov edi, esi
xor r14b, r14b
movsd xmm2, qword [0x1400d6800]
test r12b, r12b
je 0x140050bd2
movzx eax, byte [rdx]
test r10b, r10b
je 0x140050b27
cmp al, 0x30
jl 0x140050bd2
mov r8, rdx
cmp al, 0x39
jg 0x140050bd2
mov rcx, rdx
movabs r9, 0xccccccccccccccc
nop
cmp rdi, r9
jb 0x140050ade
jne 0x140050b12
mov rcx, r8
cmp al, 0x38
ja 0x140050b12
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 0x140050bd2
mov r8, rdx
mov rcx, rdx
cmp al, 0x39
jle 0x140050ad0
jmp 0x140050bd2
mov rcx, rdi
mov r14b, 1
xorps xmm1, xmm1
test rcx, rcx
js 0x140050b86
cvtsi2sd xmm1, rcx
jmp 0x140050b9b
cmp al, 0x30
jl 0x140050bd2
mov r9, rdx
cmp al, 0x39
jg 0x140050bd2
mov r8, rdx
movabs r10, 0x1999999999999999
mov rcx, rdi
cmp rdi, r10
jb 0x140050b58
jne 0x140050b15
mov r8, r9
cmp al, 0x35
ja 0x140050b15
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 0x140050bd2
mov r9, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140050b47
jmp 0x140050bd2
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 0x140050bd2
mov rcx, rdx
cmp al, 0x39
ja 0x140050bd2
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 0x140050ba5
mov ebx, ebp
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140050be3
inc rdx
mov qword [rsp + 0x28], rdx
mov rcx, rdx
cmp al, 0x2e
jne 0x140050cfc
movzx r9d, byte [rdx]
lea eax, [r9 - 0x30]
cmp al, 9
ja 0x140050d30
mov r8, rdx
test r14b, r14b
jne 0x140050c8c
test r12b, r12b
jne 0x140050c11
mov edi, esi
mov r9, rcx
movzx eax, byte [rdx]
movabs r10, 0x1fffffffffffff
cmp al, 0x39
jg 0x140050c5e
mov r8, r9
cmp rdi, r10
ja 0x140050c5e
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 0x140050c51
inc r11d
movzx eax, byte [rdx]
mov rcx, rdx
mov r9, rdx
cmp al, 0x30
jge 0x140050c21
xorps xmm1, xmm1
test rdi, rdi
js 0x140050c6d
cvtsi2sd xmm1, rdi
jmp 0x140050c85
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 0x140050cfc
mov r10, r8
mov r9, r8
movzx eax, byte [rdx]
nop
mov rcx, r9
cmp al, 0x39
jg 0x140050cfc
cmp r11d, 0x11
jge 0x140050ce0
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 0x140050cec
inc r11d
jmp 0x140050cec
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 0x140050ca0
cmp byte [rcx], 0x65
je 0x140050d0a
cmp byte [rcx], 0x45
jne 0x140050e19
inc rcx
mov qword [rsp + 0x28], rcx
test r14b, r14b
jne 0x140050d5c
test r12b, r12b
mov rdx, rdi
jne 0x140050d21
mov edx, esi
xorps xmm1, xmm1
test rdx, rdx
js 0x140050d44
cvtsi2sd xmm1, rdx
jmp 0x140050d59
mov dword [r13 + 0x30], 0xe
sub rcx, r15
mov qword [r13 + 0x38], rcx
jmp 0x1400510ef
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 0x140050d6f
cmp dl, 0x2d
jne 0x140050d7a
mov r9b, 1
inc rcx
movzx edx, byte [rcx]
mov qword [rsp + 0x28], rcx
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140050ed3
lea r8, [rcx + 1]
mov qword [rsp + 0x28], r8
movsx ebp, dl
sub ebp, 0x30
movzx r10d, byte [r8]
test r9b, r9b
je 0x140050e86
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 0x140050e17
movzx eax, r10b
cmp al, 0x39
jg 0x140050e17
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 0x140050e10
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140050e10
mov rcx, rdx
cmp al, 0x39
ja 0x140050e0b
lea r8, [rcx + 1]
mov rdx, r8
movzx eax, byte [r8]
mov rcx, r8
cmp al, 0x30
jge 0x140050df5
mov qword [rsp + 0x28], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140050dc8
neg ebp
test r14b, r14b
je 0x140050f4d
lea ecx, [rbx + rbp]
cmp ecx, 0xfffffecc
jge 0x140050ee7
divsd xmm1, qword [0x1400d89b0]
lea eax, [rcx + 0x134]
cmp eax, 0xfffffecc
jl 0x140050e62
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x1400d7960]
sub rcx, rax
movaps xmm3, xmm1
divsd xmm3, qword [rcx]
comisd xmm3, xmmword [0x1400d6808]
jbe 0x140050f0e
mov dword [r13 + 0x30], 0xd
mov rax, qword [rsp + 0x20]
mov qword [r13 + 0x38], rax
jmp 0x1400510ef
mov r9d, 0x134
sub r9d, ebx
cmp r10b, 0x30
jl 0x140050e19
movzx eax, r10b
nop dword [rax]
cmp al, 0x39
jg 0x140050e19
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 0x140050e70
movzx eax, byte [rdx]
mov r8, rdx
cmp al, 0x30
jge 0x140050ea0
jmp 0x140050e19
sub rcx, r15
mov dword [r13 + 0x30], 0xf
mov qword [r13 + 0x38], rcx
jmp 0x1400510ef
movsxd rax, ecx
lea rax, [rax*8]
test ecx, ecx
js 0x140050e51
lea rcx, [0x1400d7960]
movaps xmm3, xmm1
mulsd xmm3, qword [rax + rcx]
jmp 0x140050e62
cmp byte [rsp + 0x98], 0
je 0x140050f1f
xorps xmm3, xmmword [0x1400d6830]
movaps xmm1, xmm3
mov rcx, qword [rsp + 0x90]
call fcn.140052980
test al, al
jne 0x1400510ef
mov dword [r13 + 0x30], 0x10
mov rax, qword [rsp + 0x20]
mov qword [r13 + 0x38], rax
jmp 0x1400510ef
mov rbx, qword [rsp + 0x90]
add rbx, 0x20
mov rax, qword [rbx + 0x20]
sub rax, qword [rbx + 0x18]
test r12b, r12b
je 0x140051051
cmp byte [rsp + 0x98], 0
je 0x140050fe1
neg rdi
cmp rax, 0x10
jge 0x140050f8a
mov edx, 1
mov rcx, rbx
call fcn.140050550
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 0x140050fc9
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x140051037
mov eax, 0x1d6
jmp 0x140051033
cmp rdi, 0xffffffff80000000
jl 0x1400510ef
mov word [rcx + 0xe], 0xb6
jmp 0x1400510ef
cmp rax, 0x10
jge 0x140050ff4
mov edx, 1
mov rcx, rbx
call fcn.140050550
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 0x140051020
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x140051037
or ax, 0x40
mov word [rcx + 0xe], ax
test rdi, 0xffffffff80000000
jne 0x1400510ef
or ax, 0x20
mov word [rcx + 0xe], ax
jmp 0x1400510ef
cmp byte [rsp + 0x98], 0
je 0x14005109e
neg esi
cmp rax, 0x10
jge 0x140051070
mov edx, 1
mov rcx, rbx
call fcn.140050550
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 0x1400510ef
cmp rax, 0x10
jge 0x1400510b1
mov edx, 1
mov rcx, rbx
call fcn.140050550
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 0x1400510ef
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, [0x1400d88b0]
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 0x14005147c
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 0x140051363
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x14005134f
mov edx, 1
mov rcx, r14
call fcn.1400504b0
lea rdx, [0x1400d88b0]
mov rcx, qword [r14 + 0x18]
lea rax, [rcx + 1]
mov qword [r14 + 0x18], rax
mov byte [rcx], dil
inc r13d
jmp 0x1400512f0
lea rdi, [r12 + 0x30]
cmp cl, 0x75
jne 0x1400514d4
lea rax, [rbx + 1]
mov qword [rbp - 0x20], rax
mov r8, rsi
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.1400508d0
cmp dword [rdi], 0
jne 0x14005158a
lea r9d, [rax - 0xd800]
cmp r9d, 0x7ff
ja 0x140051455
cmp eax, 0xdbff
ja 0x1400514c8
mov rbx, qword [rbp - 0x20]
cmp byte [rbx], 0x5c
jne 0x1400514c8
inc rbx
mov qword [rbp - 0x20], rbx
cmp byte [rbx], 0x75
jne 0x1400514c8
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 0x1400513f5
add eax, 0xffffffd0
jmp 0x14005140d
lea ecx, [rdx - 0x41]
cmp cl, 5
ja 0x140051402
add eax, 0xffffffc9
jmp 0x14005140d
sub dl, 0x61
cmp dl, 5
ja 0x14005141f
add eax, 0xffffffa9
inc rbx
mov qword [rbp - 0x20], rbx
inc r8d
cmp r8d, 4
jl 0x1400513e0
jmp 0x14005142b
mov dword [rdi], 8
mov qword [rdi + 8], rsi
xor eax, eax
cmp dword [rdi], 0
jne 0x14005158a
lea ecx, [rax - 0xdc00]
cmp ecx, 0x3ff
ja 0x1400514c8
mov eax, r9d
shl eax, 0xa
or eax, ecx
add eax, 0x10000
jmp 0x140051459
mov rbx, qword [rbp - 0x20]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.140050320
mov r15, qword [rbp - 0x18]
mov r13d, dword [rbp - 0x28]
mov r14, qword [rbp - 0x30]
lea rdx, [0x1400d88b0]
jmp 0x140051300
cmp sil, 0x22
je 0x140051501
cmp sil, 0x20
jb 0x1400514e0
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x1400514b1
mov edx, 1
mov rcx, r14
call fcn.1400504b0
lea rdx, [0x1400d88b0]
mov rcx, qword [r14 + 0x18]
lea rax, [rcx + 1]
mov qword [r14 + 0x18], rax
mov byte [rcx], sil
inc r13d
jmp 0x1400512f0
mov dword [rdi], 9
mov qword [rdi + 8], rsi
jmp 0x14005153a
mov dword [rdi], 0xa
mov qword [rdi + 8], rsi
jmp 0x14005153a
lea rdi, [r12 + 0x30]
sub rbx, r15
mov qword [rdi + 8], rbx
test sil, sil
jne 0x1400514f9
mov dword [rdi], 0xb
jmp 0x14005153a
mov dword [rdi], 0xc
jmp 0x14005153a
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x140051523
mov edx, 1
mov rcx, r14
call fcn.1400504b0
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 0x14005158a
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 0x14005156d
mov edx, 1
lea rcx, [r14 + 0x20]
call fcn.140050550
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.140051c80
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.0x1400515f6.35
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x51a00]
mov r9d, dword [rdx + rax*4 + 0x519e4]
add r9, rdx
jmp r9
lea rax, [rcx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x14005165f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14005165f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14005165f
inc rax
mov qword [rbx], rax
mov rax, qword [r8 + 0x40]
sub rax, qword [r8 + 0x38]
cmp rax, 0x10
jge 0x14005163d
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140050550
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 0x14005165f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x14005165f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x14005165f
inc rax
mov dl, 1
mov rcx, rbp
mov qword [rbx], rax
call fcn.140052140
test al, al
jne 0x140051960
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 0x14005165f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14005165f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x73
jne 0x14005165f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x14005165f
inc rax
xor edx, edx
jmp 0x1400516a5
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 0x1400512a0
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 0x140051768
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140050550
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 0x1400517b3
bt r14, rax
jae 0x1400517b3
inc rcx
jmp 0x1400517a0
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051956
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x1400517fd
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 0x140051956
xor esi, esi
nop
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x1400519a1
mov r9b, 1
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call 0x1400512a0
cmp dword [rdi + 0x30], 0
jne 0x140051956
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140051847
bt r14, rax
jae 0x140051847
inc rcx
jmp 0x140051834
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051956
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x140051994
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 0x140051893
bt r14, rax
jae 0x140051893
inc rcx
jmp 0x140051880
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051956
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1400515b0
cmp dword [rdi + 0x30], 0
jne 0x140051956
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
nop
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x1400518e3
bt r14, rax
jae 0x1400518e3
inc rcx
jmp 0x1400518d0
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051956
mov rax, qword [rbx]
inc esi
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140051942
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 0x140051929
bt r14, rax
jae 0x140051929
inc rcx
jmp 0x140051916
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
je 0x140051800
jmp 0x140051956
cmp cl, 0x7d
je 0x140051970
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.140053040
test al, al
jne 0x140051956
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
jmp 0x140051952
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 5
jmp 0x140051952
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 4
jmp 0x140051952
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp 0x1400506f0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp 0x140050940