Function at 0x14004a260
Capabilities:
Compute adler32 checksum

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140071040]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rdi, qword [rbp + 0xb0]
mov r12, rcx
mov rsi, qword [rbp + 0xb8]
mov r14, rdx
mov r11, qword [r8]
mov rbx, r9
mov r10d, dword [rbp + 0xc0]
add r11, rdx
mov qword [rbp - 0x78], rcx
mov r15, rdi
mov rcx, qword [rsi]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x30], rdx
xor edx, edx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x20], r8
lea rax, [rdi + rcx]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rsi
mov qword [rsp + 0x68], r11
mov qword [rsp + 0x48], rdi
and r10d, 4
je 0x14004a2f6
mov qword [rsp + 0x58], 0xffffffffffffffff
mov r9d, edx
jmp 0x14004a314
mov rax, rdi
sub rax, rbx
dec rax
add rax, rcx
mov qword [rsp + 0x58], rax
lea r9, [rax + 1]
test r9, rax
jne 0x14004b8fc
cmp rdi, rbx
jb 0x14004b8fc
mov eax, dword [r12]
mov r8, qword [r12 + 0x40]
mov edi, dword [r12 + 0x24]
mov edx, dword [r12 + 0x28]
mov ebx, dword [r12 + 4]
mov rsi, qword [r12 + 0x38]
mov qword [rsp + 0x1a8], r13
mov r13d, dword [r12 + 0x20]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x24], edi
mov dword [rsp + 0x20], edx
mov qword [rsp + 0x40], r8
cmp eax, 0x35
ja case.0x14004a37a.4
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0x4b928]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
xor eax, eax
mov ecx, 1
mov qword [r12 + 8], rax
mov edi, eax
mov dword [rsp + 0x20], eax
mov r13d, eax
mov dword [rsp + 0x24], eax
mov ebx, eax
mov dword [rsp + 0x28], eax
mov esi, eax
mov eax, dword [rbp + 0xc0]
mov dword [r12 + 0x1c], ecx
mov dword [r12 + 0x10], ecx
test cl, al
je 0x14004ad28
jmp 0x14004a3c2
mov eax, dword [rbp + 0xc0]
mov ecx, 1
cmp r14, r11
jb 0x14004a3dc
test al, 2
mov dword [r12], ecx
mov r11d, 0xfffffffc
cmovne r11d, ecx
jmp 0x14004b70a
movzx eax, byte [r14]
inc r14
mov dword [r12 + 8], eax
cmp r14, r11
jb 0x14004a3fa
mov dword [r12], 2
jmp 0x14004b6f3
movzx r11d, byte [r14]
mov eax, 0x8421085
mov r8d, dword [r12 + 8]
inc r14
mov ecx, r8d
mov qword [rsp + 0x30], r14
shl ecx, 8
add ecx, r11d
mov dword [r12 + 0xc], r11d
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 0x14004a44c
test r11b, 0x20
jne 0x14004a44c
mov eax, r8d
and al, 0xf
cmp al, 8
jne 0x14004a44c
xor edi, edi
mov dword [rsp + 0x24], edi
lea edx, [rdi + 1]
jmp 0x14004a457
mov edx, 1
mov edi, edx
mov dword [rsp + 0x24], edx
test r10d, r10d
jne 0x14004a480
shr r8d, 4
mov eax, edx
lea ecx, [r8 + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x14004a478
cmp r9, rax
jb 0x14004a478
xor eax, eax
jmp 0x14004a47a
mov eax, edx
or edi, eax
mov dword [rsp + 0x24], edi
test edi, edi
je 0x14004ad23
mov edx, dword [rsp + 0x20]
mov r8, qword [rsp + 0x40]
mov r11, 0xffffffffffffffff
mov dword [r12], 0x24
jmp 0x14004b73c
cmp r14, r11
jae 0x14004b5b1
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, edx
jb case.0x14004a37a.18
mov ecx, edx
lea rax, [0x140000000]
sub ebx, edx
mov r13d, 1
mov edx, dword [rsp + 0x28]
shl r13d, cl
dec r13d
mov dword [rsp + 0x38], ebx
and r13d, esi
shr rsi, cl
lea ecx, [rdx - 0x10]
mov qword [rsp + 0x60], rsi
movsx eax, byte [rcx + rax + 0x65864]
add r13d, eax
cmp edx, 0x10
jne 0x14004a514
lea eax, [rdi - 1]
movzx edx, byte [rax + r12 + 0x292c]
jmp 0x14004a516
xor edx, edx
mov ecx, edi
add rcx, 0x292c
mov r8d, r13d
add rcx, r12
call sub.VCRUNTIME140.dll_memset
add edi, r13d
mov r13d, dword [rsp + 0x28]
mov edx, dword [r12 + 0x2c]
mov ecx, dword [r12 + 0x30]
add ecx, edx
mov dword [rsp + 0x24], edi
cmp edi, ecx
jae 0x14004a6a0
cmp ebx, 0xf
jae 0x14004a61a
mov r11, qword [rsp + 0x68]
mov rax, r11
sub rax, r14
cmp rax, 2
jge 0x14004a5f4
mov rax, rsi
and eax, 0x3ff
movsx r8d, word [r12 + rax*2 + 0x1ca8]
test r8d, r8d
js 0x14004a592
sar r8d, 9
test r8d, r8d
je case.0x14004a37a.16
cmp ebx, r8d
jae 0x14004a61a
jmp case.0x14004a37a.16
cmp ebx, 0xa
jbe case.0x14004a37a.16
mov ecx, 0xa
nop dword [rax]
not r8d
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r12 + rdx*2 + 0x24a8]
test r8d, r8d
jns 0x14004a61a
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x14004a5a0
cmp r14, r11
jae 0x14004b4bd
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 0xf
jb 0x14004a568
jmp 0x14004a61a
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 rsi, rdx
add ebx, 0x10
mov rax, rsi
and eax, 0x3ff
movsx r13d, word [r12 + rax*2 + 0x1ca8]
test r13d, r13d
js 0x14004a63f
mov ecx, r13d
sar ecx, 9
and r13d, 0x1ff
jmp 0x14004a672
mov ecx, 0xa
nop dword [rax]
nop dword [rax + rax]
not r13d
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r13d
add rdx, rax
movsx r13d, word [r12 + rdx*2 + 0x24a8]
test r13d, r13d
js 0x14004a650
shr rsi, cl
sub ebx, ecx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x38], ebx
cmp r13d, 0x10
jae 0x14004b48a
mov eax, edi
inc edi
mov byte [rax + r12 + 0x292c], r13b
jmp 0x14004a532
jne 0x14004b64e
mov r8, rdx
lea rcx, [r12 + 0x48]
lea rdx, [r12 + 0x292c]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [r12 + 0x2c]
lea rcx, [r12 + 0xde8]
mov r8d, dword [r12 + 0x30]
add rdx, 0x292c
add rdx, r12
call sub.VCRUNTIME140.dll_memcpy
dec dword [r12 + 0x18]
mov eax, dword [r12 + 0x18]
test eax, eax
jns 0x14004b195
mov r9, qword [rsp + 0x50]
mov r11, qword [rsp + 0x68]
mov rcx, r11
sub rcx, r14
cmp rcx, 4
jl 0x14004a7fb
mov rax, r9
sub rax, r15
cmp rax, 2
jl 0x14004a7fb
cmp ebx, 0x1e
jae 0x14004a734
mov eax, dword [r14]
mov ecx, ebx
shl rax, cl
add r14, 4
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 0x20
mov rax, rsi
and eax, 0x3ff
movsx edi, word [r12 + rax*2 + 0x168]
test edi, edi
js 0x14004a750
mov ecx, edi
sar ecx, 9
jmp 0x14004a77f
mov ecx, 0xa
nop word [rax + rax]
not edi
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, edi
add rdx, rax
movsx edi, word [r12 + rdx*2 + 0x968]
test edi, edi
js 0x14004a760
shr rsi, cl
sub ebx, ecx
bt edi, 8
jb 0x14004a947
mov rax, rsi
and eax, 0x3ff
movsx r8d, word [r12 + rax*2 + 0x168]
test r8d, r8d
js 0x14004a7ac
mov ecx, r8d
sar ecx, 9
jmp 0x14004a7d3
mov ecx, 0xa
not r8d
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r12 + rdx*2 + 0x968]
test r8d, r8d
js 0x14004a7b1
shr rsi, cl
lea rax, [r15 + 1]
sub ebx, ecx
mov byte [r15], dil
bt r8d, 8
jb 0x14004a93c
add r15, 2
mov byte [rax], r8b
mov qword [rsp + 0x48], r15
jmp 0x14004a6f8
cmp ebx, 0xf
jae 0x14004a8c3
cmp rcx, 2
jge 0x14004a89d
mov rax, rsi
and eax, 0x3ff
movsx r8d, word [r12 + rax*2 + 0x168]
test r8d, r8d
js 0x14004a838
sar r8d, 9
test r8d, r8d
je 0x14004a872
cmp ebx, r8d
jae 0x14004a8c3
jmp 0x14004a872
cmp ebx, 0xa
jbe 0x14004a872
mov ecx, 0xa
not r8d
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r12 + rdx*2 + 0x968]
test r8d, r8d
jns 0x14004a8c3
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x14004a842
jmp 0x14004a872
mov r9, qword [rsp + 0x50]
cmp r14, r11
jae 0x14004b4ca
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 0xf
jb 0x14004a80e
jmp 0x14004a8c3
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 rsi, rdx
add ebx, 0x10
mov rax, rsi
and eax, 0x3ff
movsx edi, word [r12 + rax*2 + 0x168]
test edi, edi
js 0x14004a8e5
mov ecx, edi
sar ecx, 9
and edi, 0x1ff
jmp 0x14004a90f
mov ecx, 0xa
nop word [rax + rax]
not edi
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, edi
add rdx, rax
movsx edi, word [r12 + rdx*2 + 0x968]
test edi, edi
js 0x14004a8f0
shr rsi, cl
sub ebx, ecx
cmp edi, 0x100
jae 0x14004a947
jmp 0x14004a923
mov r9, qword [rsp + 0x50]
cmp r15, r9
jae 0x14004b4d7
mov byte [r15], dil
inc r15
mov qword [rsp + 0x48], r15
jmp 0x14004a6f8
mov r15, rax
mov qword [rsp + 0x48], rax
mov edi, r8d
and edi, 0x1ff
mov dword [rsp + 0x24], edi
cmp edi, 0x100
je 0x14004aca1
lea ecx, [rdi - 0x101]
lea rax, [0x140000000]
mov edx, dword [rax + rcx*4 + 0x66730]
mov edi, dword [rax + rcx*4 + 0x66860]
mov dword [rsp + 0x20], edx
test edx, edx
je 0x14004a9c3
cmp ebx, edx
jae 0x14004a9af
jmp 0x14004a98b
mov r9, qword [rsp + 0x50]
cmp r14, r11
jae 0x14004b5a4
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, edx
jb 0x14004a98b
mov ecx, edx
mov eax, 1
shl eax, cl
sub ebx, edx
dec eax
and eax, esi
shr rsi, cl
add edi, eax
cmp ebx, 0xf
jae 0x14004aa91
mov rax, r11
sub rax, r14
cmp rax, 2
jge 0x14004aa6b
mov rax, rsi
and eax, 0x3ff
movsx r8d, word [r12 + rax*2 + 0xf08]
test r8d, r8d
js 0x14004aa06
sar r8d, 9
test r8d, r8d
je 0x14004aa40
cmp ebx, r8d
jae 0x14004aa91
jmp 0x14004aa40
cmp ebx, 0xa
jbe 0x14004aa40
mov ecx, 0xa
not r8d
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r12 + rdx*2 + 0x1708]
test r8d, r8d
jns 0x14004aa91
lea eax, [rcx + 1]
cmp ebx, eax
jae 0x14004aa10
jmp 0x14004aa40
mov r9, qword [rsp + 0x50]
cmp r14, r11
jae 0x14004b577
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 0xf
jb 0x14004a9dc
jmp 0x14004aa91
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 rsi, rdx
add ebx, 0x10
mov rax, rsi
and eax, 0x3ff
movsx r8d, word [r12 + rax*2 + 0xf08]
test r8d, r8d
js 0x14004aab6
mov ecx, r8d
sar ecx, 9
and r8d, 0x1ff
jmp 0x14004aae2
mov ecx, 0xa
nop dword [rax + rax]
not r8d
mov rdx, rsi
shr rdx, cl
inc ecx
and edx, 1
mov eax, r8d
add rdx, rax
movsx r8d, word [r12 + rdx*2 + 0x1708]
test r8d, r8d
js 0x14004aac0
shr rsi, cl
sub ebx, ecx
lea rcx, [0x140000000]
mov edx, dword [rcx + r8*4 + 0x667b0]
mov r13d, dword [rcx + r8*4 + 0x66680]
mov dword [rsp + 0x20], edx
mov dword [rsp + 0x28], r13d
test edx, edx
je 0x14004ab54
cmp ebx, edx
jae 0x14004ab3a
jmp 0x14004ab16
mov r9, qword [rsp + 0x50]
cmp r14, r11
jae 0x14004b584
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, edx
jb 0x14004ab16
mov ecx, edx
mov eax, 1
shl eax, cl
sub ebx, edx
dec eax
and eax, esi
shr rsi, cl
add r13d, eax
mov dword [rsp + 0x28], r13d
mov r11, qword [rbp - 0x80]
mov r8, r15
sub r8, r11
mov qword [rsp + 0x40], r8
test r13d, r13d
je 0x14004ab75
mov eax, r13d
cmp rax, r8
ja 0x14004ab75
test r8, r8
jne 0x14004ab82
test byte [rbp + 0xc0], 4
jne case.0x14004a37a.37
mov r10, qword [rsp + 0x58]
mov eax, r13d
sub r8, rax
mov ecx, edi
and r8, r10
add r8, r11
cmp r15, r8
mov rax, r8
cmova rax, r15
add rax, rcx
cmp rax, r9
jbe 0x14004abf7
mov r8, qword [rsp + 0x40]
mov eax, edi
dec edi
test eax, eax
je 0x14004a6f3
jmp 0x14004abc8
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x58]
mov r11, qword [rbp - 0x80]
cmp r15, r9
jae 0x14004b591
mov eax, r13d
mov rcx, r8
sub rcx, rax
inc r8
and rcx, r10
mov qword [rsp + 0x40], r8
movzx eax, byte [rcx + r11]
mov byte [r15], al
inc r15
mov qword [rsp + 0x48], r15
jmp 0x14004abac
cmp edi, 9
jb 0x14004ac5c
cmp edi, r13d
ja 0x14004ac61
mov eax, 0xfffffff8
and rcx, rax
add rcx, r8
nop dword [rax]
mov rax, qword [r8]
add r8, 8
mov qword [r15], rax
add r15, 8
cmp r8, rcx
jb 0x14004ac10
and edi, 7
mov qword [rsp + 0x48], r15
cmp edi, 3
jae 0x14004ac5c
test edi, edi
je 0x14004a6f3
movzx eax, byte [r8]
mov byte [r15], al
cmp edi, 1
jbe 0x14004ac4d
movzx eax, byte [r8 + 1]
mov byte [r15 + 1], al
mov eax, edi
add r15, rax
mov qword [rsp + 0x48], r15
jmp 0x14004a6f3
cmp edi, 2
jbe 0x14004ac30
lea ecx, [rdi - 3]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea ecx, [rdx + 1]
movzx eax, byte [r8]
add edi, 0xfffffffd
mov byte [r15], al
movzx eax, byte [r8 + 1]
mov byte [r15 + 1], al
movzx eax, byte [r8 + 2]
add r8, 3
mov byte [r15 + 2], al
add r15, 3
sub rcx, 1
jne 0x14004ac70
mov qword [rsp + 0x48], r15
jmp 0x14004ac30
test byte [r12 + 0x14], 1
je 0x14004ad28
mov eax, ebx
and eax, 7
cmp ebx, eax
jae 0x14004acd6
cmp r14, r11
jae 0x14004b67f
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
add ebx, 8
or rsi, rax
inc r14
mov eax, ebx
and eax, 7
cmp ebx, eax
jb case.0x14004a37a.32
mov rax, qword [rsp + 0x78]
mov ecx, ebx
and cl, 7
shr rsi, cl
mov ecx, 0xfffffff8
and ebx, ecx
cmp r14, rax
jbe 0x14004acff
nop
cmp ebx, 8
jb 0x14004acff
dec r14
add ebx, ecx
cmp r14, rax
ja 0x14004acf0
mov ecx, ebx
mov eax, 1
shl rax, cl
dec rax
and rsi, rax
test byte [rbp + 0xc0], 1
je 0x14004b728
xor edi, edi
jmp 0x14004b6a6
mov r11, qword [rsp + 0x68]
cmp ebx, 3
jae 0x14004ad52
cmp r14, r11
jae 0x14004b4f3
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 3
jb case.0x14004a37a.3
mov eax, esi
add ebx, 0xfffffffd
and eax, 7
shr rsi, 3
mov dword [r12 + 0x14], eax
shr eax, 1
mov dword [r12 + 0x18], eax
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x38], ebx
jne 0x14004af76
mov eax, ebx
and eax, 7
cmp ebx, eax
jae 0x14004adab
cmp r14, r11
jae 0x14004b500
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
add ebx, 8
or rsi, rax
inc r14
mov eax, ebx
mov qword [rsp + 0x30], r14
and eax, 7
cmp ebx, eax
jb case.0x14004a37a.5
mov ecx, ebx
mov eax, 0xfffffff8
and cl, 7
and ebx, eax
shr rsi, cl
xor edi, edi
cmp edi, 4
jae 0x14004ae2b
test ebx, ebx
je case.0x14004a37a.7
cmp ebx, 8
jae 0x14004adef
cmp r14, r11
jae 0x14004b50d
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 8
jb case.0x14004a37a.6
mov eax, edi
mov byte [rax + r12 + 0x2928], sil
mov eax, 0xfffffff8
add ebx, eax
shr rsi, 8
inc edi
jmp 0x14004adbc
cmp r14, r11
jae 0x14004b51a
movzx ecx, byte [r14]
inc r14
mov eax, edi
inc edi
mov qword [rsp + 0x30], r14
mov byte [rax + r12 + 0x2928], cl
jmp 0x14004adbc
movzx eax, byte [r12 + 0x2928]
movzx edi, byte [r12 + 0x2929]
movzx ecx, byte [r12 + 0x292b]
shl ecx, 8
shl edi, 8
or edi, eax
movzx eax, byte [r12 + 0x292a]
or ecx, eax
mov dword [rsp + 0x24], edi
xor ecx, 0xffff
cmp edi, ecx
jne 0x14004b5be
test edi, edi
je 0x14004af6c
test ebx, ebx
je case.0x14004a37a.9
cmp ebx, 8
jae 0x14004aea1
cmp r14, r11
jae 0x14004b527
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 8
jb case.0x14004a37a.51
movzx r13d, sil
mov eax, 0xfffffff8
shr rsi, 8
add ebx, eax
mov dword [rsp + 0x28], r13d
cmp r15, qword [rsp + 0x50]
jae 0x14004b534
mov byte [r15], r13b
inc r15
dec edi
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x24], edi
jmp 0x14004ae6b
test edi, edi
je 0x14004af6c
mov rax, qword [rsp + 0x50]
cmp r15, rax
jb 0x14004af0b
mov edx, dword [rsp + 0x20]
mov r11d, 2
mov r13d, dword [rsp + 0x28]
mov r8, qword [rsp + 0x40]
mov dword [r12], 9
jmp 0x14004b73c
mov rax, qword [rsp + 0x50]
cmp r14, r11
jae 0x14004b550
mov r13, rax
mov edx, edi
sub r13, r15
mov rcx, r11
sub rcx, r14
mov rax, r13
cmp r13, rcx
cmovae rax, rcx
cmp rax, rdx
jae 0x14004af3a
cmp r13, rcx
cmovae r13, rcx
jmp 0x14004af3d
mov r13, rdx
mov r8, r13
mov rdx, r14
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov r11, qword [rsp + 0x68]
add r14, r13
add r15, r13
mov qword [rsp + 0x30], r14
sub edi, r13d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x24], edi
jmp 0x14004aed3
mov r13d, dword [rsp + 0x28]
jmp 0x14004aca1
cmp eax, 3
je 0x14004b5db
cmp eax, 1
jne 0x14004b05a
movdqa xmm1, xmmword [0x140066c00]
lea rcx, [r12 + 0xd8]
movdqa xmm0, xmmword [0x140066be0]
mov dword [r12 + 0x2c], 0x120
mov dword [r12 + 0x30], 0x20
movups xmmword [r12 + 0xde8], xmm0
movups xmmword [r12 + 0xdf8], xmm0
movdqa xmm0, xmmword [0x140066c10]
movups xmmword [r12 + 0x48], xmm1
movups xmmword [r12 + 0x58], xmm1
movups xmmword [r12 + 0x68], xmm1
movups xmmword [r12 + 0x78], xmm1
movups xmmword [r12 + 0x88], xmm1
movups xmmword [r12 + 0x98], xmm1
movups xmmword [r12 + 0xa8], xmm1
movups xmmword [r12 + 0xb8], xmm1
movups xmmword [r12 + 0xc8], xmm1
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 0x14004a6e1
xor edi, edi
lea r9, [0x140000000]
cmp edi, 3
jae 0x14004b0fa
movsx eax, byte [rdi + r9 + 0x65860]
cmp ebx, eax
jae 0x14004b0b1
jmp 0x14004b082
lea r9, [0x140000000]
cmp r14, r11
jae 0x14004b55d
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
mov eax, edi
add ebx, 8
movsx eax, byte [rax + r9 + 0x65860]
cmp ebx, eax
jb 0x14004b082
mov r8d, edi
mov edx, 1
movzx ecx, byte [r8 + r9 + 0x65860]
shl edx, cl
dec edx
and edx, esi
mov dword [r12 + r8*4 + 0x2c], edx
movsx ecx, byte [r8 + r9 + 0x65860]
shr rsi, cl
sub ebx, ecx
mov ecx, dword [r9 + r8*4 + 0x66188]
add ecx, edx
mov qword [rsp + 0x60], rsi
mov dword [r12 + r8*4 + 0x2c], ecx
inc edi
mov dword [rsp + 0x38], ebx
jmp 0x14004b063
lea rcx, [r12 + 0x1b88]
xor edx, edx
mov r8d, 0x120
call sub.VCRUNTIME140.dll_memset
xor edi, edi
lea rdx, [0x140000000]
mov dword [rsp + 0x24], edi
cmp edi, dword [r12 + 0x34]
jae 0x14004b187
cmp ebx, 3
jae 0x14004b15b
mov r11, qword [rsp + 0x68]
jmp 0x14004b136
lea rdx, [0x140000000]
cmp r14, r11
jae 0x14004b56a
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
mov qword [rsp + 0x30], r14
add ebx, 8
cmp ebx, 3
jb 0x14004b136
mov eax, edi
mov rcx, rsi
shr rsi, 3
add ebx, 0xfffffffd
and cl, 7
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x38], ebx
inc edi
movzx eax, byte [rax + rdx + 0x668e0]
mov byte [rax + r12 + 0x1b88], cl
jmp 0x14004b118
mov dword [r12 + 0x34], 0x13
jmp 0x14004a6e1
xorps xmm0, xmm0
xor edx, edx
imul rdi, rax, 0xda0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov r8d, 0x800
add rdi, 0x48
add rdi, r12
mov qword [rsp + 0x70], rdi
movups xmmword [rbp + 0x20], xmm0
lea rcx, [rdi + 0x120]
movups xmmword [rbp + 0x30], xmm0
call sub.VCRUNTIME140.dll_memset
lea rcx, [rdi + 0x920]
xor edx, edx
mov r8d, 0x480
call sub.VCRUNTIME140.dll_memset
mov eax, dword [r12 + 0x18]
mov edx, dword [r12 + rax*4 + 0x2c]
test edx, edx
je 0x14004b211
mov rcx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
inc dword [rbp + rax*4]
sub rdx, 1
jne 0x14004b200
mov r12d, dword [rbp + 0xc]
xor eax, eax
mov r14d, dword [rbp + 0x10]
mov r13d, dword [rbp + 0x18]
mov r15d, dword [rbp + 0x1c]
mov ecx, dword [rbp + 8]
mov esi, dword [rbp + 0x20]
mov edi, dword [rbp + 0x24]
mov r11d, dword [rbp + 0x28]
mov r9d, dword [rbp + 0x2c]
mov r8d, dword [rbp + 0x30]
mov edx, dword [rbp + 0x34]
mov qword [rbp - 0x70], rax
mov eax, dword [rbp + 4]
add eax, eax
add ecx, eax
mov dword [rbp - 0x68], eax
add ecx, ecx
mov dword [rbp - 0x64], ecx
lea eax, [r12 + rcx]
add eax, eax
mov dword [rbp - 0x60], eax
lea ecx, [r14 + rax]
add r14d, dword [rbp + 4]
mov eax, dword [rbp + 0x14]
add ecx, ecx
add eax, ecx
mov dword [rbp - 0x5c], ecx
add eax, eax
add r14d, r12d
mov dword [rbp - 0x58], eax
lea ecx, [rax + r13]
add ecx, ecx
mov dword [rbp - 0x54], ecx
lea eax, [rcx + r15]
add eax, eax
mov dword [rbp - 0x50], eax
lea ecx, [rax + rsi]
add ecx, ecx
mov dword [rbp - 0x4c], ecx
lea eax, [rcx + rdi]
add eax, eax
mov dword [rbp - 0x48], eax
lea ecx, [rax + r11]
add ecx, ecx
mov dword [rbp - 0x44], ecx
lea eax, [rcx + r9]
add eax, eax
mov dword [rbp - 0x40], eax
lea ecx, [rax + r8]
add ecx, ecx
mov dword [rbp - 0x3c], ecx
lea eax, [rcx + rdx]
mov ecx, dword [rbp + 0x38]
add eax, eax
mov dword [rbp - 0x38], eax
lea r10d, [rax + rcx]
mov eax, dword [rbp + 0x3c]
add r14d, eax
add r10d, r10d
add r14d, ecx
mov dword [rbp - 0x34], r10d
add r14d, edx
add eax, r10d
add r14d, r8d
add eax, eax
add r14d, r9d
mov dword [rbp - 0x30], eax
add r14d, r11d
add r14d, edi
add r14d, esi
add r14d, r15d
add r14d, r13d
add r14d, dword [rbp + 0x14]
add r14d, dword [rbp + 8]
cmp eax, 0x10000
je 0x14004b306
cmp r14d, 1
ja 0x14004b5f8
mov r12, qword [rbp - 0x78]
xor esi, esi
mov eax, dword [r12 + 0x18]
lea r9d, [rsi - 1]
cmp dword [r12 + rax*4 + 0x2c], esi
jbe 0x14004b462
mov r15, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x58]
nop word [rax + rax]
movzx r8d, byte [rsi + r15]
xor r10d, r10d
test r8d, r8d
je 0x14004b447
lea rcx, [rbp - 0x70]
mov r14d, r8d
mov r11d, dword [rcx + r8*4]
lea rcx, [rcx + r8*4]
lea eax, [r11 + 1]
mov dword [rcx], eax
nop word [rax + rax]
mov ecx, r11d
lea eax, [r10 + r10]
and ecx, 1
shr r11d, 1
mov r10d, ecx
or r10d, eax
mov edx, r10d
add r14d, 0xffffffff
jne 0x14004b360
cmp r8d, 0xa
ja 0x14004b3c8
movzx r10d, r8w
shl r10w, 9
or r10w, si
cmp edx, 0x400
jae 0x14004b447
mov ecx, r8d
mov r8d, 1
shl r8d, cl
nop word [rax + rax]
mov eax, edx
add edx, r8d
mov word [r15 + rax*2 + 0x120], r10w
cmp edx, 0x400
jb 0x14004b3b0
jmp 0x14004b447
mov rax, rdx
and eax, 0x3ff
movsx ecx, word [r15 + rax*2 + 0x120]
test ecx, ecx
jne 0x14004b3ed
mov word [r15 + rax*2 + 0x120], r9w
mov ecx, r9d
sub r9d, 2
shr edx, 9
cmp r8d, 0xb
jbe 0x14004b432
add r8d, 0xfffffff5
nop word [rax + rax]
shr edx, 1
mov eax, edx
and eax, 1
sub ecx, eax
not ecx
movsxd rax, ecx
movsx ecx, word [r15 + rax*2 + 0x920]
test cx, cx
jne 0x14004b42c
mov word [r15 + rax*2 + 0x920], r9w
mov ecx, r9d
sub r9d, 2
sub r8, 1
jne 0x14004b400
shr edx, 1
and edx, 1
sub edx, ecx
lea eax, [rdx - 1]
cdqe
mov word [r15 + rax*2 + 0x920], si
mov eax, dword [r12 + 0x18]
inc esi
cmp esi, dword [r12 + rax*4 + 0x2c]
jb 0x14004b330
mov qword [rsp + 0x58], rbx
mov ebx, dword [rsp + 0x38]
mov edi, dword [rsp + 0x24]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x48]
mov r13d, dword [rsp + 0x28]
cmp eax, 2
jne 0x14004a6dc
xor edi, edi
jmp 0x14004a52d
jne 0x14004b494
test edi, edi
je 0x14004b631
lea ecx, [r13 - 0x10]
lea rax, [0x140000000]
movsx edx, byte [rcx + rax + 0x6585c]
mov dword [rsp + 0x20], edx
cmp ebx, edx
jae 0x14004a4c9
mov r11, qword [rsp + 0x68]
jmp case.0x14004a37a.18
mov dword [r12], 0x10
jmp 0x14004b6f3
mov dword [r12], 0x17
jmp 0x14004b6f3
mov edx, dword [rsp + 0x20]
mov r11d, 2
mov r8, qword [rsp + 0x40]
mov dword [r12], 0x18
jmp 0x14004b73c
mov dword [r12], 3
jmp 0x14004b6f3
mov dword [r12], 5
jmp 0x14004b6f3
mov dword [r12], 6
jmp 0x14004b6f3
mov dword [r12], 7
jmp 0x14004b6f3
mov dword [r12], 0x33
jmp 0x14004b6f3
mov edx, dword [rsp + 0x20]
mov r11d, 2
mov r8, qword [rsp + 0x40]
mov dword [r12], 0x34
jmp 0x14004b73c
mov dword [r12], 0x26
jmp 0x14004b6f3
mov dword [r12], 0xb
jmp 0x14004b6f3
mov dword [r12], 0xe
jmp 0x14004b6f3
mov dword [r12], 0x1a
jmp 0x14004b6f3
mov dword [r12], 0x1b
jmp 0x14004b6f3
mov r11d, 2
mov dword [r12], 0x35
jmp 0x14004b73c
mov dword [r12], 0x19
jmp 0x14004b6f3
mov dword [r12], 0x12
jmp 0x14004b6f3
mov edx, dword [rsp + 0x20]
mov r8, qword [rsp + 0x40]
mov r11, 0xffffffffffffffff
mov dword [r12], 0x27
jmp 0x14004b73c
mov edx, dword [rsp + 0x20]
mov r8, qword [rsp + 0x40]
mov r11, 0xffffffffffffffff
mov dword [r12], 0xa
jmp 0x14004b73c
mov edi, dword [rsp + 0x24]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x48]
mov r12, qword [rbp - 0x78]
mov edx, dword [rsp + 0x20]
mov r13d, dword [rsp + 0x28]
mov r8, qword [rsp + 0x40]
mov r11, 0xffffffffffffffff
mov dword [r12], 0x23
jmp 0x14004b73c
mov edx, dword [rsp + 0x20]
mov r8, qword [rsp + 0x40]
mov r11, 0xffffffffffffffff
mov dword [r12], 0x11
jmp 0x14004b73c
mov edx, dword [rsp + 0x20]
mov r8, qword [rsp + 0x40]
mov r11, 0xffffffffffffffff
mov dword [r12], 0x15
jmp 0x14004b73c
mov r11, 0xffffffffffffffff
mov dword [r12], 0x25
jmp 0x14004b73c
mov dword [r12], 0x20
jmp 0x14004b6f3
cmp r14, r11
jae 0x14004b6eb
movzx ecx, byte [r14]
inc r14
mov eax, dword [r12 + 0x10]
shl eax, 8
or eax, ecx
mov dword [r12 + 0x10], eax
inc edi
cmp edi, 4
jae 0x14004b728
test ebx, ebx
je case.0x14004a37a.42
cmp ebx, 8
jae 0x14004b6d0
cmp r14, r11
jae 0x14004b6e1
movzx eax, byte [r14]
mov ecx, ebx
shl rax, cl
inc r14
or rsi, rax
add ebx, 8
cmp ebx, 8
jb case.0x14004a37a.41
movzx ecx, sil
mov eax, 0xfffffff8
shr rsi, 8
add ebx, eax
jmp 0x14004b695
mov dword [r12], 0x29
jmp 0x14004b6f3
mov dword [r12], 0x2a
test byte [rbp + 0xc0], 2
mov r11d, 0xfffffffc
mov r8d, 1
cmovne r11d, r8d
mov r13d, dword [rsp + 0x28]
mov eax, r11d
mov edx, dword [rsp + 0x20]
mov r8, qword [rsp + 0x40]
cmp r11d, 1
je 0x14004b768
cmp eax, 0xfffffffc
je 0x14004b768
jmp 0x14004b73c
mov r8, qword [rsp + 0x40]
mov edx, dword [rsp + 0x20]
xor r11d, r11d
mov dword [r12], 0x22
mov rax, qword [rsp + 0x78]
cmp r14, rax
jbe 0x14004b768
mov ecx, 0xfffffff8
nop dword [rax + rax]
cmp ebx, 8
jb 0x14004b768
dec r14
add ebx, ecx
cmp r14, rax
ja 0x14004b750
jmp 0x14004b768
mov r11, 0xffffffffffffffff
sub r14, qword [rsp + 0x78]
mov ecx, ebx
mov r10d, dword [rbp + 0xc0]
mov eax, 1
shl rax, cl
dec rax
mov dword [r12 + 4], ebx
mov rbx, qword [rbp - 0x18]
and rax, rsi
mov qword [r12 + 0x38], rax
sub r15, rbx
mov rax, qword [rbp - 0x20]
mov dword [r12 + 0x20], r13d
mov r13, qword [rsp + 0x1a8]
mov dword [r12 + 0x24], edi
mov dword [r12 + 0x28], edx
mov qword [r12 + 0x40], r8
mov qword [rax], r14
mov rax, qword [rbp - 0x10]
mov qword [rax], r15
test r10b, 9
je 0x14004b8f7
test r11d, r11d
js 0x14004b8f7
mov r8d, dword [r12 + 0x1c]
movabs rax, 0x79baa6bb6398b6f7
mul r15
mov rax, r15
movzx ecx, r8w
sub rax, rdx
shr r8d, 0x10
shr rax, 1
mov r9, r15
add rax, rdx
shr rax, 0xc
imul rax, rax, 0x15b0
sub r9, rax
test r15, r15
je 0x14004b8d1
xor edx, edx
cmp r9, 7
jbe 0x14004b87a
lea r10d, [rdx + 7]
nop
movzx eax, byte [rbx]
add r10d, 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, r10d
cmp rax, r9
jb 0x14004b820
mov eax, edx
cmp rax, r9
jae 0x14004b895
movzx eax, byte [rbx]
inc edx
add ecx, eax
inc rbx
add r8d, ecx
mov eax, edx
cmp rax, r9
jb 0x14004b881
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 r15, r9
mov r9d, 0x15b0
jne 0x14004b812
mov r10d, dword [rbp + 0xc0]
shl r8d, 0x10
lea edx, [r8 + rcx]
mov dword [r12 + 0x1c], edx
test r11d, r11d
jne 0x14004b8f7
test r10b, 1
je 0x14004b8f7
cmp edx, dword [r12 + 0x10]
mov eax, 0xfffffffe
cmovne r11d, eax
mov eax, r11d
jmp 0x14004b907
mov qword [rsi], rdx
mov eax, 0xfffffffd
mov qword [r8], rdx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14005b360
add rsp, 0x150
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret