Function at 0x42bf70
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.0x42c006.29
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x1c], edx
test edx, edx
je case.0x42c006.29
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x2c], eax
test eax, eax
je case.0x42c006.29
mov edi, dword [ecx]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x42bfb4
cmp dword [ecx + 4], edi
jne case.0x42c006.29
mov eax, dword [edx]
cmp eax, 0xb
jne 0x42bfd3
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.0x42c006.29
mov dword [esp + 0x38], eax
jmp dword [eax*4 + 0x42d508]
mov ecx, dword [edx + 8]
test ecx, ecx
jne 0x42c01f
mov dword [edx], 0xc
jmp 0x42cf8f
cmp esi, 0x10
jae 0x42c04a
test ebp, ebp
je 0x42d40d
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 0x42c024
mov ecx, dword [edx + 8]
test cl, 2
je 0x42c08e
cmp ebx, 0x8b1f
jne 0x42c08e
push 2
lea eax, [esp + 0x2c]
mov dword [edx + 0x18], 0
push eax
push 0
mov word [esp + 0x34], bx
call fcn.004147b0
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 0x42cf8f
mov eax, dword [edx + 0x20]
mov dword [edx + 0x10], 0
test eax, eax
je 0x42c0a6
mov dword [eax + 0x30], 0xffffffff
mov ecx, dword [edx + 8]
test cl, 1
je 0x42c152
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 0x42c152
mov eax, ebx
and al, 0xf
cmp al, 8
je 0x42c0ef
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edx], 0x1b
jmp 0x42cf8f
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 0x42c11c
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_window_size
mov dword [edx], 0x1b
jmp 0x42cf8f
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 0x42cf8f
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.incorrect_header_check
mov dword [edx], 0x1b
jmp 0x42cf8f
cmp esi, 0x10
jae 0x42c193
nop dword [eax]
test ebp, ebp
je 0x42d40d
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 0x42c170
mov dword [edx + 0x10], ebx
cmp bl, 8
jne 0x42c0d9
test ebx, 0xe000
je 0x42c1bd
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.unknown_header_flags_set
mov dword [edx], 0x1b
jmp 0x42cf8f
mov esi, dword [edx + 0x20]
mov ecx, ebx
shr ecx, 8
mov eax, ebx
test esi, esi
je 0x42c1d5
mov eax, ecx
and eax, 1
mov dword [esi], eax
mov eax, dword [edx + 0x10]
test eax, 0x200
je 0x42c1fd
push 2
lea eax, [esp + 0x2c]
mov byte [esp + 0x2c], bl
push eax
push dword [edx + 0x18]
mov byte [esp + 0x35], cl
call fcn.004147b0
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 0x42c212
cmp esi, 0x20
jae 0x42c235
test ebp, ebp
je 0x42d40d
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 0x42c212
mov eax, dword [edx + 0x20]
test eax, eax
je 0x42c23f
mov dword [eax + 4], ebx
test dword [edx + 0x10], 0x200
je 0x42c27e
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.004147b0
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 0x42c293
cmp esi, 0x10
jae 0x42c2b6
test ebp, ebp
je 0x42d40d
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 0x42c293
mov esi, dword [edx + 0x20]
mov ecx, ebx
shr ecx, 8
test esi, esi
je 0x42c2ce
movzx eax, bl
mov dword [esi + 8], eax
mov eax, dword [edx + 0x20]
mov dword [eax + 0xc], ecx
test dword [edx + 0x10], 0x200
je 0x42c2f8
push 2
lea eax, [esp + 0x2c]
mov byte [esp + 0x2c], bl
push eax
push dword [edx + 0x18]
mov byte [esp + 0x35], cl
call fcn.004147b0
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 0x42c37d
cmp esi, 0x10
jae 0x42c337
test ebp, ebp
je 0x42d40d
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 0x42c314
mov eax, dword [edx + 0x20]
mov dword [edx + 0x40], ebx
test eax, eax
je 0x42c344
mov dword [eax + 0x14], ebx
test dword [edx + 0x10], 0x200
je 0x42c371
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.004147b0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [edx + 0x18], eax
mov dword [esp + 0x14], 0
xor esi, esi
jmp 0x42c38b
mov eax, dword [edx + 0x20]
test eax, eax
je 0x42c38b
mov dword [eax + 0x10], 0
mov dword [edx], 5
mov ecx, dword [edx + 0x10]
test ecx, 0x400
je 0x42c45a
mov eax, dword [edx + 0x40]
mov ebx, ebp
cmp eax, ebp
cmovbe ebx, eax
mov dword [esp + 0x38], ebx
test ebx, ebx
je 0x42c452
cmp dword [edx + 0x20], 0
mov edi, dword [esp + 0x18]
mov dword [esp + 0x34], eax
je 0x42c41c
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 0x42c41c
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.00514850
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 0x42c441
mov eax, dword [edx + 0x18]
test edi, edi
jne 0x42c42f
xor eax, eax
jmp 0x42c43e
push ebx
push edi
push eax
call fcn.004147b0
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 0x42d40d
mov ebx, dword [esp + 0x14]
mov dword [edx + 0x40], 0
mov dword [edx], 6
test dword [edx + 0x10], 0x800
je 0x42c529
test ebp, ebp
je 0x42d40d
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 0x42c4bc
mov ebx, dword [eax + 0x1c]
mov dword [esp + 0x3c], ebx
test ebx, ebx
je 0x42c4bc
mov ebx, dword [edx + 0x40]
cmp ebx, dword [eax + 0x20]
jae 0x42c4bc
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 0x42c4c8
cmp ecx, ebp
jb 0x42c482
test dword [edx + 0x10], 0x200
mov ebx, dword [esp + 0x14]
je 0x42c517
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x38]
test edi, edi
jne 0x42c4ee
mov dword [esp + 0x34], 0
jmp 0x42c508
push ecx
push edi
push dword [esp + 0x48]
call fcn.004147b0
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 0x42d40d
jmp 0x42c537
mov eax, dword [edx + 0x20]
test eax, eax
je 0x42c537
mov dword [eax + 0x1c], 0
mov dword [edx + 0x40], 0
mov dword [edx], 7
test dword [edx + 0x10], 0x1000
je 0x42c607
test ebp, ebp
je 0x42d40d
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 0x42c59a
mov ebx, dword [eax + 0x24]
mov dword [esp + 0x3c], ebx
test ebx, ebx
je 0x42c59a
mov ebx, dword [edx + 0x40]
cmp ebx, dword [eax + 0x28]
jae 0x42c59a
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 0x42c5a6
cmp ecx, ebp
jb 0x42c560
test dword [edx + 0x10], 0x200
mov ebx, dword [esp + 0x14]
je 0x42c5f5
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x38]
test edi, edi
jne 0x42c5cc
mov dword [esp + 0x34], 0
jmp 0x42c5e6
push ecx
push edi
push dword [esp + 0x48]
call fcn.004147b0
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 0x42d40d
jmp 0x42c615
mov eax, dword [edx + 0x20]
test eax, eax
je 0x42c615
mov dword [eax + 0x24], 0
mov dword [edx], 8
mov ecx, dword [edx + 0x10]
test ecx, 0x200
je 0x42c67c
cmp esi, 0x10
jae 0x42c656
nop dword [eax + eax]
test ebp, ebp
je 0x42d40d
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 0x42c630
mov ecx, dword [edx + 0x10]
movzx eax, word [edx + 0x18]
cmp ebx, eax
je 0x42c674
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.header_crc_mismatch
mov dword [edx], 0x1b
jmp 0x42cf8f
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x14], ebx
mov eax, dword [edx + 0x20]
test eax, eax
je 0x42c696
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 0x42cf8f
cmp esi, 0x20
jae 0x42c6db
test ebp, ebp
je 0x42d40d
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 0x42c6b8
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 0x42c71c
mov ecx, dword [esp + 0x4c]
cmp dword [edx + 0xc], 0
je 0x42d3c5
mov dword [edx + 0x18], 1
mov dword [ecx + 0x30], 1
mov dword [edx], 0xb
cmp dword [esp + 0x50], 5
je 0x42d40d
cmp dword [edx + 4], 0
je 0x42c763
mov ecx, esi
mov dword [edx], 0x18
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x14], ebx
jmp 0x42cf8f
cmp esi, 3
jae 0x42c78b
test ebp, ebp
je 0x42d40d
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.0x42c79a
mov eax, ebx
shr ebx, 1
and eax, 1
mov dword [edx + 4], eax
mov eax, ebx
and eax, 3
jmp dword [eax*4 + 0x42d580]
shr ebx, 2
sub esi, 3
mov dword [edx], 0xd
mov dword [esp + 0x14], ebx
jmp 0x42cf8f
shr ebx, 2
sub esi, 3
mov dword [edx + 0x4c], 0x5510b0
mov dword [edx + 0x54], 9
mov dword [edx + 0x50], 0x5518b0
mov dword [edx + 0x58], 5
mov dword [edx], 0x12
mov dword [esp + 0x14], ebx
jmp 0x42cf8f
shr ebx, 2
sub esi, 3
mov dword [edx], 0xf
mov dword [esp + 0x14], ebx
jmp 0x42cf8f
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 0x42cf8f
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x14], ebx
cmp esi, 0x20
jae 0x42c853
nop
test ebp, ebp
je 0x42d40d
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 0x42c830
mov eax, ebx
movzx ecx, bx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x42c877
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov dword [edx], 0x1b
jmp 0x42cf8f
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 0x42c6a8
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 0x42d40d
push ecx
mov ecx, dword [esp + 0x30]
push edi
push ecx
call fcn.00514850
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 0x42cf8f
cmp esi, 0xe
jae 0x42c90a
test ebp, ebp
je 0x42d40d
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 0x42c8e7
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 0x42ca48
cmp dword [esp + 0x40], 0x1e
ja 0x42ca48
mov dword [edx + 0x68], 0
mov dword [edx], 0x10
mov eax, dword [edx + 0x68]
cmp eax, dword [edx + 0x5c]
jae 0x42c9c2
nop dword [eax]
cmp esi, 3
jae 0x42c998
test ebp, ebp
je 0x42d40d
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 0x42c975
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 + 0x551930]
mov word [edx + eax*2 + 0x70], cx
inc dword [edx + 0x68]
mov eax, dword [edx + 0x68]
cmp eax, dword [edx + 0x5c]
jb 0x42c970
cmp eax, 0x13
jae 0x42c9eb
nop word [eax + eax]
mov eax, dword [edx + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x551930]
mov word [edx + eax*2 + 0x70], cx
inc dword [edx + 0x68]
cmp dword [edx + 0x68], 0x13
jb 0x42c9d0
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.0041e000
mov edx, dword [esp + 0x34]
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x42ca5e
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [edx], 0x1b
jmp 0x42cf8f
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov dword [edx], 0x1b
jmp 0x42cf8f
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 0x42cd01
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 0x42caff
test ebp, ebp
je 0x42d40d
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 0x42cab8
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 0x42cb6c
mov dword [esp + 0x40], ecx
cmp esi, ecx
jae 0x42cb49
test ebp, ebp
je 0x42d409
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 0x42cb21
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 0x42ccce
jne 0x42cbde
add ecx, 2
mov dword [esp + 0x40], ecx
cmp esi, ecx
jae 0x42cba8
nop dword [eax]
test ebp, ebp
je 0x42d409
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 0x42cb80
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 0x42cceb
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 0x42cc8d
cmp word [esp + 0x40], 0x11
jne 0x42cc34
add ecx, 3
mov dword [esp + 0x40], ecx
cmp esi, ecx
jae 0x42cc19
test ebp, ebp
je 0x42d409
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 0x42cbf1
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 0x42cc81
add ecx, 7
mov dword [esp + 0x40], ecx
cmp esi, ecx
jae 0x42cc68
nop
test ebp, ebp
je 0x42d409
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 0x42cc40
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 0x42cceb
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 0x42ccb0
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 0x42ca84
mov eax, dword [edx]
mov ecx, dword [edx + 0x60]
jmp 0x42cd05
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov dword [edx], 0x1b
jmp 0x42cf8f
mov eax, dword [esp + 0x38]
cmp eax, 0x1b
je 0x42cf8f
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.0041e000
mov edi, dword [esp + 0x30]
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x42cd72
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
mov dword [edx], 0x1b
jmp 0x42cf8f
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.0041e000
mov edx, dword [esp + 0x34]
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x42cdca
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_distances_set
mov dword [edx], 0x1b
jmp 0x42cf8f
mov dword [edx], 0x12
cmp ebp, 6
jb 0x42ce37
cmp dword [esp + 0x24], 0x102
jb 0x42ce37
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.0041db90
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 0x42cf8f
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 0x42ce96
nop
test ebp, ebp
je 0x42d40d
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 0x42ce60
test al, al
je 0x42cf46
test al, 0xf0
jne 0x42cf46
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 0x42cf37
test ebp, ebp
je 0x42d409
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 0x42cee3
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 0x42cf6a
mov dword [edx], 0x17
jmp 0x42cf8b
test al, 0x20
je 0x42cf76
mov dword [edx], 0xb
jmp 0x42cf8b
test al, 0x40
je 0x42cfad
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.0x0042c006
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 0x42d004
cmp esi, edi
jae 0x42cfed
test ebp, ebp
je 0x42d40d
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 0x42cfc7
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 0x42d068
test ebp, ebp
je 0x42d40d
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 0x42d031
test al, 0xf0
jne 0x42d113
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 0x42d104
nop dword [eax]
test ebp, ebp
je 0x42d409
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 0x42d0b0
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 0x42d137
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_distance_code
jmp 0x42cf85
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 0x42d19d
cmp esi, edi
jae 0x42d186
nop dword [eax]
test ebp, ebp
je 0x42d40d
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 0x42d160
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 0x42d1bf
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
jmp 0x42cf85
mov dword [edx], 0x16
jmp 0x42d1cb
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42d40d
sub ecx, eax
mov eax, dword [edx + 0x44]
cmp eax, ecx
jbe 0x42d216
sub eax, ecx
mov ecx, dword [edx + 0x30]
cmp eax, ecx
jbe 0x42d1f5
mov edi, dword [edx + 0x28]
sub eax, ecx
sub edi, eax
add edi, dword [edx + 0x34]
jmp 0x42d1fc
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 0x42d223
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 0x42d243
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x14]
cmp dword [edx + 0x40], ecx
jne 0x42cf8b
mov dword [edx], 0x12
jmp 0x42cf8b
cmp dword [esp + 0x24], 0
je 0x42d40d
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 0x42cf8f
cmp dword [edx + 8], 0
je 0x42d370
cmp esi, 0x20
jae 0x42d2c4
test ebp, ebp
je 0x42d40d
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 0x42d2a1
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 0x42d31a
mov eax, dword [esp + 0x2c]
sub eax, ecx
cmp dword [edx + 0x10], 0
mov ecx, dword [edx + 0x18]
je 0x42d2fe
test eax, eax
je 0x42d310
push dword [esp + 0x30]
push eax
push ecx
call fcn.004147b0
jmp 0x42d309
push dword [esp + 0x30]
push eax
push ecx
call fcn.0042ad60
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 0x42d34d
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 0x42d368
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.incorrect_data_check
mov dword [edx], 0x1b
jmp 0x42cf8f
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x14], ebx
mov dword [edx], 0x19
cmp dword [edx + 8], 0
je 0x42d3f5
cmp dword [edx + 0x10], 0
je 0x42d3f5
cmp esi, 0x20
jae 0x42d3aa
test ebp, ebp
je 0x42d40d
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 0x42d387
cmp ebx, dword [edx + 0x1c]
je 0x42d3eb
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x18], str.incorrect_length_check
mov dword [edx], 0x1b
jmp 0x42cf8f
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 0x42d411
mov edi, 0xfffffffd
jmp 0x42d411
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 0x42d44a
cmp dword [edx], 0x18
jge 0x42d473
cmp ebp, dword [ebx + 0x10]
je 0x42d473
push ebp
push ebx
call fcn.00429be0
add esp, 8
test eax, eax
je 0x42d46f
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 0x42d4c1
test ebp, ebp
je 0x42d4c1
mov eax, dword [ebx + 0xc]
mov ecx, dword [edx + 0x18]
sub eax, ebp
cmp dword [edx + 0x10], 0
je 0x42d4ac
test eax, eax
je 0x42d4bb
push ebp
push eax
push ecx
call fcn.004147b0
jmp 0x42d4b4
push ebp
push eax
push ecx
call fcn.0042ad60
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 0x42d4ed
test ebp, ebp
je 0x42d4f4
cmp dword [esp + 0x50], 4
jne 0x42d4fe
test edi, edi
mov eax, 0xfffffffb
cmove edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret