Function at 0x140050b30
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 0x140050922
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140050740
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 0x140050967
bt r14, rax
jae 0x140050967
inc rcx
jmp 0x140050954
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140050aa0
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x1400509b1
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 0x140050aa0
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
xor esi, esi
call fcn.1400517a0
cmp dword [rdi + 0x30], esi
jne 0x140050aa0
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 0x1400509f3
bt r14, rax
jae 0x1400509f3
inc rcx
jmp 0x1400509e0
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140050aa0
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140050a68
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 0x140050a3b
bt r14, rax
jae 0x140050a3b
inc rdx
jmp 0x140050a28
mov qword [rsp + 0x20], rdx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140050aa0
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1400517a0
cmp dword [rdi + 0x30], 0
je 0x1400509d0
jmp 0x140050aa0
cmp cl, 0x5d
jne 0x140050a91
inc rax
mov edx, esi
mov rcx, rbp
mov qword [rbx], rax
call fcn.140053110
test al, al
jne 0x140050aa0
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
jmp 0x140050a9c
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 0x140050b91
inc r9
mov qword [rsp + 0x28], r9
mov r10b, 1
jmp 0x140050b94
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 0x140050bbf
mov esi, ebp
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
jmp 0x140050c82
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x1400512d0
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
lea esi, [rcx - 0x30]
movzx eax, byte [rdx]
test r10b, r10b
je 0x140050c31
cmp al, 0x30
jl 0x140050c82
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
ja 0x140050c82
cmp esi, 0xccccccc
jb 0x140050c05
jne 0x140050c7d
mov r8, rcx
cmp al, 0x38
ja 0x140050c7d
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 0x140050c82
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140050bf4
jmp 0x140050c82
cmp al, 0x30
jl 0x140050c82
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jg 0x140050c82
nop
cmp esi, 0x19999999
jb 0x140050c51
jne 0x140050c7d
mov r8, rcx
cmp al, 0x35
jg 0x140050c7d
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 0x140050c82
mov rcx, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140050c40
jmp 0x140050c82
mov r12b, 1
mov edi, esi
xor r14b, r14b
movsd xmm2, qword [0x1400d67f0]
test r12b, r12b
je 0x140050dc2
movzx eax, byte [rdx]
test r10b, r10b
je 0x140050d17
cmp al, 0x30
jl 0x140050dc2
mov r8, rdx
cmp al, 0x39
jg 0x140050dc2
mov rcx, rdx
movabs r9, 0xccccccccccccccc
nop
cmp rdi, r9
jb 0x140050cce
jne 0x140050d02
mov rcx, r8
cmp al, 0x38
ja 0x140050d02
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 0x140050dc2
mov r8, rdx
mov rcx, rdx
cmp al, 0x39
jle 0x140050cc0
jmp 0x140050dc2
mov rcx, rdi
mov r14b, 1
xorps xmm1, xmm1
test rcx, rcx
js 0x140050d76
cvtsi2sd xmm1, rcx
jmp 0x140050d8b
cmp al, 0x30
jl 0x140050dc2
mov r9, rdx
cmp al, 0x39
jg 0x140050dc2
mov r8, rdx
movabs r10, 0x1999999999999999
mov rcx, rdi
cmp rdi, r10
jb 0x140050d48
jne 0x140050d05
mov r8, r9
cmp al, 0x35
ja 0x140050d05
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 0x140050dc2
mov r9, rdx
mov r8, rdx
cmp al, 0x39
jle 0x140050d37
jmp 0x140050dc2
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 0x140050dc2
mov rcx, rdx
cmp al, 0x39
ja 0x140050dc2
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 0x140050d95
mov ebx, ebp
movzx eax, byte [rdx]
cmp al, 0x2e
jne 0x140050dd3
inc rdx
mov qword [rsp + 0x28], rdx
mov rcx, rdx
cmp al, 0x2e
jne 0x140050eec
movzx r9d, byte [rdx]
lea eax, [r9 - 0x30]
cmp al, 9
ja 0x140050f20
mov r8, rdx
test r14b, r14b
jne 0x140050e7c
test r12b, r12b
jne 0x140050e01
mov edi, esi
mov r9, rcx
movzx eax, byte [rdx]
movabs r10, 0x1fffffffffffff
cmp al, 0x39
jg 0x140050e4e
mov r8, r9
cmp rdi, r10
ja 0x140050e4e
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 0x140050e41
inc r11d
movzx eax, byte [rdx]
mov rcx, rdx
mov r9, rdx
cmp al, 0x30
jge 0x140050e11
xorps xmm1, xmm1
test rdi, rdi
js 0x140050e5d
cvtsi2sd xmm1, rdi
jmp 0x140050e75
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 0x140050eec
mov r10, r8
mov r9, r8
movzx eax, byte [rdx]
nop
mov rcx, r9
cmp al, 0x39
jg 0x140050eec
cmp r11d, 0x11
jge 0x140050ed0
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 0x140050edc
inc r11d
jmp 0x140050edc
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 0x140050e90
cmp byte [rcx], 0x65
je 0x140050efa
cmp byte [rcx], 0x45
jne 0x140051009
inc rcx
mov qword [rsp + 0x28], rcx
test r14b, r14b
jne 0x140050f4c
test r12b, r12b
mov rdx, rdi
jne 0x140050f11
mov edx, esi
xorps xmm1, xmm1
test rdx, rdx
js 0x140050f34
cvtsi2sd xmm1, rdx
jmp 0x140050f49
mov dword [r13 + 0x30], 0xe
sub rcx, r15
mov qword [r13 + 0x38], rcx
jmp 0x1400512df
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 0x140050f5f
cmp dl, 0x2d
jne 0x140050f6a
mov r9b, 1
inc rcx
movzx edx, byte [rcx]
mov qword [rsp + 0x28], rcx
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1400510c3
lea r8, [rcx + 1]
mov qword [rsp + 0x28], r8
movsx ebp, dl
sub ebp, 0x30
movzx r10d, byte [r8]
test r9b, r9b
je 0x140051076
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 0x140051007
movzx eax, r10b
cmp al, 0x39
jg 0x140051007
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 0x140051000
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140051000
mov rcx, rdx
cmp al, 0x39
ja 0x140050ffb
lea r8, [rcx + 1]
mov rdx, r8
movzx eax, byte [r8]
mov rcx, r8
cmp al, 0x30
jge 0x140050fe5
mov qword [rsp + 0x28], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140050fb8
neg ebp
test r14b, r14b
je 0x14005113d
lea ecx, [rbx + rbp]
cmp ecx, 0xfffffecc
jge 0x1400510d7
divsd xmm1, qword [0x1400d8910]
lea eax, [rcx + 0x134]
cmp eax, 0xfffffecc
jl 0x140051052
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x1400d78f0]
sub rcx, rax
movaps xmm3, xmm1
divsd xmm3, qword [rcx]
comisd xmm3, xmmword [0x1400d67f8]
jbe 0x1400510fe
mov dword [r13 + 0x30], 0xd
mov rax, qword [rsp + 0x20]
mov qword [r13 + 0x38], rax
jmp 0x1400512df
mov r9d, 0x134
sub r9d, ebx
cmp r10b, 0x30
jl 0x140051009
movzx eax, r10b
nop dword [rax]
cmp al, 0x39
jg 0x140051009
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 0x140051060
movzx eax, byte [rdx]
mov r8, rdx
cmp al, 0x30
jge 0x140051090
jmp 0x140051009
sub rcx, r15
mov dword [r13 + 0x30], 0xf
mov qword [r13 + 0x38], rcx
jmp 0x1400512df
movsxd rax, ecx
lea rax, [rax*8]
test ecx, ecx
js 0x140051041
lea rcx, [0x1400d78f0]
movaps xmm3, xmm1
mulsd xmm3, qword [rax + rcx]
jmp 0x140051052
cmp byte [rsp + 0x98], 0
je 0x14005110f
xorps xmm3, xmmword [0x1400d6820]
movaps xmm1, xmm3
mov rcx, qword [rsp + 0x90]
call fcn.140052b70
test al, al
jne 0x1400512df
mov dword [r13 + 0x30], 0x10
mov rax, qword [rsp + 0x20]
mov qword [r13 + 0x38], rax
jmp 0x1400512df
mov rbx, qword [rsp + 0x90]
add rbx, 0x20
mov rax, qword [rbx + 0x20]
sub rax, qword [rbx + 0x18]
test r12b, r12b
je 0x140051241
cmp byte [rsp + 0x98], 0
je 0x1400511d1
neg rdi
cmp rax, 0x10
jge 0x14005117a
mov edx, 1
mov rcx, rbx
call fcn.140050740
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 0x1400511b9
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x140051227
mov eax, 0x1d6
jmp 0x140051223
cmp rdi, 0xffffffff80000000
jl 0x1400512df
mov word [rcx + 0xe], 0xb6
jmp 0x1400512df
cmp rax, 0x10
jge 0x1400511e4
mov edx, 1
mov rcx, rbx
call fcn.140050740
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 0x140051210
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rdi
jne 0x140051227
or ax, 0x40
mov word [rcx + 0xe], ax
test rdi, 0xffffffff80000000
jne 0x1400512df
or ax, 0x20
mov word [rcx + 0xe], ax
jmp 0x1400512df
cmp byte [rsp + 0x98], 0
je 0x14005128e
neg esi
cmp rax, 0x10
jge 0x140051260
mov edx, 1
mov rcx, rbx
call fcn.140050740
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 0x1400512df
cmp rax, 0x10
jge 0x1400512a1
mov edx, 1
mov rcx, rbx
call fcn.140050740
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 0x1400512df
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, [0x1400d8810]
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 0x14005166c
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 0x140051553
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x14005153f
mov edx, 1
mov rcx, r14
call fcn.1400506a0
lea rdx, [0x1400d8810]
mov rcx, qword [r14 + 0x18]
lea rax, [rcx + 1]
mov qword [r14 + 0x18], rax
mov byte [rcx], dil
inc r13d
jmp 0x1400514e0
lea rdi, [r12 + 0x30]
cmp cl, 0x75
jne 0x1400516c4
lea rax, [rbx + 1]
mov qword [rbp - 0x20], rax
mov r8, rsi
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.140050ac0
cmp dword [rdi], 0
jne 0x14005177a
lea r9d, [rax - 0xd800]
cmp r9d, 0x7ff
ja 0x140051645
cmp eax, 0xdbff
ja 0x1400516b8
mov rbx, qword [rbp - 0x20]
cmp byte [rbx], 0x5c
jne 0x1400516b8
inc rbx
mov qword [rbp - 0x20], rbx
cmp byte [rbx], 0x75
jne 0x1400516b8
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 0x1400515e5
add eax, 0xffffffd0
jmp 0x1400515fd
lea ecx, [rdx - 0x41]
cmp cl, 5
ja 0x1400515f2
add eax, 0xffffffc9
jmp 0x1400515fd
sub dl, 0x61
cmp dl, 5
ja 0x14005160f
add eax, 0xffffffa9
inc rbx
mov qword [rbp - 0x20], rbx
inc r8d
cmp r8d, 4
jl 0x1400515d0
jmp 0x14005161b
mov dword [rdi], 8
mov qword [rdi + 8], rsi
xor eax, eax
cmp dword [rdi], 0
jne 0x14005177a
lea ecx, [rax - 0xdc00]
cmp ecx, 0x3ff
ja 0x1400516b8
mov eax, r9d
shl eax, 0xa
or eax, ecx
add eax, 0x10000
jmp 0x140051649
mov rbx, qword [rbp - 0x20]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.140050510
mov r15, qword [rbp - 0x18]
mov r13d, dword [rbp - 0x28]
mov r14, qword [rbp - 0x30]
lea rdx, [0x1400d8810]
jmp 0x1400514f0
cmp sil, 0x22
je 0x1400516f1
cmp sil, 0x20
jb 0x1400516d0
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x1400516a1
mov edx, 1
mov rcx, r14
call fcn.1400506a0
lea rdx, [0x1400d8810]
mov rcx, qword [r14 + 0x18]
lea rax, [rcx + 1]
mov qword [r14 + 0x18], rax
mov byte [rcx], sil
inc r13d
jmp 0x1400514e0
mov dword [rdi], 9
mov qword [rdi + 8], rsi
jmp 0x14005172a
mov dword [rdi], 0xa
mov qword [rdi + 8], rsi
jmp 0x14005172a
lea rdi, [r12 + 0x30]
sub rbx, r15
mov qword [rdi + 8], rbx
test sil, sil
jne 0x1400516e9
mov dword [rdi], 0xb
jmp 0x14005172a
mov dword [rdi], 0xc
jmp 0x14005172a
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x140051713
mov edx, 1
mov rcx, r14
call fcn.1400506a0
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 0x14005177a
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 0x14005175d
mov edx, 1
lea rcx, [r14 + 0x20]
call fcn.140050740
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.140051e70
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.0x1400517e6.35
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x51bf0]
mov r9d, dword [rdx + rax*4 + 0x51bd4]
add r9, rdx
jmp r9
lea rax, [rcx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x14005184f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14005184f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14005184f
inc rax
mov qword [rbx], rax
mov rax, qword [r8 + 0x40]
sub rax, qword [r8 + 0x38]
cmp rax, 0x10
jge 0x14005182d
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140050740
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 0x14005184f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x14005184f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x14005184f
inc rax
mov dl, 1
mov rcx, rbp
mov qword [rbx], rax
call fcn.140052330
test al, al
jne 0x140051b50
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 0x14005184f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14005184f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x73
jne 0x14005184f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x14005184f
inc rax
xor edx, edx
jmp 0x140051895
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 0x140051490
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 0x140051958
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140050740
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 0x1400519a3
bt r14, rax
jae 0x1400519a3
inc rcx
jmp 0x140051990
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051b46
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x1400519ed
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 0x140051b46
xor esi, esi
nop
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x140051b91
mov r9b, 1
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call 0x140051490
cmp dword [rdi + 0x30], 0
jne 0x140051b46
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140051a37
bt r14, rax
jae 0x140051a37
inc rcx
jmp 0x140051a24
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051b46
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x140051b84
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 0x140051a83
bt r14, rax
jae 0x140051a83
inc rcx
jmp 0x140051a70
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051b46
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1400517a0
cmp dword [rdi + 0x30], 0
jne 0x140051b46
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
nop
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140051ad3
bt r14, rax
jae 0x140051ad3
inc rcx
jmp 0x140051ac0
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140051b46
mov rax, qword [rbx]
inc esi
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140051b32
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 0x140051b19
bt r14, rax
jae 0x140051b19
inc rcx
jmp 0x140051b06
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
je 0x1400519f0
jmp 0x140051b46
cmp cl, 0x7d
je 0x140051b60
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.1400531a0
test al, al
jne 0x140051b46
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
jmp 0x140051b42
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 5
jmp 0x140051b42
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 4
jmp 0x140051b42
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp 0x1400508e0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp 0x140050b30