Function at 0x180003160
Capabilities:
Compute adler32 checksum

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x180064040]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rdi, qword [rbp + 0x100]
mov rbx, r9
mov rsi, qword [rbp + 0x108]
mov r14, rdx
mov qword [rbp - 0x60], r8
mov r15, rcx
mov r8, qword [r8]
mov r12, rdi
add r8, rdx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x30], rdx
xor edx, edx
mov qword [rbp - 0x78], rcx
mov rcx, 0xffffffffffffffff
mov qword [rbp - 0x80], rbx
mov r9d, ecx
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], rsi
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x50], rdi
test rdi, rdi
je 0x1800031f1
mov rax, qword [rsi]
add rax, rdi
mov qword [rsp + 0x48], rax
jmp 0x1800031f6
mov qword [rsp + 0x48], rdx
mov r10d, dword [rbp + 0x110]
mov qword [rsp + 0x1f8], r13
and r10d, 4
je 0x180003215
mov qword [rsp + 0x60], rcx
mov r11, rdx
jmp 0x180003236
mov r13, qword [rsi]
mov rcx, rdi
sub rcx, rbx
dec r13
add r13, rcx
mov qword [rsp + 0x60], r13
lea r11, [r13 + 1]
test r13, r11
jne 0x180004899
cmp rdi, rbx
jb 0x180004899
mov r13d, dword [r15 + 0x20]
lea rax, [r15 + 0x1848]
mov esi, dword [r15 + 0x24]
mov edx, dword [r15 + 0x28]
mov ebx, dword [r15 + 4]
mov rdi, qword [r15 + 0x38]
mov qword [rbp + 0x18], rax
lea rax, [r15 + 0x1cc8]
mov qword [rbp + 0x20], rax
lea rax, [r15 + 0x1d48]
mov qword [rbp + 0x28], rax
lea rax, [r15 + 0x1d94]
mov qword [rbp + 0x30], rax
lea rax, [r15 + 0x1eb4]
mov qword [rbp + 0x38], rax
lea rax, [r15 + 0x1ed4]
mov qword [rbp + 0x40], rax
mov rax, qword [r15 + 0x40]
mov qword [rsp + 0x68], rax
mov eax, dword [r15]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x20], edx
cmp eax, 0x35
ja case.0x1800032d4.4
lea rcx, [0x180000000]
mov ecx, dword [rcx + rax*4 + 0x48d4]
lea rax, [0x180000000]
add rcx, rax
mov eax, 1
jmp rcx
xor eax, eax
mov qword [r15 + 8], rax
mov edx, eax
mov dword [rsp + 0x20], eax
mov esi, eax
mov dword [rsp + 0x24], eax
mov r13d, eax
mov dword [rsp + 0x28], eax
mov ebx, eax
mov edi, eax
mov eax, 1
mov dword [r15 + 0x1c], eax
mov dword [r15 + 0x10], eax
mov eax, dword [rbp + 0x110]
test al, 1
je 0x180003c14
jmp 0x180003316
mov eax, dword [rbp + 0x110]
cmp r14, r8
jb 0x18000332a
test al, 2
mov eax, 1
mov dword [r15], eax
jmp 0x1800046b5
movzx eax, byte [r14]
inc r14
mov dword [r15 + 8], eax
mov eax, 1
cmp r14, r8
jb 0x18000334b
mov dword [r15], 2
jmp 0x1800046ae
movzx r9d, byte [r14]
mov eax, 0x8421085
mov r8d, dword [r15 + 8]
inc r14
mov ecx, r8d
mov dword [r15 + 0xc], r9d
shl ecx, 8
add ecx, r9d
mov qword [rsp + 0x30], r14
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 0x18000339d
test r9b, 0x20
jne 0x18000339d
mov eax, r8d
and al, 0xf
cmp al, 8
jne 0x18000339d
xor esi, esi
mov edx, 1
mov dword [rsp + 0x24], esi
jmp 0x1800033a8
mov edx, 1
mov esi, edx
mov dword [rsp + 0x24], edx
test r10d, r10d
jne 0x1800033d7
shr r8d, 4
mov eax, edx
lea ecx, [r8 + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x1800033cf
mov rax, rdx
shl rax, cl
cmp r11, rax
jb 0x1800033cf
xor eax, eax
jmp 0x1800033d1
mov eax, edx
or esi, eax
mov dword [rsp + 0x24], esi
mov edx, dword [rsp + 0x20]
test esi, esi
je 0x180003c0f
mov r9d, 0xffffffff
mov dword [r15], 0x24
jmp 0x1800046f0
cmp r14, r8
jae 0x18000459c
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rdi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, edx
jb case.0x1800032d4.18
mov ecx, edx
lea rax, [0x180000000]
sub ebx, edx
mov r13d, 1
mov edx, dword [rsp + 0x28]
shl r13d, cl
dec r13d
mov dword [rsp + 0x40], ebx
and r13d, edi
shr rdi, cl
lea ecx, [rdx - 0x10]
mov qword [rsp + 0x70], rdi
movsx eax, byte [rcx + rax + 0x518d8]
add r13d, eax
cmp edx, 0x10
jne 0x180003464
lea eax, [rsi - 1]
movzx edx, byte [rax + r15 + 0x1eeb]
jmp 0x180003466
xor edx, edx
mov ecx, esi
add rcx, 0x1eeb
mov r8d, r13d
add rcx, r15
call sub.VCRUNTIME140.dll_memset
add esi, r13d
mov r13d, dword [rsp + 0x28]
mov edx, dword [r15 + 0x2c]
mov ecx, dword [r15 + 0x30]
add ecx, edx
mov dword [rsp + 0x24], esi
cmp esi, ecx
jae 0x1800035f0
mov r8, qword [rsp + 0x38]
cmp ebx, 0xf
jae 0x1800034db
mov rax, r8
sub rax, r14
cmp rax, 2
jge 0x18000356d
mov rax, rdi
and eax, 0x3ff
movsx r8d, word [r15 + rax*2 + 0x1048]
test r8d, r8d
js 0x180003507
sar r8d, 9
test r8d, r8d
je 0x18000353a
cmp ebx, r8d
jb 0x18000353a
mov r8, qword [rsp + 0x38]
mov rax, rdi
and eax, 0x3ff
movsx r13d, word [r15 + rax*2 + 0x1048]
test r13d, r13d
js 0x180003598
mov ecx, r13d
sar ecx, 9
and r13d, 0x1ff
jmp 0x1800035c2
cmp ebx, 0xa
jbe 0x18000353a
mov ecx, 0xa
not r8d
mov rdx, rdi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r15 + rdx*2 + 0x1d48]
test r8d, r8d
jns 0x1800034d6
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x180003511
mov r8, qword [rsp + 0x38]
cmp r14, r8
jae 0x18000443c
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rdi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 0xf
jb 0x1800034b2
jmp 0x1800034db
movzx edx, byte [r14 + 1]
lea ecx, [rbx + 8]
movzx eax, byte [r14]
add r14, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
mov qword [rsp + 0x30], r14
or rdi, rdx
add ebx, 0x10
jmp 0x1800034db
mov ecx, 0xa
nop dword [rax]
not r13d
mov rdx, rdi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r13d
add rdx, rax
movsx r13d, word [r15 + rdx*2 + 0x1d48]
test r13d, r13d
js 0x1800035a0
shr rdi, cl
sub ebx, ecx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x40], ebx
cmp r13d, 0x10
jae 0x18000440e
mov eax, esi
inc esi
mov byte [rax + r15 + 0x1eeb], r13b
jmp 0x180003482
jne 0x180004602
mov r8, rdx
lea rcx, [r15 + 0x1d94]
lea rdx, [r15 + 0x1eeb]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [r15 + 0x2c]
lea rcx, [r15 + 0x1eb4]
mov r8d, dword [r15 + 0x30]
add rdx, 0x1eeb
add rdx, r15
call sub.VCRUNTIME140.dll_memcpy
dec dword [r15 + 0x18]
mov eax, dword [r15 + 0x18]
test eax, eax
jns 0x180004061
mov r10, qword [rsp + 0x48]
mov r8, qword [rsp + 0x38]
mov rcx, r8
sub rcx, r14
cmp rcx, 4
jl 0x18000375d
mov rax, r10
sub rax, r12
cmp rax, 2
jl 0x18000375d
cmp ebx, 0x1e
jae 0x1800036a5
movzx eax, byte [r14 + 2]
mov ecx, ebx
movzx edx, byte [r14 + 3]
shl rdx, 8
or rdx, rax
movzx eax, byte [r14 + 1]
shl rdx, 8
or rdx, rax
movzx eax, byte [r14]
shl rdx, 8
add r14, 4
or rdx, rax
mov qword [rsp + 0x30], r14
shl rdx, cl
or rdi, rdx
add ebx, 0x20
mov rax, rdi
and eax, 0x3ff
movsx esi, word [r15 + rax*2 + 0x48]
test esi, esi
js 0x1800036be
mov ecx, esi
sar ecx, 9
jmp 0x1800036e2
mov ecx, 0xa
not esi
mov rdx, rdi
shr rdx, cl
inc ecx
and edx, 1
mov eax, esi
add rdx, rax
movsx esi, word [r15 + rdx*2 + 0x1848]
test esi, esi
js 0x1800036c3
shr rdi, cl
sub ebx, ecx
bt esi, 8
jb 0x1800038b8
mov rax, rdi
and eax, 0x3ff
movsx r8d, word [r15 + rax*2 + 0x48]
test r8d, r8d
js 0x18000370c
mov ecx, r8d
sar ecx, 9
jmp 0x180003733
mov ecx, 0xa
not r8d
mov rdx, rdi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r15 + rdx*2 + 0x1848]
test r8d, r8d
js 0x180003711
shr rdi, cl
lea rax, [r12 + 1]
sub ebx, ecx
mov byte [r12], sil
bt r8d, 8
jb 0x1800038ad
add r12, 2
mov byte [rax], r8b
mov qword [rsp + 0x50], r12
jmp 0x18000363f
cmp ebx, 0xf
jae 0x180003792
cmp rcx, 2
jge 0x180003825
mov rax, rdi
and eax, 0x3ff
movsx r8d, word [r15 + rax*2 + 0x48]
test r8d, r8d
js 0x1800037b8
sar r8d, 9
test r8d, r8d
je 0x1800037eb
cmp ebx, r8d
jb 0x1800037eb
mov r8, qword [rsp + 0x38]
mov rax, rdi
and eax, 0x3ff
movsx esi, word [r15 + rax*2 + 0x48]
test esi, esi
js 0x180003850
mov ecx, esi
sar ecx, 9
and esi, 0x1ff
jmp 0x18000387f
cmp ebx, 0xa
jbe 0x1800037eb
mov ecx, 0xa
not r8d
mov rdx, rdi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r15 + rdx*2 + 0x1848]
test r8d, r8d
jns 0x18000378d
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x1800037c2
mov r8, qword [rsp + 0x38]
jmp 0x1800037f7
mov r10, qword [rsp + 0x48]
cmp r14, r8
jae 0x180004448
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rdi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 0xf
jb 0x18000376c
jmp 0x180003792
movzx edx, byte [r14 + 1]
lea ecx, [rbx + 8]
movzx eax, byte [r14]
add r14, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
mov qword [rsp + 0x30], r14
or rdi, rdx
add ebx, 0x10
jmp 0x180003792
mov ecx, 0xa
nop word [rax + rax]
not esi
mov rdx, rdi
shr rdx, cl
inc ecx
and edx, 1
mov eax, esi
add rdx, rax
movsx esi, word [r15 + rdx*2 + 0x1848]
test esi, esi
js 0x180003860
shr rdi, cl
sub ebx, ecx
cmp esi, 0x100
jae 0x1800038b8
jmp 0x180003893
mov r10, qword [rsp + 0x48]
cmp r12, r10
jae 0x180004454
mov byte [r12], sil
inc r12
mov qword [rsp + 0x50], r12
jmp 0x180003644
mov r12, rax
mov qword [rsp + 0x50], rax
mov esi, r8d
and esi, 0x1ff
mov dword [rsp + 0x24], esi
cmp esi, 0x100
je 0x180003c00
lea ecx, [rsi - 0x101]
lea rax, [0x180000000]
movzx edx, byte [rcx + rax + 0x52240]
movzx esi, word [rax + rcx*2 + 0x52120]
mov dword [rsp + 0x20], edx
test edx, edx
je 0x18000393b
cmp ebx, edx
jae 0x180003927
mov r8, qword [rsp + 0x38]
jmp 0x180003903
mov r10, qword [rsp + 0x48]
cmp r14, r8
jae 0x180004590
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rdi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, edx
jb 0x180003903
mov ecx, edx
mov eax, 1
shl eax, cl
sub ebx, edx
dec eax
and eax, edi
shr rdi, cl
add esi, eax
cmp ebx, 0xf
jae 0x180003a16
mov rax, qword [rsp + 0x38]
sub rax, r14
cmp rax, 2
jge 0x1800039f0
mov rax, rdi
and eax, 0x3ff
movsx r8d, word [r15 + rax*2 + 0x848]
test r8d, r8d
js 0x180003985
sar r8d, 9
test r8d, r8d
je 0x1800039b9
cmp ebx, r8d
jae 0x180003a16
mov r8, qword [rsp + 0x38]
jmp 0x1800039c5
cmp ebx, 0xa
jbe 0x1800039b9
mov ecx, 0xa
nop
not r8d
mov rdx, rdi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r15 + rdx*2 + 0x1cc8]
test r8d, r8d
jns 0x180003a16
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x180003990
mov r8, qword [rsp + 0x38]
jmp 0x1800039c5
mov r10, qword [rsp + 0x48]
cmp r14, r8
jae 0x180004566
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rdi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 0xf
jb 0x180003956
jmp 0x180003a16
movzx edx, byte [r14 + 1]
lea ecx, [rbx + 8]
movzx eax, byte [r14]
add r14, 2
shl rdx, cl
mov ecx, ebx
shl rax, cl
or rdx, rax
mov qword [rsp + 0x30], r14
or rdi, rdx
add ebx, 0x10
mov rax, rdi
and eax, 0x3ff
movsx r8d, word [r15 + rax*2 + 0x848]
test r8d, r8d
js 0x180003a3b
mov ecx, r8d
sar ecx, 9
and r8d, 0x1ff
jmp 0x180003a62
mov ecx, 0xa
not r8d
mov rdx, rdi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r15 + rdx*2 + 0x1cc8]
test r8d, r8d
js 0x180003a40
shr rdi, cl
sub ebx, ecx
lea rcx, [0x180000000]
movzx edx, byte [r8 + rcx + 0x521a0]
movzx r13d, word [rcx + r8*2 + 0x52160]
mov dword [rsp + 0x20], edx
mov dword [rsp + 0x28], r13d
test edx, edx
je 0x180003ade
cmp ebx, edx
jae 0x180003ac4
mov r8, qword [rsp + 0x38]
jmp 0x180003aa0
mov r10, qword [rsp + 0x48]
nop dword [rax]
cmp r14, r8
jae 0x180004572
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rdi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, edx
jb 0x180003aa0
mov ecx, edx
mov eax, 1
shl eax, cl
sub ebx, edx
dec eax
and eax, edi
shr rdi, cl
add r13d, eax
mov dword [rsp + 0x28], r13d
mov rcx, qword [rbp - 0x80]
mov r9, r12
sub r9, rcx
mov qword [rsp + 0x68], r9
test r13d, r13d
je 0x180003aff
mov eax, r13d
cmp rax, r9
ja 0x180003aff
test r9, r9
jne 0x180003b0c
test byte [rbp + 0x110], 4
jne case.0x1800032d4.37
mov r11, qword [rsp + 0x60]
mov r8, r9
mov eax, r13d
sub r8, rax
mov eax, esi
and r8, r11
add r8, rcx
cmp r12, r8
mov rcx, r8
cmova rcx, r12
add rcx, rax
cmp rcx, r10
jbe 0x180003b89
mov r8, qword [rbp - 0x80]
mov eax, esi
dec esi
test eax, eax
je 0x18000363f
jmp 0x180003b59
mov r9, qword [rsp + 0x68]
mov r10, qword [rsp + 0x48]
mov r11, qword [rsp + 0x60]
mov r8, qword [rbp - 0x80]
cmp r12, r10
jae 0x18000457e
mov eax, r13d
mov rcx, r9
sub rcx, rax
and rcx, r11
movzx eax, byte [rcx + r8]
mov byte [r12], al
inc r12
inc r9
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x68], r9
jmp 0x180003b38
cmp esi, 2
jbe 0x180003bd2
lea ecx, [rsi - 3]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea ecx, [rdx + 1]
nop dword [rax]
movzx eax, byte [r8]
add esi, 0xfffffffd
mov byte [r12], al
movzx eax, byte [r8 + 1]
mov byte [r12 + 1], al
movzx eax, byte [r8 + 2]
add r8, 3
mov byte [r12 + 2], al
add r12, 3
sub rcx, 1
jne 0x180003ba0
mov qword [rsp + 0x50], r12
test esi, esi
je 0x18000363f
movzx eax, byte [r8]
mov byte [r12], al
cmp esi, 1
jbe 0x180003bf1
movzx eax, byte [r8 + 1]
mov byte [r12 + 1], al
mov eax, esi
add r12, rax
mov qword [rsp + 0x50], r12
jmp 0x18000363f
test byte [r15 + 0x14], 1
jne 0x1800044dc
mov edx, dword [rsp + 0x20]
mov r8, qword [rsp + 0x38]
cmp ebx, 3
jae 0x180003c3e
cmp r14, r8
jae 0x18000446a
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rdi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 3
jb case.0x1800032d4.3
mov eax, edi
add ebx, 0xfffffffd
and eax, 7
shr rdi, 3
mov dword [r15 + 0x14], eax
shr eax, 1
mov dword [r15 + 0x18], eax
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x40], ebx
jne 0x180003e60
mov eax, ebx
and eax, 7
cmp ebx, eax
jae 0x180003c95
cmp r14, r8
jae 0x180004476
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
add ebx, 8
or rdi, rax
inc r14
mov eax, ebx
mov qword [rsp + 0x30], r14
and eax, 7
cmp ebx, eax
jb case.0x1800032d4.5
mov ecx, ebx
and ebx, 0xfffffff8
and cl, 7
shr rdi, cl
xor esi, esi
cmp esi, 4
jae 0x180003d0d
test ebx, ebx
je case.0x1800032d4.7
cmp ebx, 8
jae 0x180003cd5
cmp r14, r8
jae 0x180004482
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rdi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 8
jb case.0x1800032d4.6
mov eax, esi
add ebx, 0xfffffff8
mov byte [rax + r15 + 0x1ee7], dil
shr rdi, 8
inc esi
jmp 0x180003ca2
cmp r14, r8
jae 0x18000448e
movzx eax, byte [r14]
inc r14
mov ecx, esi
inc esi
mov qword [rsp + 0x30], r14
mov byte [rcx + r15 + 0x1ee7], al
jmp 0x180003ca2
movzx eax, byte [r15 + 0x1ee7]
movzx esi, byte [r15 + 0x1ee8]
movzx ecx, byte [r15 + 0x1eea]
shl ecx, 8
shl esi, 8
or esi, eax
movzx eax, byte [r15 + 0x1ee9]
or ecx, eax
mov dword [rsp + 0x24], esi
xor ecx, 0xffff
cmp esi, ecx
jne case.0x1800032d4.39
test esi, esi
je 0x180003c00
test ebx, ebx
je case.0x1800032d4.9
cmp ebx, 8
jae 0x180003d7f
cmp r14, r8
jae 0x18000449a
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rdi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 8
jb case.0x1800032d4.51
movzx r13d, dil
shr rdi, 8
add ebx, 0xfffffff8
mov dword [rsp + 0x28], r13d
cmp r12, qword [rsp + 0x48]
jae 0x1800044a6
mov byte [r12], r13b
inc r12
dec esi
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x24], esi
jmp 0x180003d49
mov rax, qword [rsp + 0x48]
cmp r12, rax
jb 0x180003dcf
mov r9d, 2
mov dword [r15], 9
jmp 0x1800046f0
mov rax, qword [rsp + 0x48]
cmp r14, r8
jae 0x1800044b8
mov r13, rax
mov edx, esi
sub r13, r12
mov rcx, r8
sub rcx, r14
mov rax, r13
cmp r13, rcx
cmovae rax, rcx
cmp rax, rdx
jae 0x180003dfe
cmp r13, rcx
cmovae r13, rcx
jmp 0x180003e01
mov r13, rdx
mov r8, r13
mov rdx, r14
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x68]
add r14, r13
mov edx, dword [rsp + 0x20]
add r12, r13
mov r8, qword [rsp + 0x38]
sub esi, r13d
mov r13d, dword [rsp + 0x28]
mov dword [rsp + 0x2c], r13d
mov dword [rsp + 0x2c], esi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x24], esi
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], edx
mov qword [rsp + 0x68], rax
jne case.0x1800032d4.9
jmp 0x180003c00
cmp eax, 3
je case.0x1800032d4.10
cmp eax, 1
jne 0x180003f28
movdqa xmm0, xmmword [0x18005a810]
lea rcx, [r15 + 0x1d94]
mov dword [r15 + 0x2c], 0x120
lea rcx, [rcx + 0x90]
mov dword [r15 + 0x30], 0x20
movups xmmword [r15 + 0x1eb4], xmm0
movups xmmword [r15 + 0x1ec4], xmm0
movdqa xmm0, xmmword [0x18005a830]
movups xmmword [rcx - 0x90], xmm0
movups xmmword [rcx - 0x80], xmm0
movups xmmword [rcx - 0x70], xmm0
movups xmmword [rcx - 0x60], xmm0
movups xmmword [rcx - 0x50], xmm0
movups xmmword [rcx - 0x40], xmm0
movups xmmword [rcx - 0x30], xmm0
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm0
movdqa xmm0, xmmword [0x18005a840]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
movdqa xmm0, xmmword [str._a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t]
movups xmmword [rcx + 0x70], xmm0
movq qword [rcx + 0x80], xmm0
mov dword [rcx + 0x88], 0x8080808
mov dword [rcx + 0x8c], 0x8080808
jmp 0x18000362e
xor esi, esi
lea r9, [0x180000000]
cmp esi, 3
jae 0x180003fce
movsx eax, byte [rsi + r9 + 0x518d4]
cmp ebx, eax
jae 0x180003f7f
jmp 0x180003f50
lea r9, [0x180000000]
cmp r14, r8
jae 0x1800044c4
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rdi, rax
mov qword [rsp + 0x30], r14
mov eax, esi
add ebx, 8
movsx eax, byte [rax + r9 + 0x518d4]
cmp ebx, eax
jb 0x180003f50
mov r8d, esi
mov edx, 1
movzx ecx, byte [r8 + r9 + 0x518d4]
movzx eax, word [r9 + r8*2 + 0x51d14]
shl edx, cl
dec edx
and edx, edi
mov dword [r15 + r8*4 + 0x2c], edx
add eax, edx
movsx ecx, byte [r8 + r9 + 0x518d4]
shr rdi, cl
sub ebx, ecx
mov dword [r15 + r8*4 + 0x2c], eax
inc esi
mov r8, qword [rsp + 0x38]
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x40], ebx
jmp 0x180003f31
xor eax, eax
xorps xmm0, xmm0
movups xmmword [r15 + 0x1ed4], xmm0
mov word [r15 + 0x1ee4], ax
xor esi, esi
mov byte [r15 + 0x1ee6], al
mov dword [rsp + 0x24], esi
cmp esi, dword [r15 + 0x34]
jae 0x180004054
cmp ebx, 3
jae 0x180004027
cmp r14, r8
jae 0x1800044d0
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rdi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 3
jb case.0x1800032d4.14
lea r9, [0x180000000]
mov eax, esi
mov rcx, rdi
shr rdi, 3
add ebx, 0xfffffffd
and cl, 7
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x40], ebx
inc esi
movzx eax, byte [rax + r9 + 0x51960]
mov byte [rax + r15 + 0x1ed4], cl
jmp 0x180003fec
mov dword [r15 + 0x34], 0x13
jmp 0x18000362e
mov rdi, qword [rbp + rax*8 + 0x30]
xorps xmm0, xmm0
mov r9, rax
mov qword [rsp + 0x58], rdi
mov rax, qword [rbp + rax*8 + 0x18]
xor edx, edx
shl r9, 0xb
mov r8d, 0x800
add r9, 0x48
mov qword [rbp - 0x70], rax
add r9, r15
mov rcx, r9
mov qword [rbp], r9
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [r15 + 0x18]
test eax, eax
jne 0x1800040ca
lea rcx, [r15 + 0x1848]
xor edx, edx
mov r8d, 0x480
call sub.VCRUNTIME140.dll_memset
jmp 0x180004144
xorps xmm0, xmm0
cmp eax, 1
jne 0x180004114
movups xmmword [r15 + 0x1cc8], xmm0
movups xmmword [r15 + 0x1cd8], xmm0
movups xmmword [r15 + 0x1ce8], xmm0
movups xmmword [r15 + 0x1cf8], xmm0
movups xmmword [r15 + 0x1d08], xmm0
movups xmmword [r15 + 0x1d18], xmm0
movups xmmword [r15 + 0x1d28], xmm0
movups xmmword [r15 + 0x1d38], xmm0
jmp 0x180004144
movups xmmword [r15 + 0x1d48], xmm0
xor eax, eax
movups xmmword [r15 + 0x1d58], xmm0
movups xmmword [r15 + 0x1d68], xmm0
movups xmmword [r15 + 0x1d78], xmm0
mov qword [r15 + 0x1d88], rax
mov dword [r15 + 0x1d90], eax
mov r8d, dword [r15 + 0x18]
mov qword [rbp - 0x68], r8
mov eax, dword [r15 + r8*4 + 0x2c]
mov dword [rsp + 0x2c], eax
test eax, eax
je 0x180004185
mov dword [rsp + 0x2c], eax
mov rcx, rdi
mov edx, eax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
inc dword [rbp + rax*4 + 0x50]
sub rdx, 1
jne 0x180004170
mov qword [rbp - 0x68], r8
mov rcx, qword [rbp + 0x58]
xor eax, eax
mov r13, qword [rbp + 0x60]
mov r15, qword [rbp + 0x64]
mov rsi, qword [rbp + 0x68]
mov r11, qword [rbp + 0x6c]
mov r10, qword [rbp + 0x70]
mov r12, qword [rbp + 0x74]
mov r14, qword [rbp + 0x78]
mov rdi, qword [rbp + 0x7c]
mov r9, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x84]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp + 0x54]
add eax, eax
add ecx, eax
mov dword [rbp - 0x48], eax
mov rax, qword [rbp + 0x5c]
add ecx, ecx
add eax, ecx
mov dword [rbp - 0x44], ecx
add eax, eax
mov dword [rbp - 0x40], eax
lea ecx, [rax + r13]
add ecx, ecx
mov dword [rbp - 0x3c], ecx
lea eax, [r15 + rcx]
add eax, eax
mov dword [rbp - 0x38], eax
lea ecx, [rsi + rax]
add ecx, ecx
mov dword [rbp - 0x34], ecx
lea eax, [r11 + rcx]
add eax, eax
mov dword [rbp - 0x30], eax
lea ecx, [r10 + rax]
add r10d, r11d
add r10d, esi
add ecx, ecx
add r10d, r15d
mov dword [rbp - 0x2c], ecx
add r10d, r13d
add r10d, dword [rbp + 0x54]
add r10d, dword [rbp + 0x58]
lea eax, [r12 + rcx]
add eax, eax
mov dword [rbp - 0x28], eax
lea ecx, [r14 + rax]
add ecx, ecx
mov dword [rbp - 0x24], ecx
lea eax, [rdi + rcx]
add eax, eax
mov dword [rbp - 0x20], eax
lea ecx, [r9 + rax]
add ecx, ecx
mov dword [rbp - 0x1c], ecx
lea eax, [rdx + rcx]
mov rcx, qword [rbp + 0x88]
add eax, eax
mov dword [rbp - 0x18], eax
lea r8d, [rcx + rax]
mov eax, dword [rbp + 0x8c]
add r10d, eax
add r8d, r8d
add r10d, ecx
mov dword [rbp - 0x14], r8d
add r10d, edx
add eax, r8d
add r10d, r9d
add eax, eax
add r10d, edi
mov dword [rbp - 0x10], eax
add r10d, r14d
add r10d, r12d
add r10d, dword [rbp + 0x5c]
cmp eax, 0x10000
je 0x18000428d
cmp r10d, 1
ja 0x1800045ba
mov r15, qword [rbp - 0x78]
xor esi, esi
mov r10d, 0xffffffff
cmp dword [rsp + 0x2c], esi
jbe 0x1800043e2
mov rbx, qword [rbp]
mov r12, qword [rsp + 0x58]
nop dword [rax]
movzx r8d, byte [rsi + r12]
xor r9d, r9d
test r8d, r8d
je 0x1800043cb
mov r13, qword [rsp + 0x60]
lea rcx, [rbp - 0x50]
mov r11d, dword [rcx + r8*4]
lea rcx, [rcx + r8*4]
mov r14d, r8d
lea eax, [r11 + 1]
mov dword [rcx], eax
nop dword [rax + rax]
mov ecx, r11d
lea eax, [r9 + r9]
and ecx, 1
shr r11d, 1
mov r9d, ecx
or r9d, eax
mov edx, r9d
add r14d, 0xffffffff
jne 0x1800042e0
cmp r8d, 0xa
ja 0x180004354
movzx r9d, r8w
mov qword [rsp + 0x60], r13
shl r9w, 9
or r9w, si
cmp edx, 0x400
jae 0x1800043cb
mov ecx, r8d
mov qword [rsp + 0x60], r13
mov r8d, 1
shl r8d, cl
nop dword [rax]
nop word [rax + rax]
mov eax, edx
add edx, r8d
mov word [rbx + rax*2], r9w
cmp edx, 0x400
jb 0x180004340
jmp 0x1800043cb
mov rax, rdx
and eax, 0x3ff
movsx ecx, word [rbx + rax*2]
test ecx, ecx
jne 0x180004370
mov word [rbx + rax*2], r10w
mov ecx, r10d
sub r10d, 2
mov r9, qword [rbp - 0x70]
shr edx, 9
mov qword [rsp + 0x60], r13
cmp r8d, 0xb
jbe 0x1800043ba
add r8d, 0xfffffff5
mov qword [rsp + 0x60], r13
nop dword [rax + rax]
shr edx, 1
mov eax, edx
and eax, 1
sub ecx, eax
not ecx
movsxd rax, ecx
movsx ecx, word [r9 + rax*2]
test cx, cx
jne 0x1800043b4
mov word [r9 + rax*2], r10w
mov ecx, r10d
sub r10d, 2
sub r8, 1
jne 0x180004390
shr edx, 1
and edx, 1
sub edx, ecx
lea eax, [rdx - 1]
cdqe
mov word [r9 + rax*2], si
mov eax, dword [r15 + 0x18]
inc esi
cmp esi, dword [r15 + rax*4 + 0x2c]
jb 0x1800042b0
mov ebx, dword [rsp + 0x40]
jmp 0x1800043e6
mov rax, qword [rbp - 0x68]
mov rdi, qword [rsp + 0x70]
mov esi, dword [rsp + 0x24]
mov r14, qword [rsp + 0x30]
mov r12, qword [rsp + 0x50]
mov r13d, dword [rsp + 0x28]
cmp eax, 2
jne 0x18000362a
xor esi, esi
jmp 0x18000347d
jne 0x180004418
test esi, esi
je 0x1800045ec
lea ecx, [r13 - 0x10]
lea rax, [0x180000000]
movsx edx, byte [rcx + rax + 0x518d0]
mov dword [rsp + 0x20], edx
cmp ebx, edx
jae 0x180003419
jmp case.0x1800032d4.18
mov dword [r15], 0x10
jmp 0x1800046a9
mov dword [r15], 0x17
jmp 0x1800046a9
mov edx, dword [rsp + 0x20]
mov r9d, 2
mov dword [r15], 0x18
jmp 0x1800046f0
mov dword [r15], 3
jmp 0x1800046a9
mov dword [r15], 5
jmp 0x1800046a9
mov dword [r15], 6
jmp 0x1800046a9
mov dword [r15], 7
jmp 0x1800046a9
mov dword [r15], 0x33
jmp 0x1800046a9
mov r9d, 2
mov dword [r15], 0x34
jmp 0x1800046f0
mov dword [r15], 0x26
jmp 0x1800046a9
mov dword [r15], 0xb
jmp 0x1800046a9
mov dword [r15], 0xe
jmp 0x1800046a9
mov r8, qword [rsp + 0x38]
mov eax, ebx
and eax, 7
cmp ebx, eax
jae 0x180004514
nop word [rax + rax]
cmp r14, r8
jae 0x18000463c
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
add ebx, 8
or rdi, rax
inc r14
mov eax, ebx
and eax, 7
cmp ebx, eax
jb case.0x1800032d4.32
mov rax, qword [rsp + 0x78]
mov ecx, ebx
and cl, 7
and ebx, 0xfffffff8
shr rdi, cl
cmp r14, rax
jbe 0x180004540
nop dword [rax]
cmp ebx, 8
jb 0x180004540
dec r14
add ebx, 0xfffffff8
cmp r14, rax
ja 0x180004530
mov ecx, ebx
mov rax, 0xffffffffffffffff
shl rax, cl
not rax
and rdi, rax
test byte [rbp + 0x110], 1
je 0x1800046e2
xor esi, esi
jmp 0x180004660
mov dword [r15], 0x1a
jmp 0x1800046a9
mov dword [r15], 0x1b
jmp 0x1800046a9
mov r9d, 2
mov dword [r15], 0x35
jmp 0x1800046f0
mov dword [r15], 0x19
jmp 0x1800046a9
mov dword [r15], 0x12
jmp 0x1800046a9
mov r9d, 0xffffffff
mov dword [r15], 0x27
jmp 0x1800046f0
mov rdi, qword [rsp + 0x70]
mov esi, dword [rsp + 0x24]
mov r14, qword [rsp + 0x30]
mov r15, qword [rbp - 0x78]
mov r12, qword [rsp + 0x50]
mov edx, dword [rsp + 0x20]
mov r13d, dword [rsp + 0x28]
mov r9d, 0xffffffff
mov dword [r15], 0x23
jmp 0x1800046f0
mov edx, dword [rsp + 0x20]
mov r9d, 0xffffffff
mov dword [r15], 0x11
jmp 0x1800046f0
mov edx, dword [rsp + 0x20]
mov r9d, 0xffffffff
mov dword [r15], 0x15
jmp 0x1800046f0
mov r9d, 0xffffffff
mov dword [r15], 0xa
jmp 0x1800046f0
mov r9d, 0xffffffff
mov dword [r15], 0x25
jmp 0x1800046f0
mov dword [r15], 0x20
jmp 0x1800046a9
cmp r14, r8
jae 0x1800046a2
movzx ecx, byte [r14]
inc r14
mov eax, dword [r15 + 0x10]
shl eax, 8
or eax, ecx
mov dword [r15 + 0x10], eax
inc esi
cmp esi, 4
jae 0x1800046e2
test ebx, ebx
je case.0x1800032d4.42
cmp ebx, 8
jae 0x18000468c
nop
cmp r14, r8
jae 0x180004699
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rdi, rax
add ebx, 8
cmp ebx, 8
jb case.0x1800032d4.41
movzx ecx, dil
shr rdi, 8
add ebx, 0xfffffff8
jmp 0x180004651
mov dword [r15], 0x29
jmp 0x1800046a9
mov dword [r15], 0x2a
mov eax, 1
test byte [rbp + 0x110], 2
mov r9d, 0xfffffffc
cmovne r9d, eax
mov r13d, dword [rsp + 0x28]
mov eax, r9d
mov edx, dword [rsp + 0x20]
cmp r9d, 1
je case.0x1800032d4.4
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], rcx
cmp eax, 0xfffffffc
je case.0x1800032d4.4
jmp 0x1800046f0
mov edx, dword [rsp + 0x20]
xor r9d, r9d
mov dword [r15], 0x22
mov rax, qword [rsp + 0x78]
cmp r14, rax
jbe case.0x1800032d4.4
nop word [rax + rax]
cmp ebx, 8
jb case.0x1800032d4.4
dec r14
add ebx, 0xfffffff8
cmp r14, rax
ja 0x180004700
sub r14, qword [rsp + 0x78]
mov ecx, ebx
mov r11d, dword [rbp + 0x110]
mov rax, 0xffffffffffffffff
shl rax, cl
not rax
mov dword [r15 + 4], ebx
mov rbx, qword [rbp + 8]
and rax, rdi
mov qword [r15 + 0x38], rax
sub r12, rbx
mov rax, qword [rsp + 0x68]
mov qword [r15 + 0x40], rax
mov rax, qword [rbp - 0x60]
mov dword [r15 + 0x20], r13d
mov dword [r15 + 0x24], esi
mov dword [r15 + 0x28], edx
mov qword [rax], r14
mov rax, qword [rbp + 0x10]
mov qword [rax], r12
test r11b, 9
je 0x180004894
test r9d, r9d
js 0x180004894
mov r8d, dword [r15 + 0x1c]
movabs rax, 0x79baa6bb6398b6f7
mul r12
mov rax, r12
movzx ecx, r8w
sub rax, rdx
shr r8d, 0x10
shr rax, 1
mov r10, r12
add rax, rdx
shr rax, 0xc
imul rax, rax, 0x15b0
sub r10, rax
test r12, r12
je 0x180004871
xor edx, edx
cmp r10, 7
jbe 0x18000481a
mov r11d, 7
movzx eax, byte [rbx]
add r11d, 8
add ecx, eax
add edx, 8
movzx eax, byte [rbx + 1]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 2]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 3]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 4]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 5]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 6]
add r8d, ecx
add ecx, eax
movzx eax, byte [rbx + 7]
add r8d, ecx
add ecx, eax
add rbx, 8
add r8d, ecx
mov eax, r11d
cmp rax, r10
jb 0x1800047c0
mov eax, edx
cmp rax, r10
jae 0x180004835
movzx eax, byte [rbx]
inc edx
add ecx, eax
inc rbx
add r8d, ecx
mov eax, edx
cmp rax, r10
jb 0x180004821
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r8d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r8d, eax
sub r12, r10
mov r10d, 0x15b0
jne 0x1800047b2
mov r11d, dword [rbp + 0x110]
shl r8d, 0x10
add r8d, ecx
mov dword [r15 + 0x1c], r8d
test r9d, r9d
jne 0x180004894
test r11b, 1
je 0x180004894
cmp r8d, dword [r15 + 0x10]
mov eax, 0xfffffffe
cmovne r9d, eax
mov eax, r9d
jmp 0x1800048a8
mov rax, qword [rbp - 0x60]
mov qword [rsi], rdx
mov qword [rax], rdx
mov eax, 0xfffffffd
mov r13, qword [rsp + 0x1f8]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.18004e890
add rsp, 0x1a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret