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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
cmp qword [rsp + 0xc0], 0
je 0x599e45
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x28], 0
je 0x599e45
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x10], 0
je 0x599e45
mov rax, qword [rsp + 0xc0]
cmp qword [rax], 0
jne 0x599e4f
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 8], 0
je 0x599e4f
mov eax, 0xfffffffe
jmp 0x59cd43
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0xb
jne 0x599e7e
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xc
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x40]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x599e7e
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0x1e
ja case.default.0x599f31
movsxd rax, dword [rsp + 0x88]
lea rcx, [0x00400000]
mov eax, dword [rcx + rax*4 + 0x19cd4c]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0
jne 0x599f54
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xc
jmp 0x59ca71
cmp dword [rsp + 0x4c], 0x10
jae 0x599fb2
cmp dword [rsp + 0x40], 0
jne 0x599f67
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x599f5b
jmp 0x599f54
xor eax, eax
test eax, eax
jne 0x599f54
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
and eax, 2
test eax, eax
je 0x59a064
cmp dword [rsp + 0x64], 0x8b1f
jne 0x59a064
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0059f500
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], r11d
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x68], al
mov eax, dword [rsp + 0x64]
shr eax, 8
mov byte [rsp + 0x69], al
mov r8d, 2
lea rdx, [rsp + 0x68]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.0059f500
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], r11d
xor eax, eax
test eax, eax
jne 0x599ff7
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x59a03b
mov rax, qword [rsp + 0x80]
mov dword [rax], 1
jmp 0x59ca71
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x59a095
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov dword [rax + 0x40], 0xffffffff
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
je 0x59a0c9
mov eax, dword [rsp + 0x64]
and eax, 0xff
shl eax, 8
mov ecx, dword [rsp + 0x64]
shr ecx, 8
add eax, ecx
xor edx, edx
mov ecx, 0x1f
div ecx
test edx, edx
je 0x59a0ef
mov rcx, qword [rsp + 0xc0]
lea rax, str.incorrect_header_check
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov eax, dword [rsp + 0x64]
and eax, 0xf
cmp eax, 8
je 0x59a121
mov rcx, qword [rsp + 0xc0]
lea rax, [0x007be578]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov eax, dword [rsp + 0x64]
shr eax, 4
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 4
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59a121
mov eax, dword [rsp + 0x64]
and eax, 0xf
add eax, 8
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x28], 0
jne 0x59a16a
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x48]
mov dword [rcx + 0x28], eax
jmp 0x59a1a1
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x48], eax
jbe 0x59a1a1
mov rcx, qword [rsp + 0xc0]
lea rax, str.invalid_window_size
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov ecx, dword [rsp + 0x48]
mov eax, 1
shl eax, cl
mov ecx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x14], ecx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0059ed00
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], r11d
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
mov dword [rcx + 0x4c], eax
mov eax, dword [rsp + 0x64]
and eax, 0x200
test eax, eax
je 0x59a204
mov dword [rsp + 0x8c], 9
jmp 0x59a20f
mov dword [rsp + 0x8c], 0xb
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x8c]
mov dword [rcx], eax
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x59a220
jmp 0x59ca71
cmp dword [rsp + 0x4c], 0x10
jae 0x59a299
cmp dword [rsp + 0x40], 0
jne 0x59a24e
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59a242
jmp case.0x599f31.1
xor eax, eax
test eax, eax
jne case.0x599f31.1
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0xff
cmp eax, 8
je 0x59a2e9
mov rcx, qword [rsp + 0xc0]
lea rax, str.unknown_compression_method
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0xe000
test eax, eax
je 0x59a323
mov rcx, qword [rsp + 0xc0]
lea rax, str.unknown_header_flags_set
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x59a34a
mov ecx, dword [rsp + 0x64]
shr ecx, 8
and ecx, 1
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov dword [rax], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x59a3a2
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x68], al
mov eax, dword [rsp + 0x64]
shr eax, 8
mov byte [rsp + 0x69], al
mov r8d, 2
lea rdx, [rsp + 0x68]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.0059f500
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], r11d
xor eax, eax
test eax, eax
jne 0x59a35e
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x59a3a2
mov rax, qword [rsp + 0x80]
mov dword [rax], 2
cmp dword [rsp + 0x4c], 0x20
jae 0x59a424
cmp dword [rsp + 0x40], 0
jne 0x59a3d9
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59a3cd
jmp case.0x599f31.2
xor eax, eax
test eax, eax
jne case.0x599f31.2
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x59a44c
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x20]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x59a4ba
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x68], al
mov eax, dword [rsp + 0x64]
shr eax, 8
mov byte [rsp + 0x69], al
mov eax, dword [rsp + 0x64]
shr eax, 0x10
mov byte [rsp + 0x6a], al
mov eax, dword [rsp + 0x64]
shr eax, 0x18
mov byte [rsp + 0x6b], al
mov r8d, 4
lea rdx, [rsp + 0x68]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.0059f500
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], r11d
xor eax, eax
test eax, eax
jne 0x59a460
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x59a4ba
mov rax, qword [rsp + 0x80]
mov dword [rax], 3
cmp dword [rsp + 0x4c], 0x10
jae 0x59a53c
cmp dword [rsp + 0x40], 0
jne 0x59a4f1
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59a4e5
jmp case.0x599f31.3
xor eax, eax
test eax, eax
jne case.0x599f31.3
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x59a580
mov ecx, dword [rsp + 0x64]
and ecx, 0xff
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov dword [rax + 8], ecx
mov ecx, dword [rsp + 0x64]
shr ecx, 8
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x59a5d8
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x68], al
mov eax, dword [rsp + 0x64]
shr eax, 8
mov byte [rsp + 0x69], al
mov r8d, 2
lea rdx, [rsp + 0x68]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.0059f500
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], r11d
xor eax, eax
test eax, eax
jne 0x59a594
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x59a5d8
mov rax, qword [rsp + 0x80]
mov dword [rax], 4
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x400
test eax, eax
je 0x59a719
cmp dword [rsp + 0x4c], 0x10
jae 0x59a672
cmp dword [rsp + 0x40], 0
jne 0x59a627
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59a61b
jmp 0x59a614
xor eax, eax
test eax, eax
jne 0x59a614
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 0x48], eax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x59a6a9
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x20]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 0x18], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x59a701
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x68], al
mov eax, dword [rsp + 0x64]
shr eax, 8
mov byte [rsp + 0x69], al
mov r8d, 2
lea rdx, [rsp + 0x68]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.0059f500
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], r11d
xor eax, eax
test eax, eax
jne 0x59a6bd
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x59a701
jmp 0x59a73c
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x59a73c
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x80]
mov dword [rax], 5
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x400
test eax, eax
je 0x59a8cd
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
jbe 0x59a783
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x59a8ba
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x59a842
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
cmp qword [rax + 0x10], 0
je 0x59a842
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x20]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x48]
mov eax, dword [rdx + 0x18]
sub eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
cmp ecx, dword [rax + 0x1c]
jbe 0x59a811
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov ecx, dword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
sub eax, ecx
mov dword [rsp + 0x90], eax
jmp 0x59a81c
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x90], eax
mov r8d, dword [rsp + 0x90]
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov ecx, dword [rsp + 0x48]
add rcx, qword [rax + 0x10]
mov rdx, qword [rsp + 0x58]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x59a87f
mov r8d, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.0059f500
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], r11d
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x40]
sub eax, ecx
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x58]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rcx + 0x48]
sub ecx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x48], 0
je 0x59a8cd
jmp 0x59ca76
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], 0
mov rax, qword [rsp + 0x80]
mov dword [rax], 6
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x800
test eax, eax
je 0x59aa2b
cmp dword [rsp + 0x40], 0
jne 0x59a90e
jmp 0x59ca76
mov dword [rsp + 0x6c], 0
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + rcx]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x59a9ac
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
cmp qword [rax + 0x20], 0
je 0x59a9ac
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rax + 0x28]
cmp dword [rcx + 0x48], eax
jae 0x59a9ac
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x48]
mov rcx, qword [rcx + 0x20]
movzx eax, byte [rsp + 0x48]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x48]
add ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
cmp dword [rsp + 0x48], 0
je 0x59a9c1
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
jb 0x59a916
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x59a9fe
mov r8d, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.0059f500
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], r11d
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x40]
sub eax, ecx
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x58]
add rax, rcx
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x48], 0
je 0x59aa29
jmp 0x59ca76
jmp 0x59aa4e
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x59aa4e
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], 0
mov rax, qword [rsp + 0x80]
mov dword [rax], 7
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x1000
test eax, eax
je 0x59abac
cmp dword [rsp + 0x40], 0
jne 0x59aa8f
jmp 0x59ca76
mov dword [rsp + 0x6c], 0
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + rcx]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x59ab2d
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
cmp qword [rax + 0x30], 0
je 0x59ab2d
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
cmp dword [rcx + 0x48], eax
jae 0x59ab2d
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x48]
mov rcx, qword [rcx + 0x30]
movzx eax, byte [rsp + 0x48]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x48]
add ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
cmp dword [rsp + 0x48], 0
je 0x59ab42
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
jb 0x59aa97
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x59ab7f
mov r8d, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.0059f500
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], r11d
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x40]
sub eax, ecx
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x58]
add rax, rcx
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x48], 0
je 0x59abaa
jmp 0x59ca76
jmp 0x59abcf
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x59abcf
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov qword [rax + 0x30], 0
mov rax, qword [rsp + 0x80]
mov dword [rax], 8
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x59acab
cmp dword [rsp + 0x4c], 0x10
jae 0x59ac53
cmp dword [rsp + 0x40], 0
jne 0x59ac08
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59abfc
jmp 0x59abf5
xor eax, eax
test eax, eax
jne 0x59abf5
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
and eax, 0xffff
cmp dword [rsp + 0x64], eax
je 0x59ac95
mov rcx, qword [rsp + 0xc0]
lea rax, str.header_crc_mismatch
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x59ac95
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x59aced
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x10]
sar ecx, 9
and ecx, 1
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov dword [rax + 0x3c], ecx
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0059f500
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], r11d
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
mov dword [rcx + 0x4c], eax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xb
jmp 0x59ca71
cmp dword [rsp + 0x4c], 0x20
jae 0x59ad8f
cmp dword [rsp + 0x40], 0
jne 0x59ad44
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59ad38
jmp case.0x599f31.9
xor eax, eax
test eax, eax
jne case.0x599f31.9
mov ecx, dword [rsp + 0x64]
shr ecx, 0x18
and ecx, 0xff
mov eax, dword [rsp + 0x64]
shr eax, 8
and eax, 0xff00
add ecx, eax
mov eax, dword [rsp + 0x64]
and eax, 0xff00
shl eax, 8
add ecx, eax
mov eax, dword [rsp + 0x64]
and eax, 0xff
shl eax, 0x18
add ecx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
mov dword [rcx + 0x4c], eax
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x59aded
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xa
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0xc], 0
jne 0x59ae8c
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x30]
mov qword [rcx + 0x10], rax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x50]
mov dword [rcx + 0x18], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x58]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x40]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 0x40], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x4c]
mov dword [rcx + 0x44], eax
xor eax, eax
test eax, eax
jne 0x59ae1f
mov eax, 2
jmp 0x59cd43
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0059ed00
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], r11d
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
mov dword [rcx + 0x4c], eax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xb
cmp dword [rsp + 0xc8], 5
je 0x59aedf
cmp dword [rsp + 0xc8], 6
jne case.0x599f31.12
jmp 0x59ca76
mov rax, qword [rsp + 0x80]
cmp dword [rax + 4], 0
je 0x59af30
mov eax, dword [rsp + 0x4c]
and eax, 7
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
mov ecx, dword [rsp + 0x4c]
and ecx, 7
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59aef2
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1a
jmp 0x59ca71
cmp dword [rsp + 0x4c], 3
jae 0x59af8e
cmp dword [rsp + 0x40], 0
jne 0x59af43
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59af37
jmp 0x59af30
xor eax, eax
test eax, eax
jne 0x59af30
mov ecx, dword [rsp + 0x64]
and ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 4], ecx
mov eax, dword [rsp + 0x64]
shr eax, 1
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 1
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59afa6
mov eax, dword [rsp + 0x64]
and eax, 3
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x59affc
cmp dword [rsp + 0x94], 1
je 0x59b00c
cmp dword [rsp + 0x94], 2
je 0x59b055
cmp dword [rsp + 0x94], 3
je 0x59b065
jmp 0x59b086
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xd
jmp 0x59b086
mov rcx, qword [rsp + 0x80]
call fcn.0059cdd0
mov r11, qword [rsp + 0x80]
mov dword [r11], 0x13
cmp dword [rsp + 0xc8], 6
jne 0x59b053
mov eax, dword [rsp + 0x64]
shr eax, 2
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 2
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b032
jmp 0x59ca76
jmp 0x59b086
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x10
jmp 0x59b086
mov rcx, qword [rsp + 0xc0]
lea rax, str.invalid_block_type
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
mov eax, dword [rsp + 0x64]
shr eax, 2
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 2
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b086
jmp 0x59ca71
mov eax, dword [rsp + 0x4c]
and eax, 7
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
mov ecx, dword [rsp + 0x4c]
and ecx, 7
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne case.0x599f31.13
cmp dword [rsp + 0x4c], 0x20
jae 0x59b130
cmp dword [rsp + 0x40], 0
jne 0x59b0e5
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b0d9
jmp 0x59b0d2
xor eax, eax
test eax, eax
jne 0x59b0d2
mov ecx, dword [rsp + 0x64]
and ecx, 0xffff
mov eax, dword [rsp + 0x64]
shr eax, 0x10
xor eax, 0xffff
cmp ecx, eax
je 0x59b176
mov rcx, qword [rsp + 0xc0]
lea rax, str.invalid_stored_block_lengths
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov ecx, dword [rsp + 0x64]
and ecx, 0xffff
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x59b18b
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xe
cmp dword [rsp + 0xc8], 6
jne case.0x599f31.14
jmp 0x59ca76
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xf
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x59b28b
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
jbe 0x59b1f8
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x6c], eax
jbe 0x59b20a
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jne 0x59b216
jmp 0x59ca76
mov r8d, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_memcpy
mov r11d, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x40]
sub eax, r11d
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x58]
add rax, rcx
mov qword [rsp + 0x58], rax
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x50]
sub eax, ecx
mov dword [rsp + 0x50], eax
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rcx + 0x48]
sub ecx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
jmp 0x59ca71
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xb
jmp 0x59ca71
cmp dword [rsp + 0x4c], 0xe
jae 0x59b2fc
cmp dword [rsp + 0x40], 0
jne 0x59b2b1
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b2a5
jmp case.0x599f31.16
xor eax, eax
test eax, eax
jne case.0x599f31.16
mov ecx, dword [rsp + 0x64]
and ecx, 0x1f
add ecx, 0x101
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x74], ecx
mov eax, dword [rsp + 0x64]
shr eax, 5
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 5
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b31a
mov ecx, dword [rsp + 0x64]
and ecx, 0x1f
add ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x78], ecx
mov eax, dword [rsp + 0x64]
shr eax, 5
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 5
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b34b
mov ecx, dword [rsp + 0x64]
and ecx, 0xf
add ecx, 4
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x70], ecx
mov eax, dword [rsp + 0x64]
shr eax, 4
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 4
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b37c
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x74], 0x11e
ja 0x59b3b7
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x78], 0x1e
jbe 0x59b3dd
mov rcx, qword [rsp + 0xc0]
lea rax, str.too_many_length_or_distance_symbols
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x7c], 0
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x11
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x70]
cmp dword [rcx + 0x7c], eax
jae 0x59b4e1
cmp dword [rsp + 0x4c], 3
jae 0x59b474
cmp dword [rsp + 0x40], 0
jne 0x59b429
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b41d
jmp 0x59b416
xor eax, eax
test eax, eax
jne 0x59b416
mov edx, dword [rsp + 0x64]
and edx, 7
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x7c]
lea rax, [0x007bf030]
movzx ecx, word [rax + rcx*2]
mov rax, qword [rsp + 0x80]
mov word [rax + rcx*2 + 0x88], dx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x7c]
add ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x7c], ecx
mov eax, dword [rsp + 0x64]
shr eax, 3
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 3
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b4c0
jmp case.0x599f31.17
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x7c], 0x13
jae 0x59b532
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x7c]
lea rax, [0x007bf030]
movzx edx, word [rax + rcx*2]
xor ecx, ecx
mov rax, qword [rsp + 0x80]
mov word [rax + rdx*2 + 0x88], cx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x7c]
add ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x7c], ecx
jmp 0x59b4e1
mov rcx, qword [rsp + 0x80]
add rcx, 0x548
mov rax, qword [rsp + 0x80]
mov qword [rax + 0x80], rcx
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x80]
mov qword [rcx + 0x58], rax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x68], 7
mov rcx, qword [rsp + 0x80]
add rcx, 0x308
mov rax, qword [rsp + 0x80]
add rax, 0x68
mov r9, qword [rsp + 0x80]
add r9, 0x80
mov rdx, qword [rsp + 0x80]
add rdx, 0x88
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r8d, 0x13
xor ecx, ecx
call fcn.0059e4b0
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x59b5fb
mov rcx, qword [rsp + 0xc0]
lea rax, str.invalid_code_lengths_set
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x7c], 0
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x12
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x74]
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x78]
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x7c], ecx
jae 0x59baa8
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x68]
mov eax, 1
shl eax, cl
mov ecx, eax
sub ecx, 1
mov eax, dword [rsp + 0x64]
and eax, ecx
mov ecx, eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x58]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x3d]
cmp eax, dword [rsp + 0x4c]
ja 0x59b67e
jmp 0x59b6d8
cmp dword [rsp + 0x40], 0
jne 0x59b68a
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b67e
jmp 0x59b63f
movzx eax, word [rsp + 0x3e]
cmp eax, 0x10
jge 0x59b747
movzx eax, byte [rsp + 0x3d]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x3d]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b6e2
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x7c]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rsp + 0x3e]
mov word [rcx + rdx*2 + 0x88], ax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x7c]
add ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x7c], ecx
jmp 0x59baa3
movzx eax, word [rsp + 0x3e]
cmp eax, 0x10
jne 0x59b86e
movzx eax, byte [rsp + 0x3d]
add eax, 2
cmp dword [rsp + 0x4c], eax
jae 0x59b7ba
cmp dword [rsp + 0x40], 0
jne 0x59b76f
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b763
jmp 0x59b755
xor eax, eax
test eax, eax
jne 0x59b755
movzx eax, byte [rsp + 0x3d]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x3d]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b7c0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x7c], 0
jne 0x59b81b
mov rcx, qword [rsp + 0xc0]
lea rax, [0x007be688]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59baa8
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x7c]
sub eax, 1
mov ecx, eax
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + rcx*2 + 0x88]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x64]
and eax, 3
add eax, 3
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x64]
shr eax, 2
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 2
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b84d
jmp 0x59ba09
movzx eax, word [rsp + 0x3e]
cmp eax, 0x11
jne 0x59b945
movzx eax, byte [rsp + 0x3d]
add eax, 3
cmp dword [rsp + 0x4c], eax
jae 0x59b8e1
cmp dword [rsp + 0x40], 0
jne 0x59b896
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b88a
jmp 0x59b87c
xor eax, eax
test eax, eax
jne 0x59b87c
movzx eax, byte [rsp + 0x3d]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x3d]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b8e7
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x64]
and eax, 7
add eax, 3
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x64]
shr eax, 3
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 3
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b924
jmp 0x59ba09
movzx eax, byte [rsp + 0x3d]
add eax, 7
cmp dword [rsp + 0x4c], eax
jae 0x59b9aa
cmp dword [rsp + 0x40], 0
jne 0x59b95f
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b953
jmp 0x59b945
xor eax, eax
test eax, eax
jne 0x59b945
movzx eax, byte [rsp + 0x3d]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x3d]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b9b0
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x64]
and eax, 0x7f
add eax, 0xb
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x64]
shr eax, 7
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 7
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59b9ed
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x7c]
add edx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x74]
mov rcx, qword [rsp + 0x80]
add eax, dword [rcx + 0x78]
cmp edx, eax
jbe 0x59ba55
mov rcx, qword [rsp + 0xc0]
lea rax, str.invalid_bit_length_repeat
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59baa8
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x6c]
sub eax, 1
mov dword [rsp + 0x6c], eax
test ecx, ecx
je 0x59baa3
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x7c]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rsp + 0x48]
mov word [rcx + rdx*2 + 0x88], ax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x7c]
add ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x7c], ecx
jmp 0x59ba55
jmp case.0x599f31.18
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0x1d
jne 0x59baba
jmp 0x59ca71
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x288]
test eax, eax
jne 0x59baf3
mov rcx, qword [rsp + 0xc0]
lea rax, str.invalid_code____missing_end_of_block
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov rcx, qword [rsp + 0x80]
add rcx, 0x548
mov rax, qword [rsp + 0x80]
mov qword [rax + 0x80], rcx
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x80]
mov qword [rcx + 0x58], rax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x68], 9
mov rcx, qword [rsp + 0x80]
add rcx, 0x308
mov rax, qword [rsp + 0x80]
add rax, 0x68
mov r9, qword [rsp + 0x80]
add r9, 0x80
mov rdx, qword [rsp + 0x80]
add rdx, 0x88
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax + 0x74]
mov ecx, 1
call fcn.0059e4b0
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x59bbc5
mov rcx, qword [rsp + 0xc0]
lea rax, str.invalid_literal_lengths_set
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x80]
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x6c], 6
mov r10, qword [rsp + 0x80]
add r10, 0x308
mov r8, qword [rsp + 0x80]
add r8, 0x6c
mov r9, qword [rsp + 0x80]
add r9, 0x80
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x74]
mov rax, qword [rsp + 0x80]
lea rdx, [rax + rcx*2 + 0x88]
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r8
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax + 0x78]
mov ecx, 2
call fcn.0059e4b0
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x59bc85
mov rcx, qword [rsp + 0xc0]
lea rax, str.invalid_distances_set
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x13
cmp dword [rsp + 0xc8], 6
jne case.0x599f31.19
jmp 0x59ca76
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x14
cmp dword [rsp + 0x40], 6
jb 0x59bdc4
cmp dword [rsp + 0x50], 0x102
jb 0x59bdc4
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x30]
mov qword [rcx + 0x10], rax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x50]
mov dword [rcx + 0x18], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x58]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x40]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 0x40], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x4c]
mov dword [rcx + 0x44], eax
xor eax, eax
test eax, eax
jne 0x59bcc9
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.0059d930
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x40]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59bd3d
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0xb
jne 0x59bdbf
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], 0xffffffff
jmp 0x59ca71
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], 0
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x68]
mov eax, 1
shl eax, cl
mov ecx, eax
sub ecx, 1
mov eax, dword [rsp + 0x64]
and eax, ecx
mov ecx, eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x58]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x3d]
cmp eax, dword [rsp + 0x4c]
ja 0x59be15
jmp 0x59be6f
cmp dword [rsp + 0x40], 0
jne 0x59be21
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59be15
jmp 0x59bdd6
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x59bf96
movzx eax, byte [rsp + 0x3c]
and eax, 0xf0
test eax, eax
jne 0x59bf96
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
movzx r8d, word [rsp + 0x3a]
movzx ecx, byte [rsp + 0x39]
movzx eax, byte [rsp + 0x38]
add ecx, eax
mov eax, 1
shl eax, cl
sub eax, 1
mov edx, dword [rsp + 0x64]
and edx, eax
movzx eax, byte [rsp + 0x39]
movzx ecx, al
mov eax, edx
shr eax, cl
mov ecx, eax
mov eax, r8d
add eax, ecx
mov ecx, eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x58]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x39]
movzx ecx, byte [rsp + 0x3d]
add eax, ecx
cmp eax, dword [rsp + 0x4c]
ja 0x59bef4
jmp 0x59bf4e
cmp dword [rsp + 0x40], 0
jne 0x59bf00
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59bef4
jmp 0x59be96
movzx eax, byte [rsp + 0x39]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x39]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59bf4e
movzx ecx, byte [rsp + 0x39]
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x1bdc]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], ecx
movzx eax, byte [rsp + 0x3d]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x3d]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59bf96
movzx ecx, byte [rsp + 0x3d]
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x1bdc]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], ecx
movzx ecx, word [rsp + 0x3e]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
movzx eax, byte [rsp + 0x3c]
test eax, eax
jne 0x59c00a
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x19
jmp 0x59ca71
movzx eax, byte [rsp + 0x3c]
and eax, 0x20
test eax, eax
je 0x59c03b
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], 0xffffffff
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xb
jmp 0x59ca71
movzx eax, byte [rsp + 0x3c]
and eax, 0x40
test eax, eax
je 0x59c06d
mov rcx, qword [rsp + 0xc0]
lea rax, [0x007be728]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
movzx ecx, byte [rsp + 0x3c]
and ecx, 0xf
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x15
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x50], 0
je 0x59c199
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x50]
cmp dword [rsp + 0x4c], eax
jae 0x59c108
cmp dword [rsp + 0x40], 0
jne 0x59c0bd
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59c0b1
jmp 0x59c0a0
xor eax, eax
test eax, eax
jne 0x59c0a0
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x50]
mov eax, 1
shl eax, cl
sub eax, 1
mov ecx, dword [rsp + 0x64]
and ecx, eax
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x48]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x50]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x50]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59c13f
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x1bdc]
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x50]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], ecx
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x48]
mov dword [rcx + 0x1be0], eax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x16
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x6c]
mov eax, 1
shl eax, cl
mov ecx, eax
sub ecx, 1
mov eax, dword [rsp + 0x64]
and eax, ecx
mov ecx, eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x60]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x3d]
cmp eax, dword [rsp + 0x4c]
ja 0x59c1ff
jmp 0x59c259
cmp dword [rsp + 0x40], 0
jne 0x59c20b
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59c1ff
jmp case.0x599f31.22
movzx eax, byte [rsp + 0x3c]
and eax, 0xf0
test eax, eax
jne 0x59c373
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
movzx r8d, word [rsp + 0x3a]
movzx ecx, byte [rsp + 0x39]
movzx eax, byte [rsp + 0x38]
add ecx, eax
mov eax, 1
shl eax, cl
sub eax, 1
mov edx, dword [rsp + 0x64]
and edx, eax
movzx eax, byte [rsp + 0x39]
movzx ecx, al
mov eax, edx
shr eax, cl
mov ecx, eax
mov eax, r8d
add eax, ecx
mov ecx, eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x60]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x39]
movzx ecx, byte [rsp + 0x3d]
add eax, ecx
cmp eax, dword [rsp + 0x4c]
ja 0x59c2d1
jmp 0x59c32b
cmp dword [rsp + 0x40], 0
jne 0x59c2dd
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59c2d1
jmp 0x59c273
movzx eax, byte [rsp + 0x39]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x39]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59c32b
movzx ecx, byte [rsp + 0x39]
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x1bdc]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], ecx
movzx eax, byte [rsp + 0x3d]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x3d]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59c373
movzx ecx, byte [rsp + 0x3d]
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x1bdc]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], ecx
movzx eax, byte [rsp + 0x3c]
and eax, 0x40
test eax, eax
je 0x59c3ed
mov rcx, qword [rsp + 0xc0]
lea rax, [0x007be748]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
movzx ecx, word [rsp + 0x3e]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x4c], ecx
movzx ecx, byte [rsp + 0x3c]
and ecx, 0xf
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x17
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x50], 0
je 0x59c529
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x50]
cmp dword [rsp + 0x4c], eax
jae 0x59c498
cmp dword [rsp + 0x40], 0
jne 0x59c44d
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59c441
jmp 0x59c430
xor eax, eax
test eax, eax
jne 0x59c430
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x50]
mov eax, 1
shl eax, cl
sub eax, 1
mov ecx, dword [rsp + 0x64]
and ecx, eax
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x4c]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x4c], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x50]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x50]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59c4cf
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x1bdc]
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x50]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], ecx
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x18
cmp dword [rsp + 0x50], 0
jne 0x59c543
jmp 0x59ca76
mov ecx, dword [rsp + 0x50]
mov eax, dword [rsp + 0x78]
sub eax, ecx
mov dword [rsp + 0x6c], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x6c]
cmp dword [rcx + 0x4c], eax
jbe 0x59c655
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rax + 0x4c]
sub eax, ecx
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x30]
cmp dword [rsp + 0x6c], eax
jbe 0x59c5c3
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x1bd8], 0
je 0x59c5c3
mov rcx, qword [rsp + 0xc0]
lea rax, [0x007be760]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x34]
cmp dword [rsp + 0x6c], eax
jbe 0x59c60f
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x34]
mov eax, dword [rsp + 0x6c]
sub eax, ecx
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rax + 0x2c]
sub eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x38]
mov qword [rsp + 0x70], rax
jmp 0x59c633
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rax + 0x34]
sub eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x38]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x48]
cmp dword [rsp + 0x6c], eax
jbe 0x59c653
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x6c], eax
jmp 0x59c67c
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x4c]
mov rax, qword [rsp + 0x30]
sub rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x6c], eax
jbe 0x59c68e
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x6c], eax
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x50]
sub eax, ecx
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rcx + 0x48]
sub ecx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
add rax, 1
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x6c]
sub eax, 1
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jne 0x59c6b8
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x48], 0
jne 0x59c711
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x14
jmp 0x59ca71
cmp dword [rsp + 0x50], 0
jne 0x59c722
jmp 0x59ca76
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x48]
mov byte [rcx], al
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x50]
sub eax, 1
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x14
jmp 0x59ca71
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0
je 0x59c95b
cmp dword [rsp + 0x4c], 0x20
jae 0x59c7d1
cmp dword [rsp + 0x40], 0
jne 0x59c786
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59c77a
jmp 0x59c773
xor eax, eax
test eax, eax
jne 0x59c773
mov ecx, dword [rsp + 0x50]
mov eax, dword [rsp + 0x78]
sub eax, ecx
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x1c]
add ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x1c]
add ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1c], ecx
cmp dword [rsp + 0x78], 0
je 0x59c8a8
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x10], 0
je 0x59c85c
mov eax, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
mov r8d, dword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.0059f500
mov dword [rsp + 0x98], eax
jmp 0x59c884
mov eax, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
mov r8d, dword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.0059ed00
mov dword [rsp + 0x98], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x98]
mov dword [rcx + 0x18], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x98]
mov dword [rcx + 0x4c], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x10], 0
je 0x59c8cb
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x9c], eax
jmp 0x59c90b
mov eax, dword [rsp + 0x64]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [rsp + 0x64]
shr ecx, 8
and ecx, 0xff00
add eax, ecx
mov ecx, dword [rsp + 0x64]
and ecx, 0xff00
shl ecx, 8
add eax, ecx
mov ecx, dword [rsp + 0x64]
and ecx, 0xff
shl ecx, 0x18
add eax, ecx
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x9c], eax
je 0x59c945
mov rcx, qword [rsp + 0xc0]
lea rax, str.incorrect_data_check
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x59c945
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1b
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0
je 0x59ca3b
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x10], 0
je 0x59ca3b
cmp dword [rsp + 0x4c], 0x20
jae 0x59c9eb
cmp dword [rsp + 0x40], 0
jne 0x59c9a0
jmp 0x59ca76
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x59c994
jmp 0x59c98d
xor eax, eax
test eax, eax
jne 0x59c98d
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x64], eax
je 0x59ca25
mov rcx, qword [rsp + 0xc0]
lea rax, str.incorrect_length_check
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x59ca71
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x59ca25
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1c
mov dword [rsp + 0x60], 1
jmp 0x59ca76
mov dword [rsp + 0x60], 0xfffffffd
jmp 0x59ca76
mov eax, 0xfffffffc
jmp 0x59cd43
mov eax, 0xfffffffe
jmp 0x59cd43
jmp 0x599ef9
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x30]
mov qword [rcx + 0x10], rax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x50]
mov dword [rcx + 0x18], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x58]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x40]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 0x40], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x4c]
mov dword [rcx + 0x44], eax
xor eax, eax
test eax, eax
jne 0x59ca76
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x2c], 0
jne 0x59cb1c
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x78], eax
je 0x59cb49
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0x1d
jge 0x59cb49
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0x1a
jl 0x59cb1c
cmp dword [rsp + 0xc8], 4
je 0x59cb49
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.0059ce20
test eax, eax
je 0x59cb49
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1e
mov eax, 0xfffffffc
jmp 0x59cd43
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 8]
mov eax, dword [rsp + 0x44]
sub eax, ecx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x18]
mov eax, dword [rsp + 0x78]
sub eax, ecx
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0xc]
add ecx, dword [rsp + 0x44]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x1c]
add ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x1c]
add ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0
je 0x59cc70
cmp dword [rsp + 0x78], 0
je 0x59cc70
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x10], 0
je 0x59cc1d
mov eax, dword [rsp + 0x78]
mov rdx, qword [rsp + 0xc0]
mov rdx, qword [rdx + 0x10]
sub rdx, rax
mov r8d, dword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.0059f500
mov dword [rsp + 0xa0], eax
jmp 0x59cc4c
mov eax, dword [rsp + 0x78]
mov rdx, qword [rsp + 0xc0]
mov rdx, qword [rdx + 0x10]
sub rdx, rax
mov r8d, dword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.0059ed00
mov dword [rsp + 0xa0], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0xa0]
mov dword [rcx + 0x18], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0xa0]
mov dword [rcx + 0x4c], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 4], 0
je 0x59cc8b
mov dword [rsp + 0xa4], 0x40
jmp 0x59cc96
mov dword [rsp + 0xa4], 0
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0xb
jne 0x59ccb0
mov dword [rsp + 0xa8], 0x80
jmp 0x59ccbb
mov dword [rsp + 0xa8], 0
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0x13
je 0x59cce2
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0xe
je 0x59cce2
mov dword [rsp + 0xac], 0
jmp 0x59cced
mov dword [rsp + 0xac], pe_nt_image_headers64
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x44]
add ecx, dword [rsp + 0xa4]
add ecx, dword [rsp + 0xa8]
add ecx, dword [rsp + 0xac]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x48], ecx
cmp dword [rsp + 0x44], 0
jne 0x59cd26
cmp dword [rsp + 0x78], 0
je 0x59cd30
cmp dword [rsp + 0xc8], 4
jne 0x59cd3f
cmp dword [rsp + 0x60], 0
jne 0x59cd3f
mov dword [rsp + 0x60], 0xfffffffb
mov eax, dword [rsp + 0x60]
add rsp, 0xb8
ret