Function at 0x140006aec
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
xor r11d, r11d
mov ebx, edx
mov r14, rcx
test rcx, rcx
je 0x140006bd7
mov rdi, qword [rcx + 0x28]
test rdi, rdi
je 0x140006bd7
cmp qword [rcx + 0x10], r11
je 0x140006bd7
cmp qword [rcx], r11
jne 0x140006b3a
cmp dword [rcx + 8], r11d
jne 0x140006bd7
mov eax, dword [rdi]
mov r12d, dword [rdi + 0x40]
mov esi, dword [rdi + 0x44]
cmp eax, 0xb
mov ecx, 0xc
mov dword [rbp + 0x48], r11d
cmove eax, ecx
mov dword [rdi], eax
mov r9d, dword [r14 + 0x18]
mov r10, qword [r14 + 0x10]
mov r13, qword [r14]
mov r15d, dword [r14 + 8]
mov qword [rbp - 0x10], r10
mov dword [rbp + 0x58], r9d
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x20], r15d
mov r8d, r9d
mov dword [rbp + 0x60], r9d
mov edx, 0x10
mov eax, 7
mov ecx, dword [rdi]
cmp ecx, 0xf
jg 0x1400074d2
je 0x14000727a
cmp ecx, eax
jg 0x1400071d5
je 0x140006f5a
test ecx, ecx
je 0x140007035
dec ecx
je 0x140006c0f
dec ecx
je 0x140006caf
dec ecx
je 0x140006d35
dec ecx
je 0x140006d93
dec ecx
je 0x140006db3
dec ecx
je 0x140006ec1
mov eax, 0xfffffffe
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, edx
jb 0x140006bed
mov dword [rdi + 0x10], r12d
cmp r12b, 8
je 0x140006c29
lea rax, str.unknown_compression_method
jmp 0x140007189
test r12d, 0xe000
je 0x140006c3e
lea rax, str.unknown_header_flags_set
jmp 0x140007189
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140006c52
mov eax, r12d
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [rdi + 0x10], 0x200
je 0x140006c7f
mov byte [rbp - 0x28], r12b
shr r12d, 8
lea rdx, [rbp - 0x28]
mov byte [rbp - 0x27], r12b
mov ecx, dword [rdi + 0x18]
mov r8d, 2
call fcn.140006320
xor r11d, r11d
mov dword [rdi + 0x18], eax
mov r12d, r11d
mov esi, r11d
mov dword [rdi], 2
jmp 0x140006caf
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 0x20
jb 0x140006c8d
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x140006cc1
mov dword [rax + 4], r12d
test dword [rdi + 0x10], 0x200
je 0x140006d00
mov eax, r12d
mov byte [rbp - 0x28], r12b
lea rdx, [rbp - 0x28]
shr eax, 8
mov r8d, 4
mov byte [rbp - 0x27], al
mov eax, r12d
shr r12d, 0x18
shr eax, 0x10
mov byte [rbp - 0x25], r12b
mov byte [rbp - 0x26], al
mov ecx, dword [rdi + 0x18]
call fcn.140006320
xor r11d, r11d
mov dword [rdi + 0x18], eax
mov r12d, r11d
mov esi, r11d
mov dword [rdi], 3
mov edx, 0x10
jmp 0x140006d35
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, edx
jb 0x140006d13
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140006d56
movzx eax, r12b
mov dword [rcx + 8], eax
mov rax, qword [rdi + 0x20]
mov ecx, r12d
shr ecx, 8
mov dword [rax + 0xc], ecx
test dword [rdi + 0x10], 0x200
je 0x140006d87
mov byte [rbp - 0x28], r12b
shr r12d, 8
lea rdx, [rbp - 0x28]
mov byte [rbp - 0x27], r12b
mov ecx, dword [rdi + 0x18]
mov r8d, 2
call fcn.140006320
xor r11d, r11d
mov dword [rdi + 0x18], eax
lea edx, [r11 + 0x10]
mov r12d, r11d
mov esi, r11d
mov dword [rdi], 4
test dword [rdi + 0x10], 0x400
jne 0x140006e22
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x140006dad
mov qword [rax + 0x10], r11
mov dword [rdi], 5
test dword [rdi + 0x10], 0x400
je 0x140006eb7
mov ebx, dword [rdi + 0x48]
cmp ebx, r15d
cmova ebx, r15d
test ebx, ebx
je 0x140006ead
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x140006e81
mov r9, qword [rax + 0x10]
test r9, r9
je 0x140006e81
mov edx, dword [rax + 0x18]
mov ecx, dword [rax + 0x1c]
sub edx, dword [rdi + 0x48]
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x140006e6f
sub ecx, edx
jmp 0x140006e71
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, edx
jb 0x140006e00
mov rax, qword [rdi + 0x20]
mov dword [rdi + 0x48], r12d
test rax, rax
je 0x140006e37
mov dword [rax + 0x18], r12d
test dword [rdi + 0x10], 0x200
je 0x140006e64
mov byte [rbp - 0x28], r12b
shr r12d, 8
lea rdx, [rbp - 0x28]
mov byte [rbp - 0x27], r12b
mov ecx, dword [rdi + 0x18]
mov r8d, 2
call fcn.140006320
xor r11d, r11d
mov dword [rdi + 0x18], eax
mov r12d, r11d
mov esi, r11d
jmp 0x140006dad
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r13
add rcx, r9
call fcn.140008e30
test dword [rdi + 0x10], 0x200
je 0x140006e9b
mov ecx, dword [rdi + 0x18]
mov r8d, ebx
mov rdx, r13
call fcn.140006320
mov dword [rdi + 0x18], eax
sub dword [rdi + 0x48], ebx
mov eax, ebx
sub r15d, ebx
add r13, rax
xor r11d, r11d
mov qword [rbp - 0x18], r13
cmp dword [rdi + 0x48], r11d
jne 0x140006fd6
mov dword [rdi + 0x48], r11d
mov dword [rdi], 6
test dword [rdi + 0x10], 0x800
je 0x140006f43
test r15d, r15d
je 0x140006fd6
mov ebx, r11d
mov r8, r13
mov rax, qword [rdi + 0x20]
movzx r13d, byte [r8]
inc ebx
inc r8
test rax, rax
je 0x140006f03
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x140006f03
mov ecx, dword [rdi + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x140006f03
mov byte [rcx + rdx], r13b
inc dword [rdi + 0x48]
test r13d, r13d
je 0x140006f0d
cmp ebx, r15d
jb 0x140006ed9
test dword [rdi + 0x10], 0x200
je 0x140006f2b
mov rdx, qword [rbp - 0x18]
mov ecx, dword [rdi + 0x18]
mov r8d, ebx
call fcn.140006320
xor r11d, r11d
mov dword [rdi + 0x18], eax
mov eax, ebx
sub r15d, ebx
add qword [rbp - 0x18], rax
test r13d, r13d
jne 0x140006fd6
mov r13, qword [rbp - 0x18]
jmp 0x140006f50
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x140006f50
mov qword [rax + 0x20], r11
mov dword [rdi + 0x48], r11d
mov dword [rdi], 7
test dword [rdi + 0x10], 0x1000
je 0x140007198
test r15d, r15d
je 0x140006fd6
mov ebx, r11d
mov r8, r13
mov rax, qword [rdi + 0x20]
movzx r13d, byte [r8]
inc ebx
inc r8
test rax, rax
je 0x140006f9c
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x140006f9c
mov ecx, dword [rdi + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x140006f9c
mov byte [rcx + rdx], r13b
inc dword [rdi + 0x48]
test r13d, r13d
je 0x140006fa6
cmp ebx, r15d
jb 0x140006f72
test dword [rdi + 0x10], 0x200
je 0x140006fc4
mov rdx, qword [rbp - 0x18]
mov ecx, dword [rdi + 0x18]
mov r8d, ebx
call fcn.140006320
xor r11d, r11d
mov dword [rdi + 0x18], eax
mov eax, ebx
sub r15d, ebx
add qword [rbp - 0x18], rax
test r13d, r13d
je 0x1400071a5
mov r13d, dword [rbp + 0x48]
mov rax, qword [rbp - 0x10]
mov ebx, dword [rbp + 0x60]
mov dword [r14 + 8], r15d
mov qword [r14 + 0x10], rax
mov eax, dword [rbp + 0x58]
mov dword [r14 + 0x18], eax
mov rax, qword [rbp - 0x18]
mov qword [r14], rax
mov dword [rdi + 0x44], esi
xor esi, esi
mov dword [rdi + 0x40], r12d
cmp dword [rdi + 0x2c], esi
jne 0x140007018
cmp dword [rdi], 0x1a
jge 0x14000808a
cmp ebx, dword [r14 + 0x18]
je 0x14000808a
mov edx, ebx
mov rcx, r14
call fcn.1400069f0
test eax, eax
je 0x14000808a
mov dword [rdi], 0x1e
jmp 0x140007e88
cmp dword [rdi + 8], r11d
jne 0x140007064
mov dword [rdi], 0xc
jmp 0x140006b7f
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, edx
jb 0x140007046
test byte [rdi + 8], 2
je 0x1400070c0
cmp r12d, 0x8b1f
jne 0x1400070c0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140006320
lea rdx, [rbp - 0x28]
mov r8d, 2
mov dword [rdi + 0x18], eax
mov word [rbp - 0x28], r12w
mov ecx, dword [rdi + 0x18]
call fcn.140006320
mov dword [rdi], 1
mov dword [rdi + 0x18], eax
xor r11d, r11d
mov esi, r11d
mov r12d, r11d
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
jmp 0x140006b7a
mov rax, qword [rdi + 0x20]
mov dword [rdi + 0x10], r11d
test rax, rax
je 0x1400070d1
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 8], 1
je 0x140007182
movzx ecx, r12b
mov eax, r12d
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 0x14000717d
mov eax, r12d
and al, 0xf
cmp al, 8
je 0x140007122
lea rax, str.unknown_compression_method
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1d
jmp 0x140006b7a
shr r12d, 4
add esi, 0xfffffffc
mov ecx, r12d
and ecx, 0xf
add ecx, 8
cmp dword [rdi + 0x28], r11d
jne 0x14000716f
mov dword [rdi + 0x28], ecx
mov eax, 1
xor r8d, r8d
xor edx, edx
shl eax, cl
xor ecx, ecx
mov dword [rdi + 0x14], eax
call fcn.1400057b8
shr r12d, 8
not r12d
mov dword [rdi + 0x18], eax
mov dword [r14 + 0x4c], eax
and r12d, 2
or r12d, 9
mov dword [rdi], r12d
jmp 0x1400070a6
cmp ecx, dword [rdi + 0x28]
jbe 0x14000713b
lea rax, str.invalid_window_size
jmp 0x140007113
mov edx, 0x10
lea rax, str.incorrect_header_check
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1d
jmp 0x140006b7f
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x1400071a5
mov qword [rax + 0x30], r11
mov r13, qword [rbp - 0x18]
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov ebx, dword [rbp + 0x50]
mov dword [rdi], 8
mov edx, 0x10
test dword [rdi + 0x10], 0x200
je 0x140007476
jmp 0x140007457
sub ecx, 8
je 0x1400071c3
dec ecx
je 0x1400072ff
dec ecx
je 0x14000733d
dec ecx
je 0x140007373
dec ecx
je 0x140007385
dec ecx
je 0x140007208
dec ecx
jne 0x140006bd7
jmp 0x14000726f
mov ecx, esi
and ecx, 7
shr r12d, cl
sub esi, ecx
jmp 0x140007236
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 0x20
jb 0x140007214
mov eax, r12d
movzx ecx, r12w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x140007257
lea rax, str.invalid_stored_block_lengths
jmp 0x140007189
mov dword [rdi + 0x48], ecx
mov r12d, r11d
mov esi, r11d
mov dword [rdi], 0xe
cmp ebx, 6
je 0x140006fd6
mov dword [rdi], 0xf
mov eax, 7
mov r13d, dword [rdi + 0x48]
test r13d, r13d
je 0x1400074c3
cmp r13d, r15d
cmova r13d, r15d
cmp r13d, r9d
cmova r13d, r9d
test r13d, r13d
je 0x140006fd6
mov rdx, qword [rbp - 0x18]
mov r8d, r13d
mov rcx, r10
mov ebx, r13d
call fcn.140008e30
add qword [rbp - 0x18], rbx
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
sub r15d, r13d
sub r9d, r13d
add r10, rbx
sub dword [rdi + 0x48], r13d
mov r13, qword [rbp - 0x18]
mov ebx, dword [rbp + 0x50]
mov dword [rbp + 0x58], r9d
mov qword [rbp - 0x10], r10
jmp 0x1400074b7
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 0x20
jb 0x1400072dd
mov ecx, r12d
mov eax, r12d
mov edx, 0xff00
shl eax, 0x10
and ecx, edx
mov esi, r11d
add ecx, eax
mov eax, r12d
shr r12d, 0x18
shr eax, 8
shl ecx, 8
and eax, edx
add eax, ecx
add eax, r12d
mov r12d, r11d
mov dword [rdi + 0x18], eax
mov dword [r14 + 0x4c], eax
mov dword [rdi], 0xa
cmp dword [rdi + 0xc], r11d
je 0x140008048
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400057b8
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
xor r11d, r11d
mov dword [rdi + 0x18], eax
mov dword [r14 + 0x4c], eax
mov dword [rdi], 0xb
lea edx, [r11 + 0x10]
cmp ebx, 5
je 0x140006fd6
cmp ebx, 6
je 0x140006fd6
cmp dword [rdi + 4], r11d
je 0x1400073c6
mov ecx, esi
mov eax, 7
mov dword [rdi], 0x1a
and ecx, eax
shr r12d, cl
sub esi, ecx
jmp 0x140006b84
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 3
jb 0x1400073a4
mov eax, r12d
shr r12d, 1
dec esi
and eax, 1
mov dword [rdi + 4], eax
mov eax, r12d
and eax, 3
je 0x140007423
dec eax
je 0x140007404
dec eax
je 0x140007400
dec eax
jne 0x140007429
lea rax, str.invalid_block_type
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1d
jmp 0x140007429
mov dword [rdi], edx
jmp 0x140007429
mov rcx, rdi
call fcn.1400069c8
mov dword [rdi], 0x13
cmp ebx, 6
jne 0x140007429
shr r12d, 2
add esi, 0xfffffffe
jmp 0x140006fd6
mov dword [rdi], 0xd
shr r12d, 2
add esi, 0xfffffffe
jmp 0x140006b7f
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, edx
jb 0x140007435
movzx eax, word [rdi + 0x18]
cmp r12d, eax
je 0x140007470
lea rax, str.header_crc_mismatch
jmp 0x140007189
mov r12d, r11d
mov esi, r11d
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140007496
mov eax, dword [rdi + 0x10]
sar eax, 9
and eax, 1
mov dword [rcx + 0x3c], eax
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140006320
mov dword [rdi + 0x18], eax
mov dword [r14 + 0x4c], eax
mov dword [rdi], 0xb
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov r8d, dword [rbp + 0x60]
xor r11d, r11d
jmp 0x140006b7a
mov r13, qword [rbp - 0x18]
mov dword [rdi], 0xb
jmp 0x140006b84
cmp ecx, 0x17
jg 0x140007e57
je 0x140007db4
sub ecx, edx
je 0x14000753c
dec ecx
je 0x140007596
dec ecx
je 0x140007861
dec ecx
je 0x1400079cc
dec ecx
je 0x1400079d2
dec ecx
je 0x140007bdf
dec ecx
jne 0x140006bd7
jmp 0x140007c3c
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 0xe
jb 0x14000751a
mov ecx, r12d
shr r12d, 5
add esi, 0xfffffff2
mov edx, r12d
shr r12d, 5
and ecx, 0x1f
mov eax, r12d
and edx, 0x1f
add ecx, 0x101
and eax, 0xf
inc edx
shr r12d, 4
add eax, 4
mov dword [rdi + 0x74], ecx
mov dword [rdi + 0x78], edx
mov dword [rdi + 0x70], eax
cmp ecx, 0x11e
ja 0x140007e4b
cmp edx, 0x1e
ja 0x140007e4b
mov eax, 0x11
mov dword [rdi + 0x7c], r11d
mov dword [rdi], eax
mov edx, 7
lea r8, [0x14002a240]
mov eax, dword [rdi + 0x70]
cmp dword [rdi + 0x7c], eax
jae 0x14000760a
jmp 0x1400075ce
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 3
jb 0x1400075ac
mov eax, dword [rdi + 0x7c]
movzx ecx, r12w
shr r12d, 3
movzx eax, word [r8 + rax*2]
and cx, dx
mov word [rdi + rax*2 + 0x88], cx
inc dword [rdi + 0x7c]
add esi, 0xfffffffd
jmp 0x1400075a2
mov eax, dword [rdi + 0x7c]
movzx ecx, word [r8 + rax*2]
mov word [rdi + rcx*2 + 0x88], r11w
inc dword [rdi + 0x7c]
cmp dword [rdi + 0x7c], 0x13
jb 0x1400075f6
lea rcx, [rdi + 0x68]
lea rax, [rdi + 0x548]
lea r9, [rdi + 0x80]
mov dword [rcx], edx
mov qword [r9], rax
mov qword [rdi + 0x58], rax
lea rax, [rdi + 0x308]
lea rdx, [rdi + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea r8d, [rcx + 0x13]
call fcn.1400085e4
xor r11d, r11d
mov dword [rbp + 0x48], eax
test eax, eax
je 0x14000766e
lea rax, str.invalid_code_lengths_set
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1d
jmp 0x1400070af
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x7c], r11d
mov dword [rdi], 0x12
jmp 0x14000785c
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
mov ecx, dword [rdi + 0x68]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [rdi + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rbp - 0x24], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x140007681
mov ecx, eax
shr ecx, 0x10
cmp cx, dx
jae 0x14000772a
shr eax, 8
movzx ecx, al
cmp esi, ecx
jae 0x14000770a
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
add esi, 8
dec r15d
add r12d, eax
movzx eax, byte [rbp - 0x23]
mov qword [rbp - 0x18], r13
cmp esi, eax
jb 0x1400076e0
movzx ecx, byte [rbp - 0x23]
movzx eax, word [rbp - 0x22]
shr r12d, cl
sub esi, ecx
mov ecx, dword [rdi + 0x7c]
mov word [rdi + rcx*2 + 0x88], ax
inc dword [rdi + 0x7c]
jmp 0x140007861
cmp word [rbp - 0x22], dx
jne 0x140007793
movzx edx, byte [rbp - 0x23]
lea r8d, [rdx + 2]
jmp 0x14000775c
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, r8d
jb 0x14000773a
mov eax, dword [rdi + 0x7c]
mov ecx, edx
sub esi, edx
shr r12d, cl
test eax, eax
je 0x140007871
mov edx, r12d
dec eax
shr r12d, 2
movzx r9d, word [rdi + rax*2 + 0x88]
and edx, 3
add edx, 3
add esi, 0xfffffffe
jmp 0x140007835
movzx r8d, byte [rbp - 0x23]
mov eax, 0x11
cmp word [rbp - 0x22], ax
jne 0x1400077e9
lea edx, [r8 + 3]
jmp 0x1400077cb
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, edx
jb 0x1400077a9
mov ecx, r8d
mov eax, 0xfffffffd
shr r12d, cl
mov edx, r12d
and edx, 7
add edx, 3
shr r12d, 3
jmp 0x14000782d
lea edx, [r8 + 7]
jmp 0x140007811
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, edx
jb 0x1400077ef
mov ecx, r8d
mov eax, 0xfffffff9
shr r12d, cl
mov edx, r12d
and edx, 0x7f
add edx, 0xb
shr r12d, 7
sub eax, r8d
mov r9d, r11d
add esi, eax
mov eax, dword [rdi + 0x7c]
lea ecx, [rdx + rax]
mov eax, dword [rdi + 0x78]
add eax, dword [rdi + 0x74]
cmp ecx, eax
ja 0x14000788f
test edx, edx
je 0x14000785c
mov eax, dword [rdi + 0x7c]
mov word [rdi + rax*2 + 0x88], r9w
inc dword [rdi + 0x7c]
dec edx
jne 0x140007849
mov edx, 0x10
mov eax, dword [rdi + 0x78]
add eax, dword [rdi + 0x74]
cmp dword [rdi + 0x7c], eax
jae 0x1400078a0
jmp 0x1400076a3
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
lea rax, str.invalid_bit_length_repeat
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1d
jmp 0x140006b7a
lea rax, str.invalid_bit_length_repeat
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1d
cmp dword [rdi], 0x1d
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov edx, 0x10
lea eax, [rdx - 9]
je 0x140006b84
cmp word [rdi + 0x288], r11w
jne 0x1400078d9
lea rax, str.invalid_code____missing_end_of_block
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1d
jmp 0x140006b7f
mov r8d, dword [rdi + 0x74]
lea rax, [rdi + 0x548]
lea r13, [rdi + 0x308]
mov qword [rdi + 0x80], rax
mov qword [rdi + 0x58], rax
lea rax, [rdi + 0x68]
lea rdx, [rdi + 0x88]
lea r9, [rdi + 0x80]
mov ecx, 1
mov qword [rsp + 0x28], r13
mov dword [rax], 9
mov qword [rsp + 0x20], rax
call fcn.1400085e4
xor r11d, r11d
mov dword [rbp + 0x48], eax
test eax, eax
je 0x140007955
lea rax, str.invalid_literal_lengths_set
mov r13, qword [rbp - 0x18]
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov ebx, dword [rbp + 0x50]
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1d
jmp 0x140006b7a
mov rax, qword [rdi + 0x80]
mov r8d, dword [rdi + 0x78]
lea rcx, [rdi + 0x6c]
mov qword [rdi + 0x60], rax
mov eax, dword [rdi + 0x74]
mov dword [rcx], 6
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea r9, [rdi + 0x80]
lea rdx, [rdi + rax*2 + 0x88]
mov ecx, 2
call fcn.1400085e4
xor r11d, r11d
mov r13d, eax
mov dword [rbp + 0x48], eax
test eax, eax
je 0x1400079aa
lea rax, str.invalid_distances_set
jmp 0x140007933
mov ebx, dword [rbp + 0x50]
mov dword [rdi], 0x13
cmp ebx, 6
je 0x140006fda
mov r13, qword [rbp - 0x18]
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov dword [rdi], 0x14
cmp r15d, 6
jb 0x140007a49
cmp r9d, 0x102
jb 0x140007a49
mov qword [r14 + 0x10], r10
mov dword [r14 + 0x18], r9d
mov qword [r14], r13
mov dword [r14 + 8], r15d
mov edx, r8d
mov rcx, r14
mov dword [rdi + 0x40], r12d
mov dword [rdi + 0x44], esi
call fcn.140006330
cmp dword [rdi], 0xb
mov r10, qword [r14 + 0x10]
mov r9d, dword [r14 + 0x18]
mov r13, qword [r14]
mov r15d, dword [r14 + 8]
mov r12d, dword [rdi + 0x40]
mov esi, dword [rdi + 0x44]
mov r8d, dword [rbp + 0x60]
mov edx, 0x10
mov qword [rbp - 0x10], r10
mov dword [rbp + 0x58], r9d
mov qword [rbp - 0x18], r13
lea eax, [rdx - 9]
lea r11d, [rdx - 0x10]
jne 0x140006b84
or dword [rdi + 0x1bdc], 0xffffffff
jmp 0x140006b84
mov ecx, dword [rdi + 0x68]
mov eax, 1
mov dword [rdi + 0x1bdc], r11d
mov r11, qword [rdi + 0x58]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov eax, dword [r11 + rcx*4]
jmp 0x140007aa9
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
mov ecx, dword [rdi + 0x68]
dec r15d
add r12d, eax
mov eax, 1
add esi, 8
shl eax, cl
mov qword [rbp - 0x18], r13
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [rdi + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x140007a6d
test al, al
je 0x140007b7d
test al, 0xf0
jne 0x140007b7d
mov r10d, eax
movzx ecx, al
mov r9d, 1
shr r10d, 8
mov edx, eax
mov dword [rbp - 0x24], eax
movzx r8d, r10b
shr eax, 0x10
add ecx, r8d
shl r9d, cl
mov ecx, r8d
dec r9d
and r9d, r12d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
jmp 0x140007b69
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
movzx r9d, byte [rbp - 0x23]
mov ecx, esi
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add r12d, eax
movzx eax, word [rbp - 0x22]
shl r8d, cl
mov ecx, r9d
inc r13
dec r8d
dec r15d
add esi, 8
and r8d, r12d
mov qword [rbp - 0x18], r13
shr r8d, cl
add r8d, eax
mov rax, qword [rdi + 0x58]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, esi
ja 0x140007b0c
movzx ecx, byte [rbp - 0x23]
shr r12d, cl
sub esi, ecx
mov dword [rdi + 0x1bdc], ecx
mov ecx, eax
xor r11d, r11d
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1bdc], ecx
shr r12d, cl
sub esi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x48], ecx
test al, al
jne 0x140007baa
mov dword [rdi], 0x19
jmp 0x1400070af
test al, 0x20
je 0x140007bc0
or dword [rdi + 0x1bdc], 0xffffffff
mov dword [rdi], 0xb
jmp 0x1400070af
test al, 0x40
je 0x140007bd0
lea rax, str.invalid_literal_length_code
jmp 0x14000765f
movzx ecx, al
mov dword [rdi], 0x15
and ecx, 0xf
mov dword [rdi + 0x50], ecx
mov edx, dword [rdi + 0x50]
test edx, edx
je 0x140007c2d
cmp esi, edx
jae 0x140007c11
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
add esi, 8
dec r15d
add r12d, eax
mov qword [rbp - 0x18], r13
cmp esi, dword [rdi + 0x50]
jb 0x140007bea
mov ecx, edx
mov eax, 1
sub esi, edx
shl eax, cl
dec eax
and eax, r12d
shr r12d, cl
add dword [rdi + 0x48], eax
add dword [rdi + 0x1bdc], edx
mov eax, dword [rdi + 0x48]
mov dword [rdi], 0x16
mov dword [rdi + 0x1be0], eax
mov ecx, dword [rdi + 0x6c]
mov r11, qword [rdi + 0x60]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov eax, dword [r11 + rcx*4]
jmp 0x140007c95
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
mov ecx, dword [rdi + 0x6c]
dec r15d
add r12d, eax
mov eax, 1
add esi, 8
shl eax, cl
mov qword [rbp - 0x18], r13
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x140007c59
test al, 0xf0
jne 0x140007d61
mov r10d, eax
movzx ecx, al
mov r9d, 1
shr r10d, 8
mov edx, eax
mov dword [rbp - 0x24], eax
movzx r8d, r10b
shr eax, 0x10
add ecx, r8d
shl r9d, cl
mov ecx, r8d
dec r9d
and r9d, r12d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
jmp 0x140007d4d
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
movzx r9d, byte [rbp - 0x23]
mov ecx, esi
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add r12d, eax
movzx eax, word [rbp - 0x22]
shl r8d, cl
mov ecx, r9d
inc r13
dec r8d
dec r15d
add esi, 8
and r8d, r12d
mov qword [rbp - 0x18], r13
shr r8d, cl
add r8d, eax
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, esi
ja 0x140007cf0
movzx ecx, byte [rbp - 0x23]
shr r12d, cl
sub esi, ecx
add dword [rdi + 0x1bdc], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1bdc], ecx
shr r12d, cl
sub esi, ecx
test al, 0x40
je 0x140007d8e
lea rax, str.invalid_distance_code
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1d
jmp 0x1400074af
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov ecx, eax
mov dword [rdi], 0x17
shr ecx, 0x10
mov dword [rdi + 0x4c], ecx
movzx ecx, al
and ecx, 0xf
xor r11d, r11d
mov dword [rdi + 0x50], ecx
mov edx, dword [rdi + 0x50]
test edx, edx
je 0x140007e02
cmp esi, edx
jae 0x140007de6
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
add esi, 8
dec r15d
add r12d, eax
mov qword [rbp - 0x18], r13
cmp esi, dword [rdi + 0x50]
jb 0x140007dbf
mov ecx, edx
mov eax, 1
sub esi, edx
shl eax, cl
dec eax
and eax, r12d
shr r12d, cl
add dword [rdi + 0x4c], eax
add dword [rdi + 0x1bdc], edx
mov dword [rdi], 0x18
mov edx, 0x10
test r9d, r9d
je 0x140006fd6
mov ecx, dword [rdi + 0x4c]
mov eax, r8d
sub eax, r9d
cmp ecx, eax
jbe 0x140007ffa
sub ecx, eax
cmp ecx, dword [rdi + 0x30]
jbe 0x140007fd9
cmp dword [rdi + 0x1bd8], r11d
je 0x140007fd9
lea rax, str.invalid_distance_too_far_back
jmp 0x140007189
lea rax, str.too_many_length_or_distance_symbols
jmp 0x140007113
sub ecx, 0x18
je 0x140007e0d
dec ecx
je 0x140007fb1
dec ecx
je 0x140007e92
dec ecx
je 0x140007f5e
dec ecx
je 0x14000807f
dec ecx
je 0x140008068
dec ecx
jne 0x140006bd7
mov eax, 0xfffffffc
jmp 0x140006bdc
cmp dword [rdi + 8], r11d
je 0x140007f58
jmp 0x140007ec0
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 0x20
jb 0x140007e9e
sub r8d, r9d
add dword [r14 + 0x1c], r8d
add dword [rdi + 0x1c], r8d
test r8d, r8d
je 0x140007f09
mov ecx, dword [rdi + 0x18]
mov eax, r8d
mov rdx, r10
sub rdx, rax
cmp dword [rdi + 0x10], r11d
je 0x140007eee
call fcn.140006320
jmp 0x140007ef3
call fcn.1400057b8
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
xor r11d, r11d
mov dword [rdi + 0x18], eax
lea edx, [r11 + 0x10]
mov dword [r14 + 0x4c], eax
mov ecx, r12d
mov eax, r12d
mov r8d, r9d
shl eax, 0x10
and ecx, 0xff00
mov dword [rbp + 0x60], r9d
add ecx, eax
mov eax, r12d
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, r12d
shr eax, 0x18
add ecx, eax
cmp dword [rdi + 0x10], r11d
cmovne ecx, r12d
cmp ecx, dword [rdi + 0x18]
je 0x140007f52
lea rax, str.incorrect_data_check
jmp 0x140007189
mov r12d, r11d
mov esi, r11d
mov dword [rdi], 0x1b
cmp dword [rdi + 8], r11d
je 0x140008079
cmp dword [rdi + 0x10], r11d
je 0x140008079
jmp 0x140007f96
test r15d, r15d
je 0x140006fd6
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 0x20
jb 0x140007f74
cmp r12d, dword [rdi + 0x1c]
je 0x140008073
lea rax, str.incorrect_length_check
jmp 0x140007189
test r9d, r9d
je 0x140006fd6
mov al, byte [rdi + 0x48]
mov byte [r10], al
inc r10
dec r9d
mov dword [rbp + 0x58], r9d
mov qword [rbp - 0x10], r10
mov dword [rdi], 0x14
jmp 0x140006b7f
mov eax, dword [rdi + 0x34]
cmp ecx, eax
jbe 0x140007fe9
mov edx, dword [rdi + 0x2c]
sub ecx, eax
sub edx, ecx
jmp 0x140007fed
sub eax, ecx
mov edx, eax
mov eax, dword [rdi + 0x48]
add rdx, qword [rdi + 0x38]
cmp ecx, eax
jbe 0x140008005
jmp 0x140008003
mov eax, dword [rdi + 0x48]
mov rdx, r10
sub rdx, rcx
mov ecx, eax
cmp ecx, r9d
cmova ecx, r9d
sub r9d, ecx
sub eax, ecx
sub rdx, r10
mov dword [rbp + 0x58], r9d
mov dword [rdi + 0x48], eax
mov al, byte [rdx + r10]
mov byte [r10], al
inc r10
dec ecx
jne 0x14000801b
mov qword [rbp - 0x10], r10
lea edx, [rcx + 0x10]
lea eax, [rcx + 7]
cmp dword [rdi + 0x48], r11d
jne 0x140006b84
mov dword [rdi], 0x14
jmp 0x140006b84
mov qword [r14 + 0x10], r10
mov dword [r14 + 0x18], r9d
mov qword [r14], r13
mov dword [r14 + 8], r15d
mov eax, 2
mov dword [rdi + 0x40], r12d
mov dword [rdi + 0x44], esi
jmp 0x140006bdc
mov r13d, 0xfffffffd
jmp 0x140006fda
mov r12d, r11d
mov esi, r11d
mov dword [rdi], 0x1c
mov r13d, 1
jmp 0x140006fda
sub ebx, dword [r14 + 0x18]
mov r9d, dword [rbp - 0x20]
sub r9d, dword [r14 + 8]
add dword [r14 + 0x1c], ebx
add dword [r14 + 0xc], r9d
add dword [rdi + 0x1c], ebx
mov dword [rbp - 0x20], r9d
cmp dword [rdi + 8], esi
je 0x1400080d9
test ebx, ebx
je 0x1400080d9
mov rdx, qword [r14 + 0x10]
mov ecx, dword [rdi + 0x18]
mov eax, ebx
sub rdx, rax
mov r8d, ebx
cmp dword [rdi + 0x10], esi
je 0x1400080c9
call fcn.140006320
jmp 0x1400080ce
call fcn.1400057b8
mov r9d, dword [rbp - 0x20]
mov dword [rdi + 0x18], eax
mov dword [r14 + 0x4c], eax
cmp dword [rdi], 0x13
je 0x1400080e6
cmp dword [rdi], 0xe
mov r8d, esi
jne 0x1400080ec
mov r8d, pe_nt_image_headers64
mov eax, dword [rdi + 4]
mov edx, esi
neg eax
mov eax, 0x80
sbb ecx, ecx
and ecx, 0x40
cmp dword [rdi], 0xb
cmove edx, eax
lea eax, [r8 + rcx]
add edx, eax
add edx, dword [rdi + 0x44]
mov dword [r14 + 0x48], edx
test r9d, r9d
jne 0x140008119
test ebx, ebx
je 0x14000811f
cmp dword [rbp + 0x50], 4
jne 0x14000812b
mov eax, 0xfffffffb
test r13d, r13d
cmove r13d, eax
mov eax, r13d
jmp 0x140006bdc