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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x18], ecx
push ebx
push esi
push edi
test ecx, ecx
je case.0x411b32.29
mov ebx, dword [ecx + 0x1c]
test ebx, ebx
je case.0x411b32.29
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x24], eax
test eax, eax
je case.0x411b32.29
mov eax, dword [ecx]
xor edi, edi
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x411af0
cmp dword [ecx + 4], edi
jne case.0x411b32.29
mov eax, dword [ebx]
push 0xc
pop edx
cmp eax, 0xb
jne 0x411afe
mov dword [ebx], edx
mov eax, edx
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 4]
mov esi, dword [ebx + 0x3c]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edi
cmp eax, 0x1d
ja case.0x411b32.29
mov ecx, eax
mov edi, esi
mov dword [ebp - 0x30], esi
jmp dword [eax*4 + 0x412ddf]
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x411b4b
mov dword [ebx], 0xc
jmp 0x412cb9
push 0x10
pop eax
cmp esi, eax
jae 0x411b82
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
movzx eax, byte [edi]
shl eax, cl
add edx, eax
mov dword [ebp - 8], esi
inc edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edi
cmp esi, 0x10
jb 0x411b55
mov ecx, dword [ebx + 8]
test cl, 2
je 0x411bc3
cmp edx, 0x8b1f
jne 0x411bc3
push 0x1f
pop eax
xor edi, edi
mov byte [ebp - 0x20], al
push 2
lea edx, [ebp - 0x20]
mov dword [ebx + 0x18], edi
xor ecx, ecx
mov byte [ebp - 0x1f], 0x8b
call fcn.0041168d
mov edx, edi
mov dword [ebx + 0x18], eax
mov esi, edi
mov dword [ebp - 0x14], edx
pop ecx
mov dword [ebp - 8], esi
mov dword [ebx], 1
jmp 0x412cb9
mov eax, dword [ebx + 0x20]
xor edi, edi
mov dword [ebx + 0x10], edi
test eax, eax
je 0x411bd6
or dword [eax + 0x30], 0xffffffff
mov ecx, dword [ebx + 8]
test cl, 1
je 0x411c68
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
mov edx, dword [ebp - 0x14]
jne 0x411c68
mov eax, edx
and al, 0xf
cmp al, 8
je 0x411c11
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x412cb3
shr edx, 4
sub esi, 4
mov ecx, edx
mov dword [ebp - 0x14], edx
and ecx, 0xf
mov dword [ebp - 8], esi
add ecx, 8
cmp ecx, dword [ebx + 0x24]
jbe 0x411c39
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.invalid_window_size
jmp 0x412cb3
xor esi, esi
shr edx, 8
inc esi
not edx
mov eax, esi
mov dword [ebx + 0x18], esi
shl eax, cl
and edx, 2
mov dword [ebx + 0x14], eax
or edx, 9
mov eax, dword [ebp - 0x18]
mov dword [ebx], edx
mov edx, edi
mov dword [eax + 0x30], esi
mov esi, edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
jmp 0x412cb9
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.incorrect_header_check
jmp 0x412cb3
mov edi, dword [ebp - 0xc]
push 0x10
pop eax
cmp esi, eax
jae 0x411ca8
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
movzx eax, byte [edi]
shl eax, cl
add edx, eax
inc edi
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
jmp 0x411c7a
mov dword [ebx + 0x10], edx
cmp dl, 8
jne 0x411c02
test edx, 0xe000
je 0x411ccb
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.unknown_header_flags_set
jmp 0x412cb3
mov esi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
mov eax, edx
test esi, esi
je 0x411ce3
mov eax, ecx
and eax, 1
mov dword [esi], eax
mov eax, dword [ebx + 0x10]
test eax, 0x200
je 0x411d01
mov byte [ebp - 0x20], dl
lea edx, [ebp - 0x20]
mov byte [ebp - 0x1f], cl
mov ecx, dword [ebx + 0x18]
push 2
call fcn.0041168d
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 2
mov edx, eax
mov ecx, eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d1b
dec eax
mov dword [ebp - 0x10], eax
movzx eax, byte [edi]
shl eax, cl
add ecx, 8
add edx, eax
inc edi
cmp ecx, 0x20
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edi
jb 0x411d10
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x411d3f
mov dword [eax + 4], edx
test dword [ebx + 0x10], 0x200
je 0x411d72
mov ecx, dword [ebx + 0x18]
mov eax, edx
shr eax, 8
mov byte [ebp - 0x1f], al
mov eax, edx
mov byte [ebp - 0x20], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ebp - 0x1d], dl
lea edx, [ebp - 0x20]
push 4
mov byte [ebp - 0x1e], al
call fcn.0041168d
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 3
mov edx, eax
mov ecx, eax
mov eax, dword [ebp - 0x10]
push 0x10
mov dword [ebp - 0x14], edx
pop esi
jmp 0x411db5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x20
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
jmp 0x411d2d
mov eax, dword [ebp - 0xc]
mov ecx, edi
push 0x10
pop esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
cmp edi, esi
jae 0x411dd9
mov edi, dword [ebp - 0xc]
test eax, eax
je 0x412d1b
dec eax
mov dword [ebp - 0x10], eax
movzx eax, byte [edi]
shl eax, cl
add ecx, 8
add edx, eax
mov eax, dword [ebp - 0x10]
inc edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edi
cmp ecx, esi
jb 0x411db5
mov esi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x411df1
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0xc], ecx
test dword [ebx + 0x10], 0x200
je 0x411e11
mov byte [ebp - 0x20], dl
lea edx, [ebp - 0x20]
mov byte [ebp - 0x1f], cl
mov ecx, dword [ebx + 0x18]
push 2
call fcn.0041168d
pop ecx
mov dword [ebx + 0x18], eax
xor ecx, ecx
mov dword [ebx], 4
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
jmp 0x411e27
xor ecx, ecx
test dword [ebx + 0x10], 0x400
je 0x411ea2
push 0x10
pop eax
cmp esi, eax
jae 0x411e66
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
movzx eax, byte [edi]
shl eax, cl
add edx, eax
mov dword [ebp - 8], esi
push 0x10
inc edi
mov dword [ebp - 0x14], edx
pop eax
mov dword [ebp - 0xc], edi
cmp esi, eax
jb 0x411e3a
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x411e73
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x411e96
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x20], dl
shr edx, 8
mov byte [ebp - 0x1f], dl
lea edx, [ebp - 0x20]
push 2
call fcn.0041168d
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov esi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], esi
jmp 0x411eac
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x411eac
mov dword [eax + 0x10], ecx
mov dword [ebx], 5
mov ecx, dword [ebx + 0x10]
test ecx, 0x400
je 0x411f54
mov eax, dword [ebx + 0x40]
mov edi, dword [ebp - 0x10]
cmp eax, edi
cmovbe edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
je 0x411f4c
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x30], eax
test edx, edx
je 0x411f20
mov edi, dword [edx + 0x10]
test edi, edi
mov dword [ebp - 0x38], edi
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
je 0x411f20
mov edx, dword [edx + 0x14]
mov ecx, dword [ebx + 0x20]
sub edx, eax
mov ecx, dword [ecx + 0x18]
lea eax, [edi + edx]
cmp eax, ecx
jbe 0x411f03
sub ecx, edx
jmp 0x411f05
mov ecx, edi
mov eax, dword [ebp - 0x38]
push ecx
push dword [ebp - 0xc]
add eax, edx
push eax
call fcn.0041cd20
mov eax, dword [ebx + 0x40]
add esp, 0xc
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x30], eax
test ecx, 0x200
je 0x411f3e
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x411f3b
mov ecx, dword [ebx + 0x18]
mov edx, eax
push edi
call fcn.0041168d
pop ecx
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x30]
sub dword [ebp - 0x10], edi
add dword [ebp - 0xc], edi
sub eax, edi
mov dword [ebx + 0x40], eax
test eax, eax
jne 0x412d15
xor ecx, ecx
mov dword [ebx], 6
mov dword [ebx + 0x40], ecx
jmp 0x411f63
xor ecx, ecx
test dword [ebx + 0x10], 0x800
je 0x411fe9
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
mov edi, ecx
mov esi, eax
mov eax, dword [ebp - 0xc]
mov al, byte [edi + eax]
inc edi
mov byte [ebp - 1], al
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x411fa4
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x411fa4
mov ecx, dword [ebx + 0x40]
cmp ecx, dword [eax + 0x20]
jae 0x411fa4
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov cl, byte [ebp - 1]
test cl, cl
je 0x411faf
cmp edi, esi
jb 0x411f7b
test dword [ebx + 0x10], 0x200
mov esi, dword [ebp - 8]
je 0x411fd4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x411fd1
mov ecx, dword [ebx + 0x18]
mov edx, eax
push edi
call fcn.0041168d
pop ecx
mov cl, byte [ebp - 1]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], edi
sub eax, edi
mov dword [ebp - 0x10], eax
test cl, cl
jne 0x412d18
jmp 0x411ff3
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x411ff3
mov dword [eax + 0x1c], ecx
xor ecx, ecx
mov dword [ebx], 7
mov dword [ebx + 0x40], ecx
jmp 0x412002
xor ecx, ecx
test dword [ebx + 0x10], 0x1000
je 0x412088
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
mov edi, ecx
mov esi, eax
mov eax, dword [ebp - 0xc]
mov al, byte [edi + eax]
inc edi
mov byte [ebp - 1], al
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x412043
mov edx, dword [eax + 0x24]
test edx, edx
je 0x412043
mov ecx, dword [ebx + 0x40]
cmp ecx, dword [eax + 0x28]
jae 0x412043
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov cl, byte [ebp - 1]
test cl, cl
je 0x41204e
cmp edi, esi
jb 0x41201a
test dword [ebx + 0x10], 0x200
mov esi, dword [ebp - 8]
je 0x412073
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x412070
mov ecx, dword [ebx + 0x18]
mov edx, eax
push edi
call fcn.0041168d
pop ecx
mov cl, byte [ebp - 1]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], edi
sub eax, edi
mov dword [ebp - 0x10], eax
test cl, cl
jne 0x412d18
jmp 0x412092
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x412092
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebx], 8
mov edi, dword [ebx + 0x10]
test edi, 0x200
jne 0x4120fd
xor ecx, ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4120c2
sar edi, 9
and edi, 1
mov dword [eax + 0x2c], edi
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x30], 1
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x18], ecx
mov dword [eax + 0x30], ecx
mov dword [ebx], 0xb
jmp 0x412cb9
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
push 0x10
pop eax
cmp esi, eax
jb 0x4120d6
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x41211b
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.header_crc_mismatch
jmp 0x412cb3
xor ecx, ecx
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
jmp 0x4120a8
cmp esi, 0x20
jae 0x41215e
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
movzx eax, byte [edi]
shl eax, cl
add edx, eax
mov dword [ebp - 8], esi
inc edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edi
cmp esi, 0x20
jb 0x412134
mov edi, dword [ebp - 0x18]
mov ecx, edx
mov esi, 0xff00
mov dword [ebx], 0xa
mov eax, edx
and ecx, esi
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, esi
shl ecx, 8
shr edx, 0x18
add eax, ecx
add eax, edx
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
xor eax, eax
mov edx, eax
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
jmp 0x4121a1
mov edi, dword [ebp - 0x18]
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x412cce
xor ecx, ecx
mov dword [ebx], 0xb
inc ecx
mov dword [ebx + 0x18], ecx
mov dword [edi + 0x30], ecx
jmp 0x4121c0
mov edi, dword [ebp - 0x18]
xor eax, eax
cmp dword [ebx + 4], eax
je 0x412206
mov ecx, esi
mov dword [ebx], 0x18
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
jmp 0x412cb9
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
cmp esi, 3
jb 0x4121df
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0x412269
sub eax, 1
je 0x412245
sub eax, 1
je 0x41223d
sub eax, 1
jne 0x41226f
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1b
jmp 0x41226f
mov dword [ebx], 0xf
jmp 0x41226f
mov dword [ebx + 0x4c], 0x45b9a0
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x45c1c8
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x12
jmp 0x41226f
mov dword [ebx], 0xd
shr edx, 2
sub esi, 3
jmp 0x411c5d
mov ecx, esi
and ecx, 7
sub esi, ecx
shr edx, cl
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
cmp esi, 0x20
jae 0x4122bb
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
movzx eax, byte [edi]
shl eax, cl
add edx, eax
mov dword [ebp - 8], esi
inc edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edi
cmp esi, 0x20
jb 0x412291
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x4122d8
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
jmp 0x412cb3
xor eax, eax
mov dword [ebx + 0x40], ecx
mov edx, eax
mov dword [ebx], 0xe
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4120cb
mov edi, dword [ebp - 0x10]
cmp eax, edi
cmovbe edi, eax
cmp edi, dword [ebp - 0x1c]
cmova edi, dword [ebp - 0x1c]
test edi, edi
je 0x412d15
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x24]
call fcn.0041cd20
sub dword [ebp - 0x10], edi
add esp, 0xc
add dword [ebp - 0xc], edi
sub dword [ebp - 0x1c], edi
add dword [ebp - 0x24], edi
sub dword [ebx + 0x40], edi
mov edx, dword [ebp - 0x14]
jmp 0x412cb9
cmp esi, 0xe
jae 0x412367
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
movzx eax, byte [edi]
shl eax, cl
add edx, eax
mov dword [ebp - 8], esi
inc edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edi
cmp esi, 0xe
jb 0x41233d
mov ecx, edx
sub esi, 0xe
push 0x1f
shr edx, 5
pop edi
and ecx, edi
mov dword [ebp - 8], esi
and edi, edx
add ecx, 0x101
shr edx, 5
inc edi
mov eax, edx
mov dword [ebx + 0x60], ecx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebx + 0x64], edi
mov dword [ebx + 0x5c], eax
mov dword [ebp - 0x14], edx
cmp ecx, 0x11e
ja 0x4123b2
cmp edi, 0x1e
ja 0x4123b2
and dword [ebx + 0x68], 0
push 0x10
pop eax
mov dword [ebx], eax
jmp case.0x411b32.16
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
jmp 0x412cb3
cmp esi, 3
jae 0x4123f3
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
movzx eax, byte [edi]
shl eax, cl
add edx, eax
mov dword [ebp - 8], esi
inc edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edi
cmp esi, 3
jb 0x4123c9
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0x14], edx
movzx eax, word [eax*2 + 0x45c1a0]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
sub esi, 3
mov dword [ebp - 8], esi
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x5c]
jb 0x4123c1
cmp eax, 0x13
jae 0x41243f
mov eax, dword [ebx + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x45c1a0]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
cmp dword [ebx + 0x68], 0x13
jb 0x412424
lea eax, [ebx + 0x530]
lea edx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [edx], eax
lea ecx, [ebx + 0x54]
lea eax, [ebx + 0x2f0]
mov dword [ecx], 7
push eax
push ecx
push edx
push 0x13
lea edx, [ebx + 0x70]
xor ecx, ecx
call fcn.0041470c
mov edx, dword [ebp - 0x14]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x412489
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x412cb3
and dword [ebx + 0x68], 0
push 0x11
pop eax
mov dword [ebx], eax
mov ecx, eax
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp dword [ebx + 0x68], eax
jae 0x4126b4
mov ecx, dword [ebx + 0x54]
xor eax, eax
lea edi, [eax + 1]
shl edi, cl
jmp 0x4124d6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
mov ecx, dword [ebx + 0x4c]
lea eax, [edi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x30], eax
cmp ecx, esi
ja 0x4124af
mov ecx, eax
push 0x10
shr ecx, 0x10
pop edi
cmp cx, di
jae 0x412559
mov ecx, eax
shr ecx, 8
movzx edi, cl
cmp esi, edi
jae 0x412535
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x412d15
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov ecx, esi
shl edx, cl
add esi, 8
add dword [ebp - 0x14], edx
inc dword [ebp - 0xc]
mov dword [ebp - 8], esi
cmp esi, edi
jb 0x412509
mov edx, dword [ebp - 0x14]
movzx ecx, ah
mov ax, word [ebp - 0x2e]
sub esi, ecx
shr edx, cl
mov ecx, dword [ebx + 0x68]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
mov word [ebx + ecx*2 + 0x70], ax
inc dword [ebx + 0x68]
mov edi, dword [ebx + 0x68]
jmp 0x4126a4
cmp word [ebp - 0x2e], di
jne 0x4125c4
movzx edi, ah
jmp 0x41258b
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
lea eax, [edi + 2]
cmp esi, eax
jb 0x412564
mov eax, dword [ebx + 0x68]
mov ecx, edi
shr edx, cl
sub esi, edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
test eax, eax
je 0x412707
movzx eax, word [ebx + eax*2 + 0x6e]
mov edi, edx
and edi, 3
shr edx, 2
add edi, 3
mov dword [ebp - 0x30], eax
sub esi, 2
jmp 0x412669
push 0x11
pop ecx
cmp word [ebp - 0x2e], cx
movzx ecx, ah
jne 0x412619
lea edi, [ecx + 3]
mov dword [ebp - 0x38], ecx
cmp esi, edi
jae 0x412608
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp esi, edi
jb 0x4125da
mov ecx, dword [ebp - 0x38]
shr edx, cl
mov edi, edx
and edi, 7
add edi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x412660
lea edi, [ecx + 7]
mov dword [ebp - 0x38], ecx
cmp esi, edi
jae 0x412651
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp esi, edi
jb 0x412623
mov ecx, dword [ebp - 0x38]
shr edx, cl
mov edi, edx
and edi, 0x7f
add edi, 0xb
shr edx, 7
push 0xfffffffffffffff9
pop eax
sub eax, ecx
add esi, eax
and dword [ebp - 0x30], 0
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x64]
add ecx, edi
add eax, dword [ebx + 0x60]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
cmp ecx, eax
ja 0x412707
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x68]
mov word [ebx + eax*2 + 0x70], cx
mov edx, dword [ebx + 0x68]
lea edx, [edx + 1]
mov dword [ebp - 0x38], edx
mov dword [ebx + 0x68], edx
sub edi, 1
jne 0x412685
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x38]
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp edi, eax
jb 0x4124a3
mov ecx, dword [ebx]
cmp ecx, 0x1b
je 0x412cb9
lea eax, [ebx + 0x530]
lea edi, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
lea ecx, [ebx + 0x2f0]
mov dword [edi], eax
push ecx
lea eax, [ebx + 0x54]
xor ecx, ecx
push eax
push edi
push dword [ebx + 0x60]
lea edx, [ebx + 0x70]
mov dword [eax], 9
inc ecx
call fcn.0041470c
add esp, 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x412716
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x412cb3
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
jmp 0x412cb3
mov eax, dword [edi]
lea ecx, [ebx + 0x2f0]
push ecx
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x58]
push eax
mov dword [eax], 6
mov eax, dword [ebx + 0x60]
push edi
push dword [ebx + 0x64]
add eax, 0x38
push 2
pop ecx
lea edx, [ebx + eax*2]
call fcn.0041470c
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x41275d
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.invalid_distances_set
jmp 0x412cb3
mov dword [ebx], 0x12
cmp dword [ebp - 0x10], 6
jb 0x4127bd
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x102
jb 0x4127bd
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x38], edx
mov edx, dword [ebp - 0x28]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [edi], ecx
mov ecx, edi
mov dword [edi + 4], eax
mov dword [ebx + 0x3c], esi
call fcn.00414b1a
mov eax, dword [edi + 0xc]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], eax
jmp 0x411c5d
mov ecx, dword [ebx + 0x54]
xor eax, eax
lea edi, [eax + 1]
shl edi, cl
jmp 0x4127f0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
mov ecx, dword [ebx + 0x4c]
lea eax, [edi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x4127c9
test al, al
je 0x4128a5
test al, 0xf0
jne 0x4128a5
mov ecx, eax
xor esi, esi
shr ecx, 8
inc esi
movzx edi, cl
mov edx, eax
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl esi, cl
mov ecx, edi
dec esi
mov dword [ebp - 0x30], edx
and esi, dword [ebp - 0x14]
shr esi, cl
mov ecx, dword [ebx + 0x4c]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x41288a
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
mov edi, dword [ebp - 0xc]
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov dword [ebp - 8], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0x14], eax
inc edi
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 0xc], edi
movzx edi, dh
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 8]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x412843
movzx ecx, dh
mov edx, dword [ebp - 0x14]
shr edx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub esi, ecx
mov ecx, eax
mov dword [ebp - 0x14], edx
shr ecx, 0x10
mov dword [ebp - 8], esi
mov dword [ebx + 0x40], ecx
test al, al
jne 0x4128ce
mov dword [ebx], 0x17
jmp 0x412cb9
test al, 0x20
jne 0x4120cb
test al, 0x40
je 0x4128e9
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.invalid_literal_length_code
jmp 0x412cb3
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x13
mov dword [ebx + 0x48], eax
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x412943
jmp 0x412928
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
cmp esi, edi
jb 0x412901
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x40], eax
sub esi, edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
mov dword [ebx], 0x14
mov ecx, dword [ebx + 0x58]
xor eax, eax
lea edi, [eax + 1]
shl edi, cl
jmp 0x41297c
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
mov ecx, dword [ebx + 0x50]
lea eax, [edi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x412955
test al, 0xf0
jne 0x412a29
mov ecx, eax
xor esi, esi
shr ecx, 8
inc esi
movzx edi, cl
mov edx, eax
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl esi, cl
mov ecx, edi
dec esi
mov dword [ebp - 0x30], edx
and esi, dword [ebp - 0x14]
shr esi, cl
mov ecx, dword [ebx + 0x50]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x412a0e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
mov edi, dword [ebp - 0xc]
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov dword [ebp - 8], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0x14], eax
inc edi
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 0xc], edi
movzx edi, dh
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 8]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x4129c7
movzx ecx, dh
mov edx, dword [ebp - 0x14]
shr edx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
test al, 0x40
je 0x412a4e
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.invalid_distance_code
jmp 0x412cb3
mov ecx, eax
mov dword [ebx], 0x15
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x412ab0
jmp 0x412a95
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
cmp esi, edi
jb 0x412a6e
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
sub esi, edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add eax, ecx
cmp dword [ebx + 0x44], eax
jbe 0x412acf
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
jmp 0x412cb3
mov dword [ebx], 0x16
jmp 0x412ada
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x412d15
sub ecx, eax
mov eax, dword [ebx + 0x44]
cmp eax, ecx
jbe 0x412b14
sub eax, ecx
mov ecx, dword [ebx + 0x30]
cmp eax, ecx
jbe 0x412afc
sub eax, ecx
mov ecx, dword [ebx + 0x28]
mov edi, dword [ebx + 0x40]
sub ecx, eax
add ecx, dword [ebx + 0x34]
cmp eax, edi
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x30], edi
cmovbe edi, eax
mov eax, dword [ebp - 0x30]
jmp 0x412b20
mov edx, dword [ebp - 0x24]
mov ecx, edx
sub ecx, eax
mov eax, dword [ebx + 0x40]
mov edi, eax
cmp edi, dword [ebp - 0x1c]
cmova edi, dword [ebp - 0x1c]
sub dword [ebp - 0x1c], edi
sub eax, edi
mov dword [ebx + 0x40], eax
sub ecx, edx
mov al, byte [ecx + edx]
mov byte [edx], al
inc edx
sub edi, 1
jne 0x412b31
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x14]
cmp dword [ebx + 0x40], edi
jne 0x412cb9
mov dword [ebx], 0x12
jmp 0x412cb9
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x412d15
mov edi, dword [ebp - 0x24]
mov al, byte [ebx + 0x40]
mov byte [edi], al
inc edi
dec ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], ecx
jmp 0x412b4b
cmp dword [ebx + 8], 0
je 0x412c56
cmp esi, 0x20
jae 0x412baf
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
movzx eax, byte [edi]
shl eax, cl
add edx, eax
mov dword [ebp - 8], esi
inc edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edi
cmp esi, 0x20
jb 0x412b85
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
sub edi, dword [ebp - 0x1c]
add dword [ebx + 0x1c], edi
add dword [eax + 0x14], edi
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x30], ecx
test edi, edi
je 0x412c02
mov eax, dword [ebp - 0x24]
sub eax, edi
test ecx, ecx
je 0x412be6
test eax, eax
jne 0x412bd9
xor edi, edi
jmp 0x412bf7
mov ecx, dword [ebx + 0x18]
mov edx, eax
push edi
call fcn.0041168d
jmp 0x412bf1
mov ecx, dword [ebx + 0x18]
mov edx, eax
push edi
call fcn.004144cc
mov edx, dword [ebp - 0x14]
mov edi, eax
pop ecx
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x18], edi
mov dword [eax + 0x30], edi
jmp 0x412c08
mov edi, dword [ebx + 0x18]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, edx
mov dword [ebp - 0x28], eax
and ecx, 0xff00
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
cmp dword [ebp - 0x30], 0
cmovne ecx, edx
cmp ecx, edi
je 0x412c4a
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.incorrect_data_check
jmp 0x412cb3
xor eax, eax
mov edx, eax
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
mov dword [ebx], 0x19
xor edi, edi
cmp dword [ebx + 8], edi
je 0x412cf6
cmp dword [ebx + 0x10], edi
je 0x412cf6
cmp esi, 0x20
jae 0x412ca4
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412d18
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
movzx eax, byte [edi]
shl eax, cl
add edx, eax
mov dword [ebp - 8], esi
inc edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edi
cmp esi, 0x20
jb 0x412c78
xor edi, edi
cmp edx, dword [ebx + 0x1c]
je 0x412cef
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], str.incorrect_length_check
mov dword [ebx], 0x1b
mov ecx, dword [ebx]
mov eax, ecx
cmp eax, 0x1d
jbe 0x411b2d
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x24]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], eax
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], esi
push 2
jmp 0x412cc8
mov dword [ebp - 0x14], edi
mov ecx, edi
jmp 0x412cf9
mov ecx, dword [ebp - 8]
mov dword [ebx], 0x1a
jmp 0x412d04
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
mov dword [ebp - 0x2c], edi
jmp 0x412d1b
push 0xfffffffffffffffd
pop edi
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov dword [ebx + 0x3c], ecx
mov dword [esi], edi
xor edi, edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], edx
mov edx, dword [ebp - 0x1c]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x10], edx
cmp dword [ebx + 0x28], edi
jne 0x412d4e
cmp dword [ebx], 0x18
jge 0x412d6b
cmp eax, edx
je 0x412d6b
mov edx, eax
mov ecx, esi
call fcn.004119c8
test eax, eax
je 0x412d68
mov dword [ebx], 0x1c
push 0xfffffffffffffffc
jmp 0x412cc8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
sub eax, dword [esi + 0x10]
sub ecx, dword [esi + 4]
add dword [esi + 8], ecx
add dword [esi + 0x14], eax
add dword [ebx + 0x1c], eax
cmp dword [ebx + 8], edi
je 0x412dae
test eax, eax
je 0x412dae
mov edx, dword [esi + 0xc]
mov ecx, dword [ebx + 0x18]
sub edx, eax
cmp dword [ebx + 0x10], edi
je 0x412d9f
test edx, edx
je 0x412da8
push eax
call fcn.0041168d
jmp 0x412da5
push eax
call fcn.004144cc
mov edi, eax
pop ecx
mov dword [ebx + 0x18], edi
mov dword [esi + 0x30], edi
mov edx, dword [ebx + 4]
mov eax, 0x80
neg edx
push 0xfffffffffffffffb
sbb edx, edx
xor ecx, ecx
and edx, 0x40
cmp dword [ebx], 0xb
cmove ecx, eax
mov eax, dword [ebp - 0x2c]
add edx, ecx
add edx, dword [ebx + 0x3c]
test eax, eax
pop ecx
mov dword [esi + 0x2c], edx
cmove eax, ecx
jmp 0x412cc9