Function at 0x140008d80
Capabilities:
Compress data via zlib inflate or deflate
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push r12
push r14
mov rbp, rsp
sub rsp, 0x78
mov rbx, rcx
test rcx, rcx
je 0x14000a30b
mov r14, qword [rcx + 0x28]
test r14, r14
je 0x14000a30b
mov r9, qword [rcx + 0x10]
mov qword [rbp - 0x38], r9
test r9, r9
je 0x14000a30b
mov r12, qword [rcx]
test r12, r12
jne 0x140008dce
cmp dword [rcx + 8], r12d
jne 0x14000a30b
mov eax, dword [r14]
mov r10d, dword [rcx + 0x18]
mov qword [rsp + 0x70], rsi
mov esi, dword [rcx + 8]
mov qword [rsp + 0x68], rdi
mov edi, dword [r14 + 0x44]
cmp eax, 0xb
mov qword [rsp + 0x60], r13
mov r13d, dword [r14 + 0x40]
mov r11d, SafeArrayDestroy
mov qword [rsp + 0x58], r15
mov dword [rbp + 0x38], r10d
cmove eax, r11d
xor r15d, r15d
mov dword [rbp - 0x40], esi
mov r8d, r10d
mov dword [rbp - 0x44], r10d
mov dword [rbp + 0x30], r15d
mov dword [r14], eax
cmp eax, 0x1c
ja case.default.0x140008e35
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0xa31c]
add rcx, rdx
jmp rcx
mov edx, dword [r14 + 8]
test edx, edx
jne 0x140008e47
mov dword [r14], r11d
jmp 0x14000945a
cmp edi, 0x10
jae 0x140008e71
nop dword [rax]
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x140008e50
test dl, 2
je 0x140008ebb
cmp r13d, 0x8b1f
jne 0x140008ebb
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400045b0
lea rdx, [rbp + 0x40]
mov r8d, 2
mov ecx, eax
mov dword [r14 + 0x18], eax
mov word [rbp + 0x40], r13w
call fcn.1400045c0
mov r13d, r15d
mov edi, r15d
mov dword [r14 + 0x18], eax
mov dword [r14], 1
jmp 0x140009452
mov rax, qword [r14 + 0x20]
mov dword [r14 + 0x10], r15d
test rax, rax
je 0x140008ecf
mov dword [rax + 0x40], 0xffffffff
test byte [r14 + 8], 1
je 0x140008f8e
movzx ecx, r13b
mov eax, r13d
shr eax, 8
shl ecx, 8
add ecx, eax
mov eax, 0x8421085
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 0x140008f8e
mov eax, r13d
and al, 0xf
cmp al, 8
je 0x140008f26
lea rax, str.unknown_compression_method
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x14000945a
shr r13d, 4
add edi, 0xfffffffc
mov ecx, r13d
and ecx, 0xf
add ecx, 8
cmp ecx, dword [r14 + 0x28]
jbe 0x140008f53
lea rax, str.invalid_window_size
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x14000945a
mov eax, 1
xor r8d, r8d
xor edx, edx
shl eax, cl
xor ecx, ecx
mov dword [r14 + 0x14], eax
call fcn.1400048e0
shr r13d, 8
not r13d
mov edi, r15d
mov dword [r14 + 0x18], eax
and r13d, 2
mov dword [rbx + 0x4c], eax
or r13d, 9
mov dword [r14], r13d
mov r13d, r15d
jmp 0x140009452
lea rax, str.incorrect_header_check
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x14000945a
cmp edi, 0x10
jae 0x140008fd1
nop word [rax + rax]
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x140008fb0
mov dword [r14 + 0x10], r13d
cmp r13b, 8
jne 0x140008f0f
test r13d, 0xe000
je 0x140008fff
lea rax, str.unknown_header_flags_set
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x14000945a
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x140009013
mov eax, r13d
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [r14 + 0x10], 0x200
je 0x140009040
mov ecx, dword [r14 + 0x18]
mov byte [rbp + 0x40], r13b
shr r13d, 8
lea rdx, [rbp + 0x40]
mov r8d, 2
mov byte [rbp + 0x41], r13b
call fcn.1400045c0
mov dword [r14 + 0x18], eax
mov r13d, r15d
mov edi, r15d
mov dword [r14], 2
jmp 0x140009054
cmp edi, 0x20
jae 0x140009075
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x140009054
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x140009082
mov dword [rax + 4], r13d
test dword [r14 + 0x10], 0x200
je 0x1400090c1
mov ecx, dword [r14 + 0x18]
mov eax, r13d
mov byte [rbp + 0x40], r13b
shr eax, 8
lea rdx, [rbp + 0x40]
mov r8d, 4
mov byte [rbp + 0x41], al
mov eax, r13d
shr r13d, 0x18
shr eax, 0x10
mov byte [rbp + 0x43], r13b
mov byte [rbp + 0x42], al
call fcn.1400045c0
mov dword [r14 + 0x18], eax
mov r13d, r15d
mov edi, r15d
mov dword [r14], 3
jmp 0x1400090d5
cmp edi, 0x10
jae 0x1400090f6
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x1400090d5
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x140009113
movzx eax, r13b
mov dword [rcx + 8], eax
mov rax, qword [r14 + 0x20]
mov ecx, r13d
shr ecx, 8
mov dword [rax + 0xc], ecx
test dword [r14 + 0x10], 0x200
je 0x140009140
mov ecx, dword [r14 + 0x18]
mov byte [rbp + 0x40], r13b
shr r13d, 8
lea rdx, [rbp + 0x40]
mov r8d, 2
mov byte [rbp + 0x41], r13b
call fcn.1400045c0
mov dword [r14 + 0x18], eax
mov r13d, r15d
mov edi, r15d
mov dword [r14], 4
test dword [r14 + 0x10], 0x400
je 0x1400091c7
cmp edi, 0x10
jae 0x140009181
nop dword [rax]
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x140009160
mov rax, qword [r14 + 0x20]
mov dword [r14 + 0x48], r13d
test rax, rax
je 0x140009192
mov dword [rax + 0x18], r13d
test dword [r14 + 0x10], 0x200
je 0x1400091bf
mov ecx, dword [r14 + 0x18]
mov byte [rbp + 0x40], r13b
shr r13d, 8
lea rdx, [rbp + 0x40]
mov r8d, 2
mov byte [rbp + 0x41], r13b
call fcn.1400045c0
mov dword [r14 + 0x18], eax
mov r13d, r15d
mov edi, r15d
jmp 0x1400091d4
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x1400091d4
mov qword [rax + 0x10], r15
mov dword [r14], 5
test dword [r14 + 0x10], 0x400
je 0x14000926c
mov ecx, dword [r14 + 0x48]
cmp ecx, esi
mov ebx, ecx
cmova ebx, esi
test ebx, ebx
je 0x140009261
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x14000922f
mov r9, qword [rax + 0x10]
test r9, r9
je 0x14000922f
mov edx, dword [rax + 0x18]
sub edx, ecx
mov ecx, dword [rax + 0x1c]
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x14000921d
sub ecx, edx
jmp 0x14000921f
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r12
add rcx, r9
call fcn.14000f470
test dword [r14 + 0x10], 0x200
je 0x140009256
test r12, r12
jne 0x140009243
mov eax, r15d
jmp 0x140009252
mov ecx, dword [r14 + 0x18]
mov r8d, ebx
mov rdx, r12
call fcn.1400045c0
mov dword [r14 + 0x18], eax
mov eax, ebx
sub esi, ebx
add r12, rax
sub dword [r14 + 0x48], ebx
cmp dword [r14 + 0x48], 0
jne 0x14000a205
mov dword [r14 + 0x48], r15d
mov dword [r14], 6
test dword [r14 + 0x10], 0x800
je 0x140009301
test esi, esi
je 0x14000a205
mov r8, r12
mov rax, qword [r14 + 0x20]
movzx ebx, byte [r8]
inc r15d
inc r8
test rax, rax
je 0x1400092bc
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x1400092bc
mov ecx, dword [r14 + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x1400092bc
mov byte [rcx + rdx], bl
inc dword [r14 + 0x48]
test ebx, ebx
je 0x1400092c5
cmp r15d, esi
jb 0x140009290
test dword [r14 + 0x10], 0x200
je 0x1400092eb
test r12, r12
jne 0x1400092d8
xor eax, eax
jmp 0x1400092e7
mov ecx, dword [r14 + 0x18]
mov r8d, r15d
mov rdx, r12
call fcn.1400045c0
mov dword [r14 + 0x18], eax
mov eax, r15d
sub esi, r15d
add r12, rax
test ebx, ebx
jne 0x14000a205
xor r15d, r15d
jmp 0x14000930e
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x14000930e
mov qword [rax + 0x20], r15
mov dword [r14 + 0x48], r15d
mov dword [r14], 7
test dword [r14 + 0x10], 0x1000
je 0x1400093a3
test esi, esi
je 0x14000a205
mov r8, r12
mov rax, qword [r14 + 0x20]
movzx ebx, byte [r8]
inc r15d
inc r8
test rax, rax
je 0x14000935e
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14000935e
mov ecx, dword [r14 + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x14000935e
mov byte [rcx + rdx], bl
inc dword [r14 + 0x48]
test ebx, ebx
je 0x140009367
cmp r15d, esi
jb 0x140009332
test dword [r14 + 0x10], 0x200
je 0x14000938d
test r12, r12
jne 0x14000937a
xor eax, eax
jmp 0x140009389
mov ecx, dword [r14 + 0x18]
mov r8d, r15d
mov rdx, r12
call fcn.1400045c0
mov dword [r14 + 0x18], eax
mov eax, r15d
sub esi, r15d
add r12, rax
test ebx, ebx
jne 0x14000a205
xor r15d, r15d
jmp 0x1400093b0
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x1400093b0
mov qword [rax + 0x30], r15
mov rbx, qword [rbp + 0x28]
mov r9, qword [rbp - 0x38]
mov r10d, dword [rbp + 0x38]
mov dword [r14], 8
test dword [r14 + 0x10], 0x200
je 0x140009417
cmp edi, 0x10
jae 0x1400093f3
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x1400093d2
movzx eax, word [r14 + 0x18]
cmp r13d, eax
je 0x140009411
lea rax, str.header_crc_mismatch
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x14000945a
mov r13d, r15d
mov edi, r15d
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x140009438
mov eax, dword [r14 + 0x10]
sar eax, 9
and eax, 1
mov dword [rcx + 0x3c], eax
mov rax, qword [r14 + 0x20]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400045b0
mov dword [r14 + 0x18], eax
mov dword [rbx + 0x4c], eax
mov dword [r14], SafeArrayDestroy
mov r10d, dword [rbp + 0x38]
mov r9, qword [rbp - 0x38]
mov eax, dword [r14]
cmp eax, 0x1c
ja case.default.0x140008e35
mov r8d, dword [rbp - 0x44]
xor r15d, r15d
lea r11d, [r15 + 0xc]
jmp 0x140008e22
cmp edi, 0x20
jae 0x1400094a1
nop dword [rax + rax]
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x140009480
mov ecx, r13d
mov eax, r13d
mov edi, r15d
shl eax, 0x10
and ecx, 0xff00
mov dword [r14], 0xa
add ecx, eax
mov eax, r13d
shr r13d, 0x18
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
add eax, r13d
mov r13d, r15d
mov dword [r14 + 0x18], eax
mov dword [rbx + 0x4c], eax
cmp dword [r14 + 0xc], 0
je 0x14000a1ae
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400048e0
mov r9, qword [rbp - 0x38]
mov r10d, dword [rbp + 0x38]
mov dword [r14 + 0x18], eax
mov dword [rbx + 0x4c], eax
mov dword [r14], SafeArrayDestroy
cmp dword [r14 + 4], 0
je 0x140009527
mov ecx, edi
mov dword [r14], reloc.OLEAUT32.dll_SafeArrayGetElement
and ecx, 7
shr r13d, cl
sub edi, ecx
jmp 0x14000945a
cmp edi, 3
jae 0x140009551
nop dword [rax]
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 3
jb 0x140009530
mov eax, r13d
shr r13d, 1
dec edi
and eax, 1
mov dword [r14 + 4], eax
mov eax, r13d
and eax, 3
je 0x1400095de
dec eax
je 0x1400095a5
dec eax
je 0x140009592
dec eax
jne 0x1400095e5
lea rax, str.invalid_block_type
shr r13d, 2
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
add edi, 0xfffffffe
jmp 0x14000945a
shr r13d, 2
mov dword [r14], reloc.OLEAUT32.dll_SafeArrayDestroy
add edi, 0xfffffffe
jmp 0x14000945a
lea rax, [0x1400242c0]
shr r13d, 2
mov dword [r14 + 0x68], 9
mov qword [r14 + 0x58], rax
lea rax, [0x140024ac0]
mov dword [r14 + 0x6c], 5
mov dword [r14], SafeArrayGetElement
add edi, 0xfffffffe
mov qword [r14 + 0x60], rax
jmp 0x14000945a
mov dword [r14], SafeArrayDestroy
shr r13d, 2
add edi, 0xfffffffe
jmp 0x14000945a
mov ecx, edi
and ecx, 7
sub edi, ecx
shr r13d, cl
cmp edi, 0x20
jae 0x140009621
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x140009600
mov eax, r13d
movzx ecx, r13w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x140009648
lea rax, str.invalid_stored_block_lengths
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x14000945a
mov dword [r14 + 0x48], ecx
mov r13d, r15d
mov edi, r15d
mov dword [r14], SafeArrayDestroy
mov r15d, dword [r14 + 0x48]
test r15d, r15d
je 0x1400096b3
cmp r15d, esi
cmova r15d, esi
cmp r15d, r10d
cmova r15d, r10d
test r15d, r15d
je 0x14000a205
mov r8d, r15d
mov rdx, r12
mov rcx, r9
mov ebx, r15d
call fcn.14000f470
mov r10d, dword [rbp + 0x38]
mov r9, qword [rbp - 0x38]
sub r10d, r15d
add r12, rbx
add r9, rbx
mov rbx, qword [rbp + 0x28]
sub esi, r15d
sub dword [r14 + 0x48], r15d
mov dword [rbp + 0x38], r10d
mov qword [rbp - 0x38], r9
jmp 0x14000945a
mov dword [r14], SafeArrayDestroy
jmp 0x14000945a
cmp edi, 0xe
jae 0x1400096e5
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0xe
jb 0x1400096c4
mov ecx, r13d
shr r13d, 5
add edi, 0xfffffff2
mov edx, r13d
shr r13d, 5
and ecx, 0x1f
mov eax, r13d
and edx, 0x1f
add ecx, 0x101
and eax, 0xf
inc edx
shr r13d, 4
add eax, 4
mov dword [r14 + 0x74], ecx
mov dword [r14 + 0x78], edx
mov dword [r14 + 0x70], eax
cmp ecx, 0x11e
ja 0x140009834
cmp edx, 0x1e
ja 0x140009834
mov dword [r14 + 0x7c], r15d
mov dword [r14], 0x10
lea rdx, [0x140000000]
mov eax, dword [r14 + 0x70]
cmp dword [r14 + 0x7c], eax
jae 0x1400097a8
nop
cmp edi, 3
jae 0x140009776
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 3
jb 0x140009755
mov eax, dword [r14 + 0x7c]
movzx ecx, r13w
add edi, 0xfffffffd
movzx eax, word [rdx + rax*2 + 0x24028]
and cx, 7
shr r13d, 3
mov word [r14 + rax*2 + 0x88], cx
inc dword [r14 + 0x7c]
mov eax, dword [r14 + 0x70]
cmp dword [r14 + 0x7c], eax
jb 0x140009750
cmp dword [r14 + 0x7c], 0x13
jae 0x1400097d0
nop
mov eax, dword [r14 + 0x7c]
movzx eax, word [rdx + rax*2 + 0x24028]
mov word [r14 + rax*2 + 0x88], r15w
inc dword [r14 + 0x7c]
cmp dword [r14 + 0x7c], 0x13
jb 0x1400097b0
lea rcx, [r14 + 0x68]
lea rax, [r14 + 0x548]
lea r9, [r14 + 0x80]
mov qword [r9], rax
mov qword [r14 + 0x58], rax
lea rax, [r14 + 0x308]
mov qword [rsp + 0x28], rax
mov dword [rcx], 7
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea rdx, [r14 + 0x88]
lea r8d, [rcx + 0x13]
call fcn.1400082e0
mov r10d, dword [rbp + 0x38]
mov dword [rbp + 0x30], eax
test eax, eax
je 0x14000984b
lea rax, str.invalid_code_lengths_set
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x140009456
lea rax, str.too_many_length_or_distance_symbols
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x14000945a
mov dword [r14 + 0x7c], r15d
mov dword [r14], SafeArrayUnaccessData
mov eax, dword [r14 + 0x78]
add eax, dword [r14 + 0x74]
cmp dword [r14 + 0x7c], eax
jae 0x140009a97
nop dword [rax + rax]
mov ecx, dword [r14 + 0x68]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r13d
and rcx, rax
mov rax, qword [r14 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rbp - 0x48], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x1400098e6
nop word [rax + rax]
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r14 + 0x68]
dec esi
add r13d, eax
mov eax, 1
inc r12
shl eax, cl
lea ecx, [rax - 1]
mov eax, r13d
and rcx, rax
mov rax, qword [r14 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rbp - 0x48], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x1400098a0
mov ecx, eax
shr ecx, 0x10
cmp cx, 0x10
jae 0x140009945
movzx edx, byte [rbp - 0x47]
shr eax, 8
movzx ecx, al
cmp edi, ecx
jae 0x140009923
nop
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
movzx eax, dl
cmp edi, eax
jb 0x140009900
movzx eax, word [rbp - 0x46]
movzx ecx, dl
shr r13d, cl
sub edi, ecx
mov ecx, dword [r14 + 0x7c]
mov word [r14 + rcx*2 + 0x88], ax
inc dword [r14 + 0x7c]
jmp 0x140009a85
movzx eax, word [rbp - 0x46]
cmp ax, 0x10
jne 0x1400099b5
movzx r8d, byte [rbp - 0x47]
lea edx, [r8 + 2]
cmp edi, edx
jae 0x140009980
nop dword [rax]
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, edx
jb 0x140009960
mov eax, dword [r14 + 0x7c]
mov ecx, r8d
sub edi, r8d
shr r13d, cl
test eax, eax
je 0x140009b0c
mov edx, r13d
dec eax
shr r13d, 2
movzx r8d, word [r14 + rax*2 + 0x88]
and edx, 3
add edx, 3
add edi, 0xfffffffe
jmp 0x140009a50
movzx r9d, byte [rbp - 0x47]
cmp ax, 0x11
jne 0x140009a02
lea edx, [r9 + 3]
cmp edi, edx
jae 0x1400099e8
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, edx
jb 0x1400099c8
mov ecx, r9d
mov eax, 0xfffffffd
shr r13d, cl
mov edx, r13d
and edx, 7
add edx, 3
shr r13d, 3
jmp 0x140009a48
lea edx, [r9 + 7]
cmp edi, edx
jae 0x140009a30
nop word [rax + rax]
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, edx
jb 0x140009a10
mov ecx, r9d
mov eax, 0xfffffff9
shr r13d, cl
mov edx, r13d
and edx, 0x7f
add edx, 0xb
shr r13d, 7
sub eax, r9d
mov r8d, r15d
add edi, eax
mov eax, dword [r14 + 0x7c]
lea ecx, [rdx + rax]
mov eax, dword [r14 + 0x78]
add eax, dword [r14 + 0x74]
cmp ecx, eax
ja 0x140009b0c
test edx, edx
je 0x140009a85
nop dword [rax + rax]
mov eax, dword [r14 + 0x7c]
mov word [r14 + rax*2 + 0x88], r8w
inc dword [r14 + 0x7c]
dec edx
jne 0x140009a70
mov eax, dword [r14 + 0x78]
add eax, dword [r14 + 0x74]
cmp dword [r14 + 0x7c], eax
jb 0x140009870
cmp dword [r14], 0x1b
je 0x140009456
mov r8d, dword [r14 + 0x74]
lea rax, [r14 + 0x548]
lea r15, [r14 + 0x308]
mov qword [r14 + 0x80], rax
mov qword [r14 + 0x58], rax
lea rax, [r14 + 0x68]
lea rdx, [r14 + 0x88]
lea r9, [r14 + 0x80]
mov ecx, 1
mov qword [rsp + 0x28], r15
mov dword [rax], 9
mov qword [rsp + 0x20], rax
call fcn.1400082e0
mov dword [rbp + 0x30], eax
test eax, eax
je 0x140009b23
mov rbx, qword [rbp + 0x28]
lea rax, str.invalid_literal_lengths_set
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x140009452
lea rax, str.invalid_bit_length_repeat
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x140009456
mov rax, qword [r14 + 0x80]
mov r8d, dword [r14 + 0x78]
lea rcx, [r14 + 0x6c]
mov qword [r14 + 0x60], rax
mov eax, dword [r14 + 0x74]
mov dword [rcx], 6
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
lea r9, [r14 + 0x80]
lea rdx, [r14 + rax*2 + 0x88]
mov ecx, 2
call fcn.1400082e0
mov rbx, qword [rbp + 0x28]
mov r9, qword [rbp - 0x38]
mov r10d, dword [rbp + 0x38]
mov dword [rbp + 0x30], eax
test eax, eax
je 0x140009b8d
lea rax, str.invalid_distances_set
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x14000945a
mov r8d, dword [rbp - 0x44]
mov dword [r14], SafeArrayGetElement
cmp esi, 6
jb 0x140009bea
cmp r10d, 0x102
jb 0x140009bea
mov edx, r8d
mov rcx, rbx
mov qword [rbx + 0x10], r9
mov dword [rbx + 0x18], r10d
mov qword [rbx], r12
mov dword [rbx + 8], esi
mov dword [r14 + 0x40], r13d
mov dword [r14 + 0x44], edi
call fcn.140008890
mov r9, qword [rbx + 0x10]
mov r10d, dword [rbx + 0x18]
mov r12, qword [rbx]
mov esi, dword [rbx + 8]
mov r13d, dword [r14 + 0x40]
mov edi, dword [r14 + 0x44]
mov qword [rbp - 0x38], r9
mov dword [rbp + 0x38], r10d
jmp 0x14000945a
mov ecx, dword [r14 + 0x68]
mov r11, qword [r14 + 0x58]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r13d
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x140009c55
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r14 + 0x68]
dec esi
add r13d, eax
mov eax, 1
inc r12
shl eax, cl
lea ecx, [rax - 1]
mov eax, r13d
and rcx, rax
mov rax, qword [r14 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x140009c12
test al, al
je 0x140009d24
test al, 0xf0
jne 0x140009d24
mov r10d, eax
movzx ecx, al
mov dword [rbp - 0x48], eax
shr r10d, 8
mov r9d, 1
mov edx, eax
movzx r8d, r10b
shr eax, 0x10
add ecx, r8d
shl r9d, cl
mov ecx, r8d
dec r9d
and r9d, r13d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
movzx r11d, byte [rbp - 0x47]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, edi
jbe 0x140009d1b
movzx r10d, word [rbp - 0x46]
nop dword [rax]
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
movzx r9d, r11b
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add r13d, eax
movzx eax, r10w
shl r8d, cl
mov ecx, r9d
add edi, 8
dec r8d
dec esi
inc r12
and r8d, r13d
shr r8d, cl
add r8d, eax
mov rax, qword [r14 + 0x58]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x140009cc0
movzx ecx, r11b
shr r13d, cl
sub edi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr r13d, cl
sub edi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [r14 + 0x48], ecx
test al, al
jne 0x140009d4a
mov dword [r14], reloc.OLEAUT32.dll_SafeArrayUnaccessData
jmp 0x140009452
test al, 0x20
jne 0x14000944b
test al, 0x40
je 0x140009d6d
lea rax, str.invalid_literal_length_code
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x140009452
movzx ecx, al
mov dword [r14], SafeArrayGetElement
and ecx, 0xf
mov dword [r14 + 0x50], ecx
mov edx, dword [r14 + 0x50]
test edx, edx
je 0x140009dc9
cmp edi, edx
jae 0x140009db2
nop word [rax + rax]
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, dword [r14 + 0x50]
jb 0x140009d90
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and eax, r13d
shr r13d, cl
add dword [r14 + 0x48], eax
sub edi, edx
mov dword [r14], SafeArrayGetElement
mov ecx, dword [r14 + 0x6c]
mov r11, qword [r14 + 0x60]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r13d
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x140009e3b
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r14 + 0x6c]
dec esi
add r13d, eax
mov eax, 1
inc r12
shl eax, cl
lea ecx, [rax - 1]
mov eax, r13d
and rcx, rax
mov rax, qword [r14 + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x140009df8
test al, 0xf0
jne 0x140009efb
mov r10d, eax
movzx ecx, al
mov dword [rbp - 0x48], eax
shr r10d, 8
mov r9d, 1
mov edx, eax
movzx r8d, r10b
shr eax, 0x10
add ecx, r8d
shl r9d, cl
mov ecx, r8d
dec r9d
and r9d, r13d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
movzx r11d, byte [rbp - 0x47]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, edi
jbe 0x140009ef2
movzx r10d, word [rbp - 0x46]
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
movzx r9d, r11b
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add r13d, eax
movzx eax, r10w
shl r8d, cl
mov ecx, r9d
add edi, 8
dec r8d
dec esi
inc r12
and r8d, r13d
shr r8d, cl
add r8d, eax
mov rax, qword [r14 + 0x60]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x140009e97
movzx ecx, r11b
shr r13d, cl
sub edi, ecx
mov r9, qword [rbp - 0x38]
mov r10d, dword [rbp + 0x38]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr r13d, cl
sub edi, ecx
test al, 0x40
je 0x140009f2b
lea rax, str.invalid_distance_code
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x14000945a
mov r8d, dword [rbp - 0x44]
mov ecx, eax
mov dword [r14], SafeArrayGetElement
shr ecx, 0x10
mov dword [r14 + 0x4c], ecx
movzx ecx, al
and ecx, 0xf
mov dword [r14 + 0x50], ecx
mov edx, dword [r14 + 0x50]
test edx, edx
je 0x140009f8e
cmp edi, edx
jae 0x140009f77
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, dword [r14 + 0x50]
jb 0x140009f55
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and eax, r13d
shr r13d, cl
add dword [r14 + 0x4c], eax
sub edi, edx
mov eax, dword [r14 + 0x30]
sub eax, r10d
add eax, r8d
cmp dword [r14 + 0x4c], eax
jbe 0x140009fb5
lea rax, [0x140024c80]
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x14000945a
mov dword [r14], SafeArrayGetElement
test r10d, r10d
je 0x14000a205
mov ecx, dword [r14 + 0x4c]
mov eax, r8d
sub eax, r10d
cmp ecx, eax
jbe 0x140009ff9
sub ecx, eax
mov eax, dword [r14 + 0x34]
cmp ecx, eax
jbe 0x140009fe7
mov edx, dword [r14 + 0x2c]
sub ecx, eax
sub edx, ecx
jmp 0x140009feb
sub eax, ecx
mov edx, eax
mov eax, dword [r14 + 0x48]
add rdx, qword [r14 + 0x38]
cmp ecx, eax
jbe 0x14000a005
jmp 0x14000a003
mov eax, dword [r14 + 0x48]
mov rdx, r9
sub rdx, rcx
mov ecx, eax
cmp ecx, r10d
cmova ecx, r10d
sub r10d, ecx
sub eax, ecx
sub rdx, r9
mov dword [rbp + 0x38], r10d
mov dword [r14 + 0x48], eax
nop dword [rax]
movzx eax, byte [rdx + r9]
inc r9
dec ecx
mov byte [r9 - 1], al
jne 0x14000a020
mov qword [rbp - 0x38], r9
cmp dword [r14 + 0x48], ecx
jne 0x14000945a
mov dword [r14], SafeArrayGetElement
jmp 0x14000945a
test r10d, r10d
je 0x14000a205
movzx eax, byte [r14 + 0x48]
inc r9
dec r10d
mov byte [r9 - 1], al
mov dword [rbp + 0x38], r10d
mov qword [rbp - 0x38], r9
mov dword [r14], SafeArrayGetElement
jmp 0x14000945a
cmp dword [r14 + 8], 0
je 0x14000a14b
cmp edi, 0x20
jae 0x14000a0a7
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x14000a086
sub r8d, r10d
add dword [rbx + 0x1c], r8d
add dword [r14 + 0x1c], r8d
test r8d, r8d
je 0x14000a0f4
cmp dword [r14 + 0x10], 0
mov eax, r8d
mov rdx, r9
je 0x14000a0d9
sub rdx, rax
jne 0x14000a0ce
mov eax, r15d
jmp 0x14000a0ed
mov ecx, dword [r14 + 0x18]
call fcn.1400045c0
jmp 0x14000a0e5
mov ecx, dword [r14 + 0x18]
sub rdx, rax
call fcn.1400048e0
mov r10d, dword [rbp + 0x38]
mov r9, qword [rbp - 0x38]
mov dword [r14 + 0x18], eax
mov dword [rbx + 0x4c], eax
cmp dword [r14 + 0x10], 0
mov dword [rbp - 0x44], r10d
mov ecx, r13d
jne 0x14000a128
and ecx, 0xff00
mov eax, r13d
shl eax, 0x10
add ecx, eax
mov eax, r13d
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, r13d
shr eax, 0x18
add ecx, eax
cmp ecx, dword [r14 + 0x18]
je 0x14000a145
lea rax, str.incorrect_data_check
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x14000945a
mov r13d, r15d
mov edi, r15d
mov dword [r14], SafeArrayCopy
cmp dword [r14 + 8], 0
je 0x14000a1ee
cmp dword [r14 + 0x10], 0
je 0x14000a1ee
cmp edi, 0x20
jae 0x14000a191
nop dword [rax]
test esi, esi
je 0x14000a205
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x14000a170
cmp r13d, dword [r14 + 0x1c]
je 0x14000a1e8
lea rax, str.incorrect_length_check
mov dword [r14], 0x1b
mov qword [rbx + 0x20], rax
jmp 0x14000945a
mov qword [rbx + 0x10], r9
mov dword [rbx + 0x18], r10d
mov qword [rbx], r12
mov dword [rbx + 8], esi
mov dword [r14 + 0x40], r13d
mov dword [r14 + 0x44], edi
mov eax, 2
mov r13, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x58]
add rsp, 0x78
pop r14
pop r12
pop rbx
pop rbp
ret
mov r13d, r15d
mov edi, r15d
mov dword [r14], reloc.OLEAUT32.dll_SafeArrayCopy
mov r15d, 1
jmp 0x14000a209
mov r15d, 0xfffffffd
jmp 0x14000a209
mov r15d, dword [rbp + 0x30]
cmp dword [r14 + 0x2c], 0
mov rbx, qword [rbp + 0x28]
mov rax, qword [rbp - 0x38]
mov qword [rbx + 0x10], rax
mov eax, dword [rbp + 0x38]
mov dword [r14 + 0x44], edi
mov edi, dword [rbp - 0x44]
mov qword [rbx], r12
mov dword [rbx + 8], esi
mov dword [rbx + 0x18], eax
mov dword [r14 + 0x40], r13d
jne 0x14000a23d
cmp dword [r14], 0x18
jge 0x14000a25c
cmp edi, eax
je 0x14000a25c
mov edx, edi
mov rcx, rbx
call fcn.140008780
test eax, eax
je 0x14000a25c
mov dword [r14], 0x1c
mov eax, 0xfffffffc
jmp 0x14000a1c9
sub edi, dword [rbx + 0x18]
mov r8d, dword [rbp - 0x40]
sub r8d, dword [rbx + 8]
add dword [rbx + 0x1c], edi
add dword [r14 + 0x1c], edi
add dword [rbx + 0xc], r8d
cmp dword [r14 + 8], 0
mov dword [rbp - 0x40], r8d
je 0x14000a2bf
test edi, edi
je 0x14000a2bf
cmp dword [r14 + 0x10], 0
mov rdx, qword [rbx + 0x10]
mov eax, edi
je 0x14000a2a5
sub rdx, rax
jne 0x14000a297
xor eax, eax
jmp 0x14000a2b8
mov ecx, dword [r14 + 0x18]
mov r8d, edi
call fcn.1400045c0
jmp 0x14000a2b4
mov ecx, dword [r14 + 0x18]
sub rdx, rax
mov r8d, edi
call fcn.1400048e0
mov r8d, dword [rbp - 0x40]
mov dword [r14 + 0x18], eax
mov dword [rbx + 0x4c], eax
mov eax, dword [r14 + 4]
mov edx, 0x80
neg eax
mov eax, 0
sbb ecx, ecx
and ecx, 0x40
cmp dword [r14], 0xb
cmove eax, edx
add ecx, eax
add ecx, dword [r14 + 0x44]
mov dword [rbx + 0x48], ecx
test r8d, r8d
jne 0x14000a2f9
test edi, edi
jne 0x14000a2f9
mov eax, 0xfffffffb
test r15d, r15d
cmove r15d, eax
mov eax, r15d
jmp 0x14000a1c9
mov eax, 0xfffffffe
jmp 0x14000a1c9
mov eax, 0xfffffffe
add rsp, 0x78
pop r14
pop r12
pop rbx
pop rbp
ret