Function at 0x1400440c0
Capabilities:
Compute adler32 checksum
Encode data using xor

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
mov rbp, rsp
sub rsp, 0x80
mov ecx, 0x4df78
mov esi, r9d
mov r12d, r8d
mov r13d, edx
call fcn.14017026c
mov r15, qword [rbp + 0x60]
mov rdi, rax
imul r13d, esi
mov qword [r15], 0
test rax, rax
je 0x140044c7d
mov ecx, 0x40
mov qword [rsp + 0xd0], r14
xorps xmm0, xmm0
lea eax, [r13 + 1]
imul eax, r12d
mov r14d, 1
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x38], r14d
cmp eax, ecx
cmovl eax, ecx
add eax, 0x39
movsxd rcx, eax
mov qword [rbp - 0x48], rcx
call fcn.14017026c
mov qword [rbp - 0x40], rax
mov r8, rax
test rax, rax
jne 0x140044162
mov rcx, rdi
jmp 0x140044c6e
mov dword [rbp - 0x60], reloc.WLDAP32.dll_Ordinal_41
mov ecx, 0x80
nop
mov rsi, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x48]
inc rsi
cmp rsi, rbx
jbe 0x1400441be
cmp dword [rbp - 0x38], 0
je 0x1400441d7
nop word [rax + rax]
lea rax, [rbx + rbx]
cmp rax, rcx
mov rbx, rax
cmovb rbx, rcx
cmp rsi, rbx
ja 0x140044190
mov rdx, rbx
mov rcx, r8
call fcn.140170274
mov r8, rax
test rax, rax
je 0x1400441ce
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rbx
mov rax, qword [rbp - 0x50]
movzx ecx, byte [rbp - 0x60]
mov byte [rax + r8], cl
mov qword [rbp - 0x50], rsi
mov r8, qword [rbp - 0x40]
mov ecx, 0x80
sub dword [rbp - 0x60], r14d
jne 0x140044170
mov eax, dword [rbp + 0x68]
lea r8, [rbp - 0x50]
mov ecx, 0xa
lea rdx, [0x14004ec50]
cmp eax, ecx
cmova eax, ecx
lea rcx, [0x140000000]
mov r9d, dword [rcx + rax*4 + 0x4157b8]
mov rcx, rdi
bts r9d, 0xc
call fcn.140045040
xor ecx, ecx
mov esi, ecx
test r12d, r12d
jle 0x1400447a8
movsxd r15, r13d
cmp qword [rdi], 0
lea rax, [rbp - 0x60]
mov qword [rdi + 0x88], rax
lea rax, [rbp - 0x58]
mov qword [rdi + 0x98], rax
lea rax, [rbp - 0x60]
mov qword [rdi + 0xb0], rax
mov qword [rbp - 0x58], r14
mov qword [rdi + 0x90], rcx
mov qword [rdi + 0xa0], rcx
mov qword [rdi + 0xb8], r14
mov qword [rdi + 0xc0], rcx
mov dword [rdi + 0xa8], ecx
je 0x1400444c5
cmp dword [rdi + 0x84], 0
jne 0x1400444c5
cmp dword [rdi + 0x80], 0
jne 0x1400444c5
cmp dword [rdi + 0x74], 0
mov dword [rdi + 0x80], ecx
jne 0x1400444ac
cmp dword [rdi + 0x78], 0
jne 0x1400444b2
mov ecx, dword [rdi + 0x10]
mov eax, ecx
and eax, 0xfff
cmp eax, r14d
jne 0x1400442cd
and ecx, 0xb4000
cmp ecx, 0x4000
jne 0x1400442cd
mov rcx, rdi
call fcn.140050e70
jmp 0x1400442d5
mov rcx, rdi
call fcn.140051710
test eax, eax
je 0x1400444cf
test dword [rdi + 0x10], 0x3000
je 0x140044415
mov rbx, qword [rdi + 0xb0]
lea rax, [rbp - 0x60]
mov r8d, dword [rdi + 0x20]
lea r9, [rbp - 0x60]
sub rbx, rax
movzx ecx, r8w
movabs rax, 0x79baa6bb6398b6f7
shr r8d, 0x10
mul rbx
mov rax, rbx
mov r10, rbx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0xc
imul rax, rax, 0x15b0
sub r10, rax
test rbx, rbx
je 0x14004440a
nop dword [rax + rax]
xor edx, edx
cmp r10, 7
jbe 0x1400443b2
lea r11d, [rdx + 7]
nop dword [rax]
movzx eax, byte [r9]
add r11d, 8
add ecx, eax
add edx, 8
movzx eax, byte [r9 + 1]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 2]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 3]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 4]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 5]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 6]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 7]
add r8d, ecx
add ecx, eax
add r9, 8
add r8d, ecx
mov eax, r11d
cmp rax, r10
jb 0x140044350
mov eax, edx
cmp rax, r10
jae 0x1400443d5
nop dword [rax]
movzx eax, byte [r9]
inc edx
add ecx, eax
inc r9
add r8d, ecx
mov eax, edx
cmp rax, r10
jb 0x1400443c0
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 rbx, r10
mov r10d, 0x15b0
jne 0x140044340
shl r8d, 0x10
lea eax, [r8 + rcx]
mov dword [rdi + 0x20], eax
mov rcx, qword [rdi + 0x98]
test rcx, rcx
je 0x140044432
mov rax, qword [rdi + 0xb0]
sub rax, qword [rdi + 0x88]
mov qword [rcx], rax
mov rbx, qword [rdi + 0xa0]
test rbx, rbx
je 0x14004448b
mov rcx, qword [rdi + 0xc0]
mov rbx, qword [rbx]
mov eax, dword [rdi + 0x74]
sub rbx, rcx
mov edx, dword [rdi + 0x70]
cmp rbx, rax
cmovae rbx, rax
add rcx, qword [rdi + 0x90]
add rdx, 0x392aa
mov r8, rbx
add rdx, rdi
call fcn.1401378a0
add dword [rdi + 0x70], ebx
sub dword [rdi + 0x74], ebx
mov rcx, qword [rdi + 0xc0]
mov rax, qword [rdi + 0xa0]
add rcx, rbx
mov qword [rax], rcx
cmp dword [rdi + 0x78], 0
je 0x1400444a2
cmp dword [rdi + 0x74], 0
jne 0x1400444a2
mov eax, r14d
mov dword [rdi + 0x84], eax
jmp 0x1400444cf
xor eax, eax
mov dword [rdi + 0x84], eax
jmp 0x1400444cf
cmp dword [rdi + 0x78], 0
je 0x1400444bb
cmp dword [rdi + 0x74], 0
mov eax, r14d
je 0x1400444bd
mov eax, ecx
mov dword [rdi + 0x84], eax
jmp 0x1400444cf
mov dword [rdi + 0x84], 0xfffffffe
mov ecx, r12d
mov qword [rbp - 0x58], r15
sub ecx, esi
mov qword [rdi + 0xb8], r15
dec ecx
mov eax, esi
cmp dword [rbp + 0x70], 0
cmovne eax, ecx
xor ecx, ecx
imul eax, r13d
mov qword [rdi + 0x90], rcx
mov qword [rdi + 0xa0], rcx
mov qword [rdi + 0xc0], rcx
mov dword [rdi + 0xa8], ecx
movsxd rbx, eax
lea rax, [rbp - 0x58]
add rbx, qword [rbp + 0x40]
mov qword [rdi + 0x88], rbx
mov qword [rdi + 0x98], rax
mov qword [rdi + 0xb0], rbx
cmp qword [rdi], rcx
je 0x14004478b
cmp dword [rdi + 0x84], ecx
jne 0x14004478b
cmp dword [rdi + 0x80], ecx
jne 0x14004478b
test r13d, r13d
je 0x14004455a
test rbx, rbx
je 0x14004478b
mov dword [rdi + 0x80], ecx
cmp dword [rdi + 0x74], ecx
jne 0x140044774
cmp dword [rdi + 0x78], ecx
jne 0x140044779
mov ecx, dword [rdi + 0x10]
mov eax, ecx
and eax, 0xfff
cmp eax, r14d
jne 0x140044599
and ecx, 0xb4000
cmp ecx, 0x4000
jne 0x140044599
mov rcx, rdi
call fcn.140050e70
jmp 0x1400445a1
mov rcx, rdi
call fcn.140051710
test eax, eax
je 0x140044797
test dword [rdi + 0x10], 0x3000
je 0x1400446d5
test rbx, rbx
je 0x1400446d5
mov r11, qword [rdi + 0xb0]
movabs rax, 0x79baa6bb6398b6f7
mov r8d, dword [rdi + 0x20]
sub r11, rbx
mul r11
mov rax, r11
movzx ecx, r8w
sub rax, rdx
shr r8d, 0x10
shr rax, 1
mov r9, r11
add rax, rdx
shr rax, 0xc
imul rax, rax, 0x15b0
sub r9, rax
test r11, r11
je 0x1400446ca
xor edx, edx
cmp r9, 7
jbe 0x14004467a
lea r10d, [rdx + 7]
nop dword [rax]
nop dword [rax + rax]
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 0x140044620
mov eax, edx
cmp rax, r9
jae 0x140044695
movzx eax, byte [rbx]
inc edx
add ecx, eax
inc rbx
add r8d, ecx
mov eax, edx
cmp rax, r9
jb 0x140044681
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 r11, r9
mov r9d, 0x15b0
jne 0x140044608
shl r8d, 0x10
lea eax, [r8 + rcx]
mov dword [rdi + 0x20], eax
mov rcx, qword [rdi + 0x98]
test rcx, rcx
je 0x1400446f2
mov rax, qword [rdi + 0xb0]
sub rax, qword [rdi + 0x88]
mov qword [rcx], rax
mov rbx, qword [rdi + 0xa0]
test rbx, rbx
je 0x14004474f
mov rcx, qword [rdi + 0xc0]
mov rbx, qword [rbx]
mov eax, dword [rdi + 0x74]
sub rbx, rcx
mov edx, dword [rdi + 0x70]
cmp rbx, rax
cmovae rbx, rax
add rcx, qword [rdi + 0x90]
add rdx, 0x392aa
mov r8, rbx
add rdx, rdi
call fcn.1401378a0
add dword [rdi + 0x70], ebx
sub dword [rdi + 0x74], ebx
add qword [rdi + 0xc0], rbx
mov rax, qword [rdi + 0xa0]
mov rcx, qword [rdi + 0xc0]
mov qword [rax], rcx
cmp dword [rdi + 0x78], 0
je 0x140044768
cmp dword [rdi + 0x74], 0
jne 0x140044768
mov eax, r14d
xor ecx, ecx
mov dword [rdi + 0x84], eax
jmp 0x140044799
xor ecx, ecx
mov eax, ecx
mov dword [rdi + 0x84], eax
jmp 0x140044799
cmp dword [rdi + 0x78], ecx
je 0x14004476a
mov eax, r14d
cmp dword [rdi + 0x74], ecx
je 0x14004476c
mov eax, ecx
mov dword [rdi + 0x84], ecx
jmp 0x140044799
mov dword [rdi + 0x84], 0xfffffffe
jmp 0x140044799
xor ecx, ecx
inc esi
cmp esi, r12d
jl 0x140044221
mov r15, qword [rbp + 0x60]
cmp qword [rdi], 0
lea rax, [rbp + 0x60]
mov esi, 4
mov qword [rdi + 0x98], rax
mov dword [rdi + 0xa8], esi
mov qword [rbp + 0x60], rcx
mov qword [rdi + 0x88], rcx
mov qword [rdi + 0x90], rcx
mov qword [rdi + 0xa0], rcx
mov qword [rdi + 0xb0], rcx
mov qword [rdi + 0xb8], rcx
mov qword [rdi + 0xc0], rcx
je 0x140044c58
cmp dword [rdi + 0x84], 0
jne 0x140044c58
or dword [rdi + 0x80], r14d
cmp dword [rdi + 0x74], 0
jne 0x14004492d
cmp dword [rdi + 0x78], 0
jne 0x140044933
mov ecx, dword [rdi + 0x10]
mov eax, ecx
and eax, 0xfff
cmp eax, r14d
jne 0x140044853
and ecx, 0xb4000
cmp ecx, 0x4000
jne 0x140044853
mov rcx, rdi
call fcn.140050e70
test eax, eax
jne 0x14004486b
mov r14d, dword [rdi + 0x84]
jmp 0x140044943
mov rcx, rdi
call fcn.140051710
test eax, eax
jne 0x14004486b
mov r14d, dword [rdi + 0x84]
jmp 0x140044943
cmp dword [rdi + 0x28], 0
jne 0x14004489f
cmp qword [rdi + 0xb8], 0
jne 0x14004489f
cmp dword [rdi + 0x74], 0
jne 0x14004489f
mov edx, esi
mov rcx, rdi
call fcn.140052000
test eax, eax
jns 0x14004489b
mov r14d, dword [rdi + 0x84]
jmp 0x140044943
mov dword [rdi + 0x78], r14d
mov rcx, qword [rdi + 0x98]
test rcx, rcx
je 0x1400448bc
mov rax, qword [rdi + 0xb0]
sub rax, qword [rdi + 0x88]
mov qword [rcx], rax
mov rbx, qword [rdi + 0xa0]
test rbx, rbx
je 0x14004491c
mov rcx, qword [rdi + 0xc0]
mov rbx, qword [rbx]
mov eax, dword [rdi + 0x74]
sub rbx, rcx
mov edx, dword [rdi + 0x70]
cmp rbx, rax
cmovae rbx, rax
add rcx, qword [rdi + 0x90]
add rdx, 0x392aa
mov r8, rbx
add rdx, rdi
call fcn.1401378a0
mov rcx, qword [rdi + 0xc0]
add dword [rdi + 0x70], ebx
sub dword [rdi + 0x74], ebx
mov rax, qword [rdi + 0xa0]
add rcx, rbx
mov qword [rdi + 0xc0], rcx
mov qword [rax], rcx
cmp dword [rdi + 0x78], 0
je 0x140044928
cmp dword [rdi + 0x74], 0
je 0x14004493c
xor r14d, r14d
jmp 0x14004493c
cmp dword [rdi + 0x78], 0
je 0x140044939
cmp dword [rdi + 0x74], 0
je 0x14004493c
mov r14d, ecx
mov dword [rdi + 0x84], r14d
cmp r14d, 1
jne 0x140044c62
mov edx, dword [rbp + 0x48]
lea r11, [0x140000000]
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0x24]
add rcx, 0xffffffffffffffd7
mov byte [rbp - 0x1d], dl
mov eax, edx
mov qword [r15], rcx
sar eax, 8
mov ebx, 0xffffffff
mov byte [rbp - 0x1e], al
mov edx, ebx
mov eax, r12d
mov dword [rbp - 0x30], 0x474e5089
sar eax, 8
mov byte [rbp - 0x1a], al
movsxd rax, dword [rbp + 0x58]
mov dword [rbp - 0x2c], 0xa1a0a0d
mov dword [rbp - 0x28], 0xd000000
mov dword [rbp - 0x24], 0x52444849
movzx eax, byte [rax + r11 + 0x4157e4]
mov byte [rbp - 0x17], al
mov rax, rcx
shr rax, 0x18
mov byte [rbp - 0xf], al
mov rax, rcx
shr rax, 0x10
mov byte [rbp - 0xe], al
mov rax, rcx
shr rax, 8
mov byte [rbp - 0xd], al
mov word [rbp - 0x20], 0
mov word [rbp - 0x1c], 0
mov byte [rbp - 0x18], 8
mov dword [rbp - 0x16], 0
mov word [rbp - 0x12], 0
mov byte [rbp - 0x10], 0
mov dword [rbp - 0xb], 0x54414449
mov byte [rbp - 0x19], r12b
mov byte [rbp - 0xc], cl
nop word [rax + rax]
movzx eax, byte [r8]
lea r8, [r8 + 4]
mov ecx, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r8 - 3]
xor edx, dword [r11 + rax*4 + 0x414b40]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r8 - 2]
xor edx, dword [r11 + rax*4 + 0x414b40]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r8 - 1]
xor edx, dword [r11 + rax*4 + 0x414b40]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
xor edx, dword [r11 + rax*4 + 0x414b40]
sub rsi, 1
jne 0x140044a00
movzx eax, byte [r8]
mov ecx, edx
movups xmm0, xmmword [rbp - 0x30]
xor rcx, rax
shr edx, 8
movzx eax, cl
xor edx, dword [r11 + rax*4 + 0x414b40]
not edx
mov eax, edx
shl edx, 8
shr eax, 0x18
mov byte [rbp - 0x13], al
mov eax, edx
shr eax, 0x18
shl edx, 8
mov byte [rbp - 0x12], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 0x11], al
mov rax, qword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x20]
shl edx, 8
shr edx, 0x18
movups xmmword [rax], xmm0
mov byte [rbp - 0x10], dl
movsd xmm0, qword [rbp - 0x10]
movups xmmword [rax + 0x10], xmm1
movsd qword [rax + 0x20], xmm0
mov byte [rax + 0x28], 0x54
mov rcx, qword [rbp - 0x50]
mov rsi, qword [rbp - 0x48]
lea r14, [rcx + 0x10]
cmp r14, rsi
jbe 0x140044b35
cmp dword [rbp - 0x38], 0
je 0x140044b29
mov ecx, 0x80
nop word [rax + rax]
lea rax, [rsi + rsi]
cmp rax, rcx
mov rsi, rax
cmovb rsi, rcx
cmp r14, rsi
ja 0x140044af0
mov rcx, qword [rbp - 0x40]
mov rdx, rsi
call fcn.140170274
test rax, rax
je 0x140044b29
mov rcx, qword [rbp - 0x50]
lea r11, [0x140000000]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rsi
jmp 0x140044b39
mov qword [r15], 0
jmp 0x140044c62
mov rax, qword [rbp - 0x40]
movups xmm0, xmmword [0x140415a20]
movups xmmword [rcx + rax], xmm0
mov r8, qword [r15]
mov r10, qword [rbp - 0x40]
add r8, 4
mov qword [rbp - 0x50], r14
lea rdx, [r10 + 0x25]
cmp r8, 4
jb 0x140044bd5
mov r9, r8
shr r9, 2
imul rax, r9, 0xfffffffffffffffc
add r8, rax
nop dword [rax + rax]
movzx eax, byte [rdx]
mov ecx, ebx
xor rcx, rax
shr ebx, 8
movzx eax, cl
movzx ecx, byte [rdx + 1]
xor ebx, dword [r11 + rax*4 + 0x414b40]
mov eax, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [rdx + 2]
xor ebx, dword [r11 + rax*4 + 0x414b40]
mov eax, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [rdx + 3]
add rdx, 4
xor ebx, dword [r11 + rax*4 + 0x414b40]
mov eax, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
xor ebx, dword [r11 + rax*4 + 0x414b40]
sub r9, 1
jne 0x140044b70
test r8, r8
je 0x140044c00
nop word [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov ecx, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
xor ebx, dword [r11 + rax*4 + 0x414b40]
sub r8, 1
jne 0x140044be0
not ebx
mov eax, ebx
shl ebx, 8
shr eax, 0x18
mov edx, ebx
mov byte [r14 + r10 - 0x10], al
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x50]
shr edx, 0x18
shl ebx, 8
mov byte [rax + rcx - 0xf], dl
mov edx, ebx
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x50]
shr edx, 0x18
shl ebx, 8
shr ebx, 0x18
mov byte [rax + rcx - 0xe], dl
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x50]
mov byte [rax + rcx - 0xd], bl
mov rcx, rdi
add qword [r15], 0x39
call fcn.140170264
mov rax, qword [rbp - 0x40]
jmp 0x140044c75
mov dword [rdi + 0x84], 0xfffffffe
mov rcx, rdi
call fcn.140170264
mov rcx, qword [rbp - 0x40]
call fcn.140170264
xor eax, eax
mov r14, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret