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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
cmp dword [ebp + 8], 0
je case.default.0x41c23c
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x1c]
test ebx, ebx
je case.default.0x41c23c
cmp dword [eax + 0xc], 0
je case.default.0x41c23c
cmp dword [eax], 0
jne 0x41c1ba
cmp dword [eax + 4], 0
jne case.default.0x41c23c
cmp dword [ebx], 0xb
jne 0x41c1c5
mov dword [ebx], 0xc
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0xc]
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x40], ecx
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov dword [ebp - 0x38], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x68], eax
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x30], ecx
lea esi, [ebx + 0x530]
mov dword [ebp - 0x58], esi
lea eax, [ebx + 0x2f0]
mov dword [ebp - 0x60], eax
lea edx, [ebx + 0x54]
mov dword [ebp - 0x70], edx
lea ecx, [ebx + 0x6c]
mov dword [ebp - 0x5c], ecx
lea esi, [ebx + 0x70]
mov dword [ebp - 0x6c], esi
lea eax, [ebx + 0x58]
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], 0
cmp dword [ebx], 0x1c
ja case.default.0x41c23c
mov eax, dword [ebx]
jmp dword [eax*4 + 0x497134]
mov edx, dword [ebx + 8]
test edx, edx
jne 0x41c269
mov dword [ebx], 0xc
jmp 0x41c231
test edi, edi
je 0x41d47f
dec edi
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
add ecx, 8
jmp 0x41c272
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x41c252
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x2c], 0x8b1f
jne 0x41c2dd
and dl, 2
je 0x41c2dd
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0041dede
mov dword [ebx + 0x18], eax
mov byte [ebp - 0x1c], 0x1f
mov byte [ebp - 0x1b], 0x8b
mov dword [esp + 8], 2
lea esi, [ebp - 0x1c]
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.0041dede
mov dword [ebx + 0x18], eax
mov dword [ebx], 1
jmp 0x41c3ac
mov dword [ebx + 0x10], 0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41c2f2
mov dword [eax + 0x30], 0xffffffff
test byte [ebx + 8], 1
je 0x41c31a
mov eax, dword [ebp - 0x2c]
shl eax, 8
and eax, 0xffff
mov edx, dword [ebp - 0x2c]
shr edx, 8
add eax, edx
mov edx, 0x1f
mov ecx, edx
xor edx, edx
div ecx
test edx, edx
je 0x41c329
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], str.incorrect_header_check
jmp 0x41d439
mov eax, dword [ebp - 0x2c]
and eax, 0xf
cmp eax, 8
je 0x41c343
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x41d439
shr dword [ebp - 0x2c], 4
mov ecx, dword [ebp - 0x2c]
and ecx, 0xf
add ecx, 8
cmp ecx, dword [ebx + 0x24]
jbe 0x41c368
sub dword [ebp - 0x30], 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_window_size
jmp 0x41d439
mov eax, 1
shl eax, cl
mov dword [ebx + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0041e2e8
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x2c]
and eax, 0x200
cmp eax, 1
sbb eax, eax
and eax, 2
add eax, 9
mov dword [ebx], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
jmp 0x41c231
test edx, edx
je 0x41d487
dec edx
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
add ecx, 8
jmp 0x41c3df
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x41c3bf
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x10], eax
cmp al, 8
je 0x41c406
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.unknown_compression_method
jmp 0x41d439
test word [ebp - 0x2c], 0xe000
je 0x41c41d
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.unknown_header_flags_set
jmp 0x41d439
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x41c42f
mov eax, dword [ebp - 0x2c]
shr eax, 8
and eax, 1
mov dword [edx], eax
test byte [ebx + 0x11], 2
je 0x41c461
mov al, byte [ebp - 0x2c]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x2c]
shr eax, 8
mov byte [ebp - 0x1b], al
mov dword [esp + 8], 2
lea edx, [ebp - 0x1c]
mov dword [esp + 4], edx
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.0041dede
mov dword [ebx + 0x18], eax
mov dword [ebx], 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
xor ecx, ecx
jmp 0x41c493
test edx, edx
je 0x41d487
dec edx
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
add ecx, 8
jmp 0x41c499
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp ecx, 0x1f
jbe 0x41c479
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41c4b1
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
test byte [ebx + 0x11], 2
je 0x41c4f5
mov al, byte [ebp - 0x2c]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x2c]
shr eax, 8
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x2c]
shr eax, 0x10
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x2c]
shr eax, 0x18
mov byte [ebp - 0x19], al
mov dword [esp + 8], 4
lea edx, [ebp - 0x1c]
mov dword [esp + 4], edx
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.0041dede
mov dword [ebx + 0x18], eax
mov dword [ebx], 3
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
xor ecx, ecx
jmp 0x41c527
test edx, edx
je 0x41d487
dec edx
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
add ecx, 8
jmp 0x41c52d
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x41c50d
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41c54f
movzx edx, byte [ebp - 0x2c]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x2c]
shr edx, 8
mov dword [eax + 0xc], edx
test byte [ebx + 0x11], 2
je 0x41c581
mov cl, byte [ebp - 0x2c]
mov byte [ebp - 0x1c], cl
mov eax, dword [ebp - 0x2c]
shr eax, 8
mov byte [ebp - 0x1b], al
mov dword [esp + 8], 2
lea esi, [ebp - 0x1c]
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.0041dede
mov dword [ebx + 0x18], eax
mov dword [ebx], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
test byte [ebx + 0x11], 4
jne 0x41c5b7
jmp 0x41c620
test edx, edx
je 0x41d487
dec edx
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
add ecx, 8
jmp 0x41c5c0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x41c5a0
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41c5de
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x14], edx
test byte [ebx + 0x11], 2
je 0x41c610
mov cl, byte [ebp - 0x2c]
mov byte [ebp - 0x1c], cl
mov eax, dword [ebp - 0x2c]
shr eax, 8
mov byte [ebp - 0x1b], al
mov dword [esp + 8], 2
lea esi, [ebp - 0x1c]
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.0041dede
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
jmp 0x41c62e
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41c62e
mov dword [eax + 0x10], 0
mov dword [ebx], 5
test byte [ebx + 0x11], 4
je 0x41c6b8
mov ecx, dword [ebx + 0x40]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
cmp eax, ecx
jbe 0x41c64a
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0
je 0x41c6ae
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41c680
mov esi, dword [eax + 0x10]
test esi, esi
je 0x41c680
mov edx, dword [eax + 0x14]
sub edx, ecx
mov eax, dword [eax + 0x18]
mov edi, dword [ebp - 0x3c]
add edi, edx
mov ecx, dword [ebp - 0x3c]
cmp edi, eax
jbe 0x41c676
mov ecx, eax
sub ecx, edx
lea eax, [esi + edx]
mov edi, eax
mov esi, dword [ebp - 0x38]
rep movsb byte es:[edi], byte [esi]
test byte [ebx + 0x11], 2
je 0x41c6a2
mov edx, dword [ebp - 0x3c]
mov dword [esp + 8], edx
mov ecx, dword [ebp - 0x38]
mov dword [esp + 4], ecx
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.0041dede
mov dword [ebx + 0x18], eax
mov esi, dword [ebp - 0x3c]
sub dword [ebp - 0x34], esi
add dword [ebp - 0x38], esi
sub dword [ebx + 0x40], esi
cmp dword [ebx + 0x40], 0
jne 0x41d490
mov dword [ebx + 0x40], 0
mov dword [ebx], 6
test byte [ebx + 0x11], 8
je 0x41c73b
cmp dword [ebp - 0x34], 0
je 0x41d490
xor esi, esi
mov eax, dword [ebp - 0x38]
mov al, byte [eax + esi]
mov byte [ebp - 0x3c], al
movzx edi, al
inc esi
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x41c704
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x41c704
mov eax, dword [ebx + 0x40]
cmp eax, dword [edx + 0x20]
jae 0x41c704
mov dl, byte [ebp - 0x3c]
mov byte [ecx + eax], dl
inc eax
mov dword [ebx + 0x40], eax
cmp esi, dword [ebp - 0x34]
jae 0x41c70d
test edi, edi
jne 0x41c6d7
test byte [ebx + 0x11], 2
je 0x41c72c
mov dword [esp + 8], esi
mov ecx, dword [ebp - 0x38]
mov dword [esp + 4], ecx
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.0041dede
mov dword [ebx + 0x18], eax
sub dword [ebp - 0x34], esi
add dword [ebp - 0x38], esi
test edi, edi
je 0x41c749
jmp 0x41d490
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41c749
mov dword [eax + 0x1c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx], 7
test byte [ebx + 0x11], 0x10
je 0x41c7cc
cmp dword [ebp - 0x34], 0
je 0x41d490
xor esi, esi
mov eax, dword [ebp - 0x38]
mov al, byte [eax + esi]
mov byte [ebp - 0x3c], al
movzx edi, al
inc esi
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x41c795
mov ecx, dword [edx + 0x24]
test ecx, ecx
je 0x41c795
mov eax, dword [ebx + 0x40]
cmp eax, dword [edx + 0x28]
jae 0x41c795
mov dl, byte [ebp - 0x3c]
mov byte [ecx + eax], dl
inc eax
mov dword [ebx + 0x40], eax
cmp esi, dword [ebp - 0x34]
jae 0x41c79e
test edi, edi
jne 0x41c768
test byte [ebx + 0x11], 2
je 0x41c7bd
mov dword [esp + 8], esi
mov ecx, dword [ebp - 0x38]
mov dword [esp + 4], ecx
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.0041dede
mov dword [ebx + 0x18], eax
sub dword [ebp - 0x34], esi
add dword [ebp - 0x38], esi
test edi, edi
je 0x41c7da
jmp 0x41d490
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41c7da
mov dword [eax + 0x24], 0
mov dword [ebx], 8
mov edx, dword [ebx + 0x10]
test dh, 2
jne 0x41c801
jmp 0x41c842
test edi, edi
je 0x41d47f
dec edi
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
add ecx, 8
jmp 0x41c80a
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x41c7ea
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov eax, dword [ebx + 0x18]
and eax, 0xffff
cmp dword [ebp - 0x2c], eax
je 0x41c834
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], str.header_crc_mismatch
jmp 0x41d439
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41c859
sar edx, 9
and edx, 1
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0041dede
mov dword [ebx + 0x18], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], eax
jmp 0x41d063
test edx, edx
je 0x41d487
dec edx
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
add ecx, 8
jmp 0x41c8a3
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp ecx, 0x1f
jbe 0x41c883
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x2c]
shl eax, 0x18
mov edx, dword [ebp - 0x2c]
shr edx, 0x18
lea edx, [eax + edx]
mov eax, dword [ebp - 0x2c]
shr eax, 8
and eax, 0xff00
lea eax, [edx + eax]
mov edx, dword [ebp - 0x2c]
and edx, 0xff00
shl edx, 8
add eax, edx
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov dword [ebx], 0xa
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
cmp dword [ebx + 0xc], 0
jne 0x41c92e
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov edx, dword [ebp - 0x40]
mov dword [esi + 0x10], edx
mov ecx, dword [ebp - 0x38]
mov dword [esi], ecx
mov eax, dword [ebp - 0x34]
mov dword [esi + 4], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebx + 0x38], edx
mov ecx, dword [ebp - 0x30]
mov dword [ebx + 0x3c], ecx
mov dword [ebp - 0x44], 2
jmp 0x41d59d
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0041e2e8
mov dword [ebx + 0x18], eax
mov esi, dword [ebp + 8]
mov dword [esi + 0x30], eax
mov dword [ebx], 0xb
cmp dword [ebp + 0xc], 5
je 0x41d490
cmp dword [ebx + 4], 0
je 0x41c998
mov ecx, dword [ebp - 0x30]
and ecx, 7
shr dword [ebp - 0x2c], cl
and dword [ebp - 0x30], 0xfffffff8
mov dword [ebx], 0x18
jmp 0x41c231
test edx, edx
je 0x41d487
dec edx
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
add ecx, 8
jmp 0x41c9a1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp ecx, 2
jbe 0x41c981
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x2c]
and eax, 1
mov dword [ebx + 4], eax
mov edx, dword [ebp - 0x2c]
shr edx, 1
mov eax, edx
and eax, 3
cmp eax, 2
je 0x41c9fb
cmp eax, 3
je 0x41ca03
dec eax
je 0x41c9d7
mov dword [ebx], 0xd
jmp 0x41ca13
mov dword [ebx + 0x4c], 0x497250
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x4971d0
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x12
jmp 0x41ca13
mov dword [ebx], 0xf
jmp 0x41ca13
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [ebx], 0x1b
shr edx, 2
mov dword [ebp - 0x2c], edx
sub dword [ebp - 0x30], 3
jmp 0x41c231
mov ecx, dword [ebp - 0x30]
and ecx, 7
shr dword [ebp - 0x2c], cl
and dword [ebp - 0x30], 0xfffffff8
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
jmp 0x41ca4f
test edx, edx
je 0x41d487
dec edx
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
add ecx, 8
cmp ecx, 0x1f
jbe 0x41ca3a
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
movzx eax, word [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
shr edx, 0x10
xor edx, 0xffff
cmp eax, edx
je 0x41ca80
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_stored_block_lengths
jmp 0x41d439
mov dword [ebx + 0x40], eax
mov dword [ebx], 0xe
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x41d063
mov edx, dword [ebp - 0x40]
cmp edx, eax
jbe 0x41caab
mov edx, eax
mov eax, edx
cmp edx, dword [ebp - 0x34]
jbe 0x41cab5
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x41d490
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x38]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esi
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x48], edi
sub dword [ebx + 0x40], eax
jmp 0x41c231
test edx, edx
je 0x41d487
dec edx
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
add ecx, 8
jmp 0x41cafb
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp ecx, 0xd
jbe 0x41cadb
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov ecx, dword [ebp - 0x2c]
and ecx, 0x1f
add ecx, 0x101
mov dword [ebx + 0x60], ecx
mov edx, dword [ebp - 0x2c]
shr edx, 5
and edx, 0x1f
inc edx
mov dword [ebx + 0x64], edx
mov eax, dword [ebp - 0x2c]
shr eax, 0xa
and eax, 0xf
add eax, 4
mov dword [ebx + 0x5c], eax
shr dword [ebp - 0x2c], 0xe
sub dword [ebp - 0x30], 0xe
cmp ecx, 0x11e
ja 0x41cb49
cmp edx, 0x1e
jbe 0x41cb58
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.too_many_length_or_distance_symbols
jmp 0x41d439
mov dword [ebx + 0x68], 0
mov dword [ebx], 0x10
mov esi, dword [ebx + 0x5c]
mov ecx, dword [ebp - 0x30]
jmp 0x41cbb1
cmp dword [ebp - 0x34], 0
je 0x41d46a
dec dword [ebp - 0x34]
movzx eax, byte [edi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc edi
add ecx, 8
jmp 0x41cb8b
mov edi, dword [ebp - 0x38]
cmp ecx, 2
jbe 0x41cb6d
mov dword [ebp - 0x38], edi
movzx eax, word [edx + edx + 0x4971a8]
mov edi, dword [ebp - 0x2c]
and edi, 7
mov word [ebx + eax*2 + 0x70], di
inc edx
mov dword [ebx + 0x68], edx
shr dword [ebp - 0x2c], 3
sub ecx, 3
mov edx, dword [ebx + 0x68]
cmp edx, esi
jb 0x41cb88
mov dword [ebp - 0x30], ecx
lea ecx, [edx + edx + 0x4971a8]
jmp 0x41cbd2
movzx eax, word [ecx]
mov word [ebx + eax*2 + 0x70], 0
inc edx
add ecx, 2
cmp edx, 0x12
jbe 0x41cbc4
mov dword [ebx + 0x68], edx
mov esi, dword [ebp - 0x58]
mov dword [ebx + 0x6c], esi
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x54], 7
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x14], eax
mov edx, dword [ebp - 0x70]
mov dword [esp + 0x10], edx
mov ecx, dword [ebp - 0x5c]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0x13
mov esi, dword [ebp - 0x6c]
mov dword [esp + 4], esi
mov dword [esp], 0
call fcn.0041d5fc
mov dword [ebp - 0x44], eax
test eax, eax
je 0x41cc30
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x41d439
mov dword [ebx + 0x68], 0
mov dword [ebx], 0x11
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x60]
add edx, ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
jmp 0x41ce21
mov esi, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x54]
mov edx, 1
shl edx, cl
mov ecx, edx
dec ecx
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
and edx, edi
lea edx, [esi + edx*4]
mov cx, word [edx + 2]
mov word [ebp - 0x30], cx
mov dl, byte [edx + 1]
mov byte [ebp - 0x4c], dl
movzx edx, dl
cmp edx, eax
jbe 0x41cca4
cmp dword [ebp - 0x34], 0
je 0x41d472
dec dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
movzx edx, byte [ecx]
mov cl, al
shl edx, cl
add edi, edx
inc dword [ebp - 0x38]
add eax, 8
jmp 0x41cc66
cmp word [ebp - 0x30], 0xf
jbe 0x41cccc
jmp 0x41cced
cmp dword [ebp - 0x34], 0
je 0x41d472
dec dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
movzx esi, byte [ecx]
mov cl, al
shl esi, cl
add edi, esi
inc dword [ebp - 0x38]
add eax, 8
cmp eax, edx
jb 0x41ccad
mov cl, byte [ebp - 0x4c]
shr edi, cl
sub eax, edx
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov word [ebx + esi*2 + 0x70], dx
mov edx, esi
inc edx
mov dword [ebx + 0x68], edx
jmp 0x41ce21
cmp word [ebp - 0x30], 0x10
jne 0x41cd51
jmp 0x41cd17
cmp dword [ebp - 0x34], 0
je 0x41d472
dec dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
movzx esi, byte [ecx]
mov cl, al
shl esi, cl
add edi, esi
inc dword [ebp - 0x38]
add eax, 8
jmp 0x41cd20
mov dword [ebp - 0x30], edx
lea esi, [edx + 2]
mov dword [ebp - 0x4c], esi
cmp eax, dword [ebp - 0x4c]
jb 0x41ccf6
mov cl, byte [ebp - 0x30]
shr edi, cl
sub eax, edx
cmp dword [ebp - 0x2c], 0
je 0x41cdfa
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ebx + ecx*2 + 0x6e]
mov esi, edi
and esi, 3
add esi, 3
shr edi, 2
sub eax, 2
jmp 0x41cdea
cmp word [ebp - 0x30], 0x11
jne 0x41cdc1
jmp 0x41cd7b
cmp dword [ebp - 0x34], 0
je 0x41d472
dec dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
movzx esi, byte [ecx]
mov cl, al
shl esi, cl
add edi, esi
inc dword [ebp - 0x38]
add eax, 8
jmp 0x41cd84
mov dword [ebp - 0x30], edx
lea esi, [edx + 3]
mov dword [ebp - 0x4c], esi
cmp eax, dword [ebp - 0x4c]
jb 0x41cd5a
mov cl, byte [ebp - 0x30]
shr edi, cl
mov esi, edi
and esi, 7
add esi, 3
shr edi, 3
sub eax, edx
sub eax, 3
jmp 0x41cde8
cmp dword [ebp - 0x34], 0
je 0x41d472
dec dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
movzx esi, byte [ecx]
mov cl, al
shl esi, cl
add edi, esi
inc dword [ebp - 0x38]
add eax, 8
jmp 0x41cdca
mov dword [ebp - 0x30], edx
lea esi, [edx + 7]
mov dword [ebp - 0x4c], esi
cmp eax, dword [ebp - 0x4c]
jb 0x41cda0
mov cl, byte [ebp - 0x30]
shr edi, cl
mov esi, edi
and esi, 0x7f
add esi, 0xb
shr edi, 7
mov ecx, 0xfffffff9
sub ecx, edx
add eax, ecx
xor edx, edx
mov ecx, dword [ebp - 0x2c]
add ecx, esi
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x3c]
cmp dword [ebp - 0x2c], ecx
jbe 0x41ce12
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], 0x1b
jmp 0x41ce38
mov ecx, dword [ebx + 0x68]
mov word [ebx + ecx*2 + 0x70], dx
inc ecx
mov dword [ebx + 0x68], ecx
dec esi
jne 0x41ce12
mov edx, dword [ebx + 0x68]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x3c]
cmp edx, ecx
jb 0x41cc53
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
cmp dword [ebx], 0x1b
je 0x41c231
mov esi, dword [ebp - 0x58]
mov dword [ebx + 0x6c], esi
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x54], 9
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x14], eax
mov edx, dword [ebp - 0x70]
mov dword [esp + 0x10], edx
mov ecx, dword [ebp - 0x5c]
mov dword [esp + 0xc], ecx
mov eax, dword [ebx + 0x60]
mov dword [esp + 8], eax
mov esi, dword [ebp - 0x6c]
mov dword [esp + 4], esi
mov dword [esp], 1
call fcn.0041d5fc
mov dword [ebp - 0x44], eax
test eax, eax
je 0x41ce96
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x41d439
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x58], 6
mov edx, dword [ebp - 0x60]
mov dword [esp + 0x14], edx
mov ecx, dword [ebp - 0x74]
mov dword [esp + 0x10], ecx
mov esi, dword [ebp - 0x5c]
mov dword [esp + 0xc], esi
mov eax, dword [ebx + 0x64]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x60]
lea eax, [ebx + eax*2 + 0x70]
mov dword [esp + 4], eax
mov dword [esp], 2
call fcn.0041d5fc
mov dword [ebp - 0x44], eax
test eax, eax
je 0x41ceec
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
jmp 0x41d439
mov dword [ebx], 0x12
cmp dword [ebp - 0x34], 5
jbe 0x41cf61
cmp dword [ebp - 0x40], 0x101
jbe 0x41cf61
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], ecx
mov esi, dword [ebp - 0x40]
mov dword [edx + 0x10], esi
mov eax, dword [ebp - 0x38]
mov dword [edx], eax
mov ecx, dword [ebp - 0x34]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x38], eax
mov edx, dword [ebp - 0x30]
mov dword [ebx + 0x3c], edx
mov ecx, dword [ebp - 0x50]
mov dword [esp + 4], ecx
mov esi, dword [ebp + 8]
mov dword [esp], esi
call fcn.0041da8c
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x48], eax
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x40], edx
mov ecx, dword [esi]
mov dword [ebp - 0x38], ecx
mov esi, dword [esi + 4]
mov dword [ebp - 0x34], esi
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebx + 0x3c]
mov dword [ebp - 0x30], edx
jmp 0x41c231
mov ecx, dword [ebx + 0x4c]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebx + 0x54]
mov eax, 1
shl eax, cl
dec eax
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x4c]
lea eax, [esi + eax*4]
movzx esi, byte [eax]
mov di, word [eax + 2]
mov al, byte [eax + 1]
mov byte [ebp - 0x3c], al
movzx edx, al
cmp edx, ecx
jbe 0x41cfb9
cmp dword [ebp - 0x34], 0
je 0x41d47a
dec dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
movzx eax, byte [edx]
shl eax, cl
add dword [ebp - 0x2c], eax
inc edx
mov dword [ebp - 0x38], edx
add ecx, 8
jmp 0x41cf78
mov dword [ebp - 0x30], ecx
mov ecx, esi
test cl, cl
je 0x41d034
movzx eax, cl
test al, 0xf0
jne 0x41d034
lea ecx, [edx + eax]
mov eax, 1
shl eax, cl
dec eax
mov dword [ebp - 0x54], eax
movzx edi, di
mov dword [ebp - 0x64], edi
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x54]
mov cl, dl
shr eax, cl
add eax, dword [ebp - 0x64]
mov esi, dword [ebp - 0x4c]
lea eax, [esi + eax*4]
movzx esi, byte [eax]
mov di, word [eax + 2]
mov al, byte [eax + 1]
mov byte [ebp - 0x3c], al
movzx eax, al
lea eax, [edx + eax]
cmp eax, dword [ebp - 0x30]
jbe 0x41d02c
cmp dword [ebp - 0x34], 0
je 0x41d490
dec dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
movzx eax, byte [ecx]
mov cl, byte [ebp - 0x30]
shl eax, cl
add dword [ebp - 0x2c], eax
inc dword [ebp - 0x38]
add dword [ebp - 0x30], 8
jmp 0x41cfdd
mov cl, dl
shr dword [ebp - 0x2c], cl
sub dword [ebp - 0x30], edx
movzx ecx, byte [ebp - 0x3c]
shr dword [ebp - 0x2c], cl
sub dword [ebp - 0x30], ecx
movzx eax, di
mov dword [ebx + 0x40], eax
mov eax, esi
test al, al
jne 0x41d055
mov dword [ebx], 0x17
jmp 0x41c231
and esi, 0xff
test esi, 0x20
je 0x41d06e
mov dword [ebx], 0xb
jmp 0x41c231
test esi, 0x40
je 0x41d085
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0x4970b8
jmp 0x41d439
and esi, 0xf
mov dword [ebx + 0x48], esi
mov dword [ebx], 0x13
mov edx, dword [ebx + 0x48]
test edx, edx
jne 0x41d0b1
jmp 0x41d0e0
test edi, edi
je 0x41d47f
dec edi
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
add ecx, 8
jmp 0x41d0ba
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp ecx, edx
jb 0x41d09a
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov eax, 1
mov cl, dl
shl eax, cl
dec eax
and eax, dword [ebp - 0x2c]
add dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x48]
shr dword [ebp - 0x2c], cl
sub dword [ebp - 0x30], ecx
mov dword [ebx], 0x14
mov esi, dword [ebx + 0x50]
mov dword [ebp - 0x4c], esi
mov ecx, dword [ebx + 0x58]
mov eax, 1
shl eax, cl
dec eax
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
lea eax, [edx + eax*4]
movzx esi, byte [eax]
mov di, word [eax + 2]
mov al, byte [eax + 1]
mov byte [ebp - 0x3c], al
movzx edx, al
cmp edx, ecx
jbe 0x41d13e
cmp dword [ebp - 0x34], 0
je 0x41d47a
dec dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
mov dword [ebp - 0x38], esi
add ecx, 8
jmp 0x41d0fd
mov dword [ebp - 0x30], ecx
mov ecx, esi
movzx eax, cl
test al, 0xf0
jne 0x41d1b5
lea ecx, [edx + eax]
mov eax, 1
shl eax, cl
dec eax
mov dword [ebp - 0x54], eax
movzx edi, di
mov dword [ebp - 0x64], edi
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x54]
mov cl, dl
shr eax, cl
add eax, dword [ebp - 0x64]
mov esi, dword [ebp - 0x4c]
lea eax, [esi + eax*4]
movzx esi, byte [eax]
mov di, word [eax + 2]
mov al, byte [eax + 1]
mov byte [ebp - 0x3c], al
movzx eax, al
lea eax, [edx + eax]
cmp eax, dword [ebp - 0x30]
jbe 0x41d1ad
cmp dword [ebp - 0x34], 0
je 0x41d490
dec dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
movzx eax, byte [ecx]
mov cl, byte [ebp - 0x30]
shl eax, cl
add dword [ebp - 0x2c], eax
inc dword [ebp - 0x38]
add dword [ebp - 0x30], 8
jmp 0x41d15e
mov cl, dl
shr dword [ebp - 0x2c], cl
sub dword [ebp - 0x30], edx
movzx ecx, byte [ebp - 0x3c]
shr dword [ebp - 0x2c], cl
sub dword [ebp - 0x30], ecx
mov eax, esi
movzx edx, al
test dl, 0x40
je 0x41d1d8
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0x4970d4
jmp 0x41d439
movzx eax, di
mov dword [ebx + 0x44], eax
and edx, 0xf
mov dword [ebx + 0x48], edx
mov dword [ebx], 0x15
mov edx, dword [ebx + 0x48]
test edx, edx
jne 0x41d20a
jmp 0x41d239
test edi, edi
je 0x41d47f
dec edi
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
add ecx, 8
jmp 0x41d213
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp ecx, edx
jb 0x41d1f3
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov eax, 1
mov cl, dl
shl eax, cl
dec eax
and eax, dword [ebp - 0x2c]
add dword [ebx + 0x44], eax
mov ecx, dword [ebx + 0x48]
shr dword [ebp - 0x2c], cl
sub dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x50]
add eax, dword [ebx + 0x2c]
sub eax, dword [ebp - 0x40]
cmp dword [ebx + 0x44], eax
jbe 0x41d256
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x4970ea
jmp 0x41d439
mov dword [ebx], 0x16
cmp dword [ebp - 0x40], 0
je 0x41d490
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x40]
mov edx, dword [ebx + 0x44]
cmp edx, eax
jbe 0x41d291
sub edx, eax
mov eax, dword [ebx + 0x30]
cmp edx, eax
jbe 0x41d281
sub edx, eax
mov eax, dword [ebx + 0x28]
sub eax, edx
add eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x40]
cmp edx, ecx
jbe 0x41d299
mov edx, ecx
jmp 0x41d299
mov eax, dword [ebp - 0x48]
sub eax, edx
mov edx, dword [ebx + 0x40]
mov ecx, edx
cmp edx, dword [ebp - 0x40]
jbe 0x41d2a3
mov ecx, dword [ebp - 0x40]
sub dword [ebp - 0x40], ecx
sub dword [ebx + 0x40], ecx
xor edx, edx
mov edi, ebx
mov bl, byte [eax + edx]
mov esi, dword [ebp - 0x48]
mov byte [esi + edx], bl
inc edx
cmp ecx, edx
jne 0x41d2ad
mov ebx, edi
add esi, ecx
mov dword [ebp - 0x48], esi
cmp dword [edi + 0x40], 0
jne 0x41c231
jmp 0x41d2e7
cmp dword [ebp - 0x40], 0
je 0x41d490
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 0x48]
mov byte [edx], al
inc edx
mov dword [ebp - 0x48], edx
dec dword [ebp - 0x40]
mov dword [ebx], 0x12
jmp 0x41c231
cmp dword [ebx + 8], 0
jne 0x41d314
jmp 0x41d3e5
test edx, edx
je 0x41d487
dec edx
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
add ecx, 8
jmp 0x41d31d
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp ecx, 0x1f
jbe 0x41d2fd
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
add dword [ecx + 0x14], eax
add dword [ebx + 0x1c], eax
test eax, eax
je 0x41d37f
cmp dword [ebx + 0x10], 0
je 0x41d35e
mov dword [esp + 8], eax
mov esi, dword [ebp - 0x48]
sub esi, eax
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.0041dede
jmp 0x41d376
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x48]
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.0041e2e8
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0x2c]
cmp dword [ebx + 0x10], 0
jne 0x41d3b1
and edx, 0xff00
shl edx, 8
mov eax, dword [ebp - 0x2c]
shl eax, 0x18
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x18
lea ecx, [eax + ecx]
mov eax, dword [ebp - 0x2c]
shr eax, 8
and eax, 0xff00
lea eax, [ecx + eax]
lea edx, [eax + edx]
cmp edx, dword [ebx + 0x18]
je 0x41d3d1
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], str.incorrect_data_check
mov dword [ebx], 0x1b
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
jmp 0x41c231
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebx], 0x19
cmp dword [ebx + 8], 0
je 0x41d452
cmp dword [ebx + 0x10], 0
jne 0x41d410
jmp 0x41d452
test edx, edx
je 0x41d487
dec edx
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x2c], eax
inc esi
add ecx, 8
jmp 0x41d419
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
cmp ecx, 0x1f
jbe 0x41d3f9
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebx + 0x1c]
je 0x41d444
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], str.incorrect_length_check
mov dword [ebx], 0x1b
jmp 0x41c231
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebx], 0x1a
mov dword [ebp - 0x44], 1
jmp 0x41d490
mov dword [ebp - 0x44], 0xfffffffd
jmp 0x41d490
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x38], edi
jmp 0x41d490
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
jmp 0x41d490
mov dword [ebp - 0x30], ecx
jmp 0x41d490
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
jmp 0x41d48d
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x10], ecx
mov esi, dword [ebp - 0x38]
mov dword [eax], esi
mov edx, dword [ebp - 0x34]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 0x38], ecx
mov esi, dword [ebp - 0x30]
mov dword [ebx + 0x3c], esi
cmp dword [ebx + 0x28], 0
jne 0x41d4c9
cmp dword [ebx], 0x17
ja 0x41d4ea
mov edx, dword [ebp - 0x50]
cmp edx, dword [eax + 0x10]
je 0x41d4ea
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
call fcn.0041bf9d
test eax, eax
je 0x41d4ea
mov dword [ebx], 0x1c
mov dword [ebp - 0x44], 0xfffffffc
jmp 0x41d59d
mov edi, dword [ebp - 0x68]
mov ecx, dword [ebp + 8]
sub edi, dword [ecx + 4]
mov esi, dword [ebp - 0x50]
sub esi, dword [ecx + 0x10]
add dword [ecx + 8], edi
add dword [ecx + 0x14], esi
add dword [ebx + 0x1c], esi
test esi, esi
je 0x41d554
cmp dword [ebx + 8], 0
je 0x41d554
cmp dword [ebx + 0x10], 0
je 0x41d52e
mov dword [esp + 8], esi
mov eax, esi
neg eax
add eax, dword [ecx + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.0041dede
jmp 0x41d54b
mov dword [esp + 8], esi
mov eax, esi
neg eax
mov edx, dword [ebp + 8]
add eax, dword [edx + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.0041e2e8
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
cmp dword [ebx + 4], 1
sbb eax, eax
not eax
and eax, 0x40
xor edx, edx
cmp dword [ebx], 0xb
setne dl
dec edx
and edx, 0x80
add eax, dword [ebx + 0x3c]
add eax, edx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x2c], eax
test esi, esi
jne 0x41d581
test edi, edi
je 0x41d587
cmp dword [ebp + 0xc], 4
jne 0x41d59d
cmp dword [ebp - 0x44], 0
jne 0x41d59d
mov dword [ebp - 0x44], 0xfffffffb
jmp 0x41d59d
mov dword [ebp - 0x44], 0xfffffffe
mov eax, dword [ebp - 0x44]
add esp, 0x8c
pop ebx
pop esi
pop edi
leave
ret