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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0x88
mov rbx, rcx
call fcn.1800f1f20
test eax, eax
jne 0x180055116
cmp qword [rbx + 0x10], 0
je 0x180055116
cmp qword [rbx], 0
jne 0x180053a31
cmp dword [rbx + 8], eax
jne 0x180055116
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r14
mov r14, qword [rbx + 0x28]
mov eax, dword [r14 + 8]
mov r13d, dword [r14 + 0x48]
mov edi, dword [r14 + 0x4c]
cmp eax, 0x3f3f
mov ecx, 0x3f40
mov qword [rsp + 0x58], r15
cmove eax, ecx
xor r15d, r15d
mov dword [r14 + 8], eax
mov r10d, dword [rbx + 0x18]
mov r9, qword [rbx + 0x10]
mov esi, dword [rbx + 8]
mov r12, qword [rbx]
sub eax, 0x3f34
mov qword [rbp + 7], r9
mov dword [rbp + 0x7f], r10d
mov r8d, r10d
mov dword [rbp + 3], esi
mov dword [rbp - 5], r10d
mov dword [rbp + 0x77], r15d
cmp eax, 0x1e
ja case.default.0x180053abc
lea r11, [0x180000000]
cdqe
mov ecx, dword [r11 + rax*4 + 0x55128]
add rcx, r11
jmp rcx
mov edx, dword [r14 + 0x10]
test edx, edx
jne 0x180053ad3
mov dword [r14 + 8], 0x3f40
jmp 0x180054141
cmp edi, 0x10
jae 0x180053af9
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x180053ad8
test dl, 2
je 0x180053b58
cmp r13d, 0x8b1f
jne 0x180053b58
mov eax, dword [r14 + 0x30]
mov ecx, 0xf
test eax, eax
cmove eax, ecx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [r14 + 0x30], eax
call fcn.18005ef30
lea rdx, [rbp - 9]
mov r8d, 2
mov dword [r14 + 0x20], eax
mov word [rbp - 9], r13w
mov ecx, dword [r14 + 0x20]
call fcn.18005ef30
mov r13d, r15d
mov edi, r15d
mov dword [r14 + 0x20], eax
mov dword [r14 + 8], 0x3f35
jmp 0x180054139
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x180053b68
mov dword [rax + 0x40], 0xffffffff
test byte [r14 + 0x10], 1
je 0x180053c41
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 0x180053c41
mov eax, r13d
and al, 0xf
cmp al, 8
je 0x180053bc0
lea rax, str.unknown_compression_method
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x180054141
mov eax, dword [r14 + 0x30]
shr r13d, 4
add edi, 0xfffffffc
mov ecx, r13d
and ecx, 0xf
add ecx, 8
test eax, eax
cmove eax, ecx
mov dword [r14 + 0x30], eax
cmp ecx, 0xf
ja 0x180053c29
cmp ecx, eax
ja 0x180053c29
mov eax, 1
xor r8d, r8d
xor edx, edx
shl eax, cl
xor ecx, ecx
mov dword [r14 + 0x18], r15d
mov dword [r14 + 0x1c], eax
call fcn.18005a470
shr r13d, 8
not r13d
mov dword [r14 + 0x20], eax
mov dword [rbx + 0x4c], eax
and r13d, 2
mov edi, r15d
or r13d, 0x3f3d
mov dword [r14 + 8], r13d
mov r13d, r15d
jmp 0x180054139
lea rax, str.invalid_window_size
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x180054141
lea rax, str.incorrect_header_check
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x180054141
cmp edi, 0x10
jae 0x180053c81
nop
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x180053c60
mov dword [r14 + 0x18], r13d
cmp r13b, 8
jne 0x180053ba8
test r13d, 0xe000
je 0x180053cb0
lea rax, str.unknown_header_flags_set
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x180054141
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x180053cc4
mov eax, r13d
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [r14 + 0x18], 0x200
je 0x180053cf8
test byte [r14 + 0x10], 4
je 0x180053cf8
mov byte [rbp - 9], r13b
shr r13d, 8
lea rdx, [rbp - 9]
mov byte [rbp - 8], r13b
mov ecx, dword [r14 + 0x20]
mov r8d, 2
call fcn.18005ef30
mov dword [r14 + 0x20], eax
mov r13d, r15d
mov edi, r15d
mov dword [r14 + 8], 0x3f36
jmp 0x180053d10
cmp edi, 0x20
jae 0x180053d31
nop dword [rax]
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x180053d10
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x180053d3e
mov dword [rax + 4], r13d
test dword [r14 + 0x18], 0x200
je 0x180053d84
test byte [r14 + 0x10], 4
je 0x180053d84
mov eax, r13d
mov byte [rbp - 9], r13b
lea rdx, [rbp - 9]
shr eax, 8
mov r8d, 4
mov byte [rbp - 8], al
mov eax, r13d
shr r13d, 0x18
shr eax, 0x10
mov byte [rbp - 6], r13b
mov byte [rbp - 7], al
mov ecx, dword [r14 + 0x20]
call fcn.18005ef30
mov dword [r14 + 0x20], eax
mov r13d, r15d
mov edi, r15d
mov dword [r14 + 8], 0x3f37
jmp 0x180053da0
cmp edi, 0x10
jae 0x180053dc1
nop dword [rax]
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x180053da0
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x180053dde
movzx eax, r13b
mov dword [rcx + 8], eax
mov rax, qword [r14 + 0x28]
mov ecx, r13d
shr ecx, 8
mov dword [rax + 0xc], ecx
test dword [r14 + 0x18], 0x200
je 0x180053e12
test byte [r14 + 0x10], 4
je 0x180053e12
mov byte [rbp - 9], r13b
shr r13d, 8
lea rdx, [rbp - 9]
mov byte [rbp - 8], r13b
mov ecx, dword [r14 + 0x20]
mov r8d, 2
call fcn.18005ef30
mov dword [r14 + 0x20], eax
mov r13d, r15d
mov edi, r15d
mov dword [r14 + 8], 0x3f38
test dword [r14 + 0x18], 0x400
je 0x180053e9e
cmp edi, 0x10
jae 0x180053e51
nop
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x180053e30
mov rax, qword [r14 + 0x28]
mov dword [r14 + 0x50], r13d
test rax, rax
je 0x180053e62
mov dword [rax + 0x18], r13d
test dword [r14 + 0x18], 0x200
je 0x180053e96
test byte [r14 + 0x10], 4
je 0x180053e96
mov byte [rbp - 9], r13b
shr r13d, 8
lea rdx, [rbp - 9]
mov byte [rbp - 8], r13b
mov ecx, dword [r14 + 0x20]
mov r8d, 2
call fcn.18005ef30
mov dword [r14 + 0x20], eax
mov r13d, r15d
mov edi, r15d
jmp 0x180053eab
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x180053eab
mov qword [rax + 0x10], r15
mov dword [r14 + 8], 0x3f39
test dword [r14 + 0x18], 0x400
je 0x180053f45
mov ecx, dword [r14 + 0x50]
cmp ecx, esi
mov ebx, ecx
cmova ebx, esi
test ebx, ebx
je 0x180053f3a
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x180053f0b
mov r9, qword [rax + 0x10]
test r9, r9
je 0x180053f0b
mov edx, dword [rax + 0x18]
sub edx, ecx
mov ecx, dword [rax + 0x1c]
cmp edx, ecx
jae 0x180053f0b
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x180053ef9
sub ecx, edx
jmp 0x180053efb
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r12
add rcx, r9
call fcn.1800e7bc0
test dword [r14 + 0x18], 0x200
je 0x180053f2f
test byte [r14 + 0x10], 4
je 0x180053f2f
mov ecx, dword [r14 + 0x20]
mov r8d, ebx
mov rdx, r12
call fcn.18005ef30
mov dword [r14 + 0x20], eax
mov eax, ebx
sub esi, ebx
add r12, rax
sub dword [r14 + 0x50], ebx
cmp dword [r14 + 0x50], 0
jne 0x1800542cf
mov dword [r14 + 0x50], r15d
mov dword [r14 + 8], 0x3f3a
test dword [r14 + 0x18], 0x800
je 0x180053fdf
test esi, esi
je 0x1800542cf
mov r8, r12
nop word [rax + rax]
mov rax, qword [r14 + 0x28]
movzx ebx, byte [r8]
inc r15d
inc r8
test rax, rax
je 0x180053f9c
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x180053f9c
mov ecx, dword [r14 + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x180053f9c
mov byte [rcx + rdx], bl
inc dword [r14 + 0x50]
test ebx, ebx
je 0x180053fa5
cmp r15d, esi
jb 0x180053f70
test dword [r14 + 0x18], 0x200
je 0x180053fc9
test byte [r14 + 0x10], 4
je 0x180053fc9
mov ecx, dword [r14 + 0x20]
mov r8d, r15d
mov rdx, r12
call fcn.18005ef30
mov dword [r14 + 0x20], eax
mov eax, r15d
sub esi, r15d
add r12, rax
test ebx, ebx
jne 0x1800542cf
xor r15d, r15d
jmp 0x180053fec
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x180053fec
mov qword [rax + 0x20], r15
mov dword [r14 + 0x50], r15d
mov dword [r14 + 8], 0x3f3b
test dword [r14 + 0x18], 0x1000
je 0x18005407f
test esi, esi
je 0x1800542cf
mov r8, r12
nop dword [rax]
mov rax, qword [r14 + 0x28]
movzx ebx, byte [r8]
inc r15d
inc r8
test rax, rax
je 0x18005403c
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x18005403c
mov ecx, dword [r14 + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x18005403c
mov byte [rcx + rdx], bl
inc dword [r14 + 0x50]
test ebx, ebx
je 0x180054045
cmp r15d, esi
jb 0x180054010
test dword [r14 + 0x18], 0x200
je 0x180054069
test byte [r14 + 0x10], 4
je 0x180054069
mov ecx, dword [r14 + 0x20]
mov r8d, r15d
mov rdx, r12
call fcn.18005ef30
mov dword [r14 + 0x20], eax
mov eax, r15d
sub esi, r15d
add r12, rax
test ebx, ebx
jne 0x1800542cf
xor r15d, r15d
jmp 0x18005408c
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x18005408c
mov qword [rax + 0x30], r15
mov rbx, qword [rbp + 0x67]
mov r9, qword [rbp + 7]
mov r10d, dword [rbp + 0x7f]
mov dword [r14 + 8], 0x3f3c
test dword [r14 + 0x18], 0x200
je 0x1800540fd
cmp edi, 0x10
jae 0x1800540d1
nop
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x10
jb 0x1800540b0
test byte [r14 + 0x10], 4
je 0x1800540f7
movzx eax, word [r14 + 0x20]
cmp r13d, eax
je 0x1800540f7
lea rax, str.header_crc_mismatch
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x180054141
mov r13d, r15d
mov edi, r15d
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x18005411e
mov eax, dword [r14 + 0x18]
sar eax, 9
and eax, 1
mov dword [rcx + 0x3c], eax
mov rax, qword [r14 + 0x28]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18005ef30
mov dword [r14 + 0x20], eax
mov dword [rbx + 0x4c], eax
mov dword [r14 + 8], 0x3f3f
mov r10d, dword [rbp + 0x7f]
mov r9, qword [rbp + 7]
mov eax, dword [r14 + 8]
sub eax, 0x3f34
cmp eax, 0x1e
ja case.default.0x180053abc
mov r8d, dword [rbp - 5]
mov edx, dword [rbp + 0x6f]
xor r15d, r15d
jmp 0x180053aa8
cmp edi, 0x20
jae 0x180054188
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x180054167
mov ecx, r13d
mov eax, r13d
mov edi, r15d
shl eax, 0x10
and ecx, 0xff00
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 + 0x20], eax
mov dword [rbx + 0x4c], eax
mov dword [r14 + 8], 0x3f3e
cmp dword [r14 + 0x14], 0
je 0x180055004
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18005a470
mov r9, qword [rbp + 7]
mov r10d, dword [rbp + 0x7f]
mov edx, dword [rbp + 0x6f]
mov dword [r14 + 0x20], eax
mov dword [rbx + 0x4c], eax
mov dword [r14 + 8], 0x3f3f
cmp edx, 5
je 0x1800542cf
cmp edx, 6
je 0x1800542cf
cmp dword [r14 + 0xc], 0
je 0x180054226
mov ecx, edi
mov dword [r14 + 8], 0x3f4e
and ecx, 7
shr r13d, cl
sub edi, ecx
jmp 0x180054141
cmp edi, 3
jae 0x180054251
nop dword [rax + rax]
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 3
jb 0x180054230
mov eax, r13d
shr r13d, 1
dec edi
and eax, 1
mov dword [r14 + 0xc], eax
mov eax, r13d
and eax, 3
je 0x18005437b
dec eax
je 0x1800542af
dec eax
je 0x18005429b
dec eax
jne 0x180054383
lea rax, str.invalid_block_type
shr r13d, 2
add edi, 0xfffffffe
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x180054141
shr r13d, 2
mov dword [r14 + 8], 0x3f44
add edi, 0xfffffffe
jmp 0x180054141
mov rcx, r14
call fcn.1800f1f60
mov dword [r14 + 8], 0x3f47
cmp edx, 6
jne 0x180054383
shr r13d, 2
add edi, 0xfffffffe
mov r15d, dword [rbp + 0x77]
mov ecx, dword [rbp + 0x6f]
mov rbx, qword [rbp + 0x67]
mov rax, qword [rbp + 7]
mov qword [rbx + 0x10], rax
mov eax, dword [rbp + 0x7f]
mov qword [rbx], r12
mov dword [rbx + 0x18], eax
mov dword [rbx + 8], esi
cmp dword [r14 + 0x34], 0
mov dword [r14 + 0x4c], edi
mov edi, dword [rbp - 5]
mov dword [r14 + 0x48], r13d
jne 0x180054328
cmp edi, dword [rbx + 0x18]
je 0x180055048
mov eax, dword [r14 + 8]
cmp eax, 0x3f51
jge 0x180055048
cmp eax, 0x3f4e
jl 0x180054328
cmp ecx, 4
je 0x180055048
mov rdx, qword [rbx + 0x10]
mov r8d, edi
mov rcx, rbx
sub r8d, dword [rbx + 0x18]
call fcn.1800f1f90
test eax, eax
je 0x180055048
mov dword [r14 + 8], 0x3f52
mov eax, 0xfffffffc
mov r14, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x58]
add rsp, 0x88
pop rbx
pop rbp
ret
mov dword [r14 + 8], 0x3f41
shr r13d, 2
add edi, 0xfffffffe
jmp 0x180054141
mov ecx, edi
and ecx, 7
sub edi, ecx
shr r13d, cl
cmp edi, 0x20
jae 0x1800543c1
nop
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x1800543a0
mov eax, r13d
movzx ecx, r13w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x1800543e9
lea rax, str.invalid_stored_block_lengths
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x180054141
mov dword [r14 + 0x50], ecx
mov r13d, r15d
mov edi, r15d
mov dword [r14 + 8], 0x3f42
cmp edx, 6
je 0x1800542cf
mov dword [r14 + 8], 0x3f43
mov r15d, dword [r14 + 0x50]
test r15d, r15d
je 0x180054466
cmp r15d, esi
cmova r15d, esi
cmp r15d, r10d
cmova r15d, r10d
test r15d, r15d
je 0x1800542cf
mov r8d, r15d
mov rdx, r12
mov rcx, r9
mov ebx, r15d
call fcn.1800e7bc0
mov r10d, dword [rbp + 0x7f]
mov r9, qword [rbp + 7]
sub r10d, r15d
add r12, rbx
add r9, rbx
mov rbx, qword [rbp + 0x67]
sub esi, r15d
sub dword [r14 + 0x50], r15d
mov dword [rbp + 0x7f], r10d
mov qword [rbp + 7], r9
jmp 0x180054141
mov dword [r14 + 8], 0x3f3f
jmp 0x180054141
cmp edi, 0xe
jae 0x180054499
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0xe
jb 0x180054478
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 + 0x7c], ecx
mov dword [r14 + 0x80], edx
mov dword [r14 + 0x78], eax
cmp ecx, 0x11e
ja 0x18005460f
cmp edx, 0x1e
ja 0x18005460f
mov dword [r14 + 0x84], r15d
mov dword [r14 + 8], 0x3f45
mov eax, dword [r14 + 0x78]
cmp dword [r14 + 0x84], eax
jae 0x18005456d
cmp edi, 3
jae 0x180054531
nop word [rax + rax]
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 3
jb 0x180054510
mov eax, dword [r14 + 0x84]
movzx ecx, r13w
add edi, 0xfffffffd
movzx eax, word [r11 + rax*2 + 0x1028f0]
and cx, 7
shr r13d, 3
mov word [r14 + rax*2 + 0x90], cx
inc dword [r14 + 0x84]
mov eax, dword [r14 + 0x78]
cmp dword [r14 + 0x84], eax
jb 0x180054505
cmp dword [r14 + 0x84], 0x13
jae 0x1800545aa
nop word [rax + rax]
mov eax, dword [r14 + 0x84]
movzx eax, word [r11 + rax*2 + 0x1028f0]
mov word [r14 + rax*2 + 0x90], r15w
inc dword [r14 + 0x84]
cmp dword [r14 + 0x84], 0x13
jb 0x180054580
lea rcx, [r14 + 0x70]
lea rax, [r14 + 0x550]
lea r9, [r14 + 0x88]
mov qword [r9], rax
mov qword [r14 + 0x60], rax
lea rax, [r14 + 0x310]
mov qword [rsp + 0x28], rax
mov dword [rcx], 7
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea rdx, [r14 + 0x90]
lea r8d, [rcx + 0x13]
call fcn.18005ad00
mov r10d, dword [rbp + 0x7f]
mov dword [rbp + 0x77], eax
test eax, eax
je 0x180054627
lea rax, str.invalid_code_lengths_set
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x18005413d
lea rax, str.too_many_length_or_distance_symbols
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x180054141
mov dword [r14 + 0x84], r15d
mov dword [r14 + 8], 0x3f46
mov eax, dword [r14 + 0x80]
add eax, dword [r14 + 0x7c]
cmp dword [r14 + 0x84], eax
jae 0x180054853
nop
mov ecx, dword [r14 + 0x70]
mov eax, 1
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
mov dword [rbp - 1], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x1800546c6
nop word [rax + rax]
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r14 + 0x70]
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
mov dword [rbp - 1], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x180054680
mov edx, eax
shr edx, 0x10
cmp dx, 0x10
jae 0x1800546f8
shr eax, 8
movzx ecx, al
mov eax, dword [r14 + 0x84]
mov word [r14 + rax*2 + 0x90], dx
shr r13d, cl
sub edi, ecx
inc dword [r14 + 0x84]
jmp 0x18005483b
jne 0x18005476d
movzx edx, byte [rbp]
shr eax, 8
movzx ecx, al
add ecx, 2
cmp edi, ecx
jae 0x180054736
nop dword [rax + rax]
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
movzx eax, dl
add eax, 2
cmp edi, eax
jb 0x180054710
mov eax, dword [r14 + 0x84]
movzx ecx, dl
shr r13d, cl
sub edi, ecx
test eax, eax
je 0x180054884
mov edx, r13d
dec eax
shr r13d, 2
movzx r8d, word [r14 + rax*2 + 0x90]
and edx, 3
add edx, 3
add edi, 0xfffffffe
jmp 0x180054803
cmp word [rbp + 1], 0x11
movzx r9d, byte [rbp]
jne 0x1800547bb
lea edx, [r9 + 3]
cmp edi, edx
jae 0x1800547a1
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, edx
jb 0x180054781
mov ecx, r9d
mov eax, 0xfffffffd
shr r13d, cl
mov edx, r13d
and edx, 7
add edx, 3
shr r13d, 3
jmp 0x1800547fb
lea edx, [r9 + 7]
cmp edi, edx
jae 0x1800547e3
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, edx
jb 0x1800547c3
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 + 0x84]
lea ecx, [rdx + rax]
mov eax, dword [r14 + 0x80]
add eax, dword [r14 + 0x7c]
cmp ecx, eax
ja 0x180054884
test edx, edx
je 0x18005483b
mov eax, dword [r14 + 0x84]
mov word [r14 + rax*2 + 0x90], r8w
inc dword [r14 + 0x84]
dec edx
jne 0x180054820
mov eax, dword [r14 + 0x80]
add eax, dword [r14 + 0x7c]
cmp dword [r14 + 0x84], eax
jb 0x180054650
cmp dword [r14 + 8], 0x3f51
je 0x18005413d
cmp word [r14 + 0x290], 0
jne 0x18005489c
lea rax, str.invalid_code____missing_end_of_block
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x18005413d
lea rax, str.invalid_bit_length_repeat
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x18005413d
mov r8d, dword [r14 + 0x7c]
lea rax, [r14 + 0x550]
lea r15, [r14 + 0x310]
mov qword [r14 + 0x88], rax
mov qword [r14 + 0x60], rax
lea rax, [r14 + 0x70]
lea rdx, [r14 + 0x90]
lea r9, [r14 + 0x88]
mov ecx, 1
mov qword [rsp + 0x28], r15
mov dword [rax], 9
mov qword [rsp + 0x20], rax
call fcn.18005ad00
mov dword [rbp + 0x77], eax
test eax, eax
je 0x180054908
lea rax, str.invalid_literal_lengths_set
mov rbx, qword [rbp + 0x67]
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x180054139
mov rax, qword [r14 + 0x88]
mov r8d, dword [r14 + 0x80]
lea rcx, [r14 + 0x74]
mov qword [r14 + 0x68], rax
mov eax, dword [r14 + 0x7c]
mov dword [rcx], 6
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
lea r9, [r14 + 0x88]
lea rdx, [r14 + rax*2 + 0x90]
mov ecx, 2
call fcn.18005ad00
mov r15d, eax
mov dword [rbp + 0x77], eax
test eax, eax
je 0x18005495e
lea rax, str.invalid_distances_set
jmp 0x1800548f3
mov ecx, dword [rbp + 0x6f]
mov dword [r14 + 8], 0x3f47
cmp ecx, 6
je 0x1800542d6
mov rbx, qword [rbp + 0x67]
mov r9, qword [rbp + 7]
mov r8d, dword [rbp - 5]
mov r10d, dword [rbp + 0x7f]
xor r15d, r15d
mov dword [r14 + 8], 0x3f48
cmp esi, 6
jb 0x1800549f8
cmp r10d, 0x102
jb 0x1800549f8
mov qword [rbx + 0x10], r9
mov dword [rbx + 0x18], r10d
mov qword [rbx], r12
mov dword [rbx + 8], esi
mov edx, r8d
mov rcx, rbx
mov dword [r14 + 0x48], r13d
mov dword [r14 + 0x4c], edi
call fcn.1800505d0
cmp dword [r14 + 8], 0x3f3f
mov r9, qword [rbx + 0x10]
mov r10d, dword [rbx + 0x18]
mov r12, qword [rbx]
mov esi, dword [rbx + 8]
mov r13d, dword [r14 + 0x48]
mov edi, dword [r14 + 0x4c]
mov qword [rbp + 7], r9
mov dword [rbp + 0x7f], r10d
jne 0x180054141
mov dword [r14 + 0x1be4], 0xffffffff
jmp 0x180054141
mov ecx, dword [r14 + 0x70]
mov r11, qword [r14 + 0x60]
mov eax, 1
shl eax, cl
mov dword [r14 + 0x1be4], r15d
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 0x180054a6a
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r14 + 0x70]
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 0x180054a27
test al, al
je 0x180054b3b
test al, 0xf0
jne 0x180054b3b
mov r10d, eax
movzx ecx, al
mov dword [rbp - 1], 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]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, edi
jbe 0x180054b2b
movzx r10d, word [rbp + 1]
nop
test esi, esi
je 0x1800542cf
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 0x180054ad0
movzx ecx, r11b
shr r13d, cl
sub edi, ecx
mov dword [r14 + 0x1be4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [r14 + 0x1be4], ecx
shr r13d, cl
sub edi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [r14 + 0x50], ecx
test al, al
jne 0x180054b69
mov dword [r14 + 8], 0x3f4d
jmp 0x180054139
test al, 0x20
je 0x180054b7d
mov dword [r14 + 0x1be4], 0xffffffff
jmp 0x180054131
test al, 0x40
je 0x180054b99
lea rax, str.invalid_literal_length_code
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x180054139
movzx ecx, al
mov dword [r14 + 8], 0x3f49
and ecx, 0xf
mov dword [r14 + 0x58], ecx
mov edx, dword [r14 + 0x58]
test edx, edx
je 0x180054bf7
cmp edi, edx
jae 0x180054bd9
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, dword [r14 + 0x58]
jb 0x180054bb7
mov ecx, edx
mov eax, 1
sub edi, edx
shl eax, cl
dec eax
and eax, r13d
shr r13d, cl
add dword [r14 + 0x50], eax
add dword [r14 + 0x1be4], edx
mov eax, dword [r14 + 0x50]
mov dword [r14 + 8], 0x3f4a
mov dword [r14 + 0x1be8], eax
mov ecx, dword [r14 + 0x74]
mov r11, qword [r14 + 0x68]
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 0x180054c75
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r14 + 0x74]
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 + 0x68]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x180054c32
test al, 0xf0
jne 0x180054d3c
mov r10d, eax
movzx ecx, al
mov dword [rbp - 1], 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]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, edi
jbe 0x180054d2c
movzx r10d, word [rbp + 1]
test esi, esi
je 0x1800542cf
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 + 0x68]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x180054cd1
movzx ecx, r11b
shr r13d, cl
sub edi, ecx
add dword [r14 + 0x1be4], ecx
mov r9, qword [rbp + 7]
mov r10d, dword [rbp + 0x7f]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [r14 + 0x1be4], ecx
shr r13d, cl
sub edi, ecx
test al, 0x40
je 0x180054d74
lea rax, str.invalid_distance_code
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x180054141
mov r8d, dword [rbp - 5]
mov ecx, eax
mov dword [r14 + 8], 0x3f4b
shr ecx, 0x10
mov dword [r14 + 0x54], ecx
movzx ecx, al
and ecx, 0xf
mov dword [r14 + 0x58], ecx
mov edx, dword [r14 + 0x58]
test edx, edx
je 0x180054de0
cmp edi, edx
jae 0x180054dc2
nop
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, dword [r14 + 0x58]
jb 0x180054da0
mov ecx, edx
mov eax, 1
sub edi, edx
shl eax, cl
dec eax
and eax, r13d
shr r13d, cl
add dword [r14 + 0x54], eax
add dword [r14 + 0x1be4], edx
mov dword [r14 + 8], 0x3f4c
test r10d, r10d
je 0x1800542cf
mov ecx, dword [r14 + 0x54]
mov eax, r8d
sub eax, r10d
cmp ecx, eax
jbe 0x180054e4d
sub ecx, eax
cmp ecx, dword [r14 + 0x38]
jbe 0x180054e29
cmp dword [r14 + 0x1be0], 0
je 0x180054e29
lea rax, str.invalid_distance_too_far_back
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x180054141
mov eax, dword [r14 + 0x3c]
cmp ecx, eax
jbe 0x180054e3b
mov edx, dword [r14 + 0x34]
sub ecx, eax
sub edx, ecx
jmp 0x180054e3f
sub eax, ecx
mov edx, eax
mov eax, dword [r14 + 0x50]
add rdx, qword [r14 + 0x40]
cmp ecx, eax
jbe 0x180054e59
jmp 0x180054e57
mov eax, dword [r14 + 0x50]
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 + 0x7f], r10d
mov dword [r14 + 0x50], eax
movzx eax, byte [rdx + r9]
inc r9
dec ecx
mov byte [r9 - 1], al
jne 0x180054e70
mov qword [rbp + 7], r9
cmp dword [r14 + 0x50], ecx
jne 0x180054141
mov dword [r14 + 8], 0x3f48
jmp 0x180054141
test r10d, r10d
je 0x1800542cf
movzx eax, byte [r14 + 0x50]
inc r9
dec r10d
mov byte [r9 - 1], al
mov dword [rbp + 0x7f], r10d
mov qword [rbp + 7], r9
mov dword [r14 + 8], 0x3f48
jmp 0x180054141
cmp dword [r14 + 0x10], 0
je 0x180054f9e
cmp edi, 0x20
jae 0x180054ef9
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x180054ed8
sub r8d, r10d
add dword [rbx + 0x1c], r8d
add dword [r14 + 0x24], r8d
test byte [r14 + 0x10], 4
je 0x180054f3f
test r8d, r8d
je 0x180054f3f
mov ecx, dword [r14 + 0x20]
mov eax, r8d
mov rdx, r9
sub rdx, rax
cmp dword [r14 + 0x18], 0
je 0x180054f2b
call fcn.18005ef30
jmp 0x180054f30
call fcn.18005a470
mov r9, qword [rbp + 7]
mov r10d, dword [rbp + 0x7f]
mov dword [r14 + 0x20], eax
mov dword [rbx + 0x4c], eax
test byte [r14 + 0x10], 4
mov dword [rbp - 5], r10d
je 0x180054f98
cmp dword [r14 + 0x18], 0
mov ecx, r13d
jne 0x180054f7a
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 + 0x20]
je 0x180054f98
lea rax, str.incorrect_data_check
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x180054141
mov r13d, r15d
mov edi, r15d
mov dword [r14 + 8], 0x3f4f
mov edx, dword [r14 + 0x10]
test edx, edx
je 0x18005502a
cmp dword [r14 + 0x18], 0
je 0x18005502a
cmp edi, 0x20
jae 0x180054fe1
nop word [rax + rax]
test esi, esi
je 0x1800542cf
movzx eax, byte [r12]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc r12
add r13d, eax
cmp edi, 0x20
jb 0x180054fc0
test dl, 4
je 0x180055024
cmp r13d, dword [r14 + 0x24]
je 0x180055024
lea rax, str.incorrect_length_check
mov qword [rbx + 0x20], rax
mov dword [r14 + 8], 0x3f51
jmp 0x180054141
mov qword [rbx + 0x10], r9
mov dword [rbx + 0x18], r10d
mov qword [rbx], r12
mov dword [rbx + 8], esi
mov eax, 2
mov dword [r14 + 0x48], r13d
mov dword [r14 + 0x4c], edi
jmp 0x180054350
mov r13d, r15d
mov edi, r15d
mov dword [r14 + 8], 0x3f50
mov r15d, 1
jmp 0x1800542d3
mov r15d, 0xfffffffd
jmp 0x1800542d3
sub edi, dword [rbx + 0x18]
mov r10d, dword [rbp + 3]
sub r10d, dword [rbx + 8]
add dword [rbx + 0x1c], edi
add dword [rbx + 0xc], r10d
add dword [r14 + 0x24], edi
test byte [r14 + 0x10], 4
mov dword [rbp + 3], r10d
je 0x18005509b
test edi, edi
je 0x18005509b
mov rdx, qword [rbx + 0x10]
mov ecx, dword [r14 + 0x20]
mov eax, edi
sub rdx, rax
cmp dword [r14 + 0x18], 0
mov r8d, edi
je 0x18005508b
call fcn.18005ef30
jmp 0x180055090
call fcn.18005a470
mov r10d, dword [rbp + 3]
mov dword [r14 + 0x20], eax
mov dword [rbx + 0x4c], eax
mov edx, dword [r14 + 8]
cmp edx, 0x3f47
je 0x1800550b7
cmp edx, 0x3f42
je 0x1800550b7
xor r9d, r9d
mov r8d, r9d
jmp 0x1800550c0
mov r8d, 0x100
xor r9d, r9d
mov eax, dword [r14 + 0xc]
neg eax
mov eax, 0x80
sbb ecx, ecx
and ecx, 0x40
cmp edx, 0x3f3f
cmove r9d, eax
lea eax, [r8 + rcx]
add r9d, eax
add r9d, dword [r14 + 0x4c]
mov dword [rbx + 0x48], r9d
test r10d, r10d
jne 0x1800550f2
test edi, edi
je 0x1800550f8
cmp dword [rbp + 0x6f], 4
jne 0x180055104
mov eax, 0xfffffffb
test r15d, r15d
cmove r15d, eax
mov eax, r15d
jmp 0x180054350
mov eax, 0xfffffffe
jmp 0x180054350
mov eax, 0xfffffffe
add rsp, 0x88
pop rbx
pop rbp
ret