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

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
push ebx
push ebp
push esi
push edi
test ecx, ecx
je case.0x100d7cb8.16211
cmp dword [ecx + 0x20], 0
je case.0x100d7cb8.16211
cmp dword [ecx + 0x24], 0
je case.0x100d7cb8.16211
mov eax, dword [ecx + 0x1c]
test eax, eax
je case.0x100d7cb8.16211
cmp dword [eax], ecx
jne case.0x100d7cb8.16211
mov eax, dword [eax + 4]
sub eax, 0x3f34
cmp eax, 0x1f
ja case.0x100d7cb8.16211
cmp dword [ecx + 0xc], 0
je case.0x100d7cb8.16211
cmp dword [ecx], 0
jne 0x100d7c54
cmp dword [ecx + 4], 0
jne case.0x100d7cb8.16211
mov ebp, dword [ecx + 0x1c]
mov dword [esp + 0x1c], ebp
mov eax, dword [ebp + 4]
cmp eax, 0x3f3f
jne 0x100d7c71
mov dword [ebp + 4], 0x3f40
mov eax, 0x3f40
mov edx, dword [ecx + 0xc]
add eax, 0xffffc0cc
mov ebx, dword [ecx]
mov edi, dword [ecx + 4]
mov esi, dword [ebp + 0x40]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 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 + 0x3c], edi
mov dword [esp + 0x34], 0
cmp eax, 0x1f
ja case.0x100d7cb8.16211
jmp dword [eax*4 + 0x100d9358]
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x100d7cd2
mov dword [ebp + 4], 0x3f40
jmp 0x100d905c
cmp esi, 0x10
jae 0x100d7d01
test edi, edi
je 0x100d850d
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 edi
cmp esi, 0x10
jb 0x100d7cd7
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x48]
test al, 2
je 0x100d7d60
cmp edx, 0x8b1f
jne 0x100d7d60
cmp dword [ebp + 0x28], 0
jne 0x100d7d1a
mov dword [ebp + 0x28], 0xf
push 0
push 0
push 0
call fcn.100d9a70
mov dword [ebp + 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 [ebp + 0x1c]
call fcn.100d9a70
xor edx, edx
mov dword [ebp + 0x1c], eax
add esp, 0x18
mov dword [esp + 0x14], edx
xor esi, esi
mov dword [ebp + 4], 0x3f35
jmp 0x100d9058
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x100d7d6e
mov dword [eax + 0x30], 0xffffffff
test byte [ebp + 0xc], 1
je 0x100d7e46
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 0x100d7e42
mov eax, edx
and al, 0xf
cmp al, 8
je 0x100d7db9
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
mov eax, dword [ebp + 0x28]
sub esi, 4
shr edx, 4
mov ecx, edx
mov dword [esp + 0x14], edx
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x100d7dd7
mov dword [ebp + 0x28], ecx
mov eax, ecx
cmp ecx, 0xf
ja 0x100d7e2b
cmp ecx, eax
ja 0x100d7e2b
push 0
mov eax, 1
mov dword [ebp + 0x14], 0
shl eax, cl
push 0
push 0
mov dword [ebp + 0x18], eax
call fcn.100d97f0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x48]
shr edx, 8
not edx
mov dword [ebp + 0x1c], eax
and edx, 2
or edx, 0x3f3d
mov dword [ecx + 0x30], eax
mov dword [ebp + 4], edx
xor edx, edx
mov dword [esp + 0x14], edx
xor esi, esi
jmp 0x100d905c
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_window_size
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.incorrect_header_check
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
cmp esi, 0x10
jae 0x100d7e87
nop
test edi, edi
je 0x100d850d
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 edi
cmp esi, 0x10
jb 0x100d7e60
mov ecx, dword [esp + 0x48]
mov dword [ebp + 0x14], edx
cmp dl, 8
je 0x100d7ea2
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
test edx, 0xe000
je 0x100d7ebd
mov dword [ecx + 0x18], str.unknown_header_flags_set
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
mov esi, dword [ebp + 0x24]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x100d7ed0
mov eax, ecx
and eax, 1
mov dword [esi], eax
test dword [ebp + 0x14], 0x200
je 0x100d7efc
test byte [ebp + 0xc], 4
je 0x100d7efc
push 2
lea eax, [esp + 0x28]
mov byte [esp + 0x28], dl
push eax
mov byte [esp + 0x2d], cl
push dword [ebp + 0x1c]
call fcn.100d9a70
add esp, 0xc
mov dword [ebp + 0x1c], eax
xor edx, edx
mov dword [ebp + 4], 0x3f36
mov dword [esp + 0x14], edx
xor esi, esi
jmp 0x100d7f12
cmp esi, 0x20
jae 0x100d7f31
test edi, edi
je 0x100d850d
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
dec edi
inc ebx
mov dword [esp + 0x14], edx
cmp esi, 0x20
jb 0x100d7f12
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x100d7f3b
mov dword [eax + 4], edx
test dword [ebp + 0x14], 0x200
je 0x100d7f7c
test byte [ebp + 0xc], 4
je 0x100d7f7c
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 [ebp + 0x1c]
call fcn.100d9a70
add esp, 0xc
mov dword [ebp + 0x1c], eax
xor edx, edx
mov dword [ebp + 4], 0x3f37
mov dword [esp + 0x14], edx
xor esi, esi
jmp 0x100d7f92
cmp esi, 0x10
jae 0x100d7fb5
test edi, edi
je 0x100d850d
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 edi
cmp esi, 0x10
jb 0x100d7f92
mov esi, dword [ebp + 0x24]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x100d7fcd
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x24]
mov dword [eax + 0xc], ecx
test dword [ebp + 0x14], 0x200
je 0x100d7ff9
test byte [ebp + 0xc], 4
je 0x100d7ff9
push 2
lea eax, [esp + 0x28]
mov byte [esp + 0x28], dl
push eax
mov byte [esp + 0x2d], cl
push dword [ebp + 0x1c]
call fcn.100d9a70
add esp, 0xc
mov dword [ebp + 0x1c], eax
xor edx, edx
mov dword [ebp + 4], 0x3f38
mov dword [esp + 0x14], edx
xor esi, esi
test dword [ebp + 0x14], 0x400
je 0x100d808a
cmp esi, 0x10
jae 0x100d8039
test edi, edi
je 0x100d850d
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 edi
cmp esi, 0x10
jb 0x100d8016
mov eax, dword [ebp + 0x24]
mov dword [ebp + 0x44], edx
test eax, eax
je 0x100d8046
mov dword [eax + 0x14], edx
test dword [ebp + 0x14], 0x200
je 0x100d8075
test byte [ebp + 0xc], 4
je 0x100d8075
mov byte [esp + 0x24], dl
lea eax, [esp + 0x24]
push 2
shr edx, 8
push eax
mov byte [esp + 0x2d], dl
push dword [ebp + 0x1c]
call fcn.100d9a70
add esp, 0xc
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x14], ebp
xor esi, esi
mov dword [eax + 4], 0x3f39
jmp 0x100d80b1
mov eax, dword [ebp + 0x24]
mov ebp, dword [esp + 0x14]
test eax, eax
je 0x100d809c
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], 0x3f39
jmp 0x100d80b1
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test dword [eax + 0x14], 0x400
je 0x100d8179
mov edx, dword [eax + 0x44]
mov ecx, edi
cmp edx, edi
cmovbe ecx, edx
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x100d8171
cmp dword [eax + 0x24], 0
je 0x100d813a
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x10]
test eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
je 0x100d813a
mov ecx, dword [eax + 0x24]
mov ecx, dword [ecx + 0x14]
sub ecx, edx
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx + 0x18]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], edx
cmp dword [esp + 0x18], edx
jae 0x100d813a
add ecx, dword [esp + 0x18]
sub edx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
cmova eax, edx
push eax
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x3c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x30]
test dword [eax + 0x14], 0x200
je 0x100d815f
test byte [eax + 0xc], 4
je 0x100d815f
push ecx
push ebx
push dword [eax + 0x1c]
call fcn.100d9a70
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [ecx + 0x1c], eax
mov eax, ecx
mov ecx, dword [esp + 0x30]
add ebx, ecx
sub edi, ecx
mov dword [esp + 0x18], ebx
sub dword [eax + 0x44], ecx
mov edx, dword [eax + 0x44]
test edx, edx
jne 0x100d8511
mov dword [eax + 0x44], 0
mov dword [eax + 4], 0x3f3a
jmp 0x100d8191
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test dword [eax + 0x14], 0x800
je 0x100d8237
test edi, edi
je 0x100d8511
xor edx, edx
mov cl, byte [edx + ebx]
inc edx
mov byte [esp + 0x13], cl
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x38], edx
test ecx, ecx
je 0x100d81da
cmp dword [ecx + 0x1c], 0
je 0x100d81da
mov ebp, dword [eax + 0x44]
cmp ebp, dword [ecx + 0x20]
jae 0x100d81da
mov ecx, dword [ecx + 0x1c]
mov dl, byte [esp + 0x13]
mov byte [ecx + ebp], dl
inc dword [eax + 0x44]
mov edx, dword [esp + 0x38]
mov cl, byte [esp + 0x13]
test cl, cl
je 0x100d81e6
cmp edx, edi
jb 0x100d81a8
test dword [eax + 0x14], 0x200
mov ebp, dword [esp + 0x14]
je 0x100d8217
test byte [eax + 0xc], 4
je 0x100d8217
push edx
push ebx
push dword [eax + 0x1c]
call fcn.100d9a70
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esp + 0x38]
mov dword [ecx + 0x1c], eax
mov eax, ecx
mov cl, byte [esp + 0x13]
add ebx, edx
sub edi, edx
mov dword [esp + 0x18], ebx
test cl, cl
jne 0x100d8511
mov dword [eax + 0x44], 0
mov dword [eax + 4], 0x3f3b
jmp 0x100d825d
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x100d8245
mov dword [ecx + 0x1c], 0
mov dword [eax + 0x44], 0
mov dword [eax + 4], 0x3f3b
jmp 0x100d825d
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test dword [eax + 0x14], 0x1000
je 0x100d82f5
test edi, edi
je 0x100d8511
xor edx, edx
mov cl, byte [edx + ebx]
inc edx
mov byte [esp + 0x13], cl
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x38], edx
test ecx, ecx
je 0x100d82a6
cmp dword [ecx + 0x24], 0
je 0x100d82a6
mov ebp, dword [eax + 0x44]
cmp ebp, dword [ecx + 0x28]
jae 0x100d82a6
mov ecx, dword [ecx + 0x24]
mov dl, byte [esp + 0x13]
mov byte [ecx + ebp], dl
inc dword [eax + 0x44]
mov edx, dword [esp + 0x38]
cmp byte [esp + 0x13], 0
je 0x100d82b1
cmp edx, edi
jb 0x100d8274
test dword [eax + 0x14], 0x200
mov ebp, dword [esp + 0x14]
je 0x100d82dc
test byte [eax + 0xc], 4
je 0x100d82dc
push edx
push ebx
push dword [eax + 0x1c]
call fcn.100d9a70
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esp + 0x38]
mov dword [ecx + 0x1c], eax
add ebx, edx
sub edi, edx
cmp byte [esp + 0x13], 0
mov dword [esp + 0x18], ebx
jne 0x100d8511
mov ebp, dword [esp + 0x1c]
jmp 0x100d8307
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x100d8307
mov dword [eax + 0x24], 0
mov edx, dword [esp + 0x14]
mov dword [ebp + 4], 0x3f3c
mov ecx, dword [ebp + 0x14]
test ecx, 0x200
je 0x100d8379
cmp esi, 0x10
jae 0x100d8348
test edi, edi
je 0x100d850d
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 edi
cmp esi, 0x10
jb 0x100d8322
mov ecx, dword [ebp + 0x14]
test byte [ebp + 0xc], 4
je 0x100d836d
movzx eax, word [ebp + 0x1c]
cmp edx, eax
je 0x100d836d
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.header_crc_mismatch
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x100d8393
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov eax, dword [ebp + 0x24]
mov dword [eax + 0x30], 1
push 0
push 0
push 0
call fcn.100d9a70
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x1c], eax
mov dword [ecx + 0x30], eax
mov dword [ebp + 4], 0x3f3f
jmp 0x100d905c
cmp esi, 0x20
jae 0x100d83e3
test edi, edi
je 0x100d850d
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 edi
cmp esi, 0x20
jb 0x100d83c0
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 + 0x48]
add eax, edx
xor edx, edx
mov dword [ebp + 0x1c], eax
mov dword [esp + 0x14], edx
xor esi, esi
mov dword [ecx + 0x30], eax
mov dword [ebp + 4], 0x3f3e
cmp dword [ebp + 0x10], 0
je 0x100d91e6
push 0
push 0
push 0
call fcn.100d97f0
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x1c], eax
mov dword [ecx + 0x30], eax
mov dword [ebp + 4], 0x3f3f
mov eax, dword [esp + 0x4c]
cmp eax, 5
je 0x100d9272
cmp eax, 6
je 0x100d9272
cmp dword [ebp + 8], 0
je 0x100d8481
mov ecx, esi
mov dword [ebp + 4], 0x3f4e
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x14], edx
jmp 0x100d9058
cmp esi, 3
jae 0x100d84a9
test edi, edi
je 0x100d850d
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 edi
cmp esi, 3
jb case.default.0x100d84b8
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebp + 8], eax
mov eax, edx
and eax, 3
jmp dword [eax*4 + 0x100d93d8]
mov dword [ebp + 4], 0x3f41
mov ecx, dword [esp + 0x48]
shr edx, 2
sub esi, 3
mov dword [esp + 0x14], edx
jmp 0x100d905c
cmp dword [esp + 0x4c], 6
mov dword [ebp + 0x50], 0x10151430
mov dword [ebp + 0x58], 9
mov dword [ebp + 0x54], 0x10151c30
mov dword [ebp + 0x5c], 5
mov dword [ebp + 4], 0x3f47
jne 0x100d84c6
shr edx, 2
sub esi, 3
mov dword [esp + 0x14], edx
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
mov dword [ecx], ebx
mov ebx, dword [esp + 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], edi
cmp dword [ebx + 0x2c], 0
mov dword [ebx + 0x3c], ebp
mov ebp, dword [esp + 0x2c]
mov dword [ebx + 0x40], esi
jne 0x100d8567
cmp ebp, dword [ecx + 0x10]
je 0x100d9281
mov eax, dword [ebx + 4]
cmp eax, 0x3f51
jge 0x100d9281
cmp eax, 0x3f4e
jl 0x100d8567
cmp edx, 4
je 0x100d9281
mov eax, ebp
sub eax, dword [ecx + 0x10]
push eax
push dword [ecx + 0xc]
push ecx
call fcn.100d9700
add esp, 0xc
test eax, eax
je 0x100d927d
mov dword [ebx + 4], 0x3f52
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x34
ret
mov ecx, dword [esp + 0x48]
shr edx, 2
sub esi, 3
mov dword [ebp + 4], 0x3f44
mov dword [esp + 0x14], edx
jmp 0x100d905c
mov ecx, dword [esp + 0x48]
shr edx, 2
sub esi, 3
mov dword [esp + 0x14], edx
mov dword [ecx + 0x18], str.invalid_block_type
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x14], edx
cmp esi, 0x20
jae 0x100d8605
test edi, edi
je 0x100d850d
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 edi
cmp esi, 0x20
jb 0x100d85e2
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x100d862a
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_stored_block_lengths
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
xor edx, edx
mov dword [ebp + 0x44], ecx
xor esi, esi
mov dword [esp + 0x14], edx
cmp dword [esp + 0x4c], 6
mov dword [ebp + 4], 0x3f42
je 0x100d926b
mov dword [ebp + 4], 0x3f43
mov ecx, dword [ebp + 0x44]
test ecx, ecx
je 0x100d8d5e
cmp ecx, edi
mov eax, edi
cmovbe eax, ecx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
cmovbe ecx, eax
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x100d850d
push ecx
push ebx
push dword [esp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x4c]
add esp, 0xc
sub dword [esp + 0x20], eax
add ebx, eax
add dword [esp + 0x28], eax
sub edi, eax
sub dword [ebp + 0x44], eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
jmp 0x100d9058
cmp esi, 0xe
jae 0x100d86cb
test edi, edi
je 0x100d850d
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 edi
cmp esi, 0xe
jb 0x100d86a8
mov ecx, edx
sub esi, 0xe
shr edx, 5
and ecx, 0x1f
mov eax, edx
add ecx, 0x101
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebp + 0x64], ecx
mov dword [esp + 0x40], eax
mov dword [ebp + 0x68], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [esp + 0x14], edx
mov dword [ebp + 0x60], eax
cmp ecx, 0x11e
ja 0x100d87ff
cmp dword [esp + 0x40], 0x1e
ja 0x100d87ff
mov dword [ebp + 0x6c], 0
mov dword [ebp + 4], 0x3f45
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x60]
jae 0x100d8782
nop
cmp esi, 3
jae 0x100d8758
test edi, edi
je 0x100d850d
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 edi
cmp esi, 3
jb 0x100d8735
mov eax, dword [ebp + 0x6c]
mov ecx, edx
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [esp + 0x14], edx
movzx eax, word [eax*2 + 0x10151cb0]
mov word [ebp + eax*2 + 0x74], cx
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x60]
jb 0x100d8730
cmp eax, 0x13
jae 0x100d87ab
nop word [eax + eax]
movzx eax, word [eax*2 + 0x10151cb0]
xor ecx, ecx
mov word [ebp + eax*2 + 0x74], cx
mov eax, dword [ebp + 0x6c]
inc eax
mov dword [ebp + 0x6c], eax
cmp eax, 0x13
jb 0x100d8790
lea eax, [ebp + 0x534]
mov dword [ebp + 0x58], 7
lea ecx, [ebp + 0x70]
mov dword [ebp + 0x50], eax
mov dword [ecx], eax
lea edx, [ebp + 0x58]
lea eax, [ebp + 0x2f4]
push eax
push edx
push ecx
push 0x13
lea eax, [ebp + 0x74]
push eax
push 0
call fcn.100d9ea0
mov ecx, dword [esp + 0x60]
add esp, 0x18
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
test eax, eax
je 0x100d8816
mov dword [ecx + 0x18], str.invalid_code_lengths_set
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.too_many_length_or_distance_symbols
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
mov dword [ebp + 0x6c], 0
mov dword [ebp + 4], 0x3f46
mov eax, dword [ebp + 0x68]
add eax, dword [ebp + 0x64]
cmp dword [ebp + 0x6c], eax
jae 0x100d8a8d
mov ecx, dword [ebp + 0x58]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp + 0x50]
dec eax
mov dword [esp + 0x40], eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
shr dword [esp + 0x38], 0x10
movzx ecx, cl
cmp ecx, esi
jbe 0x100d88af
test edi, edi
je 0x100d850d
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [ebp + 0x50]
add edx, eax
mov eax, dword [esp + 0x40]
add esi, 8
and eax, edx
mov dword [esp + 0x14], edx
dec edi
mov dword [esp + 0x18], ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
shr dword [esp + 0x38], 0x10
movzx ecx, cl
cmp ecx, esi
ja 0x100d8863
mov ecx, dword [esp + 0x38]
movzx ecx, cx
jmp 0x100d88b3
mov ecx, dword [esp + 0x38]
movzx ebp, cx
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x1c]
cmp cx, 0x10
jae 0x100d88ee
mov ecx, dword [esp + 0x30]
shr edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
sub esi, ecx
shr eax, 0x10
mov ecx, dword [ebp + 0x6c]
mov dword [esp + 0x14], edx
mov word [ebp + ecx*2 + 0x74], ax
inc dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x6c]
jmp 0x100d8a7b
mov ecx, dword [esp + 0x40]
cmp cx, 0x10
jne 0x100d8973
mov ecx, dword [esp + 0x30]
shr eax, 8
movzx eax, al
mov dword [esp + 0x38], eax
movzx eax, cl
add eax, 2
mov dword [esp + 0x40], eax
cmp esi, eax
jae 0x100d893c
test edi, edi
je 0x100d850d
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 edi
cmp esi, dword [esp + 0x40]
jb 0x100d8918
mov ecx, dword [esp + 0x38]
sub esi, ecx
mov eax, dword [ebp + 0x6c]
shr edx, cl
mov dword [esp + 0x14], edx
test eax, eax
je 0x100d8ab7
movzx eax, word [ebp + eax*2 + 0x72]
mov ecx, edx
and ecx, 3
shr edx, 2
add ecx, 3
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
sub esi, 2
jmp 0x100d8a2e
cmp cx, 0x11
movzx eax, ah
mov ecx, dword [esp + 0x30]
jne 0x100d89d2
mov dword [esp + 0x38], eax
movzx eax, cl
add eax, 3
mov dword [esp + 0x40], eax
cmp esi, eax
jae 0x100d89b6
test edi, edi
je 0x100d850d
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 edi
cmp esi, dword [esp + 0x40]
jb 0x100d8992
mov ecx, dword [esp + 0x38]
shr edx, cl
mov eax, edx
and eax, 7
add eax, 3
shr edx, 3
mov dword [esp + 0x30], eax
mov eax, 0xfffffffd
jmp 0x100d8a22
mov dword [esp + 0x38], eax
movzx eax, cl
add eax, 7
mov dword [esp + 0x40], eax
cmp esi, eax
jae 0x100d8a08
test edi, edi
je 0x100d850d
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 edi
cmp esi, dword [esp + 0x40]
jb 0x100d89e4
mov ecx, dword [esp + 0x38]
shr edx, cl
mov eax, edx
and eax, 0x7f
add eax, 0xb
shr edx, 7
mov dword [esp + 0x30], eax
mov eax, 0xfffffff9
sub eax, ecx
mov dword [esp + 0x38], 0
add esi, eax
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x64]
add ecx, dword [ebp + 0x68]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x40]
mov dword [esp + 0x14], edx
cmp eax, ecx
ja 0x100d8ab7
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
nop word [eax + eax]
mov word [ebp + ecx*2 + 0x74], bx
mov ecx, dword [ebp + 0x6c]
lea ecx, [ecx + 1]
mov dword [ebp + 0x6c], ecx
sub edx, 1
jne 0x100d8a60
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x64]
add eax, dword [ebp + 0x68]
cmp ecx, eax
jb 0x100d8833
mov ecx, dword [esp + 0x48]
cmp dword [ebp + 4], 0x3f51
je 0x100d905c
cmp word [ebp + 0x274], 0
jne 0x100d8acb
mov dword [ecx + 0x18], str.invalid_code____missing_end_of_block
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
mov dword [ebp + 4], 0x3f51
jmp 0x100d8a8d
lea eax, [ebp + 0x534]
mov dword [ebp + 0x58], 9
lea ecx, [ebp + 0x70]
mov dword [ebp + 0x50], eax
mov dword [ecx], eax
lea edx, [ebp + 0x58]
lea eax, [ebp + 0x2f4]
push eax
push edx
push ecx
push dword [ebp + 0x64]
lea eax, [ebp + 0x74]
push eax
push 1
call fcn.100d9ea0
add esp, 0x18
mov dword [esp + 0x34], eax
test eax, eax
je 0x100d8b20
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.invalid_literal_lengths_set
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
mov eax, dword [ebp + 0x70]
lea ecx, [ebp + 0x70]
mov dword [ebp + 0x54], eax
lea edx, [ebp + 0x5c]
lea eax, [ebp + 0x2f4]
mov dword [edx], 6
push eax
mov eax, dword [ebp + 0x64]
push edx
push ecx
push dword [ebp + 0x68]
lea eax, [eax*2 + 0x74]
add eax, ebp
push eax
push 2
call fcn.100d9ea0
add esp, 0x18
mov dword [esp + 0x34], eax
test eax, eax
je 0x100d8b78
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.invalid_distances_set
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
mov edx, dword [esp + 0x4c]
mov dword [ebp + 4], 0x3f47
cmp edx, 6
je 0x100d9262
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
mov dword [ebp + 4], 0x3f48
cmp edi, 6
jb 0x100d8c11
cmp dword [esp + 0x20], 0x102
jb 0x100d8c11
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], edi
push ecx
mov dword [ebp + 0x3c], edx
mov dword [ebp + 0x40], esi
call fcn.100da420
mov ecx, dword [esp + 0x50]
add esp, 8
cmp dword [ebp + 4], 0x3f3f
mov edx, dword [ebp + 0x3c]
mov esi, dword [ebp + 0x40]
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx]
mov edi, 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
jne 0x100d905c
mov dword [ebp + 0x1bc8], 0xffffffff
jmp 0x100d905c
mov ecx, dword [ebp + 0x58]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp + 0x50]
dec eax
mov dword [esp + 0x40], eax
and eax, edx
mov dword [ebp + 0x1bc8], 0
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x100d8c76
nop
test edi, edi
je 0x100d850d
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [ebp + 0x50]
add edx, eax
mov eax, dword [esp + 0x40]
add esi, 8
and eax, edx
mov dword [esp + 0x14], edx
dec edi
mov dword [esp + 0x18], ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x100d8c40
test al, al
je 0x100d8d22
test al, 0xf0
jne 0x100d8d22
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x40], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x30], ecx
movzx ecx, al
mov eax, 1
add ecx, dword [esp + 0x30]
shl eax, cl
mov ecx, dword [esp + 0x30]
dec eax
mov dword [esp + 0x38], eax
and eax, edx
shr eax, cl
add eax, dword [esp + 0x40]
mov ecx, dword [ebp + 0x50]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, dword [esp + 0x30]
cmp ecx, esi
jbe 0x100d8d14
test edi, edi
je 0x100d850d
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [esp + 0x30]
add edx, eax
mov eax, dword [esp + 0x38]
add esi, 8
and eax, edx
mov dword [esp + 0x14], edx
shr eax, cl
dec edi
add eax, dword [esp + 0x40]
mov ecx, dword [ebp + 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 + 0x30]
cmp ecx, esi
ja 0x100d8cd0
mov ecx, dword [esp + 0x30]
shr edx, cl
sub esi, ecx
mov dword [ebp + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebp + 0x1bc8], ecx
sub esi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x14], edx
mov dword [ebp + 0x44], ecx
test al, al
jne 0x100d8d50
mov dword [ebp + 4], 0x3f4d
jmp 0x100d9058
test al, 0x20
je 0x100d8d6a
mov dword [ebp + 0x1bc8], 0xffffffff
mov dword [ebp + 4], 0x3f3f
jmp 0x100d9058
test al, 0x40
je 0x100d8d85
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_literal_length_code
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
movzx eax, al
and eax, 0xf
mov dword [ebp + 4], 0x3f49
mov dword [ebp + 0x4c], eax
mov ecx, dword [ebp + 0x4c]
test ecx, ecx
je 0x100d8de0
cmp esi, ecx
jae 0x100d8dc5
test edi, edi
je 0x100d850d
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [ebp + 0x4c]
add edx, eax
add esi, 8
mov dword [esp + 0x14], edx
dec edi
mov dword [esp + 0x18], ebx
cmp esi, ecx
jb 0x100d8da0
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebp + 0x44], eax
add dword [ebp + 0x1bc8], ecx
mov dword [esp + 0x14], edx
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x1bcc], eax
mov dword [ebp + 4], 0x3f4a
mov ecx, dword [ebp + 0x5c]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp + 0x54]
dec eax
mov dword [esp + 0x40], eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x100d8e49
test edi, edi
je 0x100d850d
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [ebp + 0x54]
add edx, eax
mov eax, dword [esp + 0x40]
add esi, 8
and eax, edx
mov dword [esp + 0x14], edx
dec edi
mov dword [esp + 0x18], ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x100d8e13
test al, 0xf0
jne 0x100d8efc
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x40], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x30], ecx
movzx ecx, al
mov eax, 1
add ecx, dword [esp + 0x30]
shl eax, cl
mov ecx, dword [esp + 0x30]
dec eax
mov dword [esp + 0x38], eax
and eax, edx
shr eax, cl
add eax, dword [esp + 0x40]
mov ecx, dword [ebp + 0x54]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, dword [esp + 0x30]
cmp ecx, esi
jbe 0x100d8ee4
nop dword [eax + eax]
test edi, edi
je 0x100d850d
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [esp + 0x30]
add edx, eax
mov eax, dword [esp + 0x38]
add esi, 8
and eax, edx
mov dword [esp + 0x14], edx
shr eax, cl
dec edi
add eax, dword [esp + 0x40]
mov ecx, dword [ebp + 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 + 0x30]
cmp ecx, esi
ja 0x100d8ea0
mov ecx, dword [esp + 0x30]
sub esi, ecx
shr edx, cl
mov ecx, dword [ebp + 0x1bc8]
add ecx, dword [esp + 0x30]
mov dword [ebp + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebp + 0x1bc8], ecx
sub esi, ecx
shr edx, cl
mov dword [esp + 0x14], edx
test al, 0x40
je 0x100d8f2d
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_distance_code
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
mov ecx, eax
mov dword [ebp + 4], 0x3f4b
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x4c], eax
mov ecx, dword [ebp + 0x4c]
test ecx, ecx
je 0x100d8f90
cmp esi, ecx
jae 0x100d8f75
test edi, edi
je 0x100d850d
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [ebp + 0x4c]
add edx, eax
add esi, 8
mov dword [esp + 0x14], edx
dec edi
mov dword [esp + 0x18], ebx
cmp esi, ecx
jb 0x100d8f50
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebp + 0x48], eax
add dword [ebp + 0x1bc8], ecx
mov dword [esp + 0x14], edx
mov dword [ebp + 4], 0x3f4c
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x100d850d
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [ebp + 0x48]
cmp ecx, eax
jbe 0x100d9000
sub ecx, eax
cmp ecx, dword [ebp + 0x30]
jbe 0x100d8fd7
cmp dword [ebp + 0x1bc4], 0
je 0x100d8fd7
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_distance_too_far_back
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
mov eax, dword [ebp + 0x34]
cmp ecx, eax
jbe 0x100d8fe3
sub ecx, eax
mov eax, dword [ebp + 0x2c]
sub eax, ecx
add eax, dword [ebp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x44]
cmp ecx, eax
mov ebp, eax
cmovbe ebp, ecx
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x1c]
jmp 0x100d9011
mov eax, dword [esp + 0x28]
sub eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x20]
mov ecx, edx
cmp dword [esp + 0x38], edx
cmovbe ecx, dword [esp + 0x38]
sub edx, ecx
sub eax, ecx
mov dword [ebp + 0x44], eax
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x28]
sub ebp, edx
mov al, byte [edx + ebp]
mov byte [edx], al
inc edx
sub ecx, 1
jne 0x100d9035
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
cmp dword [ebp + 0x44], ecx
jne 0x100d9058
mov dword [ebp + 4], 0x3f48
mov ecx, dword [esp + 0x48]
mov eax, dword [ebp + 4]
sub eax, 0x3f34
cmp eax, 0x1f
jbe switch.0x100d7cb8
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x34
ret
cmp dword [esp + 0x20], 0
je 0x100d850d
mov ecx, dword [esp + 0x28]
mov al, byte [ebp + 0x44]
inc dword [esp + 0x28]
dec dword [esp + 0x20]
mov byte [ecx], al
jmp 0x100d9051
cmp dword [ebp + 0xc], 0
je 0x100d917a
cmp esi, 0x20
jae 0x100d90ce
test edi, edi
je 0x100d850d
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 edi
cmp esi, 0x20
jb 0x100d90a7
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x20]
add dword [ecx + 0x14], eax
add dword [ebp + 0x20], eax
test byte [ebp + 0xc], 4
mov dword [esp + 0x2c], eax
je 0x100d911d
test eax, eax
je 0x100d911d
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub eax, edx
cmp dword [ebp + 0x14], 0
mov ecx, dword [ebp + 0x1c]
push edx
push eax
push ecx
je 0x100d9107
call fcn.100d9a70
jmp 0x100d910c
call fcn.100d97f0
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x1c], eax
mov dword [ecx + 0x30], eax
test byte [ebp + 0xc], 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
je 0x100d9172
cmp dword [ebp + 0x14], 0
mov ecx, edx
jne 0x100d9156
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 [ebp + 0x1c]
je 0x100d9172
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.incorrect_data_check
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
xor edx, edx
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [ebp + 4], 0x3f4f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100d9228
cmp dword [ebp + 0x14], 0
je 0x100d9228
cmp esi, 0x20
jae 0x100d91c6
nop dword [eax + eax]
test edi, edi
je 0x100d850d
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 edi
cmp esi, 0x20
jb 0x100d91a0
mov eax, dword [ebp + 0xc]
test al, 4
je 0x100d920c
cmp edx, dword [ebp + 0x20]
je 0x100d920c
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [ebp + 4], 0x3f51
jmp 0x100d905c
mov eax, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], edi
mov dword [ecx + 0x10], eax
mov eax, 2
mov dword [ecx], ebx
pop edi
mov dword [ebp + 0x40], esi
pop esi
mov dword [ebp + 0x3c], edx
pop ebp
pop ebx
add esp, 0x34
ret
mov ecx, dword [esp + 0x1c]
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x34], 1
mov dword [ecx + 4], 0x3f50
jmp 0x100d8511
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x34], 1
mov dword [ecx + 4], 0x3f50
jmp 0x100d8511
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x34], 1
jmp 0x100d8511
mov dword [esp + 0x34], 0xfffffffd
jmp 0x100d850d
mov ebp, dword [esp + 0x14]
jmp 0x100d8515
xor ebp, ebp
jmp 0x100d8511
mov ebp, dword [esp + 0x14]
mov edx, eax
jmp 0x100d8515
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
sub eax, dword [ecx + 4]
sub ebp, dword [ecx + 0x10]
add dword [ecx + 8], eax
add dword [ecx + 0x14], ebp
add dword [ebx + 0x20], ebp
test byte [ebx + 0xc], 4
mov dword [esp + 0x3c], eax
je 0x100d92db
test ebp, ebp
je 0x100d92db
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebx + 0x1c]
sub eax, ebp
cmp dword [ebx + 0x14], 0
push ebp
push eax
push ecx
je 0x100d92c7
call fcn.100d9a70
mov edi, dword [esp + 0x54]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov dword [edi + 0x30], eax
jmp 0x100d92df
call fcn.100d97f0
mov edi, dword [esp + 0x54]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov dword [edi + 0x30], eax
jmp 0x100d92df
mov edi, dword [esp + 0x48]
mov edx, dword [ebx + 4]
cmp edx, 0x3f47
je 0x100d92f6
cmp edx, 0x3f42
je 0x100d92f6
xor esi, esi
jmp 0x100d92fb
mov esi, 0x100
mov ecx, dword [ebx + 8]
neg ecx
mov dword [esp + 0x48], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp edx, 0x3f3f
cmove eax, dword [esp + 0x48]
add ecx, eax
add ecx, dword [ebx + 0x40]
add ecx, esi
cmp dword [esp + 0x3c], 0
mov dword [edi + 0x2c], ecx
jne 0x100d932f
test ebp, ebp
je 0x100d9336
cmp dword [esp + 0x4c], 4
jne 0x100d934c
mov eax, dword [esp + 0x34]
mov ecx, 0xfffffffb
pop edi
pop esi
test eax, eax
pop ebp
cmove eax, ecx
pop ebx
add esp, 0x34
ret
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret