Function at 0x10069c90
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x38
push ebx
push ebp
push esi
push edi
test ecx, ecx
je case.0x10069d60.16211
cmp dword [ecx + 0x20], 0
je case.0x10069d60.16211
cmp dword [ecx + 0x24], 0
je case.0x10069d60.16211
mov eax, dword [ecx + 0x1c]
test eax, eax
je case.0x10069d60.16211
cmp dword [eax], ecx
jne case.0x10069d60.16211
mov eax, dword [eax + 4]
sub eax, 0x3f34
cmp eax, 0x1f
ja case.0x10069d60.16211
cmp dword [ecx + 0xc], 0
je case.0x10069d60.16211
cmp dword [ecx], 0
jne 0x10069cf4
cmp dword [ecx + 4], 0
jne case.0x10069d60.16211
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x34], edi
mov eax, dword [edi + 4]
cmp eax, 0x3f3f
jne 0x10069d11
mov dword [edi + 4], 0x3f40
mov eax, 0x3f40
mov edx, dword [ecx + 0xc]
add eax, 0xffffc0cc
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov esi, dword [edi + 0x40]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x30], 0
cmp eax, 0x1f
ja case.0x10069d60.16211
nop dword [eax]
jmp dword [eax*4 + 0x1006b3c0]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x10069d7a
mov dword [edi + 4], 0x3f40
jmp 0x1006b0f7
cmp esi, 0x10
jae 0x10069dae
nop
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [esp + 0x1c], esi
inc ebx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, 0x10
jb 0x10069d80
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x4c]
test al, 2
je 0x10069e11
cmp edx, 0x8b1f
jne 0x10069e11
cmp dword [edi + 0x28], 0
jne 0x10069dc7
mov dword [edi + 0x28], 0xf
push 0
push 0
push 0
call fcn.1006da40
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x30], al
shr eax, 8
mov byte [esp + 0x31], al
lea eax, [esp + 0x30]
push 2
push eax
push dword [edi + 0x1c]
call fcn.1006da40
xor edx, edx
mov dword [edi + 0x1c], eax
add esp, 0x18
mov dword [esp + 0x14], edx
xor esi, esi
mov dword [edi + 4], 0x3f35
mov dword [esp + 0x1c], esi
jmp 0x1006b0f3
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10069e1f
mov dword [eax + 0x30], 0xffffffff
test byte [edi + 0xc], 1
je 0x10069eff
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
mov ecx, 0x1f
div ecx
test edx, edx
mov edx, dword [esp + 0x14]
jne 0x10069efb
mov eax, edx
and al, 0xf
cmp al, 8
je 0x10069e6a
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
mov eax, dword [edi + 0x28]
sub esi, 4
shr edx, 4
mov ecx, edx
mov dword [esp + 0x14], edx
and ecx, 0xf
mov dword [esp + 0x1c], esi
add ecx, 8
test eax, eax
jne 0x10069e8c
mov dword [edi + 0x28], ecx
mov eax, ecx
cmp ecx, 0xf
ja 0x10069ee4
cmp ecx, eax
ja 0x10069ee4
push 0
mov eax, 1
mov dword [edi + 0x14], 0
shl eax, cl
push 0
push 0
mov dword [edi + 0x18], eax
call fcn.1006d680
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x4c]
shr edx, 8
not edx
mov dword [edi + 0x1c], eax
and edx, 2
or edx, 0x3f3d
mov dword [ecx + 0x30], eax
mov dword [edi + 4], edx
xor edx, edx
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
jmp 0x1006b0f7
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.invalid_window_size
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.incorrect_header_check
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
cmp esi, 0x10
jae 0x10069f42
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [esp + 0x1c], esi
inc ebx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, 0x10
jb 0x10069f17
mov ecx, dword [esp + 0x4c]
mov dword [edi + 0x14], edx
cmp dl, 8
je 0x10069f5d
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
test edx, 0xe000
je 0x10069f78
mov dword [ecx + 0x18], str.unknown_header_flags_set
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
mov esi, dword [edi + 0x24]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x10069f8b
mov eax, ecx
and eax, 1
mov dword [esi], eax
test dword [edi + 0x14], 0x200
je 0x10069fb7
test byte [edi + 0xc], 4
je 0x10069fb7
push 2
lea eax, [esp + 0x28]
mov byte [esp + 0x28], dl
push eax
mov byte [esp + 0x2d], cl
push dword [edi + 0x1c]
call fcn.1006da40
add esp, 0xc
mov dword [edi + 0x1c], eax
xor edx, edx
mov dword [edi + 4], 0x3f36
mov dword [esp + 0x14], edx
xor esi, esi
jmp 0x10069fd0
cmp esi, 0x20
jae 0x10069fef
nop dword [eax]
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
dec ebp
inc ebx
mov dword [esp + 0x14], edx
cmp esi, 0x20
jb 0x10069fd0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10069ff9
mov dword [eax + 4], edx
test dword [edi + 0x14], 0x200
je 0x1006a03a
test byte [edi + 0xc], 4
je 0x1006a03a
mov eax, edx
mov byte [esp + 0x24], dl
shr eax, 8
mov byte [esp + 0x25], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x26], al
lea eax, [esp + 0x24]
push 4
shr edx, 0x18
push eax
mov byte [esp + 0x2f], dl
push dword [edi + 0x1c]
call fcn.1006da40
add esp, 0xc
mov dword [edi + 0x1c], eax
xor edx, edx
mov dword [edi + 4], 0x3f37
mov dword [esp + 0x14], edx
xor esi, esi
jmp 0x1006a050
cmp esi, 0x10
jae 0x1006a073
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0x10
jb 0x1006a050
mov esi, dword [edi + 0x24]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x1006a08b
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [edi + 0x24]
mov dword [eax + 0xc], ecx
test dword [edi + 0x14], 0x200
je 0x1006a0b7
test byte [edi + 0xc], 4
je 0x1006a0b7
push 2
lea eax, [esp + 0x28]
mov byte [esp + 0x28], dl
push eax
mov byte [esp + 0x2d], cl
push dword [edi + 0x1c]
call fcn.1006da40
add esp, 0xc
mov dword [edi + 0x1c], eax
xor edx, edx
mov dword [edi + 4], 0x3f38
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
test dword [edi + 0x14], 0x400
je 0x1006a147
cmp esi, 0x10
jae 0x1006a0fb
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0x10
jb 0x1006a0d8
mov eax, dword [edi + 0x24]
mov dword [edi + 0x44], edx
test eax, eax
je 0x1006a108
mov dword [eax + 0x14], edx
test dword [edi + 0x14], 0x200
je 0x1006a137
test byte [edi + 0xc], 4
je 0x1006a137
mov byte [esp + 0x24], dl
lea eax, [esp + 0x24]
push 2
shr edx, 8
push eax
mov byte [esp + 0x2d], dl
push dword [edi + 0x1c]
call fcn.1006da40
add esp, 0xc
mov dword [edi + 0x1c], eax
xor esi, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], esi
jmp 0x1006a155
mov eax, dword [edi + 0x24]
test eax, eax
je 0x1006a155
mov dword [eax + 0x10], 0
mov dword [edi + 4], 0x3f39
test dword [edi + 0x14], 0x400
je 0x1006a1fe
mov ecx, dword [edi + 0x44]
mov eax, ebp
cmp ecx, ebp
cmovbe eax, ecx
mov dword [esp + 0x38], eax
test eax, eax
je 0x1006a1f6
mov edx, dword [edi + 0x24]
test edx, edx
je 0x1006a1c5
mov eax, dword [edx + 0x10]
test eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
je 0x1006a1c5
mov ebx, dword [edx + 0x14]
mov edi, dword [edx + 0x18]
sub ebx, ecx
mov edx, edi
sub edx, ebx
lea ecx, [eax + ebx]
cmp ecx, edi
cmova eax, edx
push eax
mov eax, dword [esp + 0x48]
push dword [esp + 0x1c]
add eax, ebx
push eax
call fcn.10025090
mov ebx, dword [esp + 0x24]
add esp, 0xc
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
test dword [edi + 0x14], 0x200
je 0x1006a1e4
test byte [edi + 0xc], 4
je 0x1006a1e4
push eax
push ebx
push dword [edi + 0x1c]
call fcn.1006da40
add esp, 0xc
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x38]
add ebx, eax
sub ebp, eax
mov dword [esp + 0x18], ebx
sub dword [edi + 0x44], eax
mov ecx, dword [edi + 0x44]
test ecx, ecx
jne 0x1006a299
mov dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3a
test dword [edi + 0x14], 0x800
je 0x1006a31d
test ebp, ebp
je 0x1006a299
xor ecx, ecx
nop
mov al, byte [ecx + ebx]
inc ecx
mov byte [esp + 0x13], al
mov eax, dword [edi + 0x24]
mov dword [esp + 0x3c], ecx
test eax, eax
je 0x1006a252
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x1006a252
mov esi, dword [edi + 0x44]
cmp esi, dword [eax + 0x20]
jae 0x1006a252
mov cl, byte [esp + 0x13]
mov eax, esi
mov byte [edx + eax], cl
inc dword [edi + 0x44]
mov ecx, dword [esp + 0x3c]
mov al, byte [esp + 0x13]
test al, al
je 0x1006a25e
cmp ecx, ebp
jb 0x1006a220
test dword [edi + 0x14], 0x200
mov esi, dword [esp + 0x1c]
je 0x1006a289
test byte [edi + 0xc], 4
je 0x1006a289
push ecx
push ebx
push dword [edi + 0x1c]
call fcn.1006da40
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov dword [edi + 0x1c], eax
mov al, byte [esp + 0x13]
add ebx, ecx
sub ebp, ecx
mov dword [esp + 0x18], ebx
test al, al
je 0x1006a32b
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x2c]
mov dword [ecx], ebx
cmp dword [edi + 0x2c], 0
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], esi
jne 0x1006a2ef
cmp ebp, dword [ecx + 0x10]
je 0x1006b2e6
mov eax, dword [edi + 4]
cmp eax, 0x3f51
jge 0x1006b2e6
cmp eax, 0x3f4e
jl 0x1006a2ef
cmp edx, 4
je 0x1006b2e6
mov eax, ebp
sub eax, dword [ecx + 0x10]
push eax
push dword [ecx + 0xc]
push ecx
call fcn.1006b910
add esp, 0xc
test eax, eax
je 0x1006b2e2
mov dword [edi + 4], 0x3f52
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x38
ret
mov eax, dword [edi + 0x24]
test eax, eax
je 0x1006a32b
mov dword [eax + 0x1c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3b
test dword [edi + 0x14], 0x1000
je 0x1006a3cb
test ebp, ebp
je 0x1006a299
xor ecx, ecx
mov al, byte [ecx + ebx]
inc ecx
mov byte [esp + 0x13], al
mov eax, dword [edi + 0x24]
mov dword [esp + 0x3c], ecx
test eax, eax
je 0x1006a382
mov edx, dword [eax + 0x24]
test edx, edx
je 0x1006a382
mov esi, dword [edi + 0x44]
cmp esi, dword [eax + 0x28]
jae 0x1006a382
mov cl, byte [esp + 0x13]
mov eax, esi
mov byte [edx + eax], cl
inc dword [edi + 0x44]
mov ecx, dword [esp + 0x3c]
mov al, byte [esp + 0x13]
test al, al
je 0x1006a38e
cmp ecx, ebp
jb 0x1006a350
test dword [edi + 0x14], 0x200
mov esi, dword [esp + 0x1c]
je 0x1006a3b9
test byte [edi + 0xc], 4
je 0x1006a3b9
push ecx
push ebx
push dword [edi + 0x1c]
call fcn.1006da40
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov dword [edi + 0x1c], eax
mov al, byte [esp + 0x13]
add ebx, ecx
sub ebp, ecx
mov dword [esp + 0x18], ebx
test al, al
jne 0x1006a299
jmp 0x1006a3d9
mov eax, dword [edi + 0x24]
test eax, eax
je 0x1006a3d9
mov dword [eax + 0x24], 0
mov edx, dword [esp + 0x14]
mov dword [edi + 4], 0x3f3c
mov ecx, dword [edi + 0x14]
test ecx, 0x200
je 0x1006a451
cmp esi, 0x10
jae 0x1006a41e
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [esp + 0x1c], esi
inc ebx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, 0x10
jb 0x1006a3f4
mov ecx, dword [edi + 0x14]
test byte [edi + 0xc], 4
je 0x1006a443
movzx eax, word [edi + 0x1c]
cmp edx, eax
je 0x1006a443
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.header_crc_mismatch
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
xor esi, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x1006a46b
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov eax, dword [edi + 0x24]
mov dword [eax + 0x30], 1
push 0
push 0
push 0
call fcn.1006da40
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov dword [ecx + 0x30], eax
mov dword [edi + 4], 0x3f3f
jmp 0x1006b0f7
cmp esi, 0x20
jae 0x1006a4bb
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0x20
jb 0x1006a498
mov ecx, edx
mov eax, edx
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
shr edx, 0x18
mov ecx, dword [esp + 0x4c]
add eax, edx
xor edx, edx
mov dword [edi + 0x1c], eax
mov dword [esp + 0x14], edx
xor esi, esi
mov dword [ecx + 0x30], eax
mov dword [edi + 4], 0x3f3e
cmp dword [edi + 0x10], 0
je 0x1006b28a
push 0
push 0
push 0
call fcn.1006d680
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov dword [ecx + 0x30], eax
mov dword [edi + 4], 0x3f3f
mov eax, dword [esp + 0x50]
cmp eax, 5
je 0x1006b2db
cmp eax, 6
je 0x1006b2db
cmp dword [edi + 8], 0
je 0x1006a55d
mov ecx, esi
mov dword [edi + 4], 0x3f4e
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
jmp 0x1006b0f3
cmp esi, 3
jae 0x1006a585
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 3
jb case.default.0x1006a594
mov eax, edx
shr edx, 1
and eax, 1
mov dword [edi + 8], eax
mov eax, edx
and eax, 3
jmp dword [eax*4 + 0x1006b440]
mov dword [edi + 4], 0x3f41
mov ecx, dword [esp + 0x4c]
shr edx, 2
sub esi, 3
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
jmp 0x1006b0f7
cmp dword [esp + 0x50], 6
mov dword [edi + 0x50], 0x101a8d90
mov dword [edi + 0x58], 9
mov dword [edi + 0x54], 0x101a9590
mov dword [edi + 0x5c], 5
mov dword [edi + 4], 0x3f47
jne 0x1006a5a2
shr edx, 2
sub esi, 3
mov dword [esp + 0x14], edx
jmp 0x1006a299
mov ecx, dword [esp + 0x4c]
shr edx, 2
sub esi, 3
mov dword [edi + 4], 0x3f44
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
jmp 0x1006b0f7
mov ecx, dword [esp + 0x4c]
shr edx, 2
sub esi, 3
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [ecx + 0x18], str.invalid_block_type
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
mov ecx, esi
and ecx, 7
sub esi, ecx
shr edx, cl
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
cmp esi, 0x20
jae 0x1006a677
nop dword [eax + eax]
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [esp + 0x1c], esi
inc ebx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, 0x20
jb 0x1006a650
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x1006a69c
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.invalid_stored_block_lengths
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
xor edx, edx
mov dword [edi + 0x44], ecx
xor esi, esi
mov dword [esp + 0x14], edx
cmp dword [esp + 0x50], 6
mov dword [esp + 0x1c], esi
mov dword [edi + 4], 0x3f42
je 0x1006a299
mov dword [edi + 4], 0x3f43
mov ecx, dword [edi + 0x44]
test ecx, ecx
je 0x1006adf2
cmp ecx, ebp
mov eax, ebp
cmovbe eax, ecx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
cmovbe ecx, eax
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x1006a299
push ecx
push ebx
push dword [esp + 0x30]
call fcn.10025090
mov eax, dword [esp + 0x50]
add esp, 0xc
sub dword [esp + 0x20], eax
add ebx, eax
add dword [esp + 0x28], eax
sub ebp, eax
sub dword [edi + 0x44], eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
jmp 0x1006b0f3
cmp esi, 0xe
jae 0x1006a743
nop
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 0xe
jb 0x1006a720
mov ecx, edx
sub esi, 0xe
shr edx, 5
and ecx, 0x1f
mov eax, edx
mov dword [esp + 0x1c], esi
and eax, 0x1f
shr edx, 5
inc eax
add ecx, 0x101
mov dword [esp + 0x44], eax
mov dword [edi + 0x68], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [edi + 0x64], ecx
mov dword [edi + 0x60], eax
mov dword [esp + 0x14], edx
cmp ecx, 0x11e
ja 0x1006a87f
cmp dword [esp + 0x44], 0x1e
ja 0x1006a87f
mov dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f45
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 0x60]
jae 0x1006a806
nop word [eax + eax]
cmp esi, 3
jae 0x1006a7d8
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, 3
jb 0x1006a7b5
mov eax, dword [edi + 0x6c]
mov ecx, edx
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
movzx eax, word [eax*2 + 0x101a9610]
mov word [edi + eax*2 + 0x74], cx
inc dword [edi + 0x6c]
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 0x60]
jb 0x1006a7b0
cmp eax, 0x13
jae 0x1006a82b
nop dword [eax + eax]
movzx eax, word [eax*2 + 0x101a9610]
xor ecx, ecx
mov word [edi + eax*2 + 0x74], cx
mov eax, dword [edi + 0x6c]
inc eax
mov dword [edi + 0x6c], eax
cmp eax, 0x13
jb 0x1006a810
lea eax, [edi + 0x534]
mov dword [edi + 0x58], 7
lea ecx, [edi + 0x70]
mov dword [edi + 0x50], eax
mov dword [ecx], eax
lea edx, [edi + 0x58]
lea eax, [edi + 0x2f4]
push eax
push edx
push ecx
push 0x13
lea eax, [edi + 0x74]
push eax
push 0
call fcn.1006dfd0
mov ecx, dword [esp + 0x64]
add esp, 0x18
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
test eax, eax
je 0x1006a896
mov dword [ecx + 0x18], str.invalid_code_lengths_set
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.too_many_length_or_distance_symbols
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
mov dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f46
mov eax, dword [edi + 0x68]
add eax, dword [edi + 0x64]
cmp dword [edi + 0x6c], eax
jae 0x1006ab1d
mov ecx, dword [edi + 0x58]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x50]
dec eax
mov dword [esp + 0x44], eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], eax
shr dword [esp + 0x38], 0x10
movzx ecx, cl
cmp ecx, esi
jbe 0x1006a92f
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x50]
add edx, eax
mov eax, dword [esp + 0x44]
add esi, 8
and eax, edx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], eax
shr dword [esp + 0x38], 0x10
movzx ecx, cl
cmp ecx, esi
ja 0x1006a8e3
mov ecx, dword [esp + 0x38]
movzx ecx, cx
jmp 0x1006a933
mov ecx, dword [esp + 0x38]
movzx edi, cx
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x34]
cmp cx, 0x10
jae 0x1006a972
mov ecx, dword [esp + 0x1c]
shr edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
sub esi, ecx
shr eax, 0x10
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov word [edi + ecx*2 + 0x74], ax
inc dword [edi + 0x6c]
mov ecx, dword [edi + 0x6c]
jmp 0x1006ab0b
mov ecx, dword [esp + 0x44]
cmp cx, 0x10
jne 0x1006a9ff
mov ecx, dword [esp + 0x1c]
shr eax, 8
movzx eax, al
mov dword [esp + 0x3c], eax
movzx eax, cl
add eax, 2
mov dword [esp + 0x44], eax
cmp esi, eax
jae 0x1006a9c4
nop dword [eax]
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, dword [esp + 0x44]
jb 0x1006a9a0
mov ecx, dword [esp + 0x3c]
sub esi, ecx
mov eax, dword [edi + 0x6c]
shr edx, cl
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
test eax, eax
je 0x1006ab47
movzx eax, word [edi + eax*2 + 0x72]
mov ecx, edx
and ecx, 3
shr edx, 2
add ecx, 3
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
sub esi, 2
jmp 0x1006aabc
cmp cx, 0x11
movzx eax, ah
mov ecx, dword [esp + 0x1c]
jne 0x1006aa60
mov dword [esp + 0x3c], eax
movzx eax, cl
add eax, 3
mov dword [esp + 0x44], eax
cmp esi, eax
jae 0x1006aa44
nop
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, dword [esp + 0x44]
jb 0x1006aa20
mov ecx, dword [esp + 0x3c]
shr edx, cl
mov eax, edx
and eax, 7
add eax, 3
shr edx, 3
mov dword [esp + 0x38], eax
mov eax, 0xfffffffd
jmp 0x1006aab0
mov dword [esp + 0x3c], eax
movzx eax, cl
add eax, 7
mov dword [esp + 0x44], eax
cmp esi, eax
jae 0x1006aa96
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
cmp esi, dword [esp + 0x44]
jb 0x1006aa72
mov ecx, dword [esp + 0x3c]
shr edx, cl
mov eax, edx
and eax, 0x7f
add eax, 0xb
shr edx, 7
mov dword [esp + 0x38], eax
mov eax, 0xfffffff9
sub eax, ecx
mov dword [esp + 0x3c], 0
add esi, eax
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x64]
add ecx, dword [edi + 0x68]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
cmp eax, ecx
ja 0x1006ab47
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
nop dword [eax]
mov word [edi + ecx*2 + 0x74], bx
mov ecx, dword [edi + 0x6c]
lea ecx, [ecx + 1]
mov dword [edi + 0x6c], ecx
sub edx, 1
jne 0x1006aaf0
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x68]
cmp ecx, eax
jb 0x1006a8b3
mov ecx, dword [esp + 0x4c]
cmp dword [edi + 4], 0x3f51
je 0x1006b0f7
cmp word [edi + 0x274], 0
jne 0x1006ab5b
mov dword [ecx + 0x18], str.invalid_code____missing_end_of_block
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
mov dword [edi + 4], 0x3f51
jmp 0x1006ab1d
lea eax, [edi + 0x534]
mov dword [edi + 0x58], 9
lea ecx, [edi + 0x70]
mov dword [edi + 0x50], eax
mov dword [ecx], eax
lea edx, [edi + 0x58]
lea eax, [edi + 0x2f4]
push eax
push edx
push ecx
push dword [edi + 0x64]
lea eax, [edi + 0x74]
push eax
push 1
call fcn.1006dfd0
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x1006abb0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.invalid_literal_lengths_set
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
mov eax, dword [edi + 0x70]
lea ecx, [edi + 0x70]
mov dword [edi + 0x54], eax
lea edx, [edi + 0x5c]
lea eax, [edi + 0x2f4]
mov dword [edx], 6
push eax
mov eax, dword [edi + 0x64]
push edx
push ecx
push dword [edi + 0x68]
add eax, 0x3a
lea eax, [edi + eax*2]
push eax
push 2
call fcn.1006dfd0
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x1006ac05
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.invalid_distances_set
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
mov edx, dword [esp + 0x50]
mov dword [edi + 4], 0x3f47
cmp edx, 6
je 0x1006a29d
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
mov dword [edi + 4], 0x3f48
cmp ebp, 6
jb 0x1006aca2
cmp dword [esp + 0x20], 0x102
jb 0x1006aca2
mov eax, dword [esp + 0x28]
push dword [esp + 0x2c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x10], eax
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
push ecx
mov dword [edi + 0x3c], edx
mov dword [edi + 0x40], esi
call fcn.1006e540
mov ecx, dword [esp + 0x54]
add esp, 8
cmp dword [edi + 4], 0x3f3f
mov edx, dword [edi + 0x3c]
mov esi, dword [edi + 0x40]
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
jne 0x1006b0f7
mov dword [edi + 0x1bc8], 0xffffffff
jmp 0x1006b0f7
mov ecx, dword [edi + 0x58]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x50]
dec eax
mov dword [esp + 0x44], eax
and eax, edx
mov dword [edi + 0x1bc8], 0
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x1006ad06
nop
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x50]
add edx, eax
mov eax, dword [esp + 0x44]
add esi, 8
and eax, edx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1006acd0
test al, al
je 0x1006adb2
test al, 0xf0
jne 0x1006adb2
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x44], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x1c], ecx
movzx ecx, al
mov eax, 1
add ecx, dword [esp + 0x1c]
shl eax, cl
mov ecx, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x3c], eax
and eax, edx
shr eax, cl
add eax, dword [esp + 0x44]
mov ecx, dword [edi + 0x50]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, dword [esp + 0x1c]
cmp ecx, esi
jbe 0x1006ada4
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [esp + 0x1c]
add edx, eax
mov eax, dword [esp + 0x3c]
add esi, 8
and eax, edx
mov dword [esp + 0x14], edx
shr eax, cl
dec ebp
add eax, dword [esp + 0x44]
mov ecx, dword [edi + 0x50]
mov dword [esp + 0x18], ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, dword [esp + 0x1c]
cmp ecx, esi
ja 0x1006ad60
mov ecx, dword [esp + 0x1c]
shr edx, cl
sub esi, ecx
mov dword [edi + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc8], ecx
sub esi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [edi + 0x44], ecx
test al, al
jne 0x1006ade4
mov dword [edi + 4], 0x3f4d
jmp 0x1006b0f3
test al, 0x20
je 0x1006adfe
mov dword [edi + 0x1bc8], 0xffffffff
mov dword [edi + 4], 0x3f3f
jmp 0x1006b0f3
test al, 0x40
je 0x1006ae19
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.invalid_literal_length_code
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
movzx eax, al
and eax, 0xf
mov dword [edi + 4], 0x3f49
mov dword [edi + 0x4c], eax
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x1006ae74
cmp esi, ecx
jae 0x1006ae59
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x4c]
add edx, eax
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, ecx
jb 0x1006ae34
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [edi + 0x44], eax
add dword [edi + 0x1bc8], ecx
mov dword [esp + 0x14], edx
mov eax, dword [edi + 0x44]
mov dword [edi + 0x1bcc], eax
mov dword [edi + 4], 0x3f4a
mov ecx, dword [edi + 0x5c]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x54]
dec eax
mov dword [esp + 0x44], eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x1006aedd
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x54]
add edx, eax
mov eax, dword [esp + 0x44]
add esi, 8
and eax, edx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1006aea7
test al, 0xf0
jne 0x1006af8c
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x44], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x1c], ecx
movzx ecx, al
mov eax, 1
add ecx, dword [esp + 0x1c]
shl eax, cl
mov ecx, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x3c], eax
and eax, edx
shr eax, cl
add eax, dword [esp + 0x44]
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, dword [esp + 0x1c]
cmp ecx, esi
jbe 0x1006af74
nop
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [esp + 0x1c]
add edx, eax
mov eax, dword [esp + 0x3c]
add esi, 8
and eax, edx
mov dword [esp + 0x14], edx
shr eax, cl
dec ebp
add eax, dword [esp + 0x44]
mov ecx, dword [edi + 0x54]
mov dword [esp + 0x18], ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, dword [esp + 0x1c]
cmp ecx, esi
ja 0x1006af30
mov ecx, dword [esp + 0x1c]
sub esi, ecx
shr edx, cl
mov ecx, dword [edi + 0x1bc8]
add ecx, dword [esp + 0x1c]
mov dword [edi + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc8], ecx
sub esi, ecx
shr edx, cl
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
test al, 0x40
je 0x1006afc1
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.invalid_distance_code
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
mov ecx, eax
mov dword [edi + 4], 0x3f4b
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], eax
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x1006b028
cmp esi, ecx
jae 0x1006b009
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x4c]
add edx, eax
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, ecx
jb 0x1006afe4
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
mov dword [esp + 0x1c], esi
and eax, edx
shr edx, cl
add dword [edi + 0x48], eax
add dword [edi + 0x1bc8], ecx
mov dword [esp + 0x14], edx
mov dword [edi + 4], 0x3f4c
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1006a299
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [edi + 0x48]
cmp ecx, eax
jbe 0x1006b098
sub ecx, eax
cmp ecx, dword [edi + 0x30]
jbe 0x1006b06f
cmp dword [edi + 0x1bc4], 0
je 0x1006b06f
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.invalid_distance_too_far_back
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
mov eax, dword [edi + 0x34]
cmp ecx, eax
jbe 0x1006b07b
sub ecx, eax
mov eax, dword [edi + 0x2c]
sub eax, ecx
add eax, dword [edi + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x44]
cmp ecx, eax
mov edi, eax
cmovbe edi, ecx
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x34]
jmp 0x1006b0a9
mov eax, dword [esp + 0x28]
sub eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x20]
mov ecx, edx
cmp dword [esp + 0x3c], edx
cmovbe ecx, dword [esp + 0x3c]
sub edx, ecx
sub eax, ecx
mov dword [edi + 0x44], eax
mov edi, dword [esp + 0x38]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x28]
sub edi, edx
nop dword [eax]
mov al, byte [edi + edx]
mov byte [edx], al
inc edx
sub ecx, 1
jne 0x1006b0d0
mov edi, dword [esp + 0x34]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
cmp dword [edi + 0x44], ecx
jne 0x1006b0f3
mov dword [edi + 4], 0x3f48
mov ecx, dword [esp + 0x4c]
mov eax, dword [edi + 4]
sub eax, 0x3f34
cmp eax, 0x1f
jbe switch.0x10069d60
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x38
ret
cmp dword [esp + 0x20], 0
je 0x1006a299
mov ecx, dword [esp + 0x28]
mov al, byte [edi + 0x44]
inc dword [esp + 0x28]
dec dword [esp + 0x20]
mov byte [ecx], al
jmp 0x1006b0ec
cmp dword [edi + 0xc], 0
je 0x1006b21d
cmp esi, 0x20
jae 0x1006b16d
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [esp + 0x1c], esi
inc ebx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, 0x20
jb 0x1006b142
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x20]
add dword [ecx + 0x14], eax
add dword [edi + 0x20], eax
test byte [edi + 0xc], 4
mov dword [esp + 0x2c], eax
je 0x1006b1bc
test eax, eax
je 0x1006b1bc
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub eax, edx
cmp dword [edi + 0x14], 0
mov ecx, dword [edi + 0x1c]
push edx
push eax
push ecx
je 0x1006b1a6
call fcn.1006da40
jmp 0x1006b1ab
call fcn.1006d680
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov dword [ecx + 0x30], eax
test byte [edi + 0xc], 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
je 0x1006b211
cmp dword [edi + 0x14], 0
mov ecx, edx
jne 0x1006b1f5
and ecx, 0xff00
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
cmp ecx, dword [edi + 0x1c]
je 0x1006b211
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.incorrect_data_check
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
xor edx, edx
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [edi + 4], 0x3f4f
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1006b2ba
cmp dword [edi + 0x14], 0
je 0x1006b2ba
cmp esi, 0x20
jae 0x1006b26a
nop
test ebp, ebp
je 0x1006a299
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [esp + 0x1c], esi
inc ebx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, 0x20
jb 0x1006b240
mov eax, dword [edi + 0xc]
test al, 4
je 0x1006b2b0
cmp edx, dword [edi + 0x20]
je 0x1006b2b0
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [edi + 4], 0x3f51
jmp 0x1006b0f7
mov eax, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x10], eax
mov eax, 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [edi + 0x40], esi
mov dword [edi + 0x3c], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov dword [esp + 0x14], 0
xor esi, esi
mov dword [edi + 4], 0x3f50
mov dword [esp + 0x30], 1
jmp 0x1006a299
mov dword [esp + 0x30], 0xfffffffd
jmp 0x1006a299
mov edx, eax
jmp 0x1006a29d
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
sub eax, dword [ecx + 4]
sub ebp, dword [ecx + 0x10]
add dword [ecx + 8], eax
add dword [ecx + 0x14], ebp
add dword [edi + 0x20], ebp
test byte [edi + 0xc], 4
mov dword [esp + 0x40], eax
je 0x1006b340
test ebp, ebp
je 0x1006b340
mov eax, dword [ecx + 0xc]
mov ecx, dword [edi + 0x1c]
sub eax, ebp
cmp dword [edi + 0x14], 0
push ebp
push eax
push ecx
je 0x1006b32c
call fcn.1006da40
mov ebx, dword [esp + 0x58]
add esp, 0xc
mov dword [edi + 0x1c], eax
mov dword [ebx + 0x30], eax
jmp 0x1006b344
call fcn.1006d680
mov ebx, dword [esp + 0x58]
add esp, 0xc
mov dword [edi + 0x1c], eax
mov dword [ebx + 0x30], eax
jmp 0x1006b344
mov ebx, dword [esp + 0x4c]
mov edx, dword [edi + 4]
cmp edx, 0x3f47
je 0x1006b35b
cmp edx, 0x3f42
je 0x1006b35b
xor esi, esi
jmp 0x1006b360
mov esi, 0x100
mov ecx, dword [edi + 8]
neg ecx
mov dword [esp + 0x4c], pe_nt_image_headers32
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp edx, 0x3f3f
cmove eax, dword [esp + 0x4c]
add ecx, eax
add ecx, dword [edi + 0x40]
add ecx, esi
cmp dword [esp + 0x40], 0
mov dword [ebx + 0x2c], ecx
jne 0x1006b394
test ebp, ebp
je 0x1006b39b
cmp dword [esp + 0x50], 4
jne 0x1006b3b1
mov eax, dword [esp + 0x30]
mov ecx, 0xfffffffb
pop edi
pop esi
test eax, eax
pop ebp
cmove eax, ecx
pop ebx
add esp, 0x38
ret
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret