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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
call fcn.1814917c
test eax, eax
jne case.default.0x1814949d
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x24], eax
test eax, eax
je case.default.0x1814949d
mov eax, dword [edi]
mov dword [ebp - 8], eax
test eax, eax
jne 0x18149427
cmp dword [edi + 4], eax
jne case.default.0x1814949d
mov ebx, dword [edi + 0x1c]
mov edx, 0x3f40
mov dword [ebp - 0x40], ebx
mov ecx, dword [ebx + 4]
cmp ecx, 0x3f3f
jne 0x1814944d
mov dword [ebx + 4], edx
mov ecx, edx
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x10]
mov edx, dword [ebx + 0x3c]
mov esi, dword [ebx + 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x30], eax
lea eax, [ecx - 0x3f34]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp eax, 0x1e
ja case.default.0x1814949d
mov dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x38], 0x1f
mov dword [ebp - 0x48], 0x3f46
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x34], esi
jmp dword [eax*4 + 0x1814a7f0]
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x181494b7
mov dword [ebx + 4], 0x3f40
jmp 0x18149cdd
cmp esi, dword [ebp - 0x2c]
jae 0x181494eb
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x14], edx
cmp esi, dword [ebp - 0x2c]
jb 0x181494bc
mov eax, dword [ebx + 0xc]
test al, 2
je 0x18149536
cmp edx, 0x8b1f
jne 0x18149536
xor esi, esi
cmp dword [ebx + 0x28], esi
jne 0x18149505
mov dword [ebx + 0x28], 0xf
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x20]
push 2
xor ecx, ecx
mov dword [ebx + 0x1c], esi
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0x8b
call fcn.18148c45
mov edx, esi
mov dword [ebx + 0x1c], eax
pop ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov dword [ebx + 4], 0x3f35
jmp 0x18149cdd
and dword [ebx + 0x14], 0
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x18149548
or dword [ecx + 0x30], 0xffffffff
mov eax, dword [ebx + 0xc]
test al, 1
je 0x181495de
movzx ecx, dl
mov eax, edx
shr eax, 8
xor edx, edx
shl ecx, 8
add eax, ecx
div dword [ebp - 0x38]
test edx, edx
mov edx, dword [ebp - 0x14]
jne 0x181495de
mov eax, edx
and al, 0xf
cmp al, 8
je 0x1814957a
mov dword [edi + 0x18], str.unknown_compression_method
jmp 0x181495e5
mov eax, dword [ebx + 0x28]
sub esi, 4
shr edx, 4
mov ecx, edx
mov dword [ebp - 0x14], edx
and ecx, 0xf
mov dword [ebp - 0xc], esi
add ecx, 8
test eax, eax
jne 0x1814959a
mov dword [ebx + 0x28], ecx
mov eax, ecx
cmp ecx, 0xf
ja 0x181495d5
cmp ecx, eax
ja 0x181495d5
xor esi, esi
shr edx, 8
inc esi
not edx
mov eax, esi
mov dword [ebx + 0x1c], esi
and edx, 2
shl eax, cl
or edx, 0x3f3d
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], esi
xor eax, eax
mov dword [ebx + 4], edx
mov esi, eax
mov edx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jmp 0x18149cdd
mov dword [edi + 0x18], str.invalid_window_size
jmp 0x181495e5
mov dword [edi + 0x18], str.incorrect_header_check
mov dword [ebx + 4], 0x3f51
jmp 0x18149cdd
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x2c]
jb 0x181495f1
mov dword [ebx + 0x14], edx
cmp dl, 8
jne 0x18149571
test edx, 0xe000
je 0x1814963a
mov dword [edi + 0x18], str.unknown_header_flags_set
jmp 0x181495e5
mov esi, dword [ebx + 0x24]
mov ecx, edx
shr ecx, 8
mov eax, edx
test esi, esi
je 0x18149652
mov eax, ecx
and eax, 1
mov dword [esi], eax
mov eax, dword [ebx + 0x14]
test eax, 0x200
je 0x18149676
test byte [ebx + 0xc], 4
je 0x18149676
mov byte [ebp - 0x20], dl
lea edx, [ebp - 0x20]
mov byte [ebp - 0x1f], cl
mov ecx, dword [ebx + 0x1c]
push 2
call fcn.18148c45
pop ecx
mov dword [ebx + 0x1c], eax
mov esi, dword [ebp - 8]
xor eax, eax
mov edx, eax
mov dword [ebx + 4], 0x3f36
mov dword [ebp - 0x14], edx
mov ecx, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e9
dec eax
mov dword [ebp - 0x10], eax
movzx eax, byte [esi]
shl eax, cl
add ecx, 8
add edx, eax
inc esi
cmp ecx, 0x20
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
jb 0x18149689
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x181496b8
mov dword [eax + 4], edx
test dword [ebx + 0x14], 0x200
je 0x181496f1
test byte [ebx + 0xc], 4
je 0x181496f1
mov ecx, dword [ebx + 0x1c]
mov eax, edx
shr eax, 8
mov byte [ebp - 0x1f], al
mov eax, edx
mov byte [ebp - 0x20], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ebp - 0x1d], dl
lea edx, [ebp - 0x20]
push 4
mov byte [ebp - 0x1e], al
call fcn.18148c45
pop ecx
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 4], 0x3f37
mov edx, eax
mov ecx, eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e9
dec eax
mov dword [ebp - 0x10], eax
movzx eax, byte [esi]
shl eax, cl
add ecx, 8
add edx, eax
inc esi
cmp ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
jb 0x18149701
mov esi, dword [ebx + 0x24]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x1814973e
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x24]
mov dword [eax + 0xc], ecx
test dword [ebx + 0x14], 0x200
je 0x18149764
test byte [ebx + 0xc], 4
je 0x18149764
mov byte [ebp - 0x20], dl
lea edx, [ebp - 0x20]
mov byte [ebp - 0x1f], cl
mov ecx, dword [ebx + 0x1c]
push 2
call fcn.18148c45
pop ecx
mov dword [ebx + 0x1c], eax
xor ecx, ecx
mov dword [ebx + 4], 0x3f38
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jmp 0x181497a0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x20
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], eax
jmp 0x181496a6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], eax
jmp 0x1814971e
xor ecx, ecx
test dword [ebx + 0x14], 0x400
jne 0x18149842
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x181497b7
mov dword [eax + 0x10], ecx
mov dword [ebx + 4], 0x3f39
mov ecx, dword [ebx + 0x14]
test ecx, 0x400
je 0x181498e6
mov eax, dword [ebx + 0x44]
mov edi, eax
mov edx, dword [ebp - 0x10]
cmp edi, edx
jbe 0x181497db
mov edi, edx
test edi, edi
je 0x181498db
mov edx, dword [ebx + 0x24]
mov dword [ebp - 0x34], eax
test edx, edx
je 0x181498a9
mov ebx, dword [edx + 0x10]
test ebx, ebx
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
je 0x181498a9
mov edx, dword [edx + 0x14]
mov ecx, dword [ebx + 0x24]
sub edx, eax
mov ecx, dword [ecx + 0x18]
lea eax, [edi + edx]
cmp eax, ecx
jbe 0x1814988c
sub ecx, edx
jmp 0x1814988e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x2c]
jb 0x1814981b
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x44], edx
test eax, eax
je 0x18149854
mov dword [eax + 0x14], edx
test dword [ebx + 0x14], 0x200
je 0x1814987d
test byte [ebx + 0xc], 4
je 0x1814987d
mov ecx, dword [ebx + 0x1c]
mov byte [ebp - 0x20], dl
shr edx, 8
mov byte [ebp - 0x1f], dl
lea edx, [ebp - 0x20]
push 2
call fcn.18148c45
pop ecx
mov dword [ebx + 0x1c], eax
xor eax, eax
mov esi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], esi
jmp 0x181497b7
mov ecx, edi
mov eax, dword [ebp - 0x44]
push ecx
push dword [ebp - 8]
add eax, edx
push eax
call fcn.18161b60
mov eax, dword [ebx + 0x44]
add esp, 0xc
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x34], eax
test ecx, 0x200
je 0x181498cd
test byte [ebx + 0xc], 4
je 0x181498cd
mov eax, dword [ebp - 8]
test eax, eax
je 0x181498ca
mov ecx, dword [ebx + 0x1c]
mov edx, eax
push edi
call fcn.18148c45
pop ecx
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0x10], edi
add dword [ebp - 8], edi
sub eax, edi
mov dword [ebx + 0x44], eax
test eax, eax
jne 0x1814a6e3
mov edi, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebx + 4], 0x3f3a
mov dword [ebx + 0x44], ecx
jmp 0x181498f6
xor ecx, ecx
test dword [ebx + 0x14], 0x800
je 0x18149992
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
mov edi, dword [ebp - 0x10]
mov eax, ecx
mov esi, dword [ebp - 8]
mov cl, byte [eax + esi]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x18149944
cmp dword [ecx + 0x1c], 0
je 0x18149944
mov edx, dword [ebx + 0x44]
cmp edx, dword [ecx + 0x20]
jae 0x18149944
mov ecx, dword [ecx + 0x1c]
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x44]
mov eax, dword [ebp - 0x34]
mov dl, byte [ebp - 1]
test dl, dl
je 0x1814994f
cmp eax, edi
jb 0x18149916
test dword [ebx + 0x14], 0x200
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
je 0x18149982
test byte [ebx + 0xc], 4
je 0x18149982
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x1814997f
mov edx, ecx
mov ecx, dword [ebx + 0x1c]
push eax
call fcn.18148c45
mov dl, byte [ebp - 1]
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x1c], ecx
sub dword [ebp - 0x10], eax
add dword [ebp - 8], eax
test dl, dl
jne 0x1814a6e3
jmp 0x1814999c
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x1814999c
mov dword [eax + 0x1c], ecx
xor ecx, ecx
mov dword [ebx + 4], 0x3f3b
mov dword [ebx + 0x44], ecx
jmp 0x181499ac
xor ecx, ecx
test dword [ebx + 0x14], 0x1000
je 0x18149a48
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
mov edi, dword [ebp - 0x10]
mov eax, ecx
mov esi, dword [ebp - 8]
mov cl, byte [eax + esi]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x181499fa
cmp dword [ecx + 0x24], 0
je 0x181499fa
mov edx, dword [ebx + 0x44]
cmp edx, dword [ecx + 0x28]
jae 0x181499fa
mov ecx, dword [ecx + 0x24]
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x44]
mov eax, dword [ebp - 0x34]
mov dl, byte [ebp - 1]
test dl, dl
je 0x18149a05
cmp eax, edi
jb 0x181499cc
test dword [ebx + 0x14], 0x200
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
je 0x18149a38
test byte [ebx + 0xc], 4
je 0x18149a38
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x18149a35
mov edx, ecx
mov ecx, dword [ebx + 0x1c]
push eax
call fcn.18148c45
mov dl, byte [ebp - 1]
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x1c], ecx
sub dword [ebp - 0x10], eax
add dword [ebp - 8], eax
test dl, dl
jne 0x1814a6e3
jmp 0x18149a52
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x18149a52
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebx + 4], 0x3f3c
mov eax, dword [ebx + 0x14]
test eax, 0x200
je 0x18149abd
jmp 0x18149a8f
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x2c]
jb 0x18149a68
test byte [ebx + 0xc], 4
je 0x18149aae
movzx eax, word [ebx + 0x1c]
cmp edx, eax
je 0x18149aae
mov dword [edi + 0x18], str.header_crc_mismatch
jmp 0x181495e5
xor eax, eax
mov edx, eax
mov esi, eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x18149ad7
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x24]
mov dword [eax + 0x30], 1
xor eax, eax
mov dword [ebx + 0x1c], eax
mov dword [edi + 0x30], eax
mov dword [ebx + 4], 0x3f3f
jmp 0x18149cdd
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x18149aeb
mov ecx, edx
mov esi, 0xff00
mov eax, edx
and ecx, esi
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, esi
shl ecx, 8
shr edx, 0x18
add eax, ecx
add eax, edx
mov dword [ebx + 0x1c], eax
mov dword [edi + 0x30], eax
xor eax, eax
mov edx, eax
mov dword [ebx + 4], 0x3f3e
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jmp 0x18149b55
xor eax, eax
cmp dword [ebx + 0x10], eax
je 0x1814a696
xor ecx, ecx
inc ecx
mov dword [ebx + 0x1c], ecx
mov dword [edi + 0x30], ecx
mov dword [ebx + 4], 0x3f3f
jmp 0x18149b72
xor eax, eax
cmp dword [ebx + 8], eax
je 0x18149bb9
mov ecx, esi
mov dword [ebx + 4], 0x3f4e
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jmp 0x18149cdd
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, 3
jb 0x18149b92
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 8], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0x18149c1f
sub eax, 1
je 0x18149bfa
sub eax, 1
je 0x18149bf1
sub eax, 1
jne 0x18149c26
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ebx + 4], 0x3f51
jmp 0x18149c26
mov dword [ebx + 4], 0x3f44
jmp 0x18149c26
mov dword [ebx + 0x50], 0x181d6e18
mov dword [ebx + 0x58], 9
mov dword [ebx + 0x54], 0x181d9820
mov dword [ebx + 0x5c], 5
mov dword [ebx + 4], 0x3f47
jmp 0x18149c26
mov dword [ebx + 4], 0x3f41
shr edx, 2
sub esi, 3
jmp 0x181495ca
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
jmp 0x18149c5d
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], edx
cmp esi, 0x20
jb 0x18149c3c
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x18149c82
mov dword [edi + 0x18], str.invalid_stored_block_lengths
jmp 0x181495e5
xor eax, eax
mov dword [ebx + 0x44], ecx
mov edx, eax
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov dword [ebx + 4], 0x3f43
mov edi, dword [ebx + 0x44]
test edi, edi
je 0x18149cf7
mov eax, dword [ebp - 0x10]
cmp edi, eax
jbe 0x18149ca8
mov edi, eax
mov ecx, dword [ebp - 0x1c]
cmp edi, ecx
jbe 0x18149cb1
mov edi, ecx
test edi, edi
je 0x1814a6e6
push edi
push dword [ebp - 8]
push dword [ebp - 0x24]
call fcn.18161b60
sub dword [ebp - 0x10], edi
add esp, 0xc
add dword [ebp - 8], edi
sub dword [ebp - 0x1c], edi
add dword [ebp - 0x24], edi
sub dword [ebx + 0x44], edi
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebx + 4]
lea eax, [ecx - 0x3f34]
cmp eax, 0x1e
jbe 0x18149497
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov dword [ebx + 4], 0x3f3f
jmp 0x18149cda
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, 0xe
jb 0x18149d00
mov ecx, edx
sub esi, 0xe
and ecx, dword [ebp - 0x38]
shr edx, 5
add ecx, 0x101
mov eax, edx
mov dword [ebx + 0x64], ecx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x44], eax
mov dword [ebx + 0x68], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0x14], edx
mov dword [ebx + 0x60], eax
cmp ecx, 0x11e
ja 0x18149d7e
cmp dword [ebp - 0x44], 0x1e
ja 0x18149d7e
and dword [ebx + 0x6c], 0
mov dword [ebx + 4], 0x3f45
jmp case.0x1814949d.16197
mov dword [edi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x181495e5
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, 3
jb 0x18149d8a
mov eax, dword [ebx + 0x6c]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0x14], edx
movzx eax, word [eax*2 + 0x181d98a0]
mov word [ebx + eax*2 + 0x74], cx
inc dword [ebx + 0x6c]
sub esi, 3
mov dword [ebp - 0xc], esi
mov eax, dword [ebx + 0x6c]
cmp eax, dword [ebx + 0x60]
jb 0x18149db1
cmp eax, 0x13
jae 0x18149e02
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
movzx eax, word [eax*2 + 0x181d98a0]
mov word [ebx + eax*2 + 0x74], cx
inc dword [ebx + 0x6c]
cmp dword [ebx + 0x6c], 0x13
jb 0x18149de7
lea eax, [ebx + 0x534]
lea edx, [ebx + 0x70]
mov dword [ebx + 0x50], eax
mov dword [edx], eax
lea ecx, [ebx + 0x58]
lea eax, [ebx + 0x2f4]
mov dword [ecx], 7
push eax
push ecx
push edx
push 0x13
lea edx, [ebx + 0x74]
xor ecx, ecx
call fcn.1814ac49
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x30], eax
test eax, eax
je 0x18149e47
mov dword [edi + 0x18], str.invalid_code_lengths_set
jmp 0x181495e5
mov eax, dword [ebp - 0x48]
mov ecx, eax
and dword [ebx + 0x6c], 0
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x68]
add eax, dword [ebx + 0x64]
cmp dword [ebx + 0x6c], eax
jae 0x1814a03b
mov ecx, dword [ebx + 0x58]
xor eax, eax
lea edi, [eax + 1]
shl edi, cl
jmp 0x18149e95
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov ecx, dword [ebx + 0x50]
lea eax, [edi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x34], eax
cmp ecx, esi
ja 0x18149e6e
mov ecx, eax
shr ecx, 0x10
mov edi, ecx
cmp cx, word [ebp - 0x2c]
jae 0x18149edf
shr eax, 8
movzx ecx, al
mov eax, dword [ebx + 0x6c]
sub esi, ecx
shr edx, cl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov word [ebx + eax*2 + 0x74], di
inc dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x6c]
jmp 0x1814a027
cmp di, word [ebp - 0x2c]
jne 0x18149f53
mov ecx, eax
shr ecx, 8
movzx edi, cl
add edi, 2
cmp esi, edi
jae 0x18149f20
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1814a6e3
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, esi
shl edx, cl
add esi, 8
add dword [ebp - 0x14], edx
inc dword [ebp - 8]
mov dword [ebp - 0xc], esi
cmp esi, edi
jb 0x18149ef4
mov edx, dword [ebp - 0x14]
movzx ecx, ah
mov eax, dword [ebx + 0x6c]
sub esi, ecx
shr edx, cl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
test eax, eax
je 0x1814a05e
movzx eax, word [ebx + eax*2 + 0x72]
mov edi, edx
and edi, 3
shr edx, 2
add edi, 3
mov dword [ebp - 0x34], eax
sub esi, 2
jmp 0x18149ff6
cmp word [ebp - 0x32], 0x11
movzx ecx, ah
jne 0x18149fa6
lea edi, [ecx + 3]
mov dword [ebp - 0x44], ecx
cmp esi, edi
jae 0x18149f95
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x14], edx
cmp esi, edi
jb 0x18149f67
mov ecx, dword [ebp - 0x44]
shr edx, cl
mov edi, edx
and edi, 7
add edi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x18149fed
lea edi, [ecx + 7]
mov dword [ebp - 0x44], ecx
cmp esi, edi
jae 0x18149fde
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x14], edx
cmp esi, edi
jb 0x18149fb0
mov ecx, dword [ebp - 0x44]
shr edx, cl
mov edi, edx
and edi, 0x7f
add edi, 0xb
shr edx, 7
push 0xfffffffffffffff9
pop eax
sub eax, ecx
add esi, eax
and dword [ebp - 0x34], 0
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x68]
add ecx, edi
add eax, dword [ebx + 0x64]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp ecx, eax
ja 0x1814a05e
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x6c]
mov word [ebx + eax*2 + 0x74], dx
mov ecx, dword [ebx + 0x6c]
lea ecx, [ecx + 1]
mov dword [ebx + 0x6c], ecx
sub edi, 1
jne 0x1814a00e
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x68]
add eax, dword [ebx + 0x64]
cmp ecx, eax
jb 0x18149e62
mov ecx, dword [ebx + 4]
mov edi, dword [ebp - 0x18]
cmp ecx, 0x3f51
je 0x18149cdd
xor eax, eax
cmp word [ebx + 0x274], ax
jne 0x1814a06d
mov dword [edi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x181495e5
mov edi, dword [ebp - 0x18]
mov dword [edi + 0x18], str.invalid_bit_length_repeat
jmp 0x181495e5
lea eax, [ebx + 0x534]
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x50], eax
mov dword [ecx], eax
lea edx, [ebx + 0x2f4]
push edx
lea eax, [ebx + 0x58]
push eax
push ecx
push dword [ebx + 0x64]
xor ecx, ecx
mov dword [eax], 9
lea edx, [ebx + 0x74]
inc ecx
call fcn.1814ac49
add esp, 0x10
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1814a0bb
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x18], str.invalid_literal_lengths_set
mov dword [ebx + 4], 0x3f51
jmp 0x18149cdd
lea ecx, [ebx + 0x70]
mov eax, dword [ecx]
lea edx, [ebx + 0x2f4]
push edx
mov dword [ebx + 0x54], eax
lea eax, [ebx + 0x5c]
push eax
mov dword [eax], 6
mov eax, dword [ebx + 0x64]
push ecx
push dword [ebx + 0x68]
add eax, 0x3a
push 2
pop ecx
lea edx, [ebx + eax*2]
call fcn.1814ac49
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x30], eax
test eax, eax
je case.0x1814949d.16199
mov dword [edi + 0x18], str.invalid_distances_set
jmp 0x181495e5
mov dword [ebx + 4], 0x3f48
mov eax, dword [ebp - 0x10]
cmp eax, 6
jb 0x1814a17c
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x102
jb 0x1814a17c
mov ebx, dword [ebp - 0x24]
mov dword [edi + 0xc], ebx
mov ebx, dword [ebp - 0x40]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [edi], ecx
mov ecx, edi
mov dword [edi + 4], eax
mov dword [ebx + 0x3c], edx
mov edx, dword [ebp - 0x28]
mov dword [ebx + 0x40], esi
call fcn.1814b025
cmp dword [ebx + 4], 0x3f3f
mov eax, dword [edi + 0xc]
mov edx, dword [ebx + 0x3c]
mov esi, dword [ebx + 0x40]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jne 0x18149cdd
or dword [ebx + 0x1bc8], 0xffffffff
jmp 0x18149cdd
and dword [ebx + 0x1bc8], 0
xor eax, eax
mov ecx, dword [ebx + 0x58]
lea edi, [eax + 1]
shl edi, cl
jmp 0x1814a1b6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov ecx, dword [ebx + 0x50]
lea eax, [edi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1814a18f
test al, al
je 0x1814a271
test al, 0xf0
jne 0x1814a271
mov ecx, eax
xor esi, esi
shr ecx, 8
inc esi
movzx edi, cl
mov edx, eax
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl esi, cl
mov ecx, edi
dec esi
mov dword [ebp - 0x34], edx
and esi, dword [ebp - 0x14]
shr esi, cl
mov ecx, dword [ebx + 0x50]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x1814a250
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
mov edi, dword [ebp - 8]
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov dword [ebp - 0xc], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0x14], eax
inc edi
movzx eax, word [ebp - 0x32]
mov dword [ebp - 8], edi
movzx edi, dh
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0xc]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x1814a209
movzx ecx, dh
mov edx, dword [ebp - 0x14]
shr edx, cl
sub esi, ecx
mov dword [ebx + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc8], ecx
sub esi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov dword [ebx + 0x44], ecx
test al, al
jne 0x1814a2a1
mov dword [ebx + 4], 0x3f4d
jmp 0x18149cda
test al, 0x20
je 0x1814a2b1
or dword [ebx + 0x1bc8], 0xffffffff
jmp 0x18149cf7
test al, 0x40
je 0x1814a2c4
mov edi, dword [ebp - 0x18]
mov dword [edi + 0x18], str.invalid_literal_length_code
jmp 0x181495e5
movzx eax, al
and eax, 0xf
mov dword [ebx + 4], 0x3f49
mov dword [ebx + 0x4c], eax
mov edi, dword [ebx + 0x4c]
test edi, edi
je 0x1814a325
jmp 0x1814a304
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, edi
jb 0x1814a2dd
xor eax, eax
mov ecx, edi
inc eax
sub esi, edi
shl eax, cl
dec eax
mov dword [ebp - 0xc], esi
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
add dword [ebx + 0x1bc8], edi
mov dword [ebp - 0x14], edx
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x1bcc], eax
mov dword [ebx + 4], 0x3f4a
mov ecx, dword [ebx + 0x5c]
xor eax, eax
lea edi, [eax + 1]
shl edi, cl
jmp 0x1814a368
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov ecx, dword [ebx + 0x54]
lea eax, [edi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1814a341
test al, 0xf0
jne 0x1814a41b
mov ecx, eax
xor esi, esi
shr ecx, 8
inc esi
movzx edi, cl
mov edx, eax
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl esi, cl
mov ecx, edi
dec esi
mov dword [ebp - 0x34], edx
and esi, dword [ebp - 0x14]
shr esi, cl
mov ecx, dword [ebx + 0x54]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x1814a3fa
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
mov edi, dword [ebp - 8]
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov dword [ebp - 0xc], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0x14], eax
inc edi
movzx eax, word [ebp - 0x32]
mov dword [ebp - 8], edi
movzx edi, dh
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0xc]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x1814a3b3
movzx ecx, dh
mov edx, dword [ebp - 0x14]
sub esi, ecx
shr edx, cl
add dword [ebx + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc8], ecx
sub esi, ecx
shr edx, cl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
test al, 0x40
je 0x1814a446
mov edi, dword [ebp - 0x18]
mov dword [edi + 0x18], str.invalid_distance_code
jmp 0x181495e5
mov ecx, eax
mov dword [ebx + 4], 0x3f4b
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], eax
mov edi, dword [ebx + 0x4c]
test edi, edi
je 0x1814a4af
jmp 0x1814a48e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, edi
jb 0x1814a467
xor eax, eax
mov ecx, edi
inc eax
sub esi, edi
shl eax, cl
dec eax
mov dword [ebp - 0xc], esi
and eax, edx
shr edx, cl
add dword [ebx + 0x48], eax
add dword [ebx + 0x1bc8], edi
mov dword [ebp - 0x14], edx
mov edi, dword [ebp - 0x18]
mov dword [ebx + 4], 0x3f4c
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1814a6e3
mov eax, dword [ebp - 0x28]
sub eax, ecx
mov ecx, dword [ebx + 0x48]
cmp ecx, eax
jbe 0x1814a508
sub ecx, eax
cmp ecx, dword [ebx + 0x30]
jbe 0x1814a4ec
cmp dword [ebx + 0x1bc4], 0
je 0x1814a4ec
mov dword [edi + 0x18], str.invalid_distance_too_far_back
jmp 0x181495e5
mov edi, dword [ebx + 0x34]
cmp ecx, edi
jbe 0x1814a4f8
sub ecx, edi
mov edi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x44]
sub edi, ecx
add edi, dword [ebx + 0x38]
cmp ecx, eax
jbe 0x1814a512
mov ecx, eax
jmp 0x1814a512
mov edi, dword [ebp - 0x24]
sub edi, ecx
mov ecx, dword [ebx + 0x44]
mov eax, ecx
cmp ecx, dword [ebp - 0x1c]
jbe 0x1814a51a
mov ecx, dword [ebp - 0x1c]
sub dword [ebp - 0x1c], ecx
sub eax, ecx
mov edx, dword [ebp - 0x24]
sub edi, edx
mov dword [ebx + 0x44], eax
mov al, byte [edi + edx]
mov byte [edx], al
inc edx
sub ecx, 1
jne 0x1814a527
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x14]
cmp dword [ebx + 0x44], ecx
jne 0x18149cda
mov dword [ebx + 4], 0x3f48
jmp 0x18149cda
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1814a6e3
mov edi, dword [ebp - 0x24]
inc dword [ebp - 0x24]
dec ecx
mov al, byte [ebx + 0x44]
mov dword [ebp - 0x1c], ecx
mov byte [edi], al
jmp 0x1814a541
cmp dword [ebx + 0xc], 0
je 0x1814a63f
jmp 0x1814a59c
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x1814a575
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x1c]
add dword [edi + 0x14], ecx
add dword [ebx + 0x20], ecx
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x28], ecx
test al, 4
je 0x1814a5ed
test ecx, ecx
je 0x1814a5ed
mov edx, dword [ebp - 0x24]
xor eax, eax
sub edx, ecx
mov ecx, dword [ebx + 0x1c]
cmp dword [ebx + 0x14], eax
je 0x1814a5d8
test edx, edx
je 0x1814a5e1
push dword [ebp - 0x28]
call fcn.18148c45
jmp 0x1814a5e0
push dword [ebp - 0x28]
call fcn.18148a11
pop ecx
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x1c], eax
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
test al, 4
je 0x1814a633
cmp dword [ebx + 0x14], 0
mov ecx, edx
jne 0x1814a622
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 [ebx + 0x1c]
je 0x1814a633
mov dword [edi + 0x18], str.incorrect_data_check
jmp 0x181495e5
xor eax, eax
mov edx, eax
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov dword [ebx + 4], 0x3f4f
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x1814a6c1
cmp dword [ebx + 0x14], eax
je 0x1814a6c1
cmp esi, 0x20
jae 0x1814a685
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1814a6e6
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x14], edx
cmp esi, 0x20
jb 0x1814a657
xor eax, eax
cmp edx, dword [ebx + 0x20]
je 0x1814a6ba
mov dword [edi + 0x18], str.incorrect_length_check
jmp 0x181495e5
mov eax, dword [ebp - 0x24]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], eax
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], esi
push 2
jmp 0x18149cf1
mov dword [ebp - 0x14], eax
mov ecx, eax
jmp 0x1814a6c4
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 4], 0x3f50
jmp 0x1814a6d0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], 1
jmp 0x1814a6e9
mov dword [ebp - 0x30], 0xfffffffd
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x18]
xor edi, edi
mov edx, dword [ebp - 0x24]
mov dword [esi + 0xc], edx
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x10], edx
mov edx, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi], edx
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x40], ecx
cmp dword [ebx + 0x2c], edi
jne 0x1814a721
cmp eax, dword [esi + 0x10]
je 0x1814a745
cmp dword [ebx + 4], 0x3f51
jge 0x1814a745
sub eax, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [esi + 0xc]
push eax
call fcn.1814931c
pop ecx
test eax, eax
je 0x1814a742
mov dword [ebx + 4], 0x3f52
push 0xfffffffffffffffc
jmp 0x18149cf1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [esi + 4]
sub eax, dword [esi + 0x10]
add dword [esi + 8], ecx
add dword [esi + 0x14], eax
add dword [ebx + 0x20], eax
test byte [ebx + 0xc], 4
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], eax
je 0x1814a794
test eax, eax
je 0x1814a794
mov edx, dword [esi + 0xc]
mov ecx, dword [ebx + 0x1c]
sub edx, eax
cmp dword [ebx + 0x14], edi
je 0x1814a784
test edx, edx
jne 0x1814a77c
mov eax, edi
jmp 0x1814a78b
push eax
call fcn.18148c45
jmp 0x1814a78a
push eax
call fcn.18148a11
pop ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
cmp dword [ebx + 4], 0x3f3f
jne 0x1814a7a4
mov edi, 0x80
jmp 0x1814a7bb
cmp dword [ebx + 4], 0x3f47
je 0x1814a7b6
cmp dword [ebx + 4], 0x3f42
jne 0x1814a7bb
mov edi, 0x100
mov eax, dword [ebx + 8]
neg eax
sbb eax, eax
and eax, 0x40
add eax, edi
add eax, dword [ebx + 0x40]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x30]
test ecx, ecx
jne 0x18149cf2
cmp dword [ebp - 0x28], ecx
jne 0x18149cf2
test eax, eax
jne 0x18149cf2
push 0xfffffffffffffffb
jmp 0x18149cf1