Function at 0x140063270
Capabilities:
Compute adler32 checksum

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r15
sub rsp, 0x88
mov r15, rcx
xor edi, edi
mov ebx, edi
mov ecx, 0x20000
mov qword [rsp + 0x20], rbx
call fcn.140088afc
mov qword [rsp + 0x40], rax
mov rsi, rax
test rax, rax
jne 0x1400632bf
add rsp, 0x88
pop r15
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x80], rbp
mov edx, 0xa
mov qword [rsp + 0x78], r12
xor ecx, ecx
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r14
call fcn.14008cfc4
test rax, rax
je 0x1400632fa
lea rbx, [rax + 8]
mov dword [rax + 4], edi
mov qword [rsp + 0x20], rbx
mov dword [rbx - 8], 2
movsxd rax, dword [rbx - 4]
lea rcx, [rbx - 8]
mov byte [rax + rbx], 0x78
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov edi, dword [rcx]
inc eax
cmp eax, edi
jl 0x140063338
lea edi, [rdi*2 + 1]
movsxd rdx, edi
add rdx, 8
call fcn.14008cfc4
test rax, rax
je 0x140063338
lea rbx, [rax + 8]
mov dword [rbx - 8], edi
mov qword [rsp + 0x20], rbx
movsxd rax, dword [rbx - 4]
mov edi, 3
xor edx, edx
mov dword [rsp + 0x28], edi
mov r8d, 0x20000
mov dword [rsp + 0xc8], edi
mov rcx, rsi
mov r13d, edi
mov byte [rax + rbx], 0x5e
inc dword [rbx - 4]
call fcn.14007b990
mov r11d, dword [rsp + 0xb8]
xor r9d, r9d
mov r10d, r9d
mov dword [rsp + 0x2c], r9d
lea eax, [r11 - 3]
test eax, eax
jle 0x140063e39
jmp 0x140063395
mov rsi, qword [rsp + 0x40]
movsxd rax, r10d
movzx edx, byte [rax + r15 + 2]
lea rcx, [rax + r15]
mov qword [rsp + 0x50], rax
mov r15, r9
movzx eax, byte [rcx + 1]
shl eax, 8
shl edx, 0x10
add edx, eax
mov qword [rsp + 0x58], rcx
movzx eax, byte [rcx]
add edx, eax
mov dword [rsp + 0x30], 3
mov qword [rsp + 0x38], r9
lea eax, [rdx*8]
xor edx, eax
mov eax, edx
shr eax, 5
add edx, eax
mov eax, edx
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x11
add edx, eax
mov eax, edx
shl eax, 0x19
xor edx, eax
mov ecx, edx
shr ecx, 6
add ecx, edx
and ecx, 0x3fff
mov r14, qword [rsi + rcx*8]
lea r12, [rsi + rcx*8]
mov qword [rsp + 0x48], r12
test r14, r14
je 0x140063417
mov eax, dword [r14 - 4]
jmp 0x14006341a
mov eax, r9d
movsxd rbp, eax
mov rsi, r9
mov rcx, r14
test eax, eax
jle 0x1400634e7
mov r12, qword [rsp + 0x50]
lea eax, [r10 - 0x8000]
mov r13d, dword [rsp + 0x30]
xor edi, edi
mov rbx, qword [rsp + 0xb0]
movsxd r15, eax
nop dword [rax]
mov r9, qword [r14 + rsi*8]
mov rax, r9
sub rax, rbx
cmp rax, r15
jle 0x1400634c0
mov eax, r11d
mov r8d, edi
sub eax, r10d
mov rdx, rdi
test eax, eax
jle 0x1400634ae
mov r11, r12
movsxd r10, eax
sub r11, r9
add r11, rbx
nop dword [rax + rax]
cmp rdx, 0x102
jge 0x1400634a1
lea rcx, [rdx + r9]
movzx eax, byte [r11 + rcx]
cmp byte [rcx], al
jne 0x1400634a1
inc r8d
inc rdx
cmp rdx, r10
jl 0x140063480
mov r10d, dword [rsp + 0x2c]
mov r11d, dword [rsp + 0xb8]
cmp r8d, r13d
jl 0x1400634c0
mov dword [rsp + 0x30], r8d
mov r13d, r8d
mov qword [rsp + 0x38], r9
inc rsi
cmp rsi, rbp
jl 0x140063450
mov r12, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x20]
mov edi, dword [rsp + 0x28]
mov r13d, dword [rsp + 0xc8]
mov rcx, qword [r12]
mov r15, qword [rsp + 0x38]
test r14, r14
je 0x140063514
cmp dword [r14 - 4], 0x10
jne 0x140063514
lea rdx, [r14 + 0x40]
mov r8d, 0x40
mov rcx, r14
call fcn.14007b2e0
mov rax, qword [r12]
mov dword [rax - 4], 8
mov rcx, qword [r12]
test rcx, rcx
je 0x140063533
mov eax, dword [rcx - 4]
inc eax
cmp eax, dword [rcx - 8]
jl 0x14006357b
mov eax, dword [rcx - 8]
lea r8, [rcx - 8]
lea ebp, [rax*2 + 1]
jmp 0x14006353c
mov ebp, 2
lea r8, [rcx - 8]
lea eax, [rbp*8]
mov r14d, 0
movsxd rdx, eax
mov rsi, r12
add rdx, 8
test rcx, rcx
cmove r8, r14
mov rcx, r8
call fcn.14008cfc4
test rax, rax
je 0x14006357b
cmp qword [r12], r14
jne 0x140063571
mov dword [rax + 4], r14d
add rax, 8
mov qword [rsi], rax
mov dword [rax - 8], ebp
mov rcx, qword [r12]
mov r8, qword [rsp + 0x58]
movsxd rax, dword [rcx - 4]
mov qword [rcx + rax*8], r8
mov rax, qword [r12]
inc dword [rax - 4]
test r15, r15
je 0x140063c6e
movzx edx, byte [r8 + 3]
xor r10d, r10d
movzx eax, byte [r8 + 2]
mov r14, qword [rsp + 0x40]
shl eax, 8
shl edx, 0x10
add edx, eax
movzx eax, byte [r8 + 1]
add edx, eax
lea eax, [rdx*8]
xor edx, eax
mov eax, edx
shr eax, 5
add edx, eax
mov eax, edx
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x11
add edx, eax
mov eax, edx
shl eax, 0x19
xor edx, eax
mov ecx, edx
shr ecx, 6
add ecx, edx
and ecx, 0x3fff
mov r14, qword [r14 + rcx*8]
test r14, r14
je 0x1400635fe
mov eax, dword [r14 - 4]
jmp 0x140063601
mov eax, r10d
movsxd rbp, eax
mov rsi, r10
test eax, eax
jle 0x1400636a9
mov ecx, dword [rsp + 0x2c]
mov r12, qword [rsp + 0x50]
mov r11, qword [rsp + 0xb0]
lea eax, [rcx - 0x7fff]
movsxd r15, eax
nop dword [rax]
mov r9, qword [r14 + rsi*8]
mov rax, r9
sub rax, r11
cmp rax, r15
jle 0x14006369c
mov eax, dword [rsp + 0xb8]
mov r8d, r10d
sub eax, ecx
mov rdx, r10
dec eax
test eax, eax
jle 0x140063691
movsxd r10, eax
mov rax, r12
sub rax, r9
add r11, rax
cmp rdx, 0x102
jge 0x140063682
lea rcx, [rdx + r9]
movzx eax, byte [r11 + rcx + 1]
cmp byte [rcx], al
jne 0x140063682
inc r8d
inc rdx
cmp rdx, r10
jl 0x140063660
mov ecx, dword [rsp + 0x2c]
xor r10d, r10d
mov r11, qword [rsp + 0xb0]
cmp r8d, dword [rsp + 0x30]
jg 0x140063c69
inc rsi
cmp rsi, rbp
jl 0x140063630
mov r15, qword [rsp + 0x38]
mov r12d, dword [rsp + 0xb0]
mov ecx, r10d
sub r12d, r15d
mov r14, r10
add r12d, dword [rsp + 0x2c]
mov r15d, dword [rsp + 0x30]
cmp r15d, 3
jle 0x1400636f5
lea rdx, [0x140000000]
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdx + r14*2 + 0xbbd0c]
inc r14
dec eax
inc ecx
cmp r15d, eax
jg 0x1400636e0
lea eax, [rcx + 0x101]
mov edx, r10d
cmp eax, 0x8f
jg 0x1400637b6
add ecx, 0x131
mov r8d, 8
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x140063715
mov ecx, r13d
mov qword [rsp + 0x20], rbx
shl edx, cl
add r13d, 8
or edi, edx
cmp r13d, 8
jl 0x1400639e6
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
test rbx, rbx
je 0x140063775
mov eax, dword [rbx - 4]
mov esi, dword [rbx - 8]
inc eax
cmp eax, esi
jl 0x14006379d
lea esi, [rsi*2 + 1]
movsxd rdx, esi
lea rcx, [rbx - 8]
add rdx, 8
jmp 0x140063780
mov esi, 2
mov rcx, r10
lea edx, [rsi + 8]
call fcn.14008cfc4
xor r10d, r10d
test rax, rax
je 0x14006379d
test rbx, rbx
jne 0x140063796
mov dword [rax + 4], r10d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x140063750
jmp 0x1400639e1
cmp eax, 0xff
jg 0x140063876
add ecx, 0x201
mov r8d, 9
nop dword [rax]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x1400637d0
mov ecx, r13d
mov qword [rsp + 0x20], rbx
shl edx, cl
add r13d, 9
or edi, edx
cmp r13d, 8
jl 0x1400639e6
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
nop dword [rax + rax]
test rbx, rbx
je 0x140063835
mov eax, dword [rbx - 4]
mov esi, dword [rbx - 8]
inc eax
cmp eax, esi
jl 0x14006385d
lea esi, [rsi*2 + 1]
movsxd rdx, esi
lea rcx, [rbx - 8]
add rdx, 8
jmp 0x140063840
mov esi, 2
mov rcx, r10
lea edx, [rsi + 8]
call fcn.14008cfc4
xor r10d, r10d
test rax, rax
je 0x14006385d
test rbx, rbx
jne 0x140063856
mov dword [rax + 4], r10d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x140063810
jmp 0x1400639e1
cmp eax, 0x117
jg 0x140063936
inc ecx
mov r8d, 7
nop dword [rax]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x140063890
mov ecx, r13d
mov qword [rsp + 0x20], rbx
shl edx, cl
add r13d, 7
or edi, edx
cmp r13d, 8
jl 0x1400639e6
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
nop dword [rax + rax]
test rbx, rbx
je 0x1400638f5
mov eax, dword [rbx - 4]
mov esi, dword [rbx - 8]
inc eax
cmp eax, esi
jl 0x14006391d
lea esi, [rsi*2 + 1]
movsxd rdx, esi
lea rcx, [rbx - 8]
add rdx, 8
jmp 0x140063900
mov esi, 2
mov rcx, r10
lea edx, [rsi + 8]
call fcn.14008cfc4
xor r10d, r10d
test rax, rax
je 0x14006391d
test rbx, rbx
jne 0x140063916
mov dword [rax + 4], r10d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x1400638d0
jmp 0x1400639e1
add ecx, 0xa9
mov r8d, 8
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x140063942
mov ecx, r13d
mov qword [rsp + 0x20], rbx
shl edx, cl
add r13d, 8
or edi, edx
cmp r13d, 8
jl 0x1400639e6
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
nop dword [rax]
test rbx, rbx
je 0x1400639a5
mov eax, dword [rbx - 4]
mov esi, dword [rbx - 8]
inc eax
cmp eax, esi
jl 0x1400639cd
lea esi, [rsi*2 + 1]
movsxd rdx, esi
lea rcx, [rbx - 8]
add rdx, 8
jmp 0x1400639b0
mov esi, 2
mov rcx, r10
lea edx, [rsi + 8]
call fcn.14008cfc4
xor r10d, r10d
test rax, rax
je 0x1400639cd
test rbx, rbx
jne 0x1400639c6
mov dword [rax + 4], r10d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x140063980
mov qword [rsp + 0x20], rbx
lea rax, [0x140000000]
movzx r8d, byte [r14 + rax + 0xbc1b0]
test r8b, r8b
je 0x140063a99
movzx eax, word [rax + r14*2 + 0xbbd08]
mov ecx, r13d
mov edx, r15d
mov qword [rsp + 0x20], rbx
sub edx, eax
add r13d, r8d
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x140063a99
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
jmp 0x140063a37
xor r10d, r10d
test rbx, rbx
je 0x140063a5c
mov eax, dword [rbx - 4]
mov esi, dword [rbx - 8]
inc eax
cmp eax, esi
jl 0x140063a80
lea esi, [rsi*2 + 1]
movsxd rdx, esi
lea rcx, [rbx - 8]
add rdx, 8
jmp 0x140063a67
mov esi, 2
mov rcx, r10
lea edx, [rsi + 8]
call fcn.14008cfc4
test rax, rax
je 0x140063a80
test rbx, rbx
jne 0x140063a79
mov dword [rax + 4], ebx
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x140063a34
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov ecx, r9d
mov r14d, r9d
cmp r12d, 1
jle 0x140063aca
lea r15, [0x140000000]
nop
movzx eax, word [r15 + r14*2 + 0xbc154]
inc r14
dec eax
inc ecx
cmp r12d, eax
jg 0x140063ab0
mov r15d, dword [rsp + 0x30]
mov edx, r9d
mov r8d, 5
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x140063ad3
mov ecx, r13d
add r13d, 5
shl edx, cl
or edi, edx
mov dword [rsp + 0xc8], r13d
mov dword [rsp + 0x28], edi
cmp r13d, 8
jl 0x140063b8a
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
mov dword [rsp + 0xc8], r13d
nop dword [rax]
test rbx, rbx
je 0x140063b45
mov eax, dword [rbx - 4]
mov esi, dword [rbx - 8]
inc eax
cmp eax, esi
jl 0x140063b6d
lea esi, [rsi*2 + 1]
movsxd rdx, esi
lea rcx, [rbx - 8]
add rdx, 8
jmp 0x140063b50
mov esi, 2
mov rcx, r9
lea edx, [rsi + 8]
call fcn.14008cfc4
xor r9d, r9d
test rax, rax
je 0x140063b6d
test rbx, rbx
jne 0x140063b66
mov dword [rax + 4], r9d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x140063b20
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
lea rax, [0x140000000]
movzx edx, byte [r14 + rax + 0xbc190]
test dl, dl
je 0x140063c5c
movzx eax, word [rax + r14*2 + 0xbc150]
mov ecx, r13d
sub r12d, eax
mov qword [rsp + 0x20], rbx
shl r12d, cl
add r13d, edx
or edi, r12d
mov dword [rsp + 0xc8], r13d
mov dword [rsp + 0x28], edi
cmp r13d, 8
jl 0x140063c5c
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
mov dword [rsp + 0xc8], r13d
nop dword [rax]
test rbx, rbx
je 0x140063c15
mov eax, dword [rbx - 4]
mov esi, dword [rbx - 8]
inc eax
cmp eax, esi
jl 0x140063c39
lea esi, [rsi*2 + 1]
movsxd rdx, esi
lea rcx, [rbx - 8]
add rdx, 8
jmp 0x140063c20
mov esi, 2
mov rcx, r9
lea edx, [rsi + 8]
call fcn.14008cfc4
test rax, rax
je 0x140063c39
test rbx, rbx
jne 0x140063c32
mov dword [rax + 4], ebx
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov r9d, 0
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x140063bf0
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
mov r10d, dword [rsp + 0x2c]
add r10d, r15d
jmp 0x140063e11
mov r8, qword [rsp + 0x58]
movzx ecx, byte [r8]
cmp cl, 0x8f
ja 0x140063d43
add ecx, 0x30
xor r14d, r14d
mov edx, r14d
lea r8d, [r14 + 8]
nop dword [rax + rax]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x140063c90
mov ecx, r13d
mov qword [rsp + 0x20], rbx
shl edx, cl
add r13d, 8
or edi, edx
mov dword [rsp + 0xc8], r13d
mov dword [rsp + 0x28], edi
cmp r13d, 8
jl 0x140063e09
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
mov dword [rsp + 0xc8], r13d
nop
test rbx, rbx
je 0x140063d05
mov eax, dword [rbx - 4]
mov esi, dword [rbx - 8]
inc eax
cmp eax, esi
jl 0x140063d2a
lea esi, [rsi*2 + 1]
movsxd rdx, esi
lea rcx, [rbx - 8]
add rdx, 8
jmp 0x140063d10
mov esi, 2
mov rcx, r14
lea edx, [rsi + 8]
call fcn.14008cfc4
test rax, rax
je 0x140063d2a
test rbx, rbx
jne 0x140063d23
mov dword [rax + 4], r14d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x140063ce0
jmp 0x140063e00
add ecx, 0x100
xor r14d, r14d
mov edx, r14d
lea r8d, [r14 + 9]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x140063d53
mov ecx, r13d
mov qword [rsp + 0x20], rbx
shl edx, cl
add r13d, 9
or edi, edx
mov dword [rsp + 0xc8], r13d
mov dword [rsp + 0x28], edi
cmp r13d, 8
jl 0x140063e09
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
mov dword [rsp + 0xc8], r13d
test rbx, rbx
je 0x140063dc7
mov eax, dword [rbx - 4]
mov esi, dword [rbx - 8]
inc eax
cmp eax, esi
jl 0x140063dec
lea esi, [rsi*2 + 1]
movsxd rdx, esi
lea rcx, [rbx - 8]
add rdx, 8
jmp 0x140063dd2
mov esi, 2
mov rcx, r14
lea edx, [rsi + 8]
call fcn.14008cfc4
test rax, rax
je 0x140063dec
test rbx, rbx
jne 0x140063de5
mov dword [rax + 4], r14d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x140063da2
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], edi
mov r10d, dword [rsp + 0x2c]
inc r10d
mov r11d, dword [rsp + 0xb8]
mov r9d, 0
mov r15, qword [rsp + 0xb0]
mov dword [rsp + 0x2c], r10d
lea eax, [r11 - 3]
cmp r10d, eax
jl 0x140063390
movsxd r12, r11d
movsxd r14, r10d
mov qword [rsp + 0x48], r12
cmp r14, r12
jge 0x140063fbf
nop dword [rax]
movzx ecx, byte [r14 + r15]
mov edx, r9d
cmp cl, 0x8f
ja 0x140063f0c
add ecx, 0x30
mov r8d, 8
nop word [rax + rax]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x140063e70
mov ecx, r13d
add r13d, 8
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x140063fb3
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
test rbx, rbx
je 0x140063ecb
mov eax, dword [rbx - 4]
mov esi, dword [rbx - 8]
inc eax
cmp eax, esi
jl 0x140063ef3
lea esi, [rsi*2 + 1]
movsxd rdx, esi
lea rcx, [rbx - 8]
add rdx, 8
jmp 0x140063ed6
mov esi, 2
mov rcx, r9
lea edx, [rsi + 8]
call fcn.14008cfc4
xor r9d, r9d
test rax, rax
je 0x140063ef3
test rbx, rbx
jne 0x140063eec
mov dword [rax + 4], r9d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x140063ea6
jmp 0x140063fb3
add ecx, 0x100
mov r8d, 9
nop dword [rax + rax]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x140063f20
mov ecx, r13d
add r13d, 9
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x140063fb3
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
test rbx, rbx
je 0x140063f77
mov eax, dword [rbx - 4]
mov esi, dword [rbx - 8]
inc eax
cmp eax, esi
jl 0x140063f9f
lea esi, [rsi*2 + 1]
movsxd rdx, esi
lea rcx, [rbx - 8]
add rdx, 8
jmp 0x140063f82
mov esi, 2
mov rcx, r9
lea edx, [rsi + 8]
call fcn.14008cfc4
xor r9d, r9d
test rax, rax
je 0x140063f9f
test rbx, rbx
jne 0x140063f98
mov dword [rax + 4], r9d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x140063f52
inc r14
cmp r14, r12
jl 0x140063e50
mov ecx, r9d
mov edx, r9d
mov r8d, 7
nop dword [rax + rax]
mov eax, ecx
add edx, edx
and eax, 1
sar ecx, 1
or edx, eax
sub r8d, 1
jne 0x140063fd0
mov ecx, r13d
add r13d, 7
shl edx, cl
or edi, edx
cmp r13d, 8
jl 0x140064063
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
test rbx, rbx
je 0x140064027
mov eax, dword [rbx - 4]
mov esi, dword [rbx - 8]
inc eax
cmp eax, esi
jl 0x14006404f
lea esi, [rsi*2 + 1]
movsxd rdx, esi
lea rcx, [rbx - 8]
add rdx, 8
jmp 0x140064032
mov esi, 2
mov rcx, r9
lea edx, [rsi + 8]
call fcn.14008cfc4
xor r9d, r9d
test rax, rax
je 0x14006404f
test rbx, rbx
jne 0x140064048
mov dword [rax + 4], r9d
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x140064002
test r13d, r13d
je 0x1400640f9
jmp 0x140064073
xor r9d, r9d
inc r13d
cmp r13d, 8
jl 0x1400640f0
mov ebp, r13d
shr rbp, 3
mov eax, ebp
neg eax
lea r13d, [r13 + rax*8]
jmp 0x140064093
xor r9d, r9d
test rbx, rbx
je 0x1400640b8
mov eax, dword [rbx - 4]
mov esi, dword [rbx - 8]
inc eax
cmp eax, esi
jl 0x1400640dc
lea esi, [rsi*2 + 1]
movsxd rdx, esi
lea rcx, [rbx - 8]
add rdx, 8
jmp 0x1400640c3
mov esi, 2
mov rcx, r9
lea edx, [rsi + 8]
call fcn.14008cfc4
test rax, rax
je 0x1400640dc
test rbx, rbx
jne 0x1400640d5
mov dword [rax + 4], ebx
lea rbx, [rax + 8]
mov dword [rbx - 8], esi
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], dil
inc dword [rbx - 4]
shr edi, 8
sub rbp, 1
jne 0x140064090
test r13d, r13d
jne 0x140064070
mov r14, qword [rsp + 0x40]
mov esi, 0x4000
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x140064117
add rcx, 0xfffffffffffffff8
call fcn.140087cec
add rdi, 8
sub rsi, 1
jne 0x140064106
mov rcx, r14
call fcn.140087cec
mov r13d, dword [rsp + 0xb8]
mov eax, 0x80010003
lea ecx, [r13 + 0x7ffe]
imul ecx
add edx, ecx
lea ecx, [r13 + 2]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rcx + rdx*4]
add ecx, edx
cmp dword [rbx - 4], ecx
jle 0x1400642fe
xor r14d, r14d
mov dword [rbx - 4], 2
test r13d, r13d
jle 0x1400642fe
lea rdi, [rbx - 8]
mov r12d, 0x7fff
nop word [rax + rax]
mov eax, dword [rbx - 4]
mov ebp, r13d
mov r15d, dword [rdi]
sub ebp, r14d
cmp ebp, r12d
mov esi, ebp
cmovg esi, r12d
inc eax
cmp eax, r15d
jl 0x1400641c3
lea r15d, [r15*2 + 1]
mov rcx, rdi
movsxd rdx, r15d
add rdx, 8
call fcn.14008cfc4
test rax, rax
je 0x1400641c3
lea rbx, [rax + 8]
lea rdi, [rbx - 8]
mov dword [rdi], r15d
movsxd rax, dword [rbx - 4]
cmp ebp, esi
sete cl
mov byte [rax + rbx], cl
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov ebp, dword [rdi]
inc eax
cmp eax, ebp
jl 0x140064202
lea ebp, [rbp*2 + 1]
mov rcx, rdi
movsxd rdx, ebp
add rdx, 8
call fcn.14008cfc4
test rax, rax
je 0x140064202
lea rbx, [rax + 8]
lea rdi, [rbx - 8]
mov dword [rdi], ebp
movsxd rax, dword [rbx - 4]
mov byte [rax + rbx], sil
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov ebp, dword [rdi]
inc eax
cmp eax, ebp
jl 0x14006423d
lea ebp, [rbp*2 + 1]
mov rcx, rdi
movsxd rdx, ebp
add rdx, 8
call fcn.14008cfc4
test rax, rax
je 0x14006423d
lea rbx, [rax + 8]
lea rdi, [rbx - 8]
mov dword [rdi], ebp
movsxd rax, dword [rbx - 4]
mov ecx, esi
sar ecx, 8
mov byte [rax + rbx], cl
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov ebp, dword [rdi]
inc eax
cmp eax, ebp
jl 0x14006427c
lea ebp, [rbp*2 + 1]
mov rcx, rdi
movsxd rdx, ebp
add rdx, 8
call fcn.14008cfc4
test rax, rax
je 0x14006427c
lea rbx, [rax + 8]
lea rdi, [rbx - 8]
mov dword [rdi], ebp
movsxd rax, dword [rbx - 4]
movzx ecx, sil
not cl
mov byte [rax + rbx], cl
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov ebp, dword [rdi]
inc eax
cmp eax, ebp
jl 0x1400642bc
lea ebp, [rbp*2 + 1]
mov rcx, rdi
movsxd rdx, ebp
add rdx, 8
call fcn.14008cfc4
test rax, rax
je 0x1400642bc
lea rbx, [rax + 8]
lea rdi, [rbx - 8]
mov dword [rdi], ebp
movsxd rax, dword [rbx - 4]
mov ecx, esi
mov r15, qword [rsp + 0xb0]
not ecx
sar ecx, 8
movsxd rdx, r14d
mov byte [rax + rbx], cl
add rdx, r15
inc dword [rbx - 4]
movsxd rcx, dword [rbx - 4]
add rcx, rbx
movsxd r8, esi
call fcn.14007b2e0
add dword [rbx - 4], esi
add r14d, esi
cmp r14d, r13d
jl 0x140064180
mov r12, qword [rsp + 0x48]
xor r14d, r14d
mov edi, 1
mov esi, r14d
test r12, r12
jle 0x140064382
mov eax, 0x5e6ea9af
mov r9d, r14d
imul r13d
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x15b0
sub r13d, eax
movsxd r8, r13d
nop
mov rcx, r14
test r8, r8
jle 0x140064350
lea rdx, [r9 + r15]
nop dword [rax]
movzx eax, byte [rcx + rdx]
inc rcx
add edi, eax
add esi, edi
cmp rcx, r8
jl 0x140064340
mov eax, 0x80078071
add r9, r8
mul edi
mov r8d, 0x15b0
shr edx, 0xf
imul eax, edx, 0xffff000f
add edi, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
cmp r9, r12
jl 0x140064330
mov eax, dword [rbx - 4]
lea r14, [rbx - 8]
mov ecx, dword [r14]
inc eax
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
cmp eax, ecx
jl 0x1400643c2
lea ebp, [rcx*2 + 1]
mov rcx, r14
movsxd rdx, ebp
add rdx, 8
call fcn.14008cfc4
test rax, rax
je 0x1400643c2
lea rbx, [rax + 8]
lea r14, [rbx - 8]
mov dword [r14], ebp
movsxd rax, dword [rbx - 4]
mov ecx, esi
shr ecx, 8
mov byte [rax + rbx], cl
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov ebp, dword [r14]
inc eax
cmp eax, ebp
jl 0x140064403
lea ebp, [rbp*2 + 1]
mov rcx, r14
movsxd rdx, ebp
add rdx, 8
call fcn.14008cfc4
test rax, rax
je 0x140064403
lea rbx, [rax + 8]
lea r14, [rbx - 8]
mov dword [r14], ebp
movsxd rax, dword [rbx - 4]
mov rbp, qword [rsp + 0x80]
mov byte [rax + rbx], sil
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov esi, dword [r14]
inc eax
cmp eax, esi
jl 0x140064448
lea esi, [rsi*2 + 1]
mov rcx, r14
movsxd rdx, esi
add rdx, 8
call fcn.14008cfc4
test rax, rax
je 0x140064448
lea rbx, [rax + 8]
lea r14, [rbx - 8]
mov dword [r14], esi
movsxd rax, dword [rbx - 4]
mov ecx, edi
shr ecx, 8
mov byte [rax + rbx], cl
inc dword [rbx - 4]
mov eax, dword [rbx - 4]
mov esi, dword [r14]
inc eax
cmp eax, esi
jl 0x140064489
lea esi, [rsi*2 + 1]
mov rcx, r14
movsxd rdx, esi
add rdx, 8
call fcn.14008cfc4
test rax, rax
je 0x140064489
lea rbx, [rax + 8]
lea r14, [rbx - 8]
mov dword [r14], esi
movsxd rcx, dword [rbx - 4]
mov rdx, rbx
mov rax, qword [rsp + 0xc0]
mov byte [rcx + rbx], dil
inc dword [rbx - 4]
movsxd rcx, dword [rbx - 4]
mov dword [rax], ecx
mov r8, rcx
mov rcx, r14
call fcn.14007b2e0
mov rax, r14
mov r14, qword [rsp + 0x68]
add rsp, 0x88
pop r15
pop rdi
pop rsi
pop rbx
ret