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

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x38
push ebx
push ebp
push esi
push edi
test ecx, ecx
je case.0x42b946.29
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x1c], edx
test edx, edx
je case.0x42b946.29
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x2c], eax
test eax, eax
je case.0x42b946.29
mov edi, dword [ecx]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x42b8f4
cmp dword [ecx + 4], edi
jne case.0x42b946.29
mov eax, dword [edx]
cmp eax, 0xb
jne 0x42b913
mov dword [edx], 0xc
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx]
mov dword [esp + 0x2c], eax
mov eax, 0xc
mov dword [esp + 0x18], edi
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 4]
mov esi, dword [edx + 0x3c]
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x24]
mov ebx, dword [edx + 0x38]
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x20], ecx
cmp eax, 0x1d
ja case.0x42b946.29
mov dword [esp + 0x38], eax
jmp dword [eax*4 + 0x42ce48]
mov ecx, dword [edx + 8]
test ecx, ecx
jne 0x42b95f
mov dword [edx], 0xc
jmp 0x42c8cf
cmp esi, 0x10
jae 0x42b98a
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add ebx, eax
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, 0x10
jb 0x42b964
mov ecx, dword [edx + 8]
test cl, 2
je 0x42b9ce
cmp ebx, 0x8b1f
jne 0x42b9ce
push 2
lea eax, [esp + 0x2c]
mov dword [edx + 0x18], 0
push eax
push 0
mov word [esp + 0x34], bx
call fcn.00413d20
mov edx, dword [esp + 0x28]
xor ebx, ebx
add esp, 0xc
mov dword [esp + 0x14], ebx
xor esi, esi
mov dword [edx + 0x18], eax
mov dword [edx], 1
jmp 0x42c8cf
mov eax, dword [edx + 0x20]
mov dword [edx + 0x10], 0
test eax, eax
je 0x42b9e6
mov dword [eax + 0x30], 0xffffffff
mov ecx, dword [edx + 8]
test cl, 1
je 0x42ba92
movzx ecx, bl
mov eax, ebx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
mov ecx, 0x1f
div ecx
test edx, edx
mov edx, dword [esp + 0x1c]
jne 0x42ba92
mov eax, ebx
and al, 0xf
cmp al, 8
je 0x42ba2f
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edx], 0x1b
jmp 0x42c8cf
shr ebx, 4
sub esi, 4
mov ecx, ebx
mov dword [esp + 0x14], ebx
and ecx, 0xf
add ecx, 8
cmp ecx, dword [edx + 0x24]
jbe 0x42ba5c
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_window_size
mov dword [edx], 0x1b
jmp 0x42c8cf
shr ebx, 8
mov eax, 1
shl eax, cl
not ebx
mov dword [edx + 0x14], eax
and ebx, 2
mov eax, dword [esp + 0x4c]
or ebx, 9
mov dword [edx + 0x18], 1
mov dword [eax + 0x30], 1
mov dword [edx], ebx
xor ebx, ebx
mov dword [esp + 0x14], ebx
xor esi, esi
jmp 0x42c8cf
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.incorrect_header_check
mov dword [edx], 0x1b
jmp 0x42c8cf
cmp esi, 0x10
jae 0x42bad3
nop dword [eax]
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add ebx, eax
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, 0x10
jb 0x42bab0
mov dword [edx + 0x10], ebx
cmp bl, 8
jne 0x42ba19
test ebx, 0xe000
je 0x42bafd
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.unknown_header_flags_set
mov dword [edx], 0x1b
jmp 0x42c8cf
mov esi, dword [edx + 0x20]
mov ecx, ebx
shr ecx, 8
mov eax, ebx
test esi, esi
je 0x42bb15
mov eax, ecx
and eax, 1
mov dword [esi], eax
mov eax, dword [edx + 0x10]
test eax, 0x200
je 0x42bb3d
push 2
lea eax, [esp + 0x2c]
mov byte [esp + 0x2c], bl
push eax
push dword [edx + 0x18]
mov byte [esp + 0x35], cl
call fcn.00413d20
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [edx + 0x18], eax
xor ebx, ebx
mov dword [edx], 2
mov dword [esp + 0x14], ebx
xor esi, esi
jmp 0x42bb52
cmp esi, 0x20
jae 0x42bb75
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add ebx, eax
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, 0x20
jb 0x42bb52
mov eax, dword [edx + 0x20]
test eax, eax
je 0x42bb7f
mov dword [eax + 4], ebx
test dword [edx + 0x10], 0x200
je 0x42bbbe
mov eax, ebx
mov byte [esp + 0x28], bl
shr eax, 8
mov byte [esp + 0x29], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2a], al
lea eax, [esp + 0x28]
push 4
push eax
push dword [edx + 0x18]
shr ebx, 0x18
mov byte [esp + 0x37], bl
call fcn.00413d20
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [edx + 0x18], eax
xor ebx, ebx
mov dword [edx], 3
mov dword [esp + 0x14], ebx
xor esi, esi
jmp 0x42bbd3
cmp esi, 0x10
jae 0x42bbf6
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add ebx, eax
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, 0x10
jb 0x42bbd3
mov esi, dword [edx + 0x20]
mov ecx, ebx
shr ecx, 8
test esi, esi
je 0x42bc0e
movzx eax, bl
mov dword [esi + 8], eax
mov eax, dword [edx + 0x20]
mov dword [eax + 0xc], ecx
test dword [edx + 0x10], 0x200
je 0x42bc38
push 2
lea eax, [esp + 0x2c]
mov byte [esp + 0x2c], bl
push eax
push dword [edx + 0x18]
mov byte [esp + 0x35], cl
call fcn.00413d20
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [edx + 0x18], eax
xor ebx, ebx
mov dword [edx], 4
mov dword [esp + 0x14], ebx
xor esi, esi
test dword [edx + 0x10], 0x400
je 0x42bcbd
cmp esi, 0x10
jae 0x42bc77
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add ebx, eax
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, 0x10
jb 0x42bc54
mov eax, dword [edx + 0x20]
mov dword [edx + 0x40], ebx
test eax, eax
je 0x42bc84
mov dword [eax + 0x14], ebx
test dword [edx + 0x10], 0x200
je 0x42bcb1
push 2
lea eax, [esp + 0x2c]
mov byte [esp + 0x2c], bl
push eax
push dword [edx + 0x18]
shr ebx, 8
mov byte [esp + 0x35], bl
call fcn.00413d20
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [edx + 0x18], eax
mov dword [esp + 0x14], 0
xor esi, esi
jmp 0x42bccb
mov eax, dword [edx + 0x20]
test eax, eax
je 0x42bccb
mov dword [eax + 0x10], 0
mov dword [edx], 5
mov ecx, dword [edx + 0x10]
test ecx, 0x400
je 0x42bd9a
mov eax, dword [edx + 0x40]
mov ebx, ebp
cmp eax, ebp
cmovbe ebx, eax
mov dword [esp + 0x38], ebx
test ebx, ebx
je 0x42bd92
cmp dword [edx + 0x20], 0
mov edi, dword [esp + 0x18]
mov dword [esp + 0x34], eax
je 0x42bd5c
mov ebx, dword [edx + 0x20]
mov dword [esp + 0x34], eax
mov ebx, dword [ebx + 0x10]
test ebx, ebx
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x38]
je 0x42bd5c
mov ecx, dword [edx + 0x20]
mov ebx, dword [ecx + 0x14]
mov edi, dword [ecx + 0x18]
sub ebx, eax
mov eax, dword [esp + 0x38]
mov edx, edi
sub edx, ebx
lea ecx, [eax + ebx]
cmp ecx, edi
mov edi, dword [esp + 0x18]
cmova eax, edx
push eax
mov eax, dword [esp + 0x44]
add eax, ebx
push edi
push eax
call fcn.005135c0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ebx, dword [esp + 0x38]
mov eax, dword [edx + 0x40]
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x34], eax
test ecx, 0x200
je 0x42bd81
mov eax, dword [edx + 0x18]
test edi, edi
jne 0x42bd6f
xor eax, eax
jmp 0x42bd7e
push ebx
push edi
push eax
call fcn.00413d20
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x34]
add edi, ebx
sub ebp, ebx
mov dword [esp + 0x18], edi
sub eax, ebx
mov dword [edx + 0x40], eax
test eax, eax
jne 0x42cd4d
mov ebx, dword [esp + 0x14]
mov dword [edx + 0x40], 0
mov dword [edx], 6
test dword [edx + 0x10], 0x800
je 0x42be69
test ebp, ebp
je 0x42cd4d
xor ecx, ecx
mov al, byte [ecx + edi]
inc ecx
mov byte [esp + 0x13], al
mov eax, dword [edx + 0x20]
mov dword [esp + 0x38], ecx
test eax, eax
je 0x42bdfc
mov ebx, dword [eax + 0x1c]
mov dword [esp + 0x3c], ebx
test ebx, ebx
je 0x42bdfc
mov ebx, dword [edx + 0x40]
cmp ebx, dword [eax + 0x20]
jae 0x42bdfc
mov cl, byte [esp + 0x13]
mov eax, ebx
mov ebx, dword [esp + 0x3c]
mov byte [eax + ebx], cl
inc dword [edx + 0x40]
mov ecx, dword [esp + 0x38]
mov al, byte [esp + 0x13]
test al, al
je 0x42be08
cmp ecx, ebp
jb 0x42bdc2
test dword [edx + 0x10], 0x200
mov ebx, dword [esp + 0x14]
je 0x42be57
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x38]
test edi, edi
jne 0x42be2e
mov dword [esp + 0x34], 0
jmp 0x42be48
push ecx
push edi
push dword [esp + 0x48]
call fcn.00413d20
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x13]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [edx + 0x18], edi
mov edi, dword [esp + 0x18]
add edi, ecx
sub ebp, ecx
mov dword [esp + 0x18], edi
test al, al
jne 0x42cd4d
jmp 0x42be77
mov eax, dword [edx + 0x20]
test eax, eax
je 0x42be77
mov dword [eax + 0x1c], 0
mov dword [edx + 0x40], 0
mov dword [edx], 7
test dword [edx + 0x10], 0x1000
je 0x42bf47
test ebp, ebp
je 0x42cd4d
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + edi]
inc ecx
mov byte [esp + 0x13], al
mov eax, dword [edx + 0x20]
mov dword [esp + 0x38], ecx
test eax, eax
je 0x42beda
mov ebx, dword [eax + 0x24]
mov dword [esp + 0x3c], ebx
test ebx, ebx
je 0x42beda
mov ebx, dword [edx + 0x40]
cmp ebx, dword [eax + 0x28]
jae 0x42beda
mov cl, byte [esp + 0x13]
mov eax, ebx
mov ebx, dword [esp + 0x3c]
mov byte [eax + ebx], cl
inc dword [edx + 0x40]
mov ecx, dword [esp + 0x38]
mov al, byte [esp + 0x13]
test al, al
je 0x42bee6
cmp ecx, ebp
jb 0x42bea0
test dword [edx + 0x10], 0x200
mov ebx, dword [esp + 0x14]
je 0x42bf35
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x38]
test edi, edi
jne 0x42bf0c
mov dword [esp + 0x34], 0
jmp 0x42bf26
push ecx
push edi
push dword [esp + 0x48]
call fcn.00413d20
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x13]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [edx + 0x18], edi
mov edi, dword [esp + 0x18]
add edi, ecx
sub ebp, ecx
mov dword [esp + 0x18], edi
test al, al
jne 0x42cd4d
jmp 0x42bf55
mov eax, dword [edx + 0x20]
test eax, eax
je 0x42bf55
mov dword [eax + 0x24], 0
mov dword [edx], 8
mov ecx, dword [edx + 0x10]
test ecx, 0x200
je 0x42bfbc
cmp esi, 0x10
jae 0x42bf96
nop dword [eax + eax]
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add ebx, eax
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, 0x10
jb 0x42bf70
mov ecx, dword [edx + 0x10]
movzx eax, word [edx + 0x18]
cmp ebx, eax
je 0x42bfb4
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.header_crc_mismatch
mov dword [edx], 0x1b
jmp 0x42c8cf
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x14], ebx
mov eax, dword [edx + 0x20]
test eax, eax
je 0x42bfd6
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov eax, dword [edx + 0x20]
mov dword [eax + 0x30], 1
mov eax, dword [esp + 0x4c]
mov dword [edx + 0x18], 0
mov dword [eax + 0x30], 0
mov dword [edx], 0xb
jmp 0x42c8cf
cmp esi, 0x20
jae 0x42c01b
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add ebx, eax
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, 0x20
jb 0x42bff8
mov ecx, ebx
mov eax, ebx
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, ebx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
shr ebx, 0x18
mov ecx, dword [esp + 0x4c]
add eax, ebx
xor ebx, ebx
mov dword [edx + 0x18], eax
mov dword [esp + 0x14], ebx
xor esi, esi
mov dword [ecx + 0x30], eax
mov dword [edx], 0xa
jmp 0x42c05c
mov ecx, dword [esp + 0x4c]
cmp dword [edx + 0xc], 0
je 0x42cd05
mov dword [edx + 0x18], 1
mov dword [ecx + 0x30], 1
mov dword [edx], 0xb
cmp dword [esp + 0x50], 5
je 0x42cd4d
cmp dword [edx + 4], 0
je 0x42c0a3
mov ecx, esi
mov dword [edx], 0x18
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x14], ebx
jmp 0x42c8cf
cmp esi, 3
jae 0x42c0cb
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add ebx, eax
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, 3
jb case.default.0x42c0da
mov eax, ebx
shr ebx, 1
and eax, 1
mov dword [edx + 4], eax
mov eax, ebx
and eax, 3
jmp dword [eax*4 + 0x42cec0]
shr ebx, 2
sub esi, 3
mov dword [edx], 0xd
mov dword [esp + 0x14], ebx
jmp 0x42c8cf
shr ebx, 2
sub esi, 3
mov dword [edx + 0x4c], 0x550058
mov dword [edx + 0x54], 9
mov dword [edx + 0x50], 0x550858
mov dword [edx + 0x58], 5
mov dword [edx], 0x12
mov dword [esp + 0x14], ebx
jmp 0x42c8cf
shr ebx, 2
sub esi, 3
mov dword [edx], 0xf
mov dword [esp + 0x14], ebx
jmp 0x42c8cf
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [edx], 0x1b
shr ebx, 2
sub esi, 3
mov dword [esp + 0x14], ebx
jmp 0x42c8cf
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x14], ebx
cmp esi, 0x20
jae 0x42c193
nop
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add ebx, eax
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, 0x20
jb 0x42c170
mov eax, ebx
movzx ecx, bx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x42c1b7
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov dword [edx], 0x1b
jmp 0x42c8cf
xor ebx, ebx
mov dword [edx + 0x40], ecx
mov dword [esp + 0x14], ebx
xor esi, esi
mov dword [edx], 0xe
mov ecx, dword [edx + 0x40]
test ecx, ecx
je 0x42bfe8
mov edi, dword [esp + 0x18]
cmp ecx, ebp
mov eax, ebp
cmovbe eax, ecx
mov ecx, dword [esp + 0x24]
cmp eax, ecx
cmovbe ecx, eax
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x42cd4d
push ecx
mov ecx, dword [esp + 0x30]
push edi
push ecx
call fcn.005135c0
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov edx, dword [esp + 0x1c]
add edi, eax
sub dword [esp + 0x24], eax
sub ebp, eax
add dword [esp + 0x2c], eax
mov dword [esp + 0x18], edi
sub dword [edx + 0x40], eax
jmp 0x42c8cf
cmp esi, 0xe
jae 0x42c24a
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add ebx, eax
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, 0xe
jb 0x42c227
mov ecx, ebx
sub esi, 0xe
shr ebx, 5
and ecx, 0x1f
mov eax, ebx
add ecx, 0x101
and eax, 0x1f
shr ebx, 5
inc eax
mov dword [edx + 0x60], ecx
mov dword [esp + 0x40], eax
mov dword [edx + 0x64], eax
mov eax, ebx
and eax, 0xf
shr ebx, 4
add eax, 4
mov dword [esp + 0x14], ebx
mov dword [edx + 0x5c], eax
cmp ecx, 0x11e
ja 0x42c388
cmp dword [esp + 0x40], 0x1e
ja 0x42c388
mov dword [edx + 0x68], 0
mov dword [edx], 0x10
mov eax, dword [edx + 0x68]
cmp eax, dword [edx + 0x5c]
jae 0x42c302
nop dword [eax]
cmp esi, 3
jae 0x42c2d8
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add ebx, eax
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, 3
jb 0x42c2b5
mov eax, dword [edx + 0x68]
mov ecx, ebx
and ecx, 7
shr ebx, 3
sub esi, 3
mov dword [esp + 0x14], ebx
movzx eax, word [eax*2 + 0x5508d8]
mov word [edx + eax*2 + 0x70], cx
inc dword [edx + 0x68]
mov eax, dword [edx + 0x68]
cmp eax, dword [edx + 0x5c]
jb 0x42c2b0
cmp eax, 0x13
jae 0x42c32b
nop word [eax + eax]
mov eax, dword [edx + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x5508d8]
mov word [edx + eax*2 + 0x70], cx
inc dword [edx + 0x68]
cmp dword [edx + 0x68], 0x13
jb 0x42c310
mov ecx, dword [esp + 0x1c]
lea eax, [edx + 0x530]
add edx, 0x6c
mov dword [ecx + 0x4c], eax
mov dword [edx], eax
mov eax, ecx
lea ecx, [eax + 0x54]
add eax, 0x2f0
mov dword [ecx], 7
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push 0x13
add eax, 0x70
push eax
push 0
call fcn.0041d840
mov edx, dword [esp + 0x34]
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x42c39e
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [edx], 0x1b
jmp 0x42c8cf
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov dword [edx], 0x1b
jmp 0x42c8cf
mov dword [edx + 0x68], 0
mov dword [edx], 0x11
mov dword [esp + 0x38], 0x11
mov eax, dword [edx + 0x64]
mov ecx, dword [edx + 0x60]
add eax, ecx
cmp dword [edx + 0x68], eax
jae 0x42c641
mov ecx, dword [edx + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x4c]
dec eax
mov dword [esp + 0x40], eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
shr dword [esp + 0x34], 0x10
movzx ecx, cl
mov dword [esp + 0x3c], eax
cmp ecx, esi
jbe 0x42c43f
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [edx + 0x4c]
add ebx, eax
mov eax, dword [esp + 0x40]
add esi, 8
and eax, ebx
mov dword [esp + 0x18], edi
dec ebp
mov dword [esp + 0x14], ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
shr dword [esp + 0x34], 0x10
movzx ecx, cl
mov dword [esp + 0x3c], eax
cmp ecx, esi
ja 0x42c3f8
mov ecx, dword [esp + 0x34]
movzx ecx, cx
mov dword [esp + 0x40], ecx
movzx ecx, cx
cmp ecx, 0x10
mov ecx, dword [esp + 0x38]
movzx ecx, cl
jae 0x42c4ac
mov dword [esp + 0x40], ecx
cmp esi, ecx
jae 0x42c489
test ebp, ebp
je 0x42cd49
movzx edx, byte [edi]
mov ecx, esi
shl edx, cl
inc edi
add ebx, edx
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, dword [esp + 0x40]
jb 0x42c461
mov edx, dword [esp + 0x1c]
movzx ecx, ah
mov ax, word [esp + 0x3e]
sub esi, ecx
shr ebx, cl
mov ecx, dword [edx + 0x68]
mov dword [esp + 0x14], ebx
mov word [edx + ecx*2 + 0x70], ax
inc dword [edx + 0x68]
mov ecx, dword [edx + 0x68]
jmp 0x42c60e
jne 0x42c51e
add ecx, 2
mov dword [esp + 0x40], ecx
cmp esi, ecx
jae 0x42c4e8
nop dword [eax]
test ebp, ebp
je 0x42cd49
movzx edx, byte [edi]
mov ecx, esi
shl edx, cl
inc edi
add ebx, edx
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, dword [esp + 0x40]
jb 0x42c4c0
mov edx, dword [esp + 0x1c]
movzx ecx, ah
shr ebx, cl
sub esi, ecx
mov ecx, dword [edx + 0x68]
mov dword [esp + 0x14], ebx
test ecx, ecx
je 0x42c62b
mov eax, ebx
shr ebx, 2
and eax, 3
add eax, 3
sub esi, 2
mov dword [esp + 0x38], eax
movzx eax, word [edx + ecx*2 + 0x6e]
mov dword [esp + 0x34], eax
jmp 0x42c5cd
cmp word [esp + 0x40], 0x11
jne 0x42c574
add ecx, 3
mov dword [esp + 0x40], ecx
cmp esi, ecx
jae 0x42c559
test ebp, ebp
je 0x42cd49
movzx edx, byte [edi]
mov ecx, esi
shl edx, cl
inc edi
add ebx, edx
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, dword [esp + 0x40]
jb 0x42c531
mov edx, dword [esp + 0x1c]
movzx ecx, ah
shr ebx, cl
mov eax, ebx
and eax, 7
add eax, 3
shr ebx, 3
mov dword [esp + 0x38], eax
mov eax, 0xfffffffd
jmp 0x42c5c1
add ecx, 7
mov dword [esp + 0x40], ecx
cmp esi, ecx
jae 0x42c5a8
nop
test ebp, ebp
je 0x42cd49
movzx edx, byte [edi]
mov ecx, esi
shl edx, cl
inc edi
add ebx, edx
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, dword [esp + 0x40]
jb 0x42c580
mov edx, dword [esp + 0x1c]
movzx ecx, ah
shr ebx, cl
mov eax, ebx
and eax, 0x7f
add eax, 0xb
shr ebx, 7
mov dword [esp + 0x38], eax
mov eax, 0xfffffff9
sub eax, ecx
mov dword [esp + 0x34], 0
add esi, eax
mov ecx, dword [edx + 0x64]
mov eax, dword [edx + 0x68]
add ecx, dword [edx + 0x60]
add eax, dword [esp + 0x38]
mov dword [esp + 0x14], ebx
cmp eax, ecx
ja 0x42c62b
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
nop word [eax + eax]
mov eax, dword [edx + 0x68]
mov word [edx + eax*2 + 0x70], bx
mov ecx, dword [edx + 0x68]
lea ecx, [ecx + 1]
mov dword [edx + 0x68], ecx
sub edi, 1
jne 0x42c5f0
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, dword [edx + 0x60]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x64]
add eax, dword [esp + 0x40]
cmp ecx, eax
jb 0x42c3c4
mov eax, dword [edx]
mov ecx, dword [edx + 0x60]
jmp 0x42c645
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov dword [edx], 0x1b
jmp 0x42c8cf
mov eax, dword [esp + 0x38]
cmp eax, 0x1b
je 0x42c8cf
lea edi, [edx + 0x6c]
mov dword [edx + 0x54], 9
lea eax, [edx + 0x530]
mov dword [esp + 0x40], edi
mov dword [edx + 0x6c], eax
lea edi, [edx + 0x2f0]
mov dword [edx + 0x4c], eax
lea eax, [edx + 0x54]
push edi
push eax
lea eax, [edx + 0x6c]
mov dword [esp + 0x44], edi
push eax
push ecx
lea eax, [edx + 0x70]
push eax
push 1
call fcn.0041d840
mov edi, dword [esp + 0x30]
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x42c6b2
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
mov dword [edx], 0x1b
jmp 0x42c8cf
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
push dword [esp + 0x3c]
mov dword [ecx + 0x58], 6
mov eax, dword [edx]
mov dword [ecx + 0x50], eax
lea eax, [ecx + 0x58]
push eax
mov eax, dword [ecx + 0x60]
push edx
push dword [ecx + 0x64]
add ecx, 0x70
lea eax, [ecx + eax*2]
push eax
push 2
call fcn.0041d840
mov edx, dword [esp + 0x34]
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x42c70a
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_distances_set
mov dword [edx], 0x1b
jmp 0x42c8cf
mov dword [edx], 0x12
cmp ebp, 6
jb 0x42c777
cmp dword [esp + 0x24], 0x102
jb 0x42c777
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov dword [eax], edi
mov dword [eax + 4], ebp
push eax
mov dword [edx + 0x38], ebx
mov dword [edx + 0x3c], esi
call fcn.0041d3d0
mov eax, dword [esp + 0x54]
add esp, 8
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
mov ebx, dword [edx + 0x38]
mov ebp, dword [eax + 4]
mov esi, dword [edx + 0x3c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
jmp 0x42c8cf
mov ecx, dword [edx + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x4c]
dec eax
mov dword [esp + 0x40], eax
and eax, ebx
mov dword [esp + 0x3c], ecx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x42c7d6
nop
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [edx + 0x4c]
add ebx, eax
mov eax, dword [esp + 0x40]
add esi, 8
and eax, ebx
mov dword [esp + 0x18], edi
dec ebp
mov dword [esp + 0x14], ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x42c7a0
test al, al
je 0x42c886
test al, 0xf0
jne 0x42c886
mov ecx, eax
mov edi, 1
shr ecx, 8
mov edx, eax
movzx ebx, cl
movzx ecx, al
add ecx, ebx
shr eax, 0x10
shl edi, cl
mov ecx, ebx
dec edi
mov dword [esp + 0x38], edx
and edi, dword [esp + 0x14]
shr edi, cl
mov ecx, dword [esp + 0x3c]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
jbe 0x42c877
test ebp, ebp
je 0x42cd49
mov ecx, dword [esp + 0x18]
mov edi, 1
movzx ebx, dh
dec ebp
movzx eax, byte [ecx]
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add dword [esp + 0x14], eax
movzx eax, word [esp + 0x3a]
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [esp + 0x14]
shr edi, cl
add edi, eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x42c823
mov ebx, dword [esp + 0x14]
movzx ecx, dh
mov edx, dword [esp + 0x1c]
shr ebx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub esi, ecx
mov ecx, eax
mov dword [esp + 0x14], ebx
shr ecx, 0x10
mov dword [edx + 0x40], ecx
test al, al
jne 0x42c8aa
mov dword [edx], 0x17
jmp 0x42c8cb
test al, 0x20
je 0x42c8b6
mov dword [edx], 0xb
jmp 0x42c8cb
test al, 0x40
je 0x42c8ed
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_literal_length_code
mov dword [edx], 0x1b
mov edi, dword [esp + 0x18]
mov ecx, dword [edx]
mov eax, ecx
mov dword [esp + 0x38], ecx
cmp eax, 0x1d
jbe switch.0x0042b946
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x38
ret
movzx eax, al
and eax, 0xf
mov dword [edx], 0x13
mov dword [edx + 0x48], eax
mov edi, dword [edx + 0x48]
test edi, edi
je 0x42c944
cmp esi, edi
jae 0x42c92d
test ebp, ebp
je 0x42cd4d
mov ecx, dword [esp + 0x18]
dec ebp
movzx eax, byte [ecx]
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add ebx, eax
mov dword [esp + 0x14], ebx
cmp esi, edi
jb 0x42c907
mov ecx, edi
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
shr ebx, cl
add dword [edx + 0x40], eax
sub esi, edi
mov dword [esp + 0x14], ebx
mov dword [edx], 0x14
mov ecx, dword [edx + 0x58]
mov eax, 1
mov edi, dword [edx + 0x50]
shl eax, cl
dec eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], eax
and eax, ebx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x42c9a8
test ebp, ebp
je 0x42cd4d
mov ecx, dword [esp + 0x18]
dec ebp
movzx eax, byte [ecx]
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add ebx, eax
mov eax, dword [esp + 0x40]
and eax, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x42c971
test al, 0xf0
jne 0x42ca53
mov ecx, eax
mov edi, 1
shr ecx, 8
mov edx, eax
movzx ebx, cl
movzx ecx, al
add ecx, ebx
shr eax, 0x10
shl edi, cl
mov ecx, ebx
dec edi
mov dword [esp + 0x38], edx
and edi, dword [esp + 0x14]
shr edi, cl
mov ecx, dword [esp + 0x3c]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
jbe 0x42ca44
nop dword [eax]
test ebp, ebp
je 0x42cd49
mov ecx, dword [esp + 0x18]
mov edi, 1
movzx ebx, dh
dec ebp
movzx eax, byte [ecx]
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add dword [esp + 0x14], eax
movzx eax, word [esp + 0x3a]
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [esp + 0x14]
shr edi, cl
add edi, eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x42c9f0
mov ebx, dword [esp + 0x14]
movzx ecx, dh
mov edx, dword [esp + 0x1c]
shr ebx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x14], ebx
test al, 0x40
je 0x42ca77
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_distance_code
jmp 0x42c8c5
mov ecx, eax
mov dword [edx], 0x15
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [edx + 0x44], ecx
mov dword [edx + 0x48], eax
mov edi, dword [edx + 0x48]
test edi, edi
je 0x42cadd
cmp esi, edi
jae 0x42cac6
nop dword [eax]
test ebp, ebp
je 0x42cd4d
mov ecx, dword [esp + 0x18]
dec ebp
movzx eax, byte [ecx]
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add ebx, eax
mov dword [esp + 0x14], ebx
cmp esi, edi
jb 0x42caa0
mov ecx, edi
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
shr ebx, cl
add dword [edx + 0x44], eax
sub esi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [edx + 0x2c]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
add eax, ecx
cmp dword [edx + 0x44], eax
jbe 0x42caff
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
jmp 0x42c8c5
mov dword [edx], 0x16
jmp 0x42cb0b
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42cd4d
sub ecx, eax
mov eax, dword [edx + 0x44]
cmp eax, ecx
jbe 0x42cb56
sub eax, ecx
mov ecx, dword [edx + 0x30]
cmp eax, ecx
jbe 0x42cb35
mov edi, dword [edx + 0x28]
sub eax, ecx
sub edi, eax
add edi, dword [edx + 0x34]
jmp 0x42cb3c
mov edi, dword [edx + 0x34]
sub edi, eax
add edi, ecx
mov ecx, dword [edx + 0x40]
cmp eax, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], ecx
cmovbe ecx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], ecx
jmp 0x42cb63
mov edi, dword [esp + 0x2c]
sub edi, eax
mov eax, dword [edx + 0x40]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x24]
mov ebx, ecx
cmp dword [esp + 0x38], ebx
cmovbe ecx, dword [esp + 0x38]
sub ebx, ecx
sub eax, ecx
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x2c]
sub edi, ebx
mov dword [edx + 0x40], eax
mov al, byte [edi + ebx]
mov byte [ebx], al
inc ebx
sub ecx, 1
jne 0x42cb83
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x14]
cmp dword [edx + 0x40], ecx
jne 0x42c8cb
mov dword [edx], 0x12
jmp 0x42c8cb
cmp dword [esp + 0x24], 0
je 0x42cd4d
mov ecx, dword [esp + 0x2c]
mov al, byte [edx + 0x40]
mov byte [ecx], al
inc ecx
dec dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
mov dword [edx], 0x12
jmp 0x42c8cf
cmp dword [edx + 8], 0
je 0x42ccb0
cmp esi, 0x20
jae 0x42cc04
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add ebx, eax
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, 0x20
jb 0x42cbe1
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
add dword [eax + 0x14], ecx
add dword [edx + 0x1c], ecx
test ecx, ecx
je 0x42cc5a
mov eax, dword [esp + 0x2c]
sub eax, ecx
cmp dword [edx + 0x10], 0
mov ecx, dword [edx + 0x18]
je 0x42cc3e
test eax, eax
je 0x42cc50
push dword [esp + 0x30]
push eax
push ecx
call fcn.00413d20
jmp 0x42cc49
push dword [esp + 0x30]
push eax
push ecx
call fcn.0042a6a0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x4c]
mov dword [edx + 0x18], eax
mov dword [ecx + 0x30], eax
cmp dword [edx + 0x10], 0
mov ecx, ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
jne 0x42cc8d
and ecx, 0xff00
mov eax, ebx
shl eax, 0x10
add ecx, eax
mov eax, ebx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, ebx
shr eax, 0x18
add ecx, eax
cmp ecx, dword [edx + 0x18]
je 0x42cca8
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.incorrect_data_check
mov dword [edx], 0x1b
jmp 0x42c8cf
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x14], ebx
mov dword [edx], 0x19
cmp dword [edx + 8], 0
je 0x42cd35
cmp dword [edx + 0x10], 0
je 0x42cd35
cmp esi, 0x20
jae 0x42ccea
test ebp, ebp
je 0x42cd4d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add ebx, eax
mov dword [esp + 0x18], edi
add esi, 8
mov dword [esp + 0x14], ebx
dec ebp
cmp esi, 0x20
jb 0x42ccc7
cmp ebx, dword [edx + 0x1c]
je 0x42cd2b
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.incorrect_length_check
mov dword [edx], 0x1b
jmp 0x42c8cf
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [ecx], edi
mov dword [ecx + 0x10], eax
mov eax, 2
mov dword [ecx + 4], ebp
pop edi
mov dword [edx + 0x3c], esi
pop esi
pop ebp
mov dword [edx + 0x38], ebx
pop ebx
add esp, 0x38
ret
mov dword [esp + 0x14], 0
xor esi, esi
mov dword [edx], 0x1a
mov edi, 1
jmp 0x42cd51
mov edi, 0xfffffffd
jmp 0x42cd51
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 4], ebp
cmp dword [edx + 0x28], 0
mov ebp, dword [esp + 0x30]
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], esi
jne 0x42cd8a
cmp dword [edx], 0x18
jge 0x42cdb3
cmp ebp, dword [ebx + 0x10]
je 0x42cdb3
push ebp
push ebx
call fcn.00429510
add esp, 8
test eax, eax
je 0x42cdaf
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0x1c
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x38
ret
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x44]
sub esi, dword [ebx + 4]
sub ebp, dword [ebx + 0x10]
add dword [ebx + 8], esi
add dword [ebx + 0x14], ebp
add dword [edx + 0x1c], ebp
cmp dword [edx + 8], 0
je 0x42ce01
test ebp, ebp
je 0x42ce01
mov eax, dword [ebx + 0xc]
mov ecx, dword [edx + 0x18]
sub eax, ebp
cmp dword [edx + 0x10], 0
je 0x42cdec
test eax, eax
je 0x42cdfb
push ebp
push eax
push ecx
call fcn.00413d20
jmp 0x42cdf4
push ebp
push eax
push ecx
call fcn.0042a6a0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [edx + 0x18], eax
mov dword [ebx + 0x30], eax
mov ecx, dword [edx + 4]
neg ecx
mov dword [esp + 0x4c], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [edx], 0xb
cmove eax, dword [esp + 0x4c]
add ecx, eax
add ecx, dword [edx + 0x3c]
mov dword [ebx + 0x2c], ecx
test esi, esi
jne 0x42ce2d
test ebp, ebp
je 0x42ce34
cmp dword [esp + 0x50], 4
jne 0x42ce3e
test edi, edi
mov eax, 0xfffffffb
cmove edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret