Function at 0x1400670e0
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 [0x140097030]
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 0x140067168
or rax, 0xffffffffffffffff
jmp 0x140067171
sub rax, rbx
dec rax
add rax, rcx
lea r10, [rax + 1]
mov qword [rsp + 0x50], rax
test rax, r10
jne 0x1400686fd
cmp rcx, rbx
jb 0x1400686fd
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.0x1400671e5.4
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0x68730]
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 0x140067328
cmp rsi, r13
jae 0x14006724c
movzx eax, byte [rsi]
inc rsi
mov dword [r12 + 8], eax
jmp 0x14006726a
mov r11d, dword [rsp + 0x20]
cmp rsi, r13
jae 0x14006724c
movzx eax, byte [rsi]
inc rsi
mov dword [r12 + 8], eax
jmp 0x14006726a
test r14b, 2
je 0x140067261
mov r13d, 1
mov dword [r12], r13d
jmp 0x14006840d
mov dword [r12 + 8], 0
cmp rsi, r13
jae 0x140067293
movzx eax, byte [rsi]
inc rsi
mov dword [r12 + 0xc], eax
jmp 0x1400672b5
mov r11d, dword [rsp + 0x20]
cmp rsi, r13
jae 0x140067293
movzx eax, byte [rsi]
inc rsi
mov dword [r12 + 0xc], eax
jmp 0x1400672b5
test r14b, 2
je 0x1400672ac
mov r13d, 1
mov dword [r12], 2
jmp 0x14006840d
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 0x1400672f3
test r8b, 0x20
jne 0x1400672f3
mov eax, edi
and al, 0xf
cmp al, 8
jne 0x1400672f3
xor r15d, r15d
jmp 0x1400672f9
mov r15d, 1
test r9d, r9d
jne 0x140067323
shr edi, 4
mov eax, 1
lea ecx, [rdi + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x14006731b
cmp r10, rax
jb 0x14006731b
xor eax, eax
jmp 0x140067320
mov eax, 1
or r15d, eax
test r15d, r15d
jne 0x140067355
mov r11, qword [rsp + 0x30]
cmp ebx, 3
jae 0x140067a34
cmp rsi, r13
jb 0x140067a1a
test r14b, 2
jne 0x140068310
xor eax, eax
jmp 0x140067a20
mov r11d, dword [rsp + 0x20]
or r13, 0xffffffffffffffff
mov dword [r12], 0x24
jmp 0x14006840d
mov rax, rsi
cmp rsi, r13
jae 0x14006733f
movzx eax, byte [rax]
jmp 0x140067a1d
mov rax, rsi
cmp rsi, r13
jae 0x140067a60
movzx eax, byte [rax]
jmp 0x140067a71
mov rax, rsi
cmp rsi, r13
jae 0x140067aae
movzx eax, byte [rax]
jmp 0x140067abf
cmp rsi, r13
jae 0x140067af3
movzx eax, byte [rsi]
inc rsi
mov byte [r15 + r12 + 0x2928], al
inc r15d
jmp 0x140067a9a
mov rax, rsi
cmp rsi, r13
jae 0x140067b66
movzx eax, byte [rax]
jmp 0x140067b77
mov rax, rsi
cmp rsi, r13
jae 0x140067d29
movzx eax, byte [rax]
lea r8, [0x140000000]
inc rsi
jmp 0x140067d44
lea rdx, [0x140000000]
mov rax, rsi
cmp rsi, r13
jae 0x140067dca
movzx eax, byte [rax]
jmp 0x140067ddb
mov rax, rsi
cmp rsi, r13
jae 0x1400680d4
movzx eax, byte [rax]
jmp 0x1400680e5
mov rax, rsi
cmp rsi, r13
jae 0x1400681c5
movzx eax, byte [rax]
jmp 0x1400681d6
mov rax, rsi
cmp rsi, r13
jae 0x14006763c
movzx eax, byte [rax]
jmp 0x14006764d
mov rax, rsi
cmp rsi, r13
jae 0x140067708
movzx eax, byte [rax]
jmp 0x140067719
mov rax, rsi
cmp rsi, r13
jae 0x1400677ad
movzx eax, byte [rax]
jmp 0x1400677be
mov rax, rsi
cmp rsi, r13
jae 0x140067870
movzx eax, byte [rax]
jmp 0x140067881
mov r9, qword [rsp + 0x58]
mov r10, qword [rsp + 0x50]
jmp 0x140067905
cmp r11, rdi
jae 0x1400683ec
mov byte [r11], r15b
inc r11
mov qword [rsp + 0x30], r11
mov rcx, r13
sub rcx, rsi
cmp rcx, 4
jl 0x14006759d
mov rax, rdi
sub rax, r11
cmp rax, 2
jl 0x14006759d
cmp ebx, 0x1e
jae 0x1400674db
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 0x1400674f9
mov ecx, r15d
sar ecx, 9
jmp 0x140067522
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 0x140067500
shr rbp, cl
sub ebx, ecx
bt r15d, 8
jb 0x1400676c6
mov rax, rbp
and eax, 0x3ff
movsx eax, word [r12 + rax*2 + 0x168]
test eax, eax
js 0x14006754e
mov ecx, eax
sar ecx, 9
jmp 0x140067572
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 0x140067553
shr rbp, cl
sub ebx, ecx
mov byte [r11], r15b
bt eax, 8
jb 0x14006758d
mov byte [r11 + 1], al
add r11, 2
jmp 0x1400674a0
inc r11
mov r15d, eax
mov qword [rsp + 0x30], r11
jmp 0x1400676c6
cmp ebx, 0xf
jae 0x1400675d1
cmp rcx, 2
jge 0x140067669
mov rax, rbp
and eax, 0x3ff
movsx edi, word [r12 + rax*2 + 0x168]
test edi, edi
js 0x1400675fd
sar edi, 9
test edi, edi
je 0x140067637
cmp ebx, edi
jb 0x140067637
mov rdi, qword [rsp + 0x40]
mov rax, rbp
and eax, 0x3ff
movsx r15d, word [r12 + rax*2 + 0x168]
test r15d, r15d
js 0x14006768d
mov ecx, r15d
sar ecx, 9
and r15d, 0x1ff
jmp 0x1400676b4
cmp ebx, 0xa
jbe 0x140067637
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 0x1400675cc
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x140067610
cmp rsi, r13
jb 0x14006764a
test r14b, 2
jne 0x1400682b1
xor eax, eax
jmp 0x140067650
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 0xf
jb 0x1400675ac
jmp 0x1400675cc
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 0x1400675d1
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 0x140067692
shr rbp, cl
sub ebx, ecx
cmp r15d, 0x100
jb case.0x1400671e5.24
and r15d, 0x1ff
cmp r15d, 0x100
je 0x1400679f4
lea ecx, [r15 - 0x101]
lea rax, [0x140000000]
mov edx, dword [rax + rcx*4 + 0x74940]
mov r15d, dword [rax + rcx*4 + 0x748c0]
mov dword [rsp + 0x38], edx
test edx, edx
je 0x140067740
cmp ebx, edx
jae 0x14006772b
cmp rsi, r13
jb 0x140067716
test r14b, 2
jne 0x1400682c4
xor eax, eax
jmp 0x14006771c
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, edx
jb 0x140067703
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 0x1400677f2
mov rax, r13
sub rax, rsi
cmp rax, 2
jge 0x1400677d3
mov rax, rbp
and eax, 0x3ff
movsx edi, word [r12 + rax*2 + 0xf08]
test edi, edi
js 0x140067777
sar edi, 9
test edi, edi
je 0x1400677a8
cmp ebx, edi
jae 0x1400677f2
jmp 0x1400677a8
cmp ebx, 0xa
jbe 0x1400677a8
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 0x1400677f2
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x140067781
cmp rsi, r13
jb 0x1400677bb
test r14b, 2
jne 0x1400682d7
xor eax, eax
jmp 0x1400677c1
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 0xf
jb 0x140067755
jmp 0x1400677f2
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 0x140067813
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x14006783f
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 0x140067820
shr rbp, cl
sub ebx, ecx
lea rcx, [0x140000000]
mov edx, dword [rcx + rax*4 + 0x74a40]
mov r8d, dword [rcx + rax*4 + 0x749c0]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x20], r8d
test edx, edx
je 0x1400678ad
cmp ebx, edx
jae 0x140067893
cmp rsi, r13
jb 0x14006787e
test r14b, 2
jne 0x1400682ea
xor eax, eax
jmp 0x140067884
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, edx
jb 0x14006786b
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 0x1400678cf
test r14b, 4
jne case.0x1400671e5.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 0x140067939
mov eax, r15d
dec r15d
test eax, eax
je 0x1400682a7
cmp r11, rdi
jae 0x1400682fd
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 0x1400678f7
cmp r15d, 9
jb 0x1400679b0
cmp r15d, r8d
ja 0x1400679b0
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 0x140067950
and r15d, 7
mov qword [rsp + 0x30], r11
cmp r15d, 3
jae 0x1400679b0
test r15d, r15d
je 0x1400682a7
movzx eax, byte [rcx]
mov byte [r11], al
cmp r15d, 1
jbe 0x140067995
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 0x1400674a5
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 0x1400679b0
mov qword [rsp + 0x30], r11
test r15d, r15d
jle 0x1400682a7
movzx eax, byte [rcx]
mov byte [r11], al
cmp r15d, 1
jle 0x140067995
jmp 0x14006798d
test byte [r12 + 0x14], 1
je 0x14006732d
test r14b, 1
jne 0x14006861d
xor r13d, r13d
mov dword [r12], 0x22
jmp 0x140068408
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 3
jb 0x140067336
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 0x140067c24
mov eax, ebx
and eax, 7
cmp ebx, eax
jae 0x140067a88
cmp rsi, r13
jb 0x140067a6e
test r14b, 2
jne 0x140068323
xor eax, eax
jmp 0x140067a74
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 0x140067a5b
mov ecx, ebx
mov eax, 0xfffffff8
and cl, 7
and ebx, eax
shr rbp, cl
xor r15d, r15d
cmp r15d, 4
jae 0x140067b0b
test ebx, ebx
je 0x140067aea
cmp ebx, 8
jae 0x140067ad2
cmp rsi, r13
jb 0x140067abc
test r14b, 2
jne 0x140068336
xor eax, eax
jmp 0x140067ac2
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 8
jb 0x140067aa9
mov byte [r15 + r12 + 0x2928], bpl
mov eax, 0xfffffff8
add ebx, eax
shr rbp, 8
inc r15d
jmp 0x140067a9a
cmp rsi, r13
jb 0x1400673a7
test r14b, 2
jne 0x140068349
mov byte [r15 + r12 + 0x2928], 0
inc r15d
jmp 0x140067a9a
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.0x1400671e5.39
mov rdi, qword [rsp + 0x40]
test r15d, r15d
je 0x1400679f4
test ebx, ebx
je 0x140067bb7
cmp ebx, 8
jae 0x140067b8a
cmp rsi, r13
jb 0x140067b74
test r14b, 2
jne 0x14006835c
xor eax, eax
jmp 0x140067b7a
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 8
jb 0x140067b61
movzx r8d, bpl
mov eax, 0xfffffff8
shr rbp, 8
add ebx, eax
mov dword [rsp + 0x20], r8d
cmp r11, rdi
jae 0x14006836f
mov byte [r11], r8b
inc r11
mov qword [rsp + 0x30], r11
dec r15d
jmp 0x140067b4f
test r15d, r15d
je 0x1400679f4
cmp r11, rdi
jae 0x14006839c
cmp rsi, r13
jae 0x140068382
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 0x140067bf9
cmp rcx, rdi
cmovb rdi, rcx
jmp 0x140067bfc
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 0x140067bb7
cmp eax, 3
je case.0x1400671e5.10
cmp eax, 1
jne 0x140067d03
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 0x140067c90
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 0x140067e19
xor r15d, r15d
lea r8, [0x140000000]
cmp r15d, 3
jae 0x140067d9a
movsx eax, byte [r15 + r8 + 0x74ae4]
cmp ebx, eax
jae 0x140067d5c
cmp rsi, r13
jb 0x140067d3e
test r14b, 2
jne 0x1400683ac
xor eax, eax
lea r8, [0x140000000]
jmp 0x140067d44
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
movsx eax, byte [r15 + r8 + 0x74ae4]
cmp ebx, eax
jb 0x140067d24
movzx ecx, byte [r15 + r8 + 0x74ae4]
mov edx, 1
shl edx, cl
dec edx
and edx, ebp
mov dword [r12 + r15*4 + 0x2c], edx
movsx ecx, byte [r15 + r8 + 0x74ae4]
shr rbp, cl
sub ebx, ecx
mov ecx, dword [r8 + r15*4 + 0x74ad8]
add ecx, edx
mov dword [r12 + r15*4 + 0x2c], ecx
inc r15d
jmp 0x140067d0d
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 0x140067e10
cmp ebx, 3
jae 0x140067dee
cmp rsi, r13
jb 0x140067dd8
test r14b, 2
jne 0x1400683bc
xor eax, eax
jmp 0x140067dde
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 3
jb 0x140067dc5
movzx eax, byte [r15 + rdx + 0x74ac0]
mov ecx, ebp
and ecx, 7
shr rbp, 3
add ebx, 0xfffffffd
inc r15d
mov byte [rax + r12 + 0x1b88], cl
jmp 0x140067db9
mov dword [r12 + 0x34], 0x13
mov eax, dword [r12 + 0x18]
test eax, eax
js 0x1400682a2
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 0x140067eb4
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 0x140067ea0
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 0x140067ed0
cmp ecx, 0x10000
je 0x140067eff
cmp edi, 1
ja 0x1400685ad
or r10d, 0xffffffff
xor r11d, r11d
test r9d, r9d
je 0x14006802f
nop
movzx r9d, byte [r11 + r14 + 0x48]
xor edx, edx
test r9d, r9d
je 0x14006801c
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 0x140067f40
cmp r9d, 0xa
ja 0x140067f99
movzx edi, r9w
shl di, 9
or di, r11w
cmp edx, 0x400
jae 0x14006801c
mov ecx, r9d
mov r8d, 1
shl r8d, cl
nop
mov word [r14 + rdx*2 + 0x168], di
add edx, r8d
cmp edx, 0x400
jb 0x140067f80
jmp 0x14006801c
mov eax, edx
and eax, 0x3ff
movsx ecx, word [r14 + rax*2 + 0x168]
test ecx, ecx
jne 0x140067fbd
mov word [r14 + rax*2 + 0x168], r10w
mov ecx, r10d
sub r10d, 2
shr edx, 9
cmp r9d, 0xb
jbe 0x140068007
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 0x140067ffe
mov word [r14 + rax*2 + 0x968], r10w
mov ecx, r10d
sub r10d, 2
jmp 0x140068001
movsx ecx, cx
sub rdi, 1
jne 0x140067fd0
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 0x140067f10
cmp dword [r12 + 0x18], 2
jne 0x140068290
xor r15d, r15d
mov eax, dword [r12 + 0x30]
add eax, dword [r12 + 0x2c]
cmp r15d, eax
jae 0x140068244
cmp ebx, 0xf
jae 0x14006811d
mov rax, r13
sub rax, rsi
cmp rax, 2
jge 0x1400680fe
mov rax, rbp
and eax, 0x3ff
movsx edi, word [r12 + rax*2 + 0x1ca8]
test edi, edi
js 0x140068090
sar edi, 9
test edi, edi
je 0x1400680c7
cmp ebx, edi
jae 0x14006811d
jmp 0x1400680c7
cmp ebx, 0xa
jbe 0x1400680c7
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 0x14006811d
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x1400680a0
cmp rsi, r13
jb 0x1400680e2
mov r14d, dword [rsp + 0x190]
test r14b, 2
jne 0x1400683cc
xor eax, eax
jmp 0x1400680e8
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 0xf
jb 0x14006806a
jmp 0x14006811d
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 0x140068142
mov ecx, r8d
sar ecx, 9
and r8d, 0x1ff
jmp 0x140068172
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 0x140068150
shr rbp, cl
sub ebx, ecx
mov dword [rsp + 0x20], r8d
cmp r8d, 0x10
jae 0x140068192
mov byte [r15 + r12 + 0x292c], r8b
inc r15d
jmp 0x14006803e
jne 0x14006819d
test r15d, r15d
je 0x1400685c2
lea ecx, [r8 - 0x10]
lea rax, [0x140000000]
movsx edx, byte [rcx + rax + 0x74ae8]
mov dword [rsp + 0x38], edx
cmp ebx, edx
jae 0x1400681e8
cmp rsi, r13
jb 0x1400681d3
mov r14d, dword [rsp + 0x190]
test r14b, 2
jne 0x1400683dc
xor eax, eax
jmp 0x1400681d9
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, edx
jb 0x1400681b8
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 + 0x74aec]
add edi, eax
cmp r8d, 0x10
jne 0x140068224
lea eax, [r15 - 1]
movzx edx, byte [rax + r12 + 0x292c]
jmp 0x140068226
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 0x14006803e
mov edx, dword [r12 + 0x2c]
mov ecx, dword [r12 + 0x30]
add ecx, edx
cmp ecx, r15d
jne 0x1400685d7
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 0x140067e19
mov r11, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
jmp 0x1400674a5
mov r13d, 1
mov dword [r12], 0x17
jmp 0x140068408
mov r13d, 1
mov dword [r12], 0x19
jmp 0x140068408
mov r13d, 1
mov dword [r12], 0x1a
jmp 0x140068408
mov r13d, 1
mov dword [r12], 0x1b
jmp 0x140068408
mov r13d, 2
mov dword [r12], 0x35
jmp 0x140068408
mov r13d, 1
mov dword [r12], 3
jmp 0x140068408
mov r13d, 1
mov dword [r12], 5
jmp 0x140068408
mov r13d, 1
mov dword [r12], 6
jmp 0x140068408
mov r13d, 1
mov dword [r12], 7
jmp 0x140068408
mov r13d, 1
mov dword [r12], 0x33
jmp 0x140068408
mov r13d, 2
mov dword [r12], 0x34
jmp 0x140068408
test r14b, 2
je case.0x1400671e5.40
mov r13d, 1
mov dword [r12], 0x26
jmp 0x140068408
mov r13d, 2
mov dword [r12], 9
jmp 0x140068408
mov r13d, 1
mov dword [r12], 0xb
jmp 0x140068408
mov r13d, 1
mov dword [r12], 0xe
jmp 0x140068408
mov r13d, 1
mov dword [r12], 0x10
jmp 0x140068408
mov r13d, 1
mov dword [r12], 0x12
jmp 0x140068408
mov r13d, 2
mov dword [r12], 0x18
jmp 0x140068408
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 0x14006858b
test r13d, r13d
js 0x14006858b
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 0x140068568
nop
xor edx, edx
cmp r8, 7
jbe 0x14006851a
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 0x1400684c0
mov eax, edx
cmp rax, r8
jae 0x140068535
movzx eax, byte [r11]
inc edx
add ecx, eax
inc r11
add edi, ecx
mov eax, edx
cmp rax, r8
jb 0x140068521
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 0x1400684b0
shl edi, 0x10
add edi, ecx
mov dword [r12 + 0x1c], edi
test r13d, r13d
jne 0x14006858b
test r14b, 1
je 0x14006858b
cmp edi, dword [r12 + 0x10]
mov eax, 0xfffffffe
cmovne r13d, eax
mov eax, r13d
jmp 0x14006870a
mov dword [r12], 0x28
jmp case.0x1400671e5.4
mov dword [r12], 0xa
jmp case.0x1400671e5.4
mov r14d, dword [rsp + 0x190]
mov dword [r12], 0x23
jmp case.0x1400671e5.4
mov r14d, dword [rsp + 0x190]
mov dword [r12], 0x11
jmp case.0x1400671e5.4
mov r14d, dword [rsp + 0x190]
mov dword [r12], 0x15
jmp case.0x1400671e5.4
mov dword [r12], 0x25
jmp case.0x1400671e5.4
mov r11, rsi
cmp rsi, r13
jae 0x14006860a
movzx eax, byte [r11]
inc rsi
jmp 0x140068612
test r14b, 2
jne 0x140068647
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 0x140068633
cmp rsi, r13
jae 0x14006860a
movzx eax, byte [rsi]
inc rsi
jmp 0x140068612
mov ecx, ebx
mov eax, 0xfffffff8
and cl, 7
and ebx, eax
shr rbp, cl
xor r15d, r15d
jmp 0x140068681
mov r13d, 1
mov dword [r12], 0x20
jmp 0x140068408
mov r11, rsi
cmp rsi, r13
jae 0x140068699
movzx eax, byte [rsi]
jmp 0x1400686a6
test r14b, 2
jne 0x1400686ea
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.0x1400671e5.34
test ebx, ebx
je case.0x1400671e5.42
cmp ebx, 8
jae 0x1400686b9
cmp rsi, r13
jb 0x1400686a3
test r14b, 2
jne 0x1400686d7
xor eax, eax
jmp 0x1400686a9
movzx eax, byte [rsi]
inc rsi
mov ecx, ebx
add ebx, 8
shl rax, cl
or rbp, rax
cmp ebx, 8
jb 0x140068694
movzx ecx, bpl
mov eax, 0xfffffff8
shr rbp, 8
add ebx, eax
jmp 0x14006866f
cmp rsi, r13
jae 0x140068667
movzx ecx, byte [rsi]
inc rsi
jmp 0x14006866f
mov r13d, 1
mov dword [r12], 0x29
jmp 0x140068408
mov r13d, 1
mov dword [r12], 0x2a
jmp 0x140068408
xor eax, eax
mov qword [r15], rax
mov qword [r8], rax
mov eax, 0xfffffffd
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400621d0
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret