Function at 0x14006d570
Capabilities:
Compute adler32 checksum

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov rax, qword [0x1400a5028]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov r15, qword [rsp + 0x188]
mov rbx, r9
mov r13, qword [r8]
mov r12, rcx
mov rcx, qword [rsp + 0x180]
add r13, rdx
mov r14d, dword [rsp + 0x190]
mov rsi, rdx
mov rax, qword [r15]
mov r9d, r14d
mov qword [rsp + 0x58], rbx
mov r11, rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x68], rcx
lea rdi, [rax + rcx]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x30], rcx
and r9d, 4
je 0x14006d5f8
or rax, 0xffffffffffffffff
jmp 0x14006d601
sub rax, rbx
dec rax
add rax, rcx
lea r10, [rax + 1]
mov qword [rsp + 0x50], rax
test rax, r10
jne 0x14006eb8d
cmp rcx, rbx
jb 0x14006eb8d
mov rax, qword [r12 + 0x40]
mov r8d, dword [r12 + 0x20]
mov edx, dword [r12 + 0x28]
mov ebx, dword [r12 + 4]
mov r15d, dword [r12 + 0x24]
mov qword [rsp + 0x48], rax
mov eax, dword [r12]
mov qword [rsp + 0x178], rbp
mov rbp, qword [r12 + 0x38]
mov dword [rsp + 0x20], r8d
mov dword [rsp + 0x38], edx
cmp eax, 0x35
ja case.0x14006d675.4
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0x6ebc0]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
xor r11d, r11d
mov qword [r12 + 8], 0
xor r15d, r15d
mov dword [rsp + 0x38], 0
xor ebx, ebx
mov dword [rsp + 0x20], r11d
xor ebp, ebp
mov dword [r12 + 0x1c], 1
mov dword [r12 + 0x10], 1
test r14b, 1
je 0x14006d7b8
cmp rsi, r13
jae 0x14006d6dc
movzx eax, byte [rsi]
inc rsi
mov dword [r12 + 8], eax
jmp 0x14006d6fa
mov r11d, dword [rsp + 0x20]
cmp rsi, r13
jae 0x14006d6dc
movzx eax, byte [rsi]
inc rsi
mov dword [r12 + 8], eax
jmp 0x14006d6fa
test r14b, 2
je 0x14006d6f1
mov r13d, 1
mov dword [r12], r13d
jmp 0x14006e89d
mov dword [r12 + 8], 0
cmp rsi, r13
jae 0x14006d723
movzx eax, byte [rsi]
inc rsi
mov dword [r12 + 0xc], eax
jmp 0x14006d745
mov r11d, dword [rsp + 0x20]
cmp rsi, r13
jae 0x14006d723
movzx eax, byte [rsi]
inc rsi
mov dword [r12 + 0xc], eax
jmp 0x14006d745
test r14b, 2
je 0x14006d73c
mov r13d, 1
mov dword [r12], 2
jmp 0x14006e89d
mov dword [r12 + 0xc], 0
mov edi, dword [r12 + 8]
mov eax, 0x8421085
mov r8d, dword [r12 + 0xc]
mov ecx, edi
shl ecx, 8
add ecx, r8d
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1f
cmp ecx, eax
jne 0x14006d783
test r8b, 0x20
jne 0x14006d783
mov eax, edi
and al, 0xf
cmp al, 8
jne 0x14006d783
xor r15d, r15d
jmp 0x14006d789
mov r15d, 1
test r9d, r9d
jne 0x14006d7b3
shr edi, 4
mov eax, 1
lea ecx, [rdi + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x14006d7ab
cmp r10, rax
jb 0x14006d7ab
xor eax, eax
jmp 0x14006d7b0
mov eax, 1
or r15d, eax
test r15d, r15d
jne 0x14006d7e5
mov r11, qword [rsp + 0x30]
cmp ebx, 3
jae 0x14006dec4
cmp rsi, r13
jb 0x14006deaa
test r14b, 2
jne 0x14006e7a0
xor eax, eax
jmp 0x14006deb0
mov r11d, dword [rsp + 0x20]
or r13, 0xffffffffffffffff
mov dword [r12], 0x24
jmp 0x14006e89d
mov rax, rsi
cmp rsi, r13
jae 0x14006d7cf
movzx eax, byte [rax]
jmp 0x14006dead
mov rax, rsi
cmp rsi, r13
jae 0x14006def0
movzx eax, byte [rax]
jmp 0x14006df01
mov rax, rsi
cmp rsi, r13
jae 0x14006df3e
movzx eax, byte [rax]
jmp 0x14006df4f
cmp rsi, r13
jae 0x14006df83
movzx eax, byte [rsi]
inc rsi
mov byte [r15 + r12 + 0x2928], al
inc r15d
jmp 0x14006df2a
mov rax, rsi
cmp rsi, r13
jae 0x14006dff6
movzx eax, byte [rax]
jmp 0x14006e007
mov rax, rsi
cmp rsi, r13
jae 0x14006e1b9
movzx eax, byte [rax]
lea r8, [0x140000000]
inc rsi
jmp 0x14006e1d4
lea rdx, [0x140000000]
mov rax, rsi
cmp rsi, r13
jae 0x14006e25a
movzx eax, byte [rax]
jmp 0x14006e26b
mov rax, rsi
cmp rsi, r13
jae 0x14006e564
movzx eax, byte [rax]
jmp 0x14006e575
mov rax, rsi
cmp rsi, r13
jae 0x14006e655
movzx eax, byte [rax]
jmp 0x14006e666
mov rax, rsi
cmp rsi, r13
jae 0x14006dacc
movzx eax, byte [rax]
jmp 0x14006dadd
mov rax, rsi
cmp rsi, r13
jae 0x14006db98
movzx eax, byte [rax]
jmp 0x14006dba9
mov rax, rsi
cmp rsi, r13
jae 0x14006dc3d
movzx eax, byte [rax]
jmp 0x14006dc4e
mov rax, rsi
cmp rsi, r13
jae 0x14006dd00
movzx eax, byte [rax]
jmp 0x14006dd11
mov r9, qword [rsp + 0x58]
mov r10, qword [rsp + 0x50]
jmp 0x14006dd95
cmp r11, rdi
jae 0x14006e87c
mov byte [r11], r15b
inc r11
mov qword [rsp + 0x30], r11
mov rcx, r13
sub rcx, rsi
cmp rcx, 4
jl 0x14006da2d
mov rax, rdi
sub rax, r11
cmp rax, 2
jl 0x14006da2d
cmp ebx, 0x1e
jae 0x14006d96b
mov eax, dword [rsi]
mov ecx, ebx
shl rax, cl
add rsi, 4
or rbp, rax
add ebx, 0x20
mov rax, rbp
and eax, 0x3ff
movsx r15d, word [r12 + rax*2 + 0x168]
test r15d, r15d
js 0x14006d989
mov ecx, r15d
sar ecx, 9
jmp 0x14006d9b2
mov ecx, 0xa
nop
not r15d
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, r15d
add rdx, rax
movsx r15d, word [r12 + rdx*2 + 0x968]
test r15d, r15d
js 0x14006d990
shr rbp, cl
sub ebx, ecx
bt r15d, 8
jb 0x14006db56
mov rax, rbp
and eax, 0x3ff
movsx eax, word [r12 + rax*2 + 0x168]
test eax, eax
js 0x14006d9de
mov ecx, eax
sar ecx, 9
jmp 0x14006da02
mov ecx, 0xa
not eax
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
cdqe
add rdx, rax
movsx eax, word [r12 + rdx*2 + 0x968]
test eax, eax
js 0x14006d9e3
shr rbp, cl
sub ebx, ecx
mov byte [r11], r15b
bt eax, 8
jb 0x14006da1d
mov byte [r11 + 1], al
add r11, 2
jmp 0x14006d930
inc r11
mov r15d, eax
mov qword [rsp + 0x30], r11
jmp 0x14006db56
cmp ebx, 0xf
jae 0x14006da61
cmp rcx, 2
jge 0x14006daf9
mov rax, rbp
and eax, 0x3ff
movsx edi, word [r12 + rax*2 + 0x168]
test edi, edi
js 0x14006da8d
sar edi, 9
test edi, edi
je 0x14006dac7
cmp ebx, edi
jb 0x14006dac7
mov rdi, qword [rsp + 0x40]
mov rax, rbp
and eax, 0x3ff
movsx r15d, word [r12 + rax*2 + 0x168]
test r15d, r15d
js 0x14006db1d
mov ecx, r15d
sar ecx, 9
and r15d, 0x1ff
jmp 0x14006db44
cmp ebx, 0xa
jbe 0x14006dac7
mov ecx, 0xa
nop word [rax + rax]
not edi
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, edi
add rdx, rax
movsx edi, word [r12 + rdx*2 + 0x968]
test edi, edi
jns 0x14006da5c
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x14006daa0
cmp rsi, r13
jb 0x14006dada
test r14b, 2
jne 0x14006e741
xor eax, eax
jmp 0x14006dae0
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 0xf
jb 0x14006da3c
jmp 0x14006da5c
movzx edx, byte [rsi + 1]
lea ecx, [rbx + 8]
movzx eax, byte [rsi]
add rsi, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
or rbp, rdx
add ebx, 0x10
jmp 0x14006da61
mov ecx, 0xa
not r15d
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, r15d
add rdx, rax
movsx r15d, word [r12 + rdx*2 + 0x968]
test r15d, r15d
js 0x14006db22
shr rbp, cl
sub ebx, ecx
cmp r15d, 0x100
jb case.0x14006d675.24
and r15d, 0x1ff
cmp r15d, 0x100
je 0x14006de84
lea ecx, [r15 - 0x101]
lea rax, [0x140000000]
mov edx, dword [rax + rcx*4 + 0x7c140]
mov r15d, dword [rax + rcx*4 + 0x7c0c0]
mov dword [rsp + 0x38], edx
test edx, edx
je 0x14006dbd0
cmp ebx, edx
jae 0x14006dbbb
cmp rsi, r13
jb 0x14006dba6
test r14b, 2
jne 0x14006e754
xor eax, eax
jmp 0x14006dbac
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, edx
jb 0x14006db93
mov ecx, edx
mov eax, 1
shl eax, cl
sub ebx, edx
dec eax
and eax, ebp
shr rbp, cl
add r15d, eax
cmp ebx, 0xf
jae 0x14006dc82
mov rax, r13
sub rax, rsi
cmp rax, 2
jge 0x14006dc63
mov rax, rbp
and eax, 0x3ff
movsx edi, word [r12 + rax*2 + 0xf08]
test edi, edi
js 0x14006dc07
sar edi, 9
test edi, edi
je 0x14006dc38
cmp ebx, edi
jae 0x14006dc82
jmp 0x14006dc38
cmp ebx, 0xa
jbe 0x14006dc38
mov ecx, 0xa
not edi
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, edi
add rdx, rax
movsx edi, word [r12 + rdx*2 + 0x1708]
test edi, edi
jns 0x14006dc82
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x14006dc11
cmp rsi, r13
jb 0x14006dc4b
test r14b, 2
jne 0x14006e767
xor eax, eax
jmp 0x14006dc51
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 0xf
jb 0x14006dbe5
jmp 0x14006dc82
movzx edx, byte [rsi + 1]
lea ecx, [rbx + 8]
movzx eax, byte [rsi]
add rsi, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
or rbp, rdx
add ebx, 0x10
mov rax, rbp
and eax, 0x3ff
movsx eax, word [r12 + rax*2 + 0xf08]
test eax, eax
js 0x14006dca3
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x14006dccf
mov ecx, 0xa
nop dword [rax + rax]
not eax
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
cdqe
add rdx, rax
movsx eax, word [r12 + rdx*2 + 0x1708]
test eax, eax
js 0x14006dcb0
shr rbp, cl
sub ebx, ecx
lea rcx, [0x140000000]
mov edx, dword [rcx + rax*4 + 0x7c240]
mov r8d, dword [rcx + rax*4 + 0x7c1c0]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x20], r8d
test edx, edx
je 0x14006dd3d
cmp ebx, edx
jae 0x14006dd23
cmp rsi, r13
jb 0x14006dd0e
test r14b, 2
jne 0x14006e77a
xor eax, eax
jmp 0x14006dd14
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, edx
jb 0x14006dcfb
mov ecx, edx
mov eax, 1
shl eax, cl
sub ebx, edx
dec eax
and eax, ebp
shr rbp, cl
add r8d, eax
mov dword [rsp + 0x20], r8d
mov r9, qword [rsp + 0x58]
mov rcx, r11
sub rcx, r9
mov eax, r8d
mov qword [rsp + 0x48], rcx
cmp rax, rcx
jbe 0x14006dd5f
test r14b, 4
jne case.0x14006d675.37
mov r10, qword [rsp + 0x50]
sub rcx, rax
mov rdi, qword [rsp + 0x40]
and rcx, r10
add rcx, r9
mov edx, r15d
cmp r11, rcx
mov rax, rcx
cmova rax, r11
add rax, rdx
cmp rax, rdi
jbe 0x14006ddc9
mov eax, r15d
dec r15d
test eax, eax
je 0x14006e737
cmp r11, rdi
jae 0x14006e78d
mov rdx, qword [rsp + 0x48]
mov rcx, rdx
mov eax, r8d
sub rcx, rax
and rcx, r10
movzx eax, byte [rcx + r9]
mov byte [r11], al
inc r11
inc rdx
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x48], rdx
jmp 0x14006dd87
cmp r15d, 9
jb 0x14006de40
cmp r15d, r8d
ja 0x14006de40
mov eax, 0xfffffff8
and rdx, rax
add rdx, rcx
nop
mov eax, dword [rcx]
mov dword [r11], eax
mov eax, dword [rcx + 4]
add rcx, 8
mov dword [r11 + 4], eax
add r11, 8
cmp rcx, rdx
jb 0x14006dde0
and r15d, 7
mov qword [rsp + 0x30], r11
cmp r15d, 3
jae 0x14006de40
test r15d, r15d
je 0x14006e737
movzx eax, byte [rcx]
mov byte [r11], al
cmp r15d, 1
jbe 0x14006de25
movzx eax, byte [rcx + 1]
mov byte [r11 + 1], al
mov rdi, qword [rsp + 0x40]
mov eax, r15d
add r11, rax
mov qword [rsp + 0x30], r11
jmp 0x14006d935
movzx eax, byte [rcx]
lea rcx, [rcx + 3]
mov byte [r11], al
add r15d, 0xfffffffd
movzx eax, byte [rcx - 2]
mov byte [r11 + 1], al
movzx eax, byte [rcx - 1]
mov byte [r11 + 2], al
add r11, 3
cmp r15d, 2
jg 0x14006de40
mov qword [rsp + 0x30], r11
test r15d, r15d
jle 0x14006e737
movzx eax, byte [rcx]
mov byte [r11], al
cmp r15d, 1
jle 0x14006de25
jmp 0x14006de1d
test byte [r12 + 0x14], 1
je 0x14006d7bd
test r14b, 1
jne 0x14006eaad
xor r13d, r13d
mov dword [r12], 0x22
jmp 0x14006e898
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 3
jb 0x14006d7c6
mov eax, ebp
add ebx, 0xfffffffd
and eax, 7
shr rbp, 3
mov dword [r12 + 0x14], eax
shr eax, 1
mov dword [r12 + 0x18], eax
jne 0x14006e0b4
mov eax, ebx
and eax, 7
cmp ebx, eax
jae 0x14006df18
cmp rsi, r13
jb 0x14006defe
test r14b, 2
jne 0x14006e7b3
xor eax, eax
jmp 0x14006df04
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
mov eax, ebx
and eax, 7
cmp ebx, eax
jb 0x14006deeb
mov ecx, ebx
mov eax, 0xfffffff8
and cl, 7
and ebx, eax
shr rbp, cl
xor r15d, r15d
cmp r15d, 4
jae 0x14006df9b
test ebx, ebx
je 0x14006df7a
cmp ebx, 8
jae 0x14006df62
cmp rsi, r13
jb 0x14006df4c
test r14b, 2
jne 0x14006e7c6
xor eax, eax
jmp 0x14006df52
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 8
jb 0x14006df39
mov byte [r15 + r12 + 0x2928], bpl
mov eax, 0xfffffff8
add ebx, eax
shr rbp, 8
inc r15d
jmp 0x14006df2a
cmp rsi, r13
jb 0x14006d837
test r14b, 2
jne 0x14006e7d9
mov byte [r15 + r12 + 0x2928], 0
inc r15d
jmp 0x14006df2a
movzx eax, byte [r12 + 0x2928]
movzx r15d, byte [r12 + 0x2929]
movzx ecx, byte [r12 + 0x292b]
shl ecx, 8
shl r15d, 8
or r15d, eax
movzx eax, byte [r12 + 0x292a]
or ecx, eax
xor ecx, 0xffff
cmp r15d, ecx
jne case.0x14006d675.39
mov rdi, qword [rsp + 0x40]
test r15d, r15d
je 0x14006de84
test ebx, ebx
je 0x14006e047
cmp ebx, 8
jae 0x14006e01a
cmp rsi, r13
jb 0x14006e004
test r14b, 2
jne 0x14006e7ec
xor eax, eax
jmp 0x14006e00a
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 8
jb 0x14006dff1
movzx r8d, bpl
mov eax, 0xfffffff8
shr rbp, 8
add ebx, eax
mov dword [rsp + 0x20], r8d
cmp r11, rdi
jae 0x14006e7ff
mov byte [r11], r8b
inc r11
mov qword [rsp + 0x30], r11
dec r15d
jmp 0x14006dfdf
test r15d, r15d
je 0x14006de84
cmp r11, rdi
jae 0x14006e82c
cmp rsi, r13
jae 0x14006e812
mov rcx, rdi
mov edx, r15d
sub rcx, r11
mov rdi, r13
sub rdi, rsi
mov rax, rcx
cmp rcx, rdi
cmovae rax, rdi
cmp rax, rdx
jae 0x14006e089
cmp rcx, rdi
cmovb rdi, rcx
jmp 0x14006e08c
mov rdi, rdx
mov r8, rdi
mov rdx, rsi
mov rcx, r11
call sub.VCRUNTIME140.dll_memcpy
mov r11, qword [rsp + 0x30]
add rsi, rdi
add r11, rdi
sub r15d, edi
mov qword [rsp + 0x30], r11
mov rdi, qword [rsp + 0x40]
jmp 0x14006e047
cmp eax, 3
je case.0x14006d675.10
cmp eax, 1
jne 0x14006e193
movabs rax, 0x505050505050505
mov dword [r12 + 0x2c], ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
mov dword [r12 + 0x30], 0x20
mov ecx, 2
mov qword [r12 + 0xde8], rax
movabs r8, 0x808080808080808
mov qword [r12 + 0xdf0], rax
mov qword [r12 + 0xdf8], rax
mov qword [r12 + 0xe00], rax
lea rax, [r12 + 0x48]
nop word [rax + rax]
mov qword [rax], r8
mov qword [rax + 8], r8
mov qword [rax + 0x10], r8
lea rax, [rax + 0x40]
mov qword [rax - 0x28], r8
mov qword [rax - 0x20], r8
mov qword [rax - 0x18], r8
mov qword [rax - 0x10], r8
mov qword [rax - 8], r8
sub rcx, 1
jne 0x14006e120
mov qword [rax], r8
lea rdi, [r12 + 0xd8]
mov qword [rax + 8], r8
mov ecx, 0x70
mov eax, 9
rep stosb byte [rdi], al
movabs rax, 0x707070707070707
mov qword [r12 + 0x148], rax
mov qword [r12 + 0x150], rax
mov qword [r12 + 0x158], rax
mov qword [r12 + 0x160], r8
jmp 0x14006e2a9
xor r15d, r15d
lea r8, [0x140000000]
cmp r15d, 3
jae 0x14006e22a
movsx eax, byte [r15 + r8 + 0x7c2e4]
cmp ebx, eax
jae 0x14006e1ec
cmp rsi, r13
jb 0x14006e1ce
test r14b, 2
jne 0x14006e83c
xor eax, eax
lea r8, [0x140000000]
jmp 0x14006e1d4
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
movsx eax, byte [r15 + r8 + 0x7c2e4]
cmp ebx, eax
jb 0x14006e1b4
movzx ecx, byte [r15 + r8 + 0x7c2e4]
mov edx, 1
shl edx, cl
dec edx
and edx, ebp
mov dword [r12 + r15*4 + 0x2c], edx
movsx ecx, byte [r15 + r8 + 0x7c2e4]
shr rbp, cl
sub ebx, ecx
mov ecx, dword [r8 + r15*4 + 0x7c2d8]
add ecx, edx
mov dword [r12 + r15*4 + 0x2c], ecx
inc r15d
jmp 0x14006e19d
lea rcx, [r12 + 0x1b88]
xor edx, edx
mov r8d, ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
call sub.VCRUNTIME140.dll_memset
xor r15d, r15d
lea rdx, [0x140000000]
cmp r15d, dword [r12 + 0x34]
jae 0x14006e2a0
cmp ebx, 3
jae 0x14006e27e
cmp rsi, r13
jb 0x14006e268
test r14b, 2
jne 0x14006e84c
xor eax, eax
jmp 0x14006e26e
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 3
jb 0x14006e255
movzx eax, byte [r15 + rdx + 0x7c2c0]
mov ecx, ebp
and ecx, 7
shr rbp, 3
add ebx, 0xfffffffd
inc r15d
mov byte [rax + r12 + 0x1b88], cl
jmp 0x14006e249
mov dword [r12 + 0x34], 0x13
mov eax, dword [r12 + 0x18]
test eax, eax
js 0x14006e732
imul r14, rax, 0xda0
xor eax, eax
xor edx, edx
add r14, r12
mov qword [rsp + 0x80], rax
mov r8d, 0xc80
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
lea rcx, [r14 + 0x168]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [r12 + 0x18]
mov r9d, dword [r12 + rax*4 + 0x2c]
test r9d, r9d
je 0x14006e344
lea rcx, [r14 + 0x48]
mov edx, r9d
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
inc dword [rsp + rax*4 + 0x80]
sub rdx, 1
jne 0x14006e330
xor edi, edi
xor ecx, ecx
mov qword [rsp + 0xc0], rcx
xor edx, edx
lea r8d, [rdi + 0xf]
nop word [rax + rax]
mov eax, dword [rsp + rdx + 0x84]
lea rdx, [rdx + 4]
add ecx, eax
add edi, eax
add ecx, ecx
mov dword [rsp + rdx + 0xc4], ecx
sub r8, 1
jne 0x14006e360
cmp ecx, 0x10000
je 0x14006e38f
cmp edi, 1
ja 0x14006ea3d
or r10d, 0xffffffff
xor r11d, r11d
test r9d, r9d
je 0x14006e4bf
nop
movzx r9d, byte [r11 + r14 + 0x48]
xor edx, edx
test r9d, r9d
je 0x14006e4ac
lea rcx, [rsp + 0xc0]
mov r8d, r9d
mov edi, dword [rcx + r9*4]
lea rcx, [rcx + r9*4]
lea eax, [rdi + 1]
mov dword [rcx], eax
nop dword [rax]
mov ecx, edi
lea eax, [rdx + rdx]
and ecx, 1
shr edi, 1
mov edx, ecx
or edx, eax
add r8d, 0xffffffff
jne 0x14006e3d0
cmp r9d, 0xa
ja 0x14006e429
movzx edi, r9w
shl di, 9
or di, r11w
cmp edx, 0x400
jae 0x14006e4ac
mov ecx, r9d
mov r8d, 1
shl r8d, cl
nop
mov word [r14 + rdx*2 + 0x168], di
add edx, r8d
cmp edx, 0x400
jb 0x14006e410
jmp 0x14006e4ac
mov eax, edx
and eax, 0x3ff
movsx ecx, word [r14 + rax*2 + 0x168]
test ecx, ecx
jne 0x14006e44d
mov word [r14 + rax*2 + 0x168], r10w
mov ecx, r10d
sub r10d, 2
shr edx, 9
cmp r9d, 0xb
jbe 0x14006e497
lea edi, [r9 - 0xb]
nop word [rax + rax]
shr edx, 1
mov eax, edx
and eax, 1
sub ecx, eax
not ecx
movsxd rax, ecx
movzx ecx, word [r14 + rax*2 + 0x968]
test cx, cx
jne 0x14006e48e
mov word [r14 + rax*2 + 0x968], r10w
mov ecx, r10d
sub r10d, 2
jmp 0x14006e491
movsx ecx, cx
sub rdi, 1
jne 0x14006e460
shr edx, 1
and edx, 1
sub edx, ecx
lea eax, [rdx - 1]
cdqe
mov word [r14 + rax*2 + 0x968], r11w
mov eax, dword [r12 + 0x18]
inc r11d
cmp r11d, dword [r12 + rax*4 + 0x2c]
jb 0x14006e3a0
cmp dword [r12 + 0x18], 2
jne 0x14006e720
xor r15d, r15d
mov eax, dword [r12 + 0x30]
add eax, dword [r12 + 0x2c]
cmp r15d, eax
jae 0x14006e6d4
cmp ebx, 0xf
jae 0x14006e5ad
mov rax, r13
sub rax, rsi
cmp rax, 2
jge 0x14006e58e
mov rax, rbp
and eax, 0x3ff
movsx edi, word [r12 + rax*2 + 0x1ca8]
test edi, edi
js 0x14006e520
sar edi, 9
test edi, edi
je 0x14006e557
cmp ebx, edi
jae 0x14006e5ad
jmp 0x14006e557
cmp ebx, 0xa
jbe 0x14006e557
mov ecx, 0xa
nop word [rax + rax]
not edi
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, edi
add rdx, rax
movsx edi, word [r12 + rdx*2 + 0x24a8]
test edi, edi
jns 0x14006e5ad
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x14006e530
cmp rsi, r13
jb 0x14006e572
mov r14d, dword [rsp + 0x190]
test r14b, 2
jne 0x14006e85c
xor eax, eax
jmp 0x14006e578
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 0xf
jb 0x14006e4fa
jmp 0x14006e5ad
movzx edx, byte [rsi + 1]
lea ecx, [rbx + 8]
movzx eax, byte [rsi]
add rsi, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
or rbp, rdx
add ebx, 0x10
mov rax, rbp
and eax, 0x3ff
movsx r8d, word [r12 + rax*2 + 0x1ca8]
test r8d, r8d
js 0x14006e5d2
mov ecx, r8d
sar ecx, 9
and r8d, 0x1ff
jmp 0x14006e602
mov ecx, 0xa
nop word [rax + rax]
not r8d
mov rdx, rbp
shr rdx, cl
inc ecx
and edx, 1
movsxd rax, r8d
add rdx, rax
movsx r8d, word [r12 + rdx*2 + 0x24a8]
test r8d, r8d
js 0x14006e5e0
shr rbp, cl
sub ebx, ecx
mov dword [rsp + 0x20], r8d
cmp r8d, 0x10
jae 0x14006e622
mov byte [r15 + r12 + 0x292c], r8b
inc r15d
jmp 0x14006e4ce
jne 0x14006e62d
test r15d, r15d
je 0x14006ea52
lea ecx, [r8 - 0x10]
lea rax, [0x140000000]
movsx edx, byte [rcx + rax + 0x7c2e8]
mov dword [rsp + 0x38], edx
cmp ebx, edx
jae 0x14006e678
cmp rsi, r13
jb 0x14006e663
mov r14d, dword [rsp + 0x190]
test r14b, 2
jne 0x14006e86c
xor eax, eax
jmp 0x14006e669
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, edx
jb 0x14006e648
mov ecx, edx
lea rax, [0x140000000]
mov edi, 1
sub ebx, edx
shl edi, cl
dec edi
and edi, ebp
shr rbp, cl
lea ecx, [r8 - 0x10]
movsx eax, byte [rcx + rax + 0x7c2ec]
add edi, eax
cmp r8d, 0x10
jne 0x14006e6b4
lea eax, [r15 - 1]
movzx edx, byte [rax + r12 + 0x292c]
jmp 0x14006e6b6
xor edx, edx
mov eax, r15d
lea rcx, [r12 + 0x292c]
add rcx, rax
mov r8d, edi
call sub.VCRUNTIME140.dll_memset
add r15d, edi
jmp 0x14006e4ce
mov edx, dword [r12 + 0x2c]
mov ecx, dword [r12 + 0x30]
add ecx, edx
cmp ecx, r15d
jne 0x14006ea67
mov r8d, edx
lea rcx, [r12 + 0x48]
lea rdx, [r12 + 0x292c]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [r12 + 0x2c]
lea rdx, [r12 + 0x292c]
mov r8d, dword [r12 + 0x30]
lea rcx, [r12 + 0xde8]
add rdx, rax
call sub.VCRUNTIME140.dll_memcpy
dec dword [r12 + 0x18]
mov r14d, dword [rsp + 0x190]
jmp 0x14006e2a9
mov r11, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
jmp 0x14006d935
mov r13d, 1
mov dword [r12], 0x17
jmp 0x14006e898
mov r13d, 1
mov dword [r12], 0x19
jmp 0x14006e898
mov r13d, 1
mov dword [r12], 0x1a
jmp 0x14006e898
mov r13d, 1
mov dword [r12], 0x1b
jmp 0x14006e898
mov r13d, 2
mov dword [r12], 0x35
jmp 0x14006e898
mov r13d, 1
mov dword [r12], 3
jmp 0x14006e898
mov r13d, 1
mov dword [r12], 5
jmp 0x14006e898
mov r13d, 1
mov dword [r12], 6
jmp 0x14006e898
mov r13d, 1
mov dword [r12], 7
jmp 0x14006e898
mov r13d, 1
mov dword [r12], 0x33
jmp 0x14006e898
mov r13d, 2
mov dword [r12], 0x34
jmp 0x14006e898
test r14b, 2
je case.0x14006d675.40
mov r13d, 1
mov dword [r12], 0x26
jmp 0x14006e898
mov r13d, 2
mov dword [r12], 9
jmp 0x14006e898
mov r13d, 1
mov dword [r12], 0xb
jmp 0x14006e898
mov r13d, 1
mov dword [r12], 0xe
jmp 0x14006e898
mov r13d, 1
mov dword [r12], 0x10
jmp 0x14006e898
mov r13d, 1
mov dword [r12], 0x12
jmp 0x14006e898
mov r13d, 2
mov dword [r12], 0x18
jmp 0x14006e898
mov dword [r12], 0x27
or r13, 0xffffffffffffffff
mov r11d, dword [rsp + 0x20]
mov eax, dword [rsp + 0x38]
sub rsi, qword [rsp + 0x28]
mov r10, qword [rsp + 0x30]
mov dword [r12 + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [r12 + 0x40], rax
mov rax, qword [rsp + 0x60]
mov qword [r12 + 0x38], rbp
mov rbp, qword [rsp + 0x178]
mov dword [r12 + 0x20], r11d
mov r11, qword [rsp + 0x68]
mov dword [r12 + 4], ebx
sub r10, r11
mov dword [r12 + 0x24], r15d
mov qword [rax], rsi
mov rax, qword [rsp + 0x70]
mov qword [rax], r10
test r14b, 9
je 0x14006ea1b
test r13d, r13d
js 0x14006ea1b
mov edi, dword [r12 + 0x1c]
movabs rax, 0x79baa6bb6398b6f7
mul r10
mov rax, r10
movzx ecx, di
sub rax, rdx
shr edi, 0x10
shr rax, 1
mov r8, r10
add rax, rdx
shr rax, 0xc
imul rax, rax, 0x15b0
sub r8, rax
test r10, r10
je 0x14006e9f8
nop
xor edx, edx
cmp r8, 7
jbe 0x14006e9aa
lea r9d, [rdx + 7]
nop dword [rax]
movzx eax, byte [r11]
add r9d, 8
add ecx, eax
add edx, 8
movzx eax, byte [r11 + 1]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 2]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 3]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 4]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 5]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 6]
add edi, ecx
add ecx, eax
movzx eax, byte [r11 + 7]
add edi, ecx
add ecx, eax
add r11, 8
add edi, ecx
mov eax, r9d
cmp rax, r8
jb 0x14006e950
mov eax, edx
cmp rax, r8
jae 0x14006e9c5
movzx eax, byte [r11]
inc edx
add ecx, eax
inc r11
add edi, ecx
mov eax, edx
cmp rax, r8
jb 0x14006e9b1
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul eax, edx, 0xffff000f
add edi, eax
sub r10, r8
mov r8d, 0x15b0
jne 0x14006e940
shl edi, 0x10
add edi, ecx
mov dword [r12 + 0x1c], edi
test r13d, r13d
jne 0x14006ea1b
test r14b, 1
je 0x14006ea1b
cmp edi, dword [r12 + 0x10]
mov eax, 0xfffffffe
cmovne r13d, eax
mov eax, r13d
jmp 0x14006eb9a
mov dword [r12], 0x28
jmp case.0x14006d675.4
mov dword [r12], 0xa
jmp case.0x14006d675.4
mov r14d, dword [rsp + 0x190]
mov dword [r12], 0x23
jmp case.0x14006d675.4
mov r14d, dword [rsp + 0x190]
mov dword [r12], 0x11
jmp case.0x14006d675.4
mov r14d, dword [rsp + 0x190]
mov dword [r12], 0x15
jmp case.0x14006d675.4
mov dword [r12], 0x25
jmp case.0x14006d675.4
mov r11, rsi
cmp rsi, r13
jae 0x14006ea9a
movzx eax, byte [r11]
inc rsi
jmp 0x14006eaa2
test r14b, 2
jne 0x14006ead7
xor eax, eax
mov ecx, ebx
shl rax, cl
or rbp, rax
add ebx, 8
mov eax, ebx
and eax, 7
cmp ebx, eax
jae 0x14006eac3
cmp rsi, r13
jae 0x14006ea9a
movzx eax, byte [rsi]
inc rsi
jmp 0x14006eaa2
mov ecx, ebx
mov eax, 0xfffffff8
and cl, 7
and ebx, eax
shr rbp, cl
xor r15d, r15d
jmp 0x14006eb11
mov r13d, 1
mov dword [r12], 0x20
jmp 0x14006e898
mov r11, rsi
cmp rsi, r13
jae 0x14006eb29
movzx eax, byte [rsi]
jmp 0x14006eb36
test r14b, 2
jne 0x14006eb7a
xor ecx, ecx
mov eax, dword [r12 + 0x10]
shl eax, 8
or eax, ecx
mov dword [r12 + 0x10], eax
inc r15d
cmp r15d, 4
jae case.0x14006d675.34
test ebx, ebx
je case.0x14006d675.42
cmp ebx, 8
jae 0x14006eb49
cmp rsi, r13
jb 0x14006eb33
test r14b, 2
jne 0x14006eb67
xor eax, eax
jmp 0x14006eb39
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 8
jb 0x14006eb24
movzx ecx, bpl
mov eax, 0xfffffff8
shr rbp, 8
add ebx, eax
jmp 0x14006eaff
cmp rsi, r13
jae 0x14006eaf7
movzx ecx, byte [rsi]
inc rsi
jmp 0x14006eaff
mov r13d, 1
mov dword [r12], 0x29
jmp 0x14006e898
mov r13d, 1
mov dword [r12], 0x2a
jmp 0x14006e898
xor eax, eax
mov qword [r15], rax
mov qword [r8], rax
mov eax, 0xfffffffd
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140063e50
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret