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

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push r13
push r15
sub rsp, 0x80
mov ebx, edx
mov r15, rcx
test rcx, rcx
je 0x5b4c26
mov r13, qword [rcx + 0x28]
test r13, r13
je 0x5b4c26
cmp qword [rcx + 0x10], 0
je 0x5b4c26
cmp qword [rcx], 0
jne 0x5b3086
cmp dword [rcx + 8], 0
jne 0x5b4c26
cmp dword [r13], 0xb
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r14
jne 0x5b30ae
mov dword [r13], 0xc
mov r10d, dword [rcx + 0x18]
mov eax, dword [r13]
mov r9, qword [rcx + 0x10]
mov esi, dword [rcx + 8]
mov rbp, qword [rcx]
mov r12d, dword [r13 + 0x40]
mov edi, dword [r13 + 0x44]
xor r14d, r14d
mov qword [rsp + 0x40], r9
mov dword [rsp + 0xb8], r10d
mov dword [rsp + 0x38], esi
mov r8d, r10d
mov dword [rsp + 0xa0], r10d
mov dword [rsp + 0xb0], r14d
cmp eax, 0x1e
ja case.default.0x5b311c
lea rdx, [0x00400000]
lea r11, str.unknown_compression_method
nop word [rax + rax]
cdqe
mov ecx, dword [rdx + rax*4 + 0x1b4c38]
add rcx, rdx
jmp rcx
mov edx, dword [r13 + 8]
test edx, edx
jne 0x5b3133
mov dword [r13], 0xc
jmp 0x5b468e
cmp edi, 0x10
jae 0x5b3158
test esi, esi
je 0x5b4ab4
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x5b3138
test dl, 2
je 0x5b31b8
cmp r12d, 0x8b1f
jne 0x5b31b8
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.005b7920
lea rdx, [rsp + 0x30]
mov r8d, 2
mov dword [r13 + 0x18], eax
mov byte [rsp + 0x30], 0x1f
mov byte [rsp + 0x31], 0x8b
mov ecx, dword [r13 + 0x18]
call fcn.005b7920
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
mov dword [r13], 1
jmp 0x5b468e
mov rax, qword [r13 + 0x20]
mov dword [r13 + 0x10], r14d
test rax, rax
je 0x5b31cc
mov dword [rax + 0x40], 0xffffffff
test byte [r13 + 8], 1
je 0x5b329f
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 0x5b329f
mov eax, r12d
and al, 0xf
cmp al, 8
je 0x5b321d
mov qword [r15 + 0x20], r11
mov dword [r13], 0x1d
jmp 0x5b468e
mov eax, dword [r13 + 0x28]
shr r12d, 4
add edi, 0xfffffffc
mov ecx, r12d
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x5b3283
mov dword [r13 + 0x28], ecx
mov eax, 1
xor r8d, r8d
xor edx, edx
shl eax, cl
xor ecx, ecx
mov dword [r13 + 0x14], eax
call fcn.005b72f0
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
shr r12d, 8
mov dword [r13 + 0x18], eax
not r12d
mov dword [r15 + 0x4c], eax
mov edi, r14d
and r12d, 2
or r12d, 9
mov dword [r13], r12d
mov r12d, r14d
jmp 0x5b468e
cmp ecx, eax
jbe 0x5b3239
lea rax, str.invalid_window_size
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
lea rax, str.incorrect_header_check
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
cmp edi, 0x10
jae 0x5b32e0
nop dword [rax]
test esi, esi
je 0x5b4a9c
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x5b32c0
mov dword [r13 + 0x10], r12d
cmp r12b, 8
je 0x5b32fb
mov qword [r15 + 0x20], r11
mov dword [r13], 0x1d
jmp 0x5b468e
test r12d, 0xe000
je 0x5b331c
lea rax, str.unknown_header_flags_set
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je 0x5b3330
mov eax, r12d
shr eax, 8
and eax, 1
mov dword [rcx], eax
bt dword [r13 + 0x10], 9
jae 0x5b335e
mov byte [rsp + 0x30], r12b
shr r12d, 8
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x31], r12b
mov ecx, dword [r13 + 0x18]
mov r8d, 2
call fcn.005b7920
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
mov dword [r13], 2
jmp 0x5b3373
cmp edi, 0x20
jae 0x5b3393
test esi, esi
je 0x5b4a84
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x5b3373
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x5b33a0
mov dword [rax + 4], r12d
bt dword [r13 + 0x10], 9
jae 0x5b33e2
mov eax, r12d
mov byte [rsp + 0x30], r12b
lea rdx, [rsp + 0x30]
shr eax, 8
mov r8d, 4
mov byte [rsp + 0x31], al
mov eax, r12d
shr r12d, 0x18
shr eax, 0x10
mov byte [rsp + 0x33], r12b
mov byte [rsp + 0x32], al
mov ecx, dword [r13 + 0x18]
call fcn.005b7920
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
mov dword [r13], 3
jmp 0x5b33f7
cmp edi, 0x10
jae 0x5b3417
test esi, esi
je 0x5b4a6c
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x5b33f7
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je 0x5b3434
movzx eax, r12b
mov dword [rcx + 8], eax
mov rax, qword [r13 + 0x20]
mov ecx, r12d
shr ecx, 8
mov dword [rax + 0xc], ecx
bt dword [r13 + 0x10], 9
jae 0x5b3462
mov byte [rsp + 0x30], r12b
shr r12d, 8
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x31], r12b
mov ecx, dword [r13 + 0x18]
mov r8d, 2
call fcn.005b7920
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
mov dword [r13], 4
bt dword [r13 + 0x10], 0xa
jae 0x5b34e7
cmp edi, 0x10
jae 0x5b34a0
nop dword [rax]
test esi, esi
je 0x5b4a54
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x5b3480
mov rax, qword [r13 + 0x20]
mov dword [r13 + 0x48], r12d
test rax, rax
je 0x5b34b1
mov dword [rax + 0x18], r12d
bt dword [r13 + 0x10], 9
jae 0x5b34df
mov byte [rsp + 0x30], r12b
shr r12d, 8
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x31], r12b
mov ecx, dword [r13 + 0x18]
mov r8d, 2
call fcn.005b7920
mov dword [r13 + 0x18], eax
mov r12d, r14d
mov edi, r14d
jmp 0x5b34f4
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x5b34f4
mov qword [rax + 0x10], r14
mov dword [r13], 5
bt dword [r13 + 0x10], 0xa
jae 0x5b357b
mov ecx, dword [r13 + 0x48]
cmp ecx, esi
mov ebx, ecx
cmova ebx, esi
test ebx, ebx
je 0x5b3570
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x5b354a
mov r9, qword [rax + 0x10]
test r9, r9
je 0x5b354a
mov edx, dword [rax + 0x18]
sub edx, ecx
mov ecx, dword [rax + 0x1c]
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x5b3538
sub ecx, edx
jmp 0x5b353a
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, rbp
add rcx, r9
call sub.msvcrt.dll_memcpy
bt dword [r13 + 0x10], 9
jae 0x5b3565
mov ecx, dword [r13 + 0x18]
mov r8d, ebx
mov rdx, rbp
call fcn.005b7920
mov dword [r13 + 0x18], eax
mov eax, ebx
sub esi, ebx
add rbp, rax
sub dword [r13 + 0x48], ebx
cmp dword [r13 + 0x48], 0
jne 0x5b4a39
mov dword [r13 + 0x48], r14d
mov dword [r13], 6
bt dword [r13 + 0x10], 0xb
jae 0x5b3606
test esi, esi
je 0x5b4a1e
mov r8, rbp
nop word [rax + rax]
mov rax, qword [r13 + 0x20]
movzx ebx, byte [r8]
inc r14d
inc r8
test rax, rax
je 0x5b35cc
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x5b35cc
mov ecx, dword [r13 + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x5b35cc
mov byte [rcx + rdx], bl
inc dword [r13 + 0x48]
test ebx, ebx
je 0x5b35d5
cmp r14d, esi
jb 0x5b35a0
bt dword [r13 + 0x10], 9
jae 0x5b35f0
mov ecx, dword [r13 + 0x18]
mov r8d, r14d
mov rdx, rbp
call fcn.005b7920
mov dword [r13 + 0x18], eax
mov eax, r14d
sub esi, r14d
add rbp, rax
test ebx, ebx
jne 0x5b4a03
xor r14d, r14d
jmp 0x5b3613
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x5b3613
mov qword [rax + 0x20], r14
mov dword [r13 + 0x48], r14d
mov dword [r13], 7
bt dword [r13 + 0x10], 0xc
jae 0x5b3698
test esi, esi
je 0x5b49e8
mov r8, rbp
mov rax, qword [r13 + 0x20]
movzx ebx, byte [r8]
inc r14d
inc r8
test rax, rax
je 0x5b365e
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x5b365e
mov ecx, dword [r13 + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x5b365e
mov byte [rcx + rdx], bl
inc dword [r13 + 0x48]
test ebx, ebx
je 0x5b3667
cmp r14d, esi
jb 0x5b3632
bt dword [r13 + 0x10], 9
jae 0x5b3682
mov ecx, dword [r13 + 0x18]
mov r8d, r14d
mov rdx, rbp
call fcn.005b7920
mov dword [r13 + 0x18], eax
mov eax, r14d
sub esi, r14d
add rbp, rax
test ebx, ebx
jne 0x5b49cd
xor r14d, r14d
jmp 0x5b36a5
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x5b36a5
mov qword [rax + 0x30], r14
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
mov dword [r13], 8
bt dword [r13 + 0x10], 9
jae 0x5b370f
cmp edi, 0x10
jae 0x5b36e7
test esi, esi
je 0x5b49b2
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x10
jb 0x5b36c7
movzx eax, word [r13 + 0x18]
cmp r12d, eax
je 0x5b3709
lea rax, str.header_crc_mismatch
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
mov r12d, r14d
mov edi, r14d
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je 0x5b3730
mov eax, dword [r13 + 0x10]
sar eax, 9
and eax, 1
mov dword [rcx + 0x3c], eax
mov rax, qword [r13 + 0x20]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.005b7920
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
mov dword [r13 + 0x18], eax
mov dword [r15 + 0x4c], eax
mov dword [r13], 0xb
jmp 0x5b468e
cmp edi, 0x20
jae 0x5b3783
test esi, esi
je 0x5b4997
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x5b3763
mov ecx, r12d
mov eax, r12d
mov edi, r14d
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, r12d
shr r12d, 0x18
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
add eax, r12d
mov r12d, r14d
mov dword [r13 + 0x18], eax
mov dword [r15 + 0x4c], eax
mov dword [r13], 0xa
cmp dword [r13 + 0xc], 0
je 0x5b46c0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.005b72f0
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
mov dword [r13 + 0x18], eax
mov dword [r15 + 0x4c], eax
mov dword [r13], 0xb
cmp ebx, 5
je 0x5b497c
cmp ebx, 6
je 0x5b4961
cmp dword [r13 + 4], 0
je 0x5b3825
mov ecx, edi
mov dword [r13], 0x1a
and ecx, 7
shr r12d, cl
sub edi, ecx
jmp 0x5b468e
cmp edi, 3
jae 0x5b3850
nop word [rax + rax]
test esi, esi
je 0x5b4946
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 3
jb 0x5b3830
mov eax, r12d
shr r12d, 1
dec edi
and eax, 1
mov dword [r13 + 4], eax
mov eax, r12d
and eax, 3
je 0x5b3906
sub eax, 1
je 0x5b38b1
sub eax, 1
je 0x5b389d
cmp eax, 1
jne 0x5b390e
lea rax, str.invalid_block_type
shr r12d, 2
add edi, 0xfffffffe
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
shr r12d, 2
mov dword [r13], 0x10
add edi, 0xfffffffe
jmp 0x5b468e
lea rax, [0x0089de00]
mov dword [r13 + 0x68], 9
mov dword [r13 + 0x6c], 5
mov qword [r13 + 0x58], rax
lea rax, [0x0089e600]
mov dword [r13], 0x13
mov qword [r13 + 0x60], rax
cmp ebx, 6
jne 0x5b390e
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
shr r12d, 2
add edi, 0xfffffffe
jmp 0x5b4adb
mov dword [r13], 0xd
shr r12d, 2
add edi, 0xfffffffe
jmp 0x5b468e
mov ecx, edi
and ecx, 7
sub edi, ecx
shr r12d, cl
cmp edi, 0x20
jae 0x5b3950
nop dword [rax]
test esi, esi
je 0x5b492b
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x5b3930
mov eax, r12d
movzx ecx, r12w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x5b3978
lea rax, str.invalid_stored_block_lengths
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
mov dword [r13 + 0x48], ecx
mov r12d, r14d
mov edi, r14d
mov dword [r13], 0xe
cmp ebx, 6
je 0x5b4910
mov dword [r13], 0xf
mov r14d, dword [r13 + 0x48]
test r14d, r14d
je 0x5b39fb
cmp r14d, esi
cmova r14d, esi
cmp r14d, r10d
cmova r14d, r10d
test r14d, r14d
je 0x5b48f5
mov r8d, r14d
mov rdx, rbp
mov rcx, r9
mov ebx, r14d
call sub.msvcrt.dll_memcpy
mov r10d, dword [rsp + 0xb8]
mov r9, qword [rsp + 0x40]
sub r10d, r14d
sub esi, r14d
add r9, rbx
add rbp, rbx
sub dword [r13 + 0x48], r14d
mov dword [rsp + 0xb8], r10d
mov qword [rsp + 0x40], r9
jmp 0x5b468e
mov dword [r13], 0xb
jmp 0x5b468e
cmp edi, 0xe
jae 0x5b3a30
nop dword [rax]
test esi, esi
je 0x5b48da
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0xe
jb 0x5b3a10
mov ecx, r12d
shr r12d, 5
add edi, 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 [r13 + 0x74], ecx
mov dword [r13 + 0x78], edx
mov dword [r13 + 0x70], eax
cmp ecx, 0x11e
ja 0x5b3b92
cmp edx, 0x1e
ja 0x5b3b92
mov dword [r13 + 0x7c], r14d
mov dword [r13], 0x11
lea rdx, [0x00400000]
mov eax, dword [r13 + 0x70]
cmp dword [r13 + 0x7c], eax
jae 0x5b3af7
nop word [rax + rax]
cmp edi, 3
jae 0x5b3ac5
test esi, esi
je 0x5b48bf
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 3
jb 0x5b3aa5
mov eax, dword [r13 + 0x7c]
movzx ecx, r12w
add edi, 0xfffffffd
movzx eax, word [rdx + rax*2 + 0x49e680]
and cx, 7
shr r12d, 3
mov word [r13 + rax*2 + 0x88], cx
inc dword [r13 + 0x7c]
mov eax, dword [r13 + 0x70]
cmp dword [r13 + 0x7c], eax
jb 0x5b3aa0
cmp dword [r13 + 0x7c], 0x13
jae 0x5b3b20
nop
mov eax, dword [r13 + 0x7c]
movzx eax, word [rdx + rax*2 + 0x49e680]
mov word [r13 + rax*2 + 0x88], r14w
inc dword [r13 + 0x7c]
cmp dword [r13 + 0x7c], 0x13
jb 0x5b3b00
lea rcx, [r13 + 0x68]
lea rax, [r13 + 0x548]
lea r9, [r13 + 0x80]
mov qword [r9], rax
mov qword [r13 + 0x58], rax
lea rax, [r13 + 0x308]
mov qword [rsp + 0x28], rax
mov dword [rcx], 7
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea rdx, [r13 + 0x88]
lea r8d, [rcx + 0x13]
call fcn.005b5220
mov dword [rsp + 0xb0], eax
test eax, eax
je 0x5b3baa
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
lea rax, str.invalid_code_lengths_set
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
lea rax, str.too_many_length_or_distance_symbols
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
mov dword [r13 + 0x7c], r14d
mov dword [r13], 0x12
mov eax, dword [r13 + 0x78]
add eax, dword [r13 + 0x74]
cmp dword [r13 + 0x7c], eax
jae 0x5b3dd9
nop dword [rax + rax]
mov ecx, dword [r13 + 0x68]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [r13 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rsp + 0x34], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x5b3c46
nop dword [rax + rax]
test esi, esi
je 0x5b4853
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r13 + 0x68]
dec esi
add r12d, eax
mov eax, 1
inc rbp
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [r13 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rsp + 0x34], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x5b3c00
mov edx, eax
shr edx, 0x10
cmp dx, 0x10
jae 0x5b3c72
shr eax, 8
movzx ecx, al
mov eax, dword [r13 + 0x7c]
mov word [r13 + rax*2 + 0x88], dx
shr r12d, cl
sub edi, ecx
inc dword [r13 + 0x7c]
jmp 0x5b3dc7
cmp dx, 0x10
jne 0x5b3ceb
movzx edx, byte [rsp + 0x35]
shr eax, 8
movzx ecx, al
add ecx, 2
cmp edi, ecx
jae 0x5b3cb5
nop word [rax + rax]
test esi, esi
je 0x5b48a4
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
movzx eax, dl
add eax, 2
cmp edi, eax
jb 0x5b3c90
mov eax, dword [r13 + 0x7c]
movzx ecx, dl
shr r12d, cl
sub edi, ecx
test eax, eax
je 0x5b3e14
mov r8d, r12d
dec eax
shr r12d, 2
movzx r9d, word [r13 + rax*2 + 0x88]
and r8d, 3
add r8d, 3
add edi, 0xfffffffe
jmp 0x5b3d93
cmp word [rsp + 0x36], 0x11
jne 0x5b3d44
movzx r10d, byte [rsp + 0x35]
lea edx, [r10 + 3]
cmp edi, edx
jae 0x5b3d20
test esi, esi
je 0x5b4889
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, edx
jb 0x5b3d01
mov ecx, r10d
mov eax, 0xfffffffd
mov r9d, r14d
shr r12d, cl
sub eax, r10d
mov r8d, r12d
shr r12d, 3
and r8d, 7
add r8d, 3
add edi, eax
jmp 0x5b3d93
movzx r10d, byte [rsp + 0x35]
lea edx, [r10 + 7]
cmp edi, edx
jae 0x5b3d71
test esi, esi
je 0x5b486e
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, edx
jb 0x5b3d52
mov ecx, r10d
mov eax, 0xfffffff9
mov r9d, r14d
shr r12d, cl
sub eax, r10d
mov r8d, r12d
shr r12d, 7
and r8d, 0x7f
add r8d, 0xb
add edi, eax
mov edx, dword [r13 + 0x78]
mov eax, dword [r13 + 0x7c]
add edx, dword [r13 + 0x74]
lea ecx, [r8 + rax]
cmp ecx, edx
ja 0x5b3e39
test r8d, r8d
je 0x5b3dc7
mov eax, dword [r13 + 0x7c]
mov word [r13 + rax*2 + 0x88], r9w
inc dword [r13 + 0x7c]
add r8d, 0xffffffff
jne 0x5b3db0
mov eax, dword [r13 + 0x78]
add eax, dword [r13 + 0x74]
cmp dword [r13 + 0x7c], eax
jb 0x5b3bd0
cmp dword [r13], 0x1d
je 0x5b4681
cmp word [r13 + 0x288], 0
jne 0x5b3e5e
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
lea rax, str.invalid_code____missing_end_of_block
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
mov r8d, dword [r13 + 0x74]
lea rax, [r13 + 0x548]
lea r14, [r13 + 0x308]
mov qword [r13 + 0x80], rax
mov qword [r13 + 0x58], rax
lea rax, [r13 + 0x68]
lea rdx, [r13 + 0x88]
lea r9, [r13 + 0x80]
mov ecx, 1
mov qword [rsp + 0x28], r14
mov dword [rax], 9
mov qword [rsp + 0x20], rax
call fcn.005b5220
mov dword [rsp + 0xb0], eax
test eax, eax
je 0x5b3ed7
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
lea rax, str.invalid_literal_lengths_set
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
mov rax, qword [r13 + 0x80]
mov r8d, dword [r13 + 0x78]
lea rcx, [r13 + 0x6c]
mov qword [r13 + 0x60], rax
mov eax, dword [r13 + 0x74]
mov dword [rcx], 6
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea r9, [r13 + 0x80]
lea rdx, [r13 + rax*2 + 0x88]
mov ecx, 2
call fcn.005b5220
mov r14d, eax
mov dword [rsp + 0xb0], eax
test eax, eax
je 0x5b3f4a
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
lea rax, str.invalid_distances_set
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
mov ecx, dword [rsp + 0xa8]
mov dword [r13], 0x13
cmp ecx, 6
je 0x5b4847
mov r9, qword [rsp + 0x40]
mov r8d, dword [rsp + 0xa0]
mov r10d, dword [rsp + 0xb8]
xor r14d, r14d
mov dword [r13], 0x14
cmp esi, 6
jb 0x5b3ff1
cmp r10d, 0x102
jb 0x5b3ff1
mov qword [r15 + 0x10], r9
mov dword [r15 + 0x18], r10d
mov qword [r15], rbp
mov dword [r15 + 8], esi
mov edx, r8d
mov rcx, r15
mov dword [r13 + 0x40], r12d
mov dword [r13 + 0x44], edi
call fcn.005b4d20
cmp dword [r13], 0xb
mov r9, qword [r15 + 0x10]
mov r10d, dword [r15 + 0x18]
mov rbp, qword [r15]
mov esi, dword [r15 + 8]
mov r12d, dword [r13 + 0x40]
mov edi, dword [r13 + 0x44]
mov qword [rsp + 0x40], r9
mov dword [rsp + 0xb8], r10d
jne 0x5b468e
mov dword [r13 + 0x1bdc], 0xffffffff
jmp 0x5b468e
mov ecx, dword [r13 + 0x68]
mov r11, qword [r13 + 0x58]
mov eax, 1
shl eax, cl
mov dword [r13 + 0x1bdc], r14d
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x5b4062
test esi, esi
je 0x5b4811
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r13 + 0x68]
dec esi
add r12d, eax
mov eax, 1
inc rbp
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [r13 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x5b4020
test al, al
je 0x5b413a
test al, 0xf0
jne 0x5b413a
mov r10d, eax
movzx ecx, al
mov dword [rsp + 0x34], 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, r12d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
movzx r11d, byte [rsp + 0x35]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, edi
jbe 0x5b412a
movzx r10d, word [rsp + 0x36]
nop dword [rax]
test esi, esi
je 0x5b482c
movzx eax, byte [rbp]
mov ecx, edi
movzx r9d, r11b
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add r12d, eax
movzx eax, r10w
shl r8d, cl
mov ecx, r9d
add edi, 8
dec r8d
dec esi
inc rbp
and r8d, r12d
shr r8d, cl
add r8d, eax
mov rax, qword [r13 + 0x58]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x5b40d0
movzx ecx, r11b
shr r12d, cl
sub edi, ecx
mov dword [r13 + 0x1bdc], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [r13 + 0x1bdc], ecx
shr r12d, cl
sub edi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [r13 + 0x48], ecx
test al, al
jne 0x5b4175
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
mov dword [r13], 0x19
jmp 0x5b468e
test al, 0x20
je 0x5b419e
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
mov dword [r13 + 0x1bdc], 0xffffffff
mov dword [r13], 0xb
jmp 0x5b468e
test al, 0x40
je 0x5b41c7
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
lea rax, str.invalid_literal_length_code
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
movzx ecx, al
mov dword [r13], 0x15
and ecx, 0xf
mov dword [r13 + 0x50], ecx
mov edx, dword [r13 + 0x50]
test edx, edx
je 0x5b4224
cmp edi, edx
jae 0x5b4206
test esi, esi
je 0x5b47f6
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, dword [r13 + 0x50]
jb 0x5b41e5
mov ecx, edx
mov eax, 1
sub edi, edx
shl eax, cl
dec eax
and eax, r12d
shr r12d, cl
add dword [r13 + 0x48], eax
add dword [r13 + 0x1bdc], edx
mov eax, dword [r13 + 0x48]
mov dword [r13], 0x16
mov dword [r13 + 0x1be0], eax
mov ecx, dword [r13 + 0x6c]
mov r11, qword [r13 + 0x60]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x5b42a2
nop
test esi, esi
je 0x5b47c0
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [r13 + 0x6c]
dec esi
add r12d, eax
mov eax, 1
inc rbp
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [r13 + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x5b4260
test al, 0xf0
jne 0x5b436b
mov r10d, eax
movzx ecx, al
mov dword [rsp + 0x34], 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, r12d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
movzx r11d, byte [rsp + 0x35]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, edi
jbe 0x5b435b
movzx r10d, word [rsp + 0x36]
test esi, esi
je 0x5b47db
movzx eax, byte [rbp]
mov ecx, edi
movzx r9d, r11b
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add r12d, eax
movzx eax, r10w
shl r8d, cl
mov ecx, r9d
add edi, 8
dec r8d
dec esi
inc rbp
and r8d, r12d
shr r8d, cl
add r8d, eax
mov rax, qword [r13 + 0x60]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x5b4301
movzx ecx, r11b
shr r12d, cl
sub edi, ecx
add dword [r13 + 0x1bdc], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [r13 + 0x1bdc], ecx
shr r12d, cl
sub edi, ecx
test al, 0x40
je 0x5b43a8
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
lea rax, str.invalid_distance_code
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
mov r9, qword [rsp + 0x40]
mov r8d, dword [rsp + 0xa0]
mov r10d, dword [rsp + 0xb8]
mov ecx, eax
mov dword [r13], 0x17
shr ecx, 0x10
mov dword [r13 + 0x4c], ecx
movzx ecx, al
and ecx, 0xf
mov dword [r13 + 0x50], ecx
mov edx, dword [r13 + 0x50]
test edx, edx
je 0x5b4423
cmp edi, edx
jae 0x5b4405
test esi, esi
je 0x5b47a5
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, dword [r13 + 0x50]
jb 0x5b43e4
mov ecx, edx
mov eax, 1
sub edi, edx
shl eax, cl
dec eax
and eax, r12d
shr r12d, cl
add dword [r13 + 0x4c], eax
add dword [r13 + 0x1bdc], edx
mov dword [r13], 0x18
test r10d, r10d
je 0x5b478a
mov edx, dword [r13 + 0x4c]
mov eax, r8d
sub eax, r10d
cmp edx, eax
jbe 0x5b4496
sub edx, eax
cmp edx, dword [r13 + 0x30]
jbe 0x5b446c
cmp dword [r13 + 0x1bd8], 0
je 0x5b446c
lea rax, str.invalid_distance_too_far_back
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
mov eax, dword [r13 + 0x34]
cmp edx, eax
jbe 0x5b4482
mov ecx, dword [r13 + 0x2c]
sub edx, eax
sub ecx, edx
add rcx, qword [r13 + 0x38]
jmp 0x5b448a
sub eax, edx
mov ecx, eax
add rcx, qword [r13 + 0x38]
mov eax, dword [r13 + 0x48]
cmp edx, eax
jbe 0x5b44a2
mov edx, eax
jmp 0x5b44a2
mov eax, dword [r13 + 0x48]
mov rcx, r9
sub rcx, rdx
mov edx, eax
cmp edx, r10d
cmova edx, r10d
sub r10d, edx
sub eax, edx
mov dword [r13 + 0x48], eax
mov dword [rsp + 0xb8], r10d
nop word [rax + rax]
movzx eax, byte [rcx]
inc r9
inc rcx
add edx, 0xffffffff
mov byte [r9 - 1], al
jne 0x5b44c0
mov qword [rsp + 0x40], r9
cmp dword [r13 + 0x48], edx
jne 0x5b468e
mov dword [r13], 0x14
jmp 0x5b468e
test r10d, r10d
je 0x5b476f
movzx eax, byte [r13 + 0x48]
inc r9
dec r10d
mov byte [r9 - 1], al
mov dword [rsp + 0xb8], r10d
mov qword [rsp + 0x40], r9
mov dword [r13], 0x14
jmp 0x5b468e
cmp dword [r13 + 8], 0
je 0x5b460f
cmp edi, 0x20
jae 0x5b4550
test esi, esi
je 0x5b4754
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x5b4530
sub r8d, r10d
add dword [r15 + 0x1c], r8d
add dword [r13 + 0x1c], r8d
test r8d, r8d
je 0x5b45a2
cmp dword [r13 + 0x10], 0
je 0x5b457b
mov ecx, dword [r13 + 0x18]
mov eax, r8d
mov rdx, r9
sub rdx, rax
call fcn.005b7920
jmp 0x5b458d
mov ecx, dword [r13 + 0x18]
mov eax, r8d
mov rdx, r9
sub rdx, rax
call fcn.005b72f0
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
mov dword [r13 + 0x18], eax
mov dword [r15 + 0x4c], eax
cmp dword [r13 + 0x10], 0
mov ebx, r10d
mov dword [rsp + 0xa0], ebx
je 0x5b45b8
mov ecx, r12d
jmp 0x5b45e1
mov ecx, r12d
mov eax, r12d
shl eax, 0x10
and ecx, 0xff00
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 ecx, dword [r13 + 0x18]
je 0x5b45ff
lea rax, str.incorrect_data_check
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
mov r12d, r14d
mov edi, r14d
mov dword [r13], 0x1b
jmp 0x5b4627
mov ebx, dword [rsp + 0xa0]
mov dword [r13], 0x1b
jmp 0x5b4627
mov ebx, dword [rsp + 0xa0]
cmp dword [r13 + 8], 0
je 0x5b4708
cmp dword [r13 + 0x10], 0
je 0x5b4708
cmp edi, 0x20
jae 0x5b4662
test esi, esi
je 0x5b4acc
movzx eax, byte [rbp]
mov ecx, edi
add edi, 8
shl eax, cl
dec esi
inc rbp
add r12d, eax
cmp edi, 0x20
jb 0x5b4642
cmp r12d, dword [r13 + 0x1c]
je 0x5b4702
lea rax, str.incorrect_length_check
mov qword [r15 + 0x20], rax
mov dword [r13], 0x1d
jmp 0x5b468e
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0xb8]
mov eax, dword [r13]
cmp eax, 0x1e
ja case.default.0x5b311c
mov r8d, dword [rsp + 0xa0]
mov ebx, dword [rsp + 0xa8]
xor r14d, r14d
lea rdx, [0x00400000]
lea r11, str.unknown_compression_method
jmp 0x5b3110
mov qword [r15 + 0x10], r9
mov dword [r15 + 0x18], r10d
mov qword [r15], rbp
mov dword [r15 + 8], esi
mov eax, 2
mov dword [r13 + 0x40], r12d
mov dword [r13 + 0x44], edi
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov r14, qword [rsp + 0x58]
add rsp, 0x80
pop r15
pop r13
pop rbx
ret
mov r12d, r14d
mov edi, r14d
mov ecx, dword [rsp + 0xa8]
mov dword [r13], 0x1c
mov r14d, 1
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0xa8]
mov r14d, 1
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0xa8]
mov r14d, 0xfffffffd
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov ebx, dword [rsp + 0xa0]
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
jmp 0x5b4adb
mov r14d, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xa8]
mov rax, qword [rsp + 0x40]
mov qword [r15], rbp
mov dword [r15 + 8], esi
mov qword [r15 + 0x10], rax
mov eax, dword [rsp + 0xb8]
mov dword [r15 + 0x18], eax
cmp dword [r13 + 0x2c], 0
mov dword [r13 + 0x40], r12d
mov dword [r13 + 0x44], edi
jne 0x5b4b1e
cmp ebx, dword [r15 + 0x18]
je 0x5b4b47
mov eax, dword [r13]
cmp eax, 0x1d
jge 0x5b4b47
cmp eax, 0x1a
jl 0x5b4b1e
cmp ecx, 4
je 0x5b4b47
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
mov rcx, r15
sub r8d, dword [r15 + 0x18]
call fcn.005b2f40
test eax, eax
je 0x5b4b47
mov dword [r13], 0x1e
mov eax, 0xfffffffc
jmp 0x5b46dc
sub ebx, dword [r15 + 0x18]
mov r10d, dword [rsp + 0x38]
sub r10d, dword [r15 + 8]
add dword [r15 + 0x1c], ebx
add dword [r15 + 0xc], r10d
add dword [r13 + 0x1c], ebx
cmp dword [r13 + 8], 0
mov dword [rsp + 0x38], r10d
je 0x5b4bb0
test ebx, ebx
je 0x5b4bb0
cmp dword [r13 + 0x10], 0
je 0x5b4b8e
mov rdx, qword [r15 + 0x10]
mov ecx, dword [r13 + 0x18]
mov eax, ebx
sub rdx, rax
mov r8d, ebx
call fcn.005b7920
jmp 0x5b4ba3
mov rdx, qword [r15 + 0x10]
mov ecx, dword [r13 + 0x18]
mov eax, ebx
sub rdx, rax
mov r8d, ebx
call fcn.005b72f0
mov r10d, dword [rsp + 0x38]
mov dword [r13 + 0x18], eax
mov dword [r15 + 0x4c], eax
mov edx, dword [r13]
cmp edx, 0x13
je 0x5b4bc6
cmp edx, 0xe
je 0x5b4bc6
xor r9d, r9d
mov r8d, r9d
jmp 0x5b4bcf
mov r8d, pe_nt_image_headers64
xor r9d, r9d
mov eax, dword [r13 + 4]
neg eax
mov eax, 0x80
sbb ecx, ecx
and ecx, 0x40
cmp edx, 0xb
cmove r9d, eax
lea eax, [r8 + rcx]
add r9d, eax
add r9d, dword [r13 + 0x44]
mov dword [r15 + 0x48], r9d
test r10d, r10d
jne 0x5b4bfe
test ebx, ebx
je 0x5b4c08
cmp dword [rsp + 0xa8], 4
jne 0x5b4c14
mov eax, 0xfffffffb
test r14d, r14d
cmove r14d, eax
mov eax, r14d
jmp 0x5b46dc
mov eax, 0xfffffffe
jmp 0x5b46dc
mov eax, 0xfffffffe
add rsp, 0x80
pop r15
pop r13
pop rbx
ret