Function at 0x140046a30
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 0x140046822
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140046640
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 0x140046867
bt r14, rax
jae 0x140046867
inc rcx
jmp 0x140046854
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1400469a0
mov rax, qword [rbx]
cmp byte [rax], 0x5d
jne 0x1400468b1
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 0x1400469a0
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
xor esi, esi
call fcn.1400476b0
cmp dword [rdi + 0x30], esi
jne 0x1400469a0
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 0x1400468f3
bt r14, rax
jae 0x1400468f3
inc rcx
jmp 0x1400468e0
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1400469a0
mov rax, qword [rbx]
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140046968
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 0x14004693b
bt r14, rax
jae 0x14004693b
inc rdx
jmp 0x140046928
mov qword [rsp + 0x20], rdx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x1400469a0
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1400476b0
cmp dword [rdi + 0x30], 0
je 0x1400468d0
jmp 0x1400469a0
cmp cl, 0x5d
jne 0x140046991
inc rax
mov edx, esi
mov rcx, rbp
mov qword [rbx], rax
call fcn.140049390
test al, al
jne 0x1400469a0
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
jmp 0x14004699c
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 r15, 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 r12, xmm0
sub rax, r12
mov qword [rsp + 0x20], rax
xorps xmm3, xmm3
xorps xmm1, xmm1
cmp byte [r9], 0x2d
jne 0x140046a91
inc r9
mov qword [rsp + 0x28], r9
mov r11b, 1
jmp 0x140046a94
xor r11b, r11b
mov byte [rsp + 0x98], r11b
xor edi, edi
mov ebx, edi
xor r13b, r13b
mov r10d, edi
movsx ecx, byte [r9]
cmp cl, 0x30
jne 0x140046abf
mov esi, edi
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
jmp 0x140046b82
lea eax, [rcx - 0x31]
cmp al, 8
ja 0x1400471ce
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
lea esi, [rcx - 0x30]
movzx eax, byte [rdx]
test r11b, r11b
je 0x140046b31
cmp al, 0x30
jl 0x140046b82
mov r8, rdx
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
ja 0x140046b82
cmp esi, 0xccccccc
jb 0x140046b09
jne 0x140046b7d
mov r8, rcx
cmp al, 0x38
ja 0x140046b7d
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
lea ecx, [rsi - 6]
lea ecx, [rsi + rcx*4]
movsx eax, byte [r8]
lea esi, [rax + rcx*2]
inc r10d
movzx eax, byte [rdx]
mov r8, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x140046af0
jmp 0x140046b82
cmp al, 0x30
jl 0x140046b82
mov r8, rdx
mov rcx, rdx
nop dword [rax + rax]
cmp al, 0x39
jg 0x140046b82
cmp esi, 0x19999999
jb 0x140046b55
jne 0x140046b7d
mov r8, rcx
cmp al, 0x35
jg 0x140046b7d
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
lea ecx, [rsi - 6]
lea ecx, [rsi + rcx*4]
movsx eax, byte [r8]
lea esi, [rax + rcx*2]
inc r10d
movzx eax, byte [rdx]
mov r8, rdx
mov rcx, rdx
cmp al, 0x30
jge 0x140046b40
jmp 0x140046b82
mov r13b, 1
mov ebx, esi
xor r14b, r14b
movsd xmm2, qword [0x14012d1d0]
test r13b, r13b
je 0x140046cd0
test r11b, r11b
je 0x140046c12
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140046cd0
mov r8, rdx
mov r9, rdx
movabs r11, 0xccccccccccccccc
cmp cl, 0x39
ja 0x140046cd0
cmp rbx, r11
jb 0x140046bcf
jne 0x140046bfd
mov r8, r9
cmp cl, 0x38
ja 0x140046bfd
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
movsx ecx, byte [r8]
sub ecx, 0x30
lea rax, [rbx + rbx*4]
lea rbx, [rcx + rax*2]
inc r10d
mov r8, rdx
mov r9, rdx
movzx ecx, byte [rdx]
cmp cl, 0x30
jge 0x140046bb7
jmp 0x140046cd0
mov rcx, rbx
mov r14b, 1
xorps xmm1, xmm1
test rcx, rcx
js 0x140046c7a
cvtsi2sd xmm1, rcx
jmp 0x140046c8f
movzx r8d, byte [rdx]
cmp r8b, 0x30
jl 0x140046cd0
mov r9, rdx
mov r11, rdx
movabs rbp, 0x1999999999999999
mov rcx, rbx
cmp r8b, 0x39
ja 0x140046cd0
cmp rbx, rbp
jb 0x140046c4d
jne 0x140046c00
mov r9, r11
cmp r8b, 0x35
ja 0x140046c00
lea rdx, [r9 + 1]
mov qword [rsp + 0x28], rdx
movsx ecx, byte [r9]
sub ecx, 0x30
lea rax, [rbx + rbx*4]
lea rbx, [rcx + rax*2]
inc r10d
mov r9, rdx
mov r11, rdx
movzx r8d, byte [rdx]
cmp r8b, 0x30
jge 0x140046c30
jmp 0x140046cd0
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140046cd0
mov r8, rdx
nop word [rax + rax]
cmp cl, 0x39
ja 0x140046cd0
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
movsx eax, byte [r8]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
mov r8, rdx
movzx ecx, byte [rdx]
cmp cl, 0x30
jge 0x140046ca0
mov ebp, edi
cmp byte [rdx], 0x2e
jne 0x140046dfd
lea r9, [rdx + 1]
mov qword [rsp + 0x28], r9
movzx ecx, byte [r9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140046e31
mov rdx, r9
test r14b, r14b
jne 0x140046d8b
test r13b, r13b
jne 0x140046d06
mov ebx, esi
mov rcx, r9
mov r8, r9
movzx eax, byte [r9]
movabs r11, 0x1fffffffffffff
nop word [rax + rax]
cmp al, 0x39
jg 0x140046d5e
mov rdx, r8
cmp rbx, r11
ja 0x140046d5e
lea r9, [rcx + 1]
mov rdx, r9
mov qword [rsp + 0x28], r9
movsx ecx, byte [rcx]
sub ecx, 0x30
lea rax, [rbx + rbx*4]
lea rbx, [rcx + rax*2]
dec ebp
test rbx, rbx
je 0x140046d50
inc r10d
movzx eax, byte [r9]
mov rcx, r9
mov r8, rdx
cmp al, 0x30
jge 0x140046d20
xorps xmm1, xmm1
test rbx, rbx
js 0x140046d6d
cvtsi2sd xmm1, rbx
jmp 0x140046d85
mov rcx, rbx
shr rcx, 1
mov rax, rbx
and eax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
mov r14b, 1
movzx ecx, byte [rdx]
cmp cl, 0x30
jl 0x140046dfd
mov rax, rdx
mov r11, rdx
mov r8, rdx
movzx ecx, byte [r9]
nop dword [rax]
mov rdx, r8
cmp cl, 0x39
jg 0x140046dfd
cmp r10d, 0x11
jge 0x140046de0
lea rdx, [rax + 1]
mov rcx, rdx
mov qword [rsp + 0x28], rdx
movsx eax, byte [rax]
sub eax, 0x30
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm0, xmm1
movaps xmm1, xmm0
dec ebp
comisd xmm0, xmm3
jbe 0x140046dec
inc r10d
jmp 0x140046dec
lea rdx, [r11 + 1]
mov rcx, rdx
mov qword [rsp + 0x28], rdx
mov rax, rdx
movzx ecx, byte [rcx]
mov r11, rdx
mov r8, rdx
cmp cl, 0x30
jge 0x140046da0
cmp byte [rdx], 0x65
je 0x140046e0b
cmp byte [rdx], 0x45
jne 0x140046f14
inc rdx
mov qword [rsp + 0x28], rdx
test r14b, r14b
jne 0x140046e53
test r13b, r13b
mov rcx, rbx
jne 0x140046e22
mov ecx, esi
xorps xmm1, xmm1
test rcx, rcx
js 0x140046e3b
cvtsi2sd xmm1, rcx
jmp 0x140046e50
mov edx, 0xe
jmp 0x1400471d3
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mov r14b, 1
xor r10b, r10b
movzx ecx, byte [rdx]
cmp cl, 0x2b
je 0x140046e66
cmp cl, 0x2d
jne 0x140046e71
mov r10b, 1
inc rdx
movzx ecx, byte [rdx]
mov qword [rsp + 0x28], rdx
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140046fc0
lea r8, [rdx + 1]
mov qword [rsp + 0x28], r8
movsx edi, cl
sub edi, 0x30
movzx r9d, byte [r8]
test r10b, r10b
je 0x140046f81
lea ecx, [rbp + 0x7ffffff7]
mov eax, 0x66666667
imul ecx
mov r10d, edx
sar r10d, 2
mov eax, r10d
shr eax, 0x1f
add r10d, eax
cmp r9b, 0x30
jl 0x140046f12
movzx eax, r9b
nop
cmp al, 0x39
jg 0x140046f12
lea rdx, [r8 + 1]
mov qword [rsp + 0x28], rdx
lea edi, [rdi + rdi*4]
movsx eax, byte [r8]
lea edi, [rdi - 0x18]
lea edi, [rax + rdi*2]
mov r8, rdx
cmp edi, r10d
jle 0x140046f0b
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140046f0b
mov rcx, rdx
nop dword [rax]
cmp al, 0x39
ja 0x140046f06
lea r8, [rcx + 1]
mov rdx, r8
movzx eax, byte [r8]
mov rcx, r8
cmp al, 0x30
jge 0x140046ef0
mov qword [rsp + 0x28], rdx
movzx eax, byte [rdx]
cmp al, 0x30
jge 0x140046ec0
neg edi
test r14b, r14b
je 0x14004703b
lea ecx, [rdi + rbp]
cmp ecx, 0xfffffecc
jge 0x140046fd4
divsd xmm1, qword [0x14012d1d8]
lea eax, [rcx + 0x134]
cmp eax, 0xfffffecc
jl 0x140046f5d
movsxd rax, ecx
lea rax, [rax*8 + 0x9a0]
lea rcx, [0x14012c1f0]
sub rcx, rax
movaps xmm3, xmm1
divsd xmm3, qword [rcx]
comisd xmm3, xmmword [0x1400cfd98]
jbe 0x140046ffc
mov dword [r15 + 0x30], 0xd
mov rax, qword [rsp + 0x20]
mov qword [r15 + 0x38], rax
jmp 0x1400471eb
mov edx, 0x134
sub edx, ebp
cmp r9b, 0x30
jl 0x140046f14
movzx eax, r9b
cmp al, 0x39
jg 0x140046f14
movsx eax, byte [r8]
inc r8
mov qword [rsp + 0x28], r8
lea edi, [rdi + rdi*4]
lea edi, [rdi - 0x18]
lea edi, [rax + rdi*2]
cmp edi, edx
jg 0x140046f6b
movzx eax, byte [r8]
cmp al, 0x30
jge 0x140046f92
jmp 0x140046f14
sub rdx, r12
mov dword [r15 + 0x30], 0xf
mov qword [r15 + 0x38], rdx
jmp 0x1400471eb
movsxd rax, ecx
lea rax, [rax*8]
test ecx, ecx
js 0x140046f4c
lea rcx, [0x14012c1f0]
movsd xmm3, qword [rax + rcx]
mulsd xmm3, xmm1
jmp 0x140046f5d
cmp byte [rsp + 0x98], 0
je 0x14004700d
xorps xmm3, xmmword [0x1400cfdc0]
movaps xmm1, xmm3
mov rcx, qword [rsp + 0x90]
call fcn.140048e10
test al, al
jne 0x1400471eb
mov dword [r15 + 0x30], 0x10
mov rax, qword [rsp + 0x20]
mov qword [r15 + 0x38], rax
jmp 0x1400471eb
mov rdi, qword [rsp + 0x90]
add rdi, 0x20
mov rax, qword [rdi + 0x20]
sub rax, qword [rdi + 0x18]
test r13b, r13b
je 0x14004713f
cmp byte [rsp + 0x98], 0
je 0x1400470cf
neg rbx
cmp rax, 0x10
jge 0x140047078
mov edx, 1
mov rcx, rdi
call fcn.140046640
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 0x10]
mov qword [rdi + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov word [rcx + 0xe], 0x96
test rbx, rbx
js 0x1400470b7
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rbx
jne 0x140047125
mov eax, 0x1d6
jmp 0x140047121
cmp rbx, 0xffffffff80000000
jl 0x1400471eb
mov word [rcx + 0xe], 0xb6
jmp 0x1400471eb
cmp rax, 0x10
jge 0x1400470e2
mov edx, 1
mov rcx, rdi
call fcn.140046640
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 0x10]
mov qword [rdi + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov eax, 0x116
mov word [rcx + 0xe], ax
test rbx, rbx
js 0x14004710e
mov eax, 0x196
mov word [rcx + 0xe], ax
movabs rdx, 0xffffffff00000000
test rdx, rbx
jne 0x140047125
or ax, 0x40
mov word [rcx + 0xe], ax
test rbx, 0xffffffff80000000
jne 0x1400471eb
or ax, 0x20
mov word [rcx + 0xe], ax
jmp 0x1400471eb
cmp byte [rsp + 0x98], 0
je 0x14004718c
neg esi
cmp rax, 0x10
jge 0x14004715e
mov edx, 1
mov rcx, rdi
call fcn.140046640
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 0x10]
mov qword [rdi + 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 0x1400471eb
cmp rax, 0x10
jge 0x14004719f
mov edx, 1
mov rcx, rdi
call fcn.140046640
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 0x10]
mov qword [rdi + 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 0x1400471eb
mov edx, 3
mov ecx, 0x30
mov eax, 0x38
mov r8, r15
sub r9, r12
mov dword [r15 + rcx], edx
mov qword [r15 + rax], 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, [0x14012d0d0]
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 0x14004757c
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 0x140047463
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x14004744f
mov edx, 1
mov rcx, r14
call fcn.1400465a0
lea rdx, [0x14012d0d0]
mov rcx, qword [r14 + 0x18]
lea rax, [rcx + 1]
mov qword [r14 + 0x18], rax
mov byte [rcx], dil
inc r13d
jmp 0x1400473f0
lea rdi, [r12 + 0x30]
cmp cl, 0x75
jne 0x1400475d4
lea rax, [rbx + 1]
mov qword [rbp - 0x20], rax
mov r8, rsi
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.1400469c0
cmp dword [rdi], 0
jne 0x14004768a
lea r9d, [rax - 0xd800]
cmp r9d, 0x7ff
ja 0x140047555
cmp eax, 0xdbff
ja 0x1400475c8
mov rbx, qword [rbp - 0x20]
cmp byte [rbx], 0x5c
jne 0x1400475c8
inc rbx
mov qword [rbp - 0x20], rbx
cmp byte [rbx], 0x75
jne 0x1400475c8
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 0x1400474f5
add eax, 0xffffffd0
jmp 0x14004750d
lea ecx, [rdx - 0x41]
cmp cl, 5
ja 0x140047502
add eax, 0xffffffc9
jmp 0x14004750d
sub dl, 0x61
cmp dl, 5
ja 0x14004751f
add eax, 0xffffffa9
inc rbx
mov qword [rbp - 0x20], rbx
inc r8d
cmp r8d, 4
jl 0x1400474e0
jmp 0x14004752b
mov dword [rdi], 8
mov qword [rdi + 8], rsi
xor eax, eax
cmp dword [rdi], 0
jne 0x14004768a
lea ecx, [rax - 0xdc00]
cmp ecx, 0x3ff
ja 0x1400475c8
mov eax, r9d
shl eax, 0xa
or eax, ecx
add eax, 0x10000
jmp 0x140047559
mov rbx, qword [rbp - 0x20]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.140046410
mov r15, qword [rbp - 0x18]
mov r13d, dword [rbp - 0x28]
mov r14, qword [rbp - 0x30]
lea rdx, [0x14012d0d0]
jmp 0x140047400
cmp sil, 0x22
je 0x140047601
cmp sil, 0x20
jb 0x1400475e0
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x1400475b1
mov edx, 1
mov rcx, r14
call fcn.1400465a0
lea rdx, [0x14012d0d0]
mov rcx, qword [r14 + 0x18]
lea rax, [rcx + 1]
mov qword [r14 + 0x18], rax
mov byte [rcx], sil
inc r13d
jmp 0x1400473f0
mov dword [rdi], 9
mov qword [rdi + 8], rsi
jmp 0x14004763a
mov dword [rdi], 0xa
mov qword [rdi + 8], rsi
jmp 0x14004763a
lea rdi, [r12 + 0x30]
sub rbx, r15
mov qword [rdi + 8], rbx
test sil, sil
jne 0x1400475f9
mov dword [rdi], 0xb
jmp 0x14004763a
mov dword [rdi], 0xc
jmp 0x14004763a
inc rbx
mov qword [rbp - 0x20], rbx
mov rax, qword [r14 + 0x20]
sub rax, qword [r14 + 0x18]
cmp rax, 1
jge 0x140047623
mov edx, 1
mov rcx, r14
call fcn.1400465a0
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 0x14004768a
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 0x14004766d
mov edx, 1
lea rcx, [r14 + 0x20]
call fcn.140046640
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.140048110
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.0x1400476f6.35
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x47b00]
mov r9d, dword [rdx + rax*4 + 0x47ae4]
add r9, rdx
jmp r9
lea rax, [rcx + 1]
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x14004775f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14004775f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14004775f
inc rax
mov qword [rbx], rax
mov rax, qword [r8 + 0x40]
sub rax, qword [r8 + 0x38]
cmp rax, 0x10
jge 0x14004773d
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140046640
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 0x14004775f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x75
jne 0x14004775f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x14004775f
inc rax
mov dl, 1
mov rcx, rbp
mov qword [rbx], rax
call fcn.1400485d0
test al, al
jne 0x140047a60
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 0x14004775f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x6c
jne 0x14004775f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x73
jne 0x14004775f
inc rax
mov qword [rbx], rax
cmp byte [rax], 0x65
jne 0x14004775f
inc rax
xor edx, edx
jmp 0x1400477a5
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 0x1400473a0
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 0x140047868
mov edx, 1
lea rcx, [r8 + 0x20]
call fcn.140046640
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 0x1400478b3
bt r14, rax
jae 0x1400478b3
inc rcx
jmp 0x1400478a0
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140047a56
mov rax, qword [rbx]
cmp byte [rax], 0x7d
jne 0x1400478fd
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 0x140047a56
xor esi, esi
nop
mov rax, qword [rbx]
cmp byte [rax], 0x22
jne 0x140047aa1
mov r9b, 1
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call 0x1400473a0
cmp dword [rdi + 0x30], 0
jne 0x140047a56
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x140047947
bt r14, rax
jae 0x140047947
inc rcx
jmp 0x140047934
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140047a56
mov rax, qword [rbx]
cmp byte [rax], 0x3a
jne 0x140047a94
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 0x140047993
bt r14, rax
jae 0x140047993
inc rcx
jmp 0x140047980
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140047a56
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1400476b0
cmp dword [rdi + 0x30], 0
jne 0x140047a56
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0x20]
nop
movsx rax, byte [rcx]
cmp al, 0x20
ja 0x1400479e3
bt r14, rax
jae 0x1400479e3
inc rcx
jmp 0x1400479d0
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
jne 0x140047a56
mov rax, qword [rbx]
inc esi
movzx ecx, byte [rax]
cmp cl, 0x2c
jne 0x140047a42
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 0x140047a29
bt r14, rax
jae 0x140047a29
inc rcx
jmp 0x140047a16
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp dword [rdi + 0x30], 0
je 0x140047900
jmp 0x140047a56
cmp cl, 0x7d
je 0x140047a70
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.140049420
test al, al
jne 0x140047a56
mov rax, qword [rbx]
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 0x10
jmp 0x140047a52
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 5
jmp 0x140047a52
sub rax, qword [rbx + 8]
mov dword [rdi + 0x30], 4
jmp 0x140047a52
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp 0x1400467e0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp 0x140046a30